/* イト 自社サイト（子テーマ）。値は DESIGN.md「子テーマで作るもの」 */
:root {
  --ink: #1C1C1A; --text: #2A2A28; --muted: #5F5E5A; --kincha: #7A6A52; --kincha-light: #CFC6B6;
  --white: #FFFFFF; --mist: #F4F4F2; --line: #DDDCD8;
  --ease: cubic-bezier(.2,.7,.2,1);
  --section-y: clamp(72px, 11vw, 160px);
  --gutter: clamp(20px, 5vw, 64px);
  --wrap: min(1120px, 100% - 2 * var(--gutter));
  --header-h: 80px;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Jost", "Zen Kaku Gothic New", sans-serif;
}
@media (max-width: 781px) { :root { --header-h: 64px; } }

[class^="ij-"], [class*=" ij-"], [class^="ij-"]::before, [class*=" ij-"]::before, [class^="ij-"]::after, [class*=" ij-"]::after { box-sizing: border-box; }

/* 土台の読み込み画面・ヘッダーは使わない */
.ito-loader { display: none !important; }
body { background: var(--white); color: var(--text); font-family: var(--jp); font-size: 16px; line-height: 2; letter-spacing: .04em; font-weight: 400; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block: 0 !important; }
.ij-main { padding-top: 0; }
.ij-main:not(.ij-front), main.ito-main { padding-top: var(--header-h); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ij-sp { display: none; }
@media (max-width: 781px) { .ij-sp { display: inline; } }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--kincha); outline-offset: 4px; }
.ij-ink :focus-visible, .ij-footer :focus-visible { outline-color: var(--kincha-light); }

/* ロゴ */
.ij-logo { display: block; width: 100%; height: auto; color: var(--ink); }
.ij-logo--small path { stroke: currentColor; stroke-width: .9px; vector-effect: non-scaling-stroke; } /* 小さく使うとき細い線が消えないように */

/* 共通の部品 */
.ij-wrap { width: var(--wrap); margin-inline: auto; }
.ij-section { padding-block: var(--section-y); position: relative; }
.ij-mist { background: var(--mist); }
.ij-ink { background: var(--ink); color: rgba(255,255,255,.86); }
.ij-ink .ij-logo { color: #fff; }
.ij-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font: 500 12px/1 var(--en); letter-spacing: .24em; text-transform: uppercase; color: var(--kincha); }
.ij-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.ij-ink .ij-eyebrow { color: var(--kincha-light); }
.ij-title { margin: 0; font-family: var(--jp); font-weight: 500; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.5; letter-spacing: .06em; font-feature-settings: "palt"; color: var(--ink); word-break: auto-phrase; text-wrap: balance; }
.ij-ink .ij-title { color: #fff; }
.ij-thread { display: block; position: relative; width: 120px; height: 5px; margin-top: 24px; }
.ij-thread::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.ij-thread::after { content: ""; position: absolute; left: 2px; right: 0; top: 2px; height: 1px; background: color-mix(in srgb, var(--ink) 80%, transparent); }
.ij-ink .ij-thread::before { background: #fff; } .ij-ink .ij-thread::after { background: rgba(255,255,255,.6); }
.ij-thread--center { margin-inline: auto; }
.ij-lead { margin: 32px 0 0; max-width: 34em; }
.ij-ink .ij-lead { color: rgba(255,255,255,.8); }
mark.ito-mark { background: none !important; color: inherit !important; padding: 0 !important; text-decoration: underline 1px var(--kincha); text-underline-offset: .4em; }
.ij-ink mark.ito-mark { text-decoration-color: var(--kincha-light); }

.ij-cols { display: grid; gap: 32px; }
@media (min-width: 960px) { .ij-cols { grid-template-columns: 5fr 6fr; gap: 0 8%; align-items: start; } .ij-cols .ij-lead { margin-top: 44px; } }
.ij-split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .ij-split { grid-template-columns: 5fr 7fr; gap: 6%; } }
.ij-row-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }

/* 矢印・リンク */
.ij-arrow { display: inline-block; position: relative; width: 12px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; transition: transform .3s var(--ease); }
.ij-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); transform-origin: center; }
.ij-arrow--long { width: 64px; }
.ij-arrow--out { transform: rotate(-45deg); width: 10px; }
.ij-more { display: inline-flex; align-items: center; margin-top: 32px; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.ij-more:hover .ij-arrow { transform: translateX(4px); }
.ij-circle-arrow { flex: none; position: relative; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; transition: background .3s, color .3s; color: var(--ink); }
.ij-circle-arrow::before { content: ""; position: absolute; left: 10px; top: 15px; width: 10px; height: 1px; background: currentColor; }
.ij-circle-arrow::after { content: ""; position: absolute; left: 15px; top: 12px; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
a:hover > .ij-circle-arrow { background: var(--ink); color: #fff; }

/* ボタン（輪＝ピル） */
.ij-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 56px; padding: 0 36px; border-radius: 999px; font: 500 15px/1 var(--jp); letter-spacing: .1em; text-decoration: none; transition: background .3s, color .3s, border-color .3s; border: 1px solid var(--ink); }
.ij-btn--primary { background: var(--ink); color: #fff; }
.ij-btn--primary:hover { background: #3A3A37; border-color: #3A3A37; }
.ij-btn--ghost { background: transparent; color: var(--ink); }
.ij-btn--ghost:hover { background: var(--ink); color: #fff; }
.ij-btn:hover .ij-arrow { transform: translateX(4px); }
.ij-btn--small { height: 40px; min-width: 0; padding: 0 22px; font-size: 13px; }
.ij-btn--small .ij-arrow { display: none; }
.ij-btn--block { display: flex; width: 100%; }
.ij-ink .ij-btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.ij-ink .ij-btn--primary:hover { background: var(--mist); }
.ij-ink .ij-btn--ghost { border-color: #fff; color: #fff; }
.ij-ink .ij-btn--ghost:hover { background: #fff; color: var(--ink); }

/* ヘッダー */
.ij-site-header, .ito-site-header { position: fixed !important; inset: 0 0 auto; z-index: 50; padding: 0 !important; background: none !important; border: 0 !important; color: var(--ink) !important; }
.ito-site-footer, .ij-site-footer { padding: 0 !important; background: none !important; margin: 0 !important; }
.admin-bar .ito-site-header { top: 32px; }
.admin-bar .ij-site-header { top: 32px; } .admin-bar .ij-drawer { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { .admin-bar .ij-site-header, .admin-bar .ito-site-header { top: 46px; } .admin-bar .ij-drawer { top: calc(var(--header-h) + 46px); } }
.ij-header { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: clamp(20px, 3vw, 48px); background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.ij-scrolled .ij-header { border-bottom-color: var(--line); }
.ij-header__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.ij-header__logo .ij-logo { width: auto; height: 44px; }
.ij-header__name { font: 500 14px/1 var(--jp); letter-spacing: .2em; }
.ij-nav { display: flex; align-items: center; gap: 36px; }
.ij-nav__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.ij-nav__list a { font: 500 14px/1 var(--jp); letter-spacing: .08em; text-decoration: none; padding-block: 8px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.ij-nav__list a:hover, .ij-nav__list a[aria-current] { border-bottom-color: var(--ink); }
.ij-menu-btn { display: none; position: relative; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; background: #fff; cursor: pointer; padding: 0; }
.ij-menu-btn span { position: absolute; left: 14px; width: 18px; height: 1px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.ij-menu-btn span:first-child { top: 20px; } .ij-menu-btn span:last-child { top: 26px; }
.ij-menu-open .ij-menu-btn span:first-child { top: 23px; transform: rotate(45deg); }
.ij-menu-open .ij-menu-btn span:last-child { top: 23px; transform: rotate(-45deg); }
.ij-drawer { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: #fff; padding: 16px 24px 40px; overflow: auto; animation: ij-fade .3s; }
.ij-drawer[hidden] { display: none; }
.ij-drawer__list { list-style: none; margin: 0 0 32px; padding: 0; }
.ij-drawer__list a { display: block; line-height: 64px; font: 500 20px/64px var(--jp); letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid var(--line); }
.ij-drawer .ij-btn { height: 56px; }
.ij-drawer__tel { text-align: center; margin-top: 24px; font: 400 20px/1.6 var(--en); letter-spacing: .06em; }
.ij-drawer__tel a { text-decoration: none; } .ij-drawer__tel small { font-size: 12px; color: var(--muted); }
@keyframes ij-fade { from { opacity: 0; } }
@media (max-width: 1023px) {
  .ij-nav { display: none; } .ij-menu-btn { display: block; }
  .ij-header__logo .ij-logo { height: 36px; } .ij-header__name { font-size: 13px; }
}

/* ヒーロー */
.ij-hero { position: relative; min-height: max(560px, min(100svh, 900px)); display: grid; place-items: center; padding: calc(var(--header-h) + 24px) var(--gutter) 120px; background: #fff; text-align: center; }
.ij-hero__inner { display: flex; flex-direction: column; align-items: center; transform: translateY(-2vh); }
.ij-hero__logo { width: clamp(220px, 24vw, 360px); }
.ij-hero__logo .ij-logo { overflow: visible; }
.ij-hero__logo .ij-logo > path { stroke: currentColor; stroke-width: .45px; vector-effect: non-scaling-stroke; } /* 細い線を等倍の画面でもかすれさせない */
.ij-hero__catch { margin: clamp(28px, 4vh, 48px) -.32em 0 0; font: 400 clamp(20px, 2vw, 28px)/1.4 var(--jp); letter-spacing: .32em; color: var(--ink); }
.ij-hero__rule { display: block; width: 40px; height: 1px; margin-top: 20px; background: var(--kincha); }
.ij-hero__sub { margin: 20px 0 0; font-size: 15px; line-height: 1.9; letter-spacing: .08em; color: var(--muted); }
.ij-hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.ij-hero__news { position: absolute; left: clamp(24px, 3vw, 48px); bottom: 32px; display: flex; align-items: center; gap: 16px; height: 48px; width: min(520px, 38vw); padding: 0 8px 0 24px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff; }
.ij-hero__news time { font: 400 13px/1 var(--en); letter-spacing: .06em; color: var(--muted); flex: none; }
.ij-hero__news-title { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.ij-hero__scroll { position: absolute; right: 48px; bottom: 32px; writing-mode: vertical-rl; font: 400 11px/1 var(--en); letter-spacing: .24em; color: var(--muted); padding-bottom: 60px; }
.ij-hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 48px; background: var(--ink); }
.ij-hero::after { content: ""; position: absolute; left: 50%; bottom: -32px; width: 1px; height: 64px; background: color-mix(in srgb, var(--ink) 40%, transparent); z-index: 1; }
@media (max-width: 781px) {
  .ij-hero { min-height: max(560px, 100svh); padding-bottom: 96px; }
  .ij-hero__logo { width: min(62vw, 260px); }
  .ij-hero__sub { font-size: 14px; }
  .ij-hero__buttons { flex-direction: column; width: min(100%, 320px); }
  .ij-hero__buttons .ij-btn { width: 100%; }
  .ij-hero__news { left: 16px; right: 16px; width: auto; bottom: 20px; }
  .ij-hero__scroll { display: none; }
}
/* 描いている間：キャッチ・罫線・サブは、ロゴを描き終えて（3秒）から2秒後に、ゆっくり出す（ボタンは最初から） */
@media (prefers-reduced-motion: no-preference) {
  .ij-drawing:not(.ij-drawn) .ij-hero__catch,
  .ij-drawing:not(.ij-drawn) .ij-hero__rule,
  .ij-drawing:not(.ij-drawn) .ij-hero__sub { opacity: 0; transform: translateY(8px); animation: ij-up 1.2s var(--ease) 5s forwards; }
  .ij-drawing:not(.ij-drawn) .ij-hero__sub { animation-delay: 5.2s; }
}
@keyframes ij-up { to { opacity: 1; transform: none; } }
/* 2回目以降・動きを減らす設定：描き終わりの絵から */
.ij-drawn .ij-logo--draw .ito-mask path { animation: none !important; stroke-dashoffset: 0 !important; }
.ij-drawn .ij-logo--draw .ito-done { animation: none !important; opacity: 1 !important; }

/* 言い切り */
.ij-statement { text-align: center; }
.ij-statement__title { margin: 0; font: 500 clamp(26px, 3.6vw, 48px)/1.6 var(--jp); letter-spacing: .06em; font-feature-settings: "palt"; color: var(--ink); word-break: auto-phrase; text-wrap: balance; }
.ij-statement__body { max-width: 34em; margin: 48px auto 0; text-align: left; }
.ij-statement__body p { margin: 0; }

/* 作り込み1：スマホの吹き出しと画面 */
.ij-update__figure { position: relative; min-height: 460px; }
.ij-phone { position: absolute; left: 0; top: 0; z-index: 2; width: 240px; padding: 16px 14px 24px; background: #fff; border: 1px solid var(--line); border-radius: 32px; display: flex; flex-direction: column; gap: 10px; }
.ij-phone__bar { text-align: center; font-size: 12px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ij-bubble { align-self: flex-end; max-width: 86%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.7; }
.ij-bubble--photo { padding: 4px; } .ij-bubble--photo img { display: block; width: 140px; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px 14px 2px 14px; }
.ij-bubble--reply { align-self: flex-start; background: var(--mist); color: var(--text); border-radius: 18px 18px 18px 4px; }
/* LINE で頼む様子に見えるトーク画面（2026-10-27。ロゴは使わず、トークの見た目だけ） */
.ij-phone--line { padding: 0; gap: 0; overflow: hidden; background: #8CABD9; border: 7px solid #1d2129; border-radius: 34px;
  width: 216px; aspect-ratio: 72 / 148; box-shadow: 0 18px 40px -18px rgba(20, 30, 50, .45); } /* 実物（約 72×148mm）の縦横比 */
.ij-phone--line::before { content: ""; position: absolute; left: 50%; top: 7px; z-index: 3; width: 31%; height: 17px; transform: translateX(-50%); border-radius: 10px; background: #0b0d10; } /* 画面上部の黒い切り欠き */
.ij-phone--line .ij-phone__bar { display: flex; align-items: center; gap: 8px; text-align: left; padding: 32px 14px 10px; background: #273246; color: #fff; font-size: 12px; font-weight: 700; border-bottom: 0; }
.ij-phone__back { font-size: 18px; line-height: 1; font-weight: 400; opacity: .85; }
.ij-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 14px; }
.ij-date { align-self: center; margin-bottom: auto; padding: 2px 10px; border-radius: 10px; background: rgba(20, 30, 50, .22); color: #fff; font-size: 9px; }
.ij-msg { display: flex; align-items: flex-end; gap: 5px; }
.ij-msg--me { justify-content: flex-end; }
.ij-phone--line .ij-bubble { align-self: auto; max-width: 74%; padding: 8px 11px; border-radius: 16px; background: #8DE055; color: #111; font-size: 11.5px; line-height: 1.6; }
.ij-phone--line .ij-bubble--photo { padding: 0; background: none; }
.ij-phone--line .ij-bubble--photo img { width: 128px; border-radius: 12px; }
.ij-phone--line .ij-bubble--reply { background: #fff; color: #111; }
.ij-meta { flex: none; font-size: 8.5px; line-height: 1.35; color: rgba(20, 30, 50, .62); text-align: right; }
.ij-msg--them .ij-meta { text-align: left; }
.ij-avatar { flex: none; align-self: flex-start; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; }
.ij-phone__input { position: relative; padding: 9px 14px 22px; background: #fff; color: #9aa0a6; font-size: 10.5px; border-top: 1px solid #e3e6ea; }
.ij-phone__input::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 36%; height: 4px; transform: translateX(-50%); border-radius: 2px; background: #1d2129; } /* ホームの棒 */
.ij-update__curve { position: absolute; left: 200px; top: 150px; width: 140px; height: 90px; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.ij-browser { position: absolute; right: 0; top: 60px; width: min(78%, 560px); background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.ij-browser__bar { display: flex; gap: 6px; height: 28px; align-items: center; padding-left: 12px; background: var(--mist); border-bottom: 1px solid var(--line); }
.ij-browser__bar i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #bdbcb7; }
.ij-browser img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.ij-update__note { position: absolute; right: 0; bottom: 0; margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 781px) {
  .ij-update__figure { min-height: 0; display: grid; gap: 16px; }
  .ij-phone, .ij-browser { position: static; width: auto; }
  .ij-phone { width: 240px; justify-self: start; }
  .ij-phone--line { position: relative; width: 216px; }
  .ij-update__curve { display: none; }
  .ij-update__note { position: static; text-align: right; }
}

/* ポイント */
.ij-points__list { list-style: none; margin: 72px 0 0; padding: 0; display: grid; gap: 40px; }
@media (min-width: 960px) { .ij-points__list { grid-template-columns: repeat(3, 1fr); gap: 0; } .ij-point { padding-inline: 40px; border-left: 1px solid var(--line); } .ij-point:first-child { padding-left: 0; border-left: 0; } .ij-point:last-child { padding-right: 0; } }
.ij-num { display: block; font: 300 48px/1 var(--en); color: var(--ink); font-variant-numeric: tabular-nums; }
.ij-point__title { margin: 24px 0 0; font: 500 20px/1.6 var(--jp); letter-spacing: .04em; color: var(--ink); }
.ij-point__text { margin: 16px 0 0; font-size: 15px; line-height: 1.9; color: var(--muted); }

/* 作り込み2：見本の画面 2×2 */
.ij-shot { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.ij-shot img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.ij-wvisual__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ij-wvisual__grid .ij-shot:nth-child(even) { transform: translateY(48px); }
@media (max-width: 781px) { .ij-wvisual__grid { gap: 12px; } .ij-wvisual__grid .ij-shot:nth-child(even) { transform: translateY(24px); } }

/* 考え方 */
.ij-concept__body p { margin: 0; }
@media (min-width: 960px) { .ij-concept__body { margin-top: 44px; } }

/* 作り込み3：墨の地とロゴ */
.ij-itoblock__logo { width: min(320px, 70%); margin-inline: auto; }
.ij-itoblock .ij-logo path { stroke: currentColor; stroke-width: .6px; vector-effect: non-scaling-stroke; }

/* 制作見本 */
.ij-works__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px 40px; }
@media (min-width: 782px) { .ij-works__list { grid-template-columns: 1fr 1fr; } }
.ij-work__link { display: block; text-decoration: none; }
.ij-work__link:hover .ij-shot img { transform: scale(1.03); }
.ij-work__genre { margin: 20px 0 0; font-size: 12px; letter-spacing: .08em; color: var(--kincha); }
.ij-work__title { margin: 4px 0 0; font: 500 18px/1.6 var(--jp); color: var(--ink); }
.ij-work__site { display: inline-flex; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.ij-work__site:hover { color: var(--ink); border-color: var(--ink); }

/* 流れ */
.ij-steps__list { list-style: none; margin: 64px 0 0; padding: 0; display: grid; gap: 32px; position: relative; }
.ij-step { position: relative; padding-left: 36px; }
.ij-step__ring { position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border: 1px solid var(--ink); border-radius: 50%; background: var(--mist); z-index: 1; }
.ij-steps__list::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.ij-step__num { display: block; font: 300 13px/1.6 var(--en); letter-spacing: .14em; color: var(--muted); }
.ij-step__title { margin: 8px 0 0; font: 500 17px/1.6 var(--jp); color: var(--ink); }
.ij-step__text { margin: 10px 0 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
@media (min-width: 960px) {
  .ij-steps__list { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .ij-steps__list::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
  .ij-step { padding-left: 0; padding-top: 36px; }
  .ij-step__ring { top: 0; }
}

/* お知らせ */
.ij-news__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ij-news__list li { border-bottom: 1px solid var(--line); }
.ij-news__list a { display: flex; align-items: center; gap: 32px; padding: 24px 0; text-decoration: none; }
.ij-news__list time { font: 400 14px/1 var(--en); letter-spacing: .06em; color: var(--muted); flex: none; }
.ij-news__list span { flex: 1; font-size: 16px; }
@media (max-width: 781px) { .ij-news__list a { flex-wrap: wrap; gap: 8px 16px; } .ij-news__list span { flex-basis: calc(100% - 48px); } }

/* 行動ボタン */
.ij-cta { text-align: center; padding-block: clamp(96px, 10vw, 140px); }
.ij-cta__logo { width: 88px; margin: 0 auto 32px; }
.ij-cta .ij-eyebrow { justify-content: center; }
.ij-cta__text { max-width: 36em; margin: 0 auto; font-size: clamp(15px, 1.4vw, 18px); line-height: 2; color: #fff; }
.ij-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
@media (max-width: 781px) { .ij-cta__buttons { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; } }

/* フッター */
.ij-footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.9; padding: 72px var(--gutter) 32px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 40px; }
.ij-footer .ij-logo { color: #fff; }
.ij-footer__logo { display: block; width: 64px; }
.ij-footer__name { margin: 16px 0 0; color: #fff; font-size: 14px; letter-spacing: .2em; }
.ij-footer__tag { margin: 0; font-size: 12px; letter-spacing: .2em; }
.ij-footer__info p { margin: 0; } .ij-footer a { text-decoration: none; }
.ij-footer__nav, .ij-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ij-footer__nav a { color: #fff; }
.ij-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); font-size: 12px; }
.ij-footer__copy { margin: 0; }
@media (min-width: 960px) { .ij-footer { grid-template-columns: 1.2fr 1.4fr 2fr; align-items: start; } .ij-footer__bottom { grid-column: 1 / -1; } .ij-footer__nav { justify-content: flex-end; } }

/* スマホの固定ボタン */
.ij-sticky { display: none; }
@media (max-width: 781px) {
  .ij-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .ij-sticky.is-shown { opacity: 1; transform: none; pointer-events: auto; }
  .ij-sticky .ij-btn { height: 52px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
}
.ito-sticky-cta, .ito-sticky { display: none !important; } /* 土台の固定ボタンは使わない */

/* 節の出方（1回だけ） */
@media (prefers-reduced-motion: no-preference) {
  .ij-js .ij-reveal:not(.is-in) .ij-head, .ij-js .ij-reveal:not(.is-in) .ij-lead, .ij-js .ij-reveal:not(.is-in) .ij-statement__title,
  .ij-js .ij-reveal:not(.is-in) .ij-statement__body, .ij-js .ij-reveal:not(.is-in) li, .ij-js .ij-reveal:not(.is-in) .ij-update__figure,
  .ij-js .ij-reveal:not(.is-in) .ij-wvisual__grid, .ij-js .ij-reveal:not(.is-in) .ij-cta__text { opacity: 0; transform: translateY(16px); }
  .ij-reveal .ij-head, .ij-reveal .ij-lead, .ij-reveal .ij-statement__title, .ij-reveal .ij-statement__body, .ij-reveal li,
  .ij-reveal .ij-update__figure, .ij-reveal .ij-wvisual__grid, .ij-reveal .ij-cta__text { transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .ij-reveal .ij-lead, .ij-reveal .ij-statement__body { transition-delay: .08s; }
  .ij-reveal li:nth-child(2) { transition-delay: .16s; } .ij-reveal li:nth-child(3) { transition-delay: .24s; } .ij-reveal li:nth-child(4) { transition-delay: .32s; } .ij-reveal li:nth-child(5) { transition-delay: .4s; }
  .ij-wvisual .ij-wvisual__grid { transition-delay: .16s; }
}
.ij-no-io .ij-reveal * { opacity: 1 !important; transform: none !important; }

/* 下層ページ：土台の部品を自社サイトの見た目に寄せる */
main.ito-main { font-family: var(--jp); }
.ito-page-header, .ito-archive-header { padding-top: clamp(64px, 8vw, 120px) !important; background: #fff !important; color: var(--ink) !important; }
.ito-main h1, .ito-main h2, .ito-main h3 { font-family: var(--jp); font-weight: 500; color: var(--ink); letter-spacing: .06em; font-feature-settings: "palt"; }
.ito-main .wp-element-button, .ito-main .ito-button, .ito-main button[type="submit"] { border-radius: 999px !important; padding-inline: 36px; }
.ito-main input:not([type="checkbox"]):not([type="radio"]), .ito-main textarea, .ito-main select { border-radius: 4px; border: 1px solid var(--line); }
.ito-main input:focus, .ito-main textarea:focus { border-color: var(--ink); outline: 2px solid var(--kincha); outline-offset: 2px; }

/* 特商法・プライバシーポリシー（固定ページ） */
.ij-legal-table { margin: 40px 0; }
.ij-legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.9; border-top: 1px solid var(--line); }
.ij-legal-table th, .ij-legal-table td { border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 20px 0; text-align: left; vertical-align: top; background: none !important; }
.ij-legal-table th { width: 13em; padding-right: 24px; font-weight: 500; color: var(--muted); white-space: nowrap; }
@media (max-width: 781px) { .ij-legal-table th, .ij-legal-table td { display: block; width: auto; } .ij-legal-table th { padding-bottom: 0; border-bottom: 0 !important; } .ij-legal-table td { padding-top: 4px; } }
.ito-main .wp-block-post-title, .ito-main h1.wp-block-heading { font-size: clamp(28px, 3.4vw, 40px) !important; letter-spacing: .08em; }
.ito-main .wp-block-post-content h2 { font-size: 20px; margin-top: 56px; }

/* 採点（78点）の指摘への対応 */
.ij-point__title, .ij-step__title, .ij-work__title, .ij-cta__text, .ij-lead { word-break: auto-phrase; text-wrap: balance; }
.ij-lead, .ij-cta__text { text-wrap: pretty; }
.ij-point__text { font-size: 16px; }
.ij-step__text { font-size: 15px; }
.ij-sticky .ij-btn { box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 8px 24px rgba(0,0,0,.18); }
.ij-footer__nav a, .ij-footer__legal a { display: inline-block; padding-block: 12px; }
.ij-footer__nav, .ij-footer__legal { gap: 0 28px; }
/* 下層ページ：見出しに英字ラベルと糸 */
main.ito-main { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)) !important; }
.ij-page-eyebrow { width: var(--wrap); max-width: none !important; margin: 0 auto 20px !important; }
main.ito-main > h1.ito-page-title, .ito-main h1.ito-page-title { width: var(--wrap); max-width: none !important; margin: 0 auto clamp(48px, 6vw, 80px) !important; padding: 0 !important; border: 0 !important; font: 500 clamp(28px, 3.4vw, 40px)/1.5 var(--jp) !important; letter-spacing: .08em; color: var(--ink); }
.ito-main h1.ito-page-title::after { content: ""; display: block; width: 120px; height: 5px; margin-top: 24px; background: linear-gradient(var(--ink), var(--ink)) left center / 5px 5px no-repeat, linear-gradient(color-mix(in srgb, var(--ink) 80%, transparent), color-mix(in srgb, var(--ink) 80%, transparent)) left 2px top 2px / 100% 1px no-repeat; border-radius: 0; }
.ij-sub .ij-works--archive { padding-top: 0; }
.ij-works__note { margin: 0 0 56px; color: var(--muted); }
.post-type-archive-ito_item .ito-price, .single-ito_item .ito-price { font-size: 14px !important; color: var(--muted) !important; font-weight: 400 !important; }
.post-type-archive-ito_item .ito-card__text, .post-type-archive-ito_item .ito-card p { font-size: 15px; line-height: 1.9; }
@media (min-width: 782px) { .post-type-archive-ito_item .ito-cards, .post-type-archive-ito_item .ito-archive__list { grid-template-columns: repeat(2, 1fr) !important; } }

/* トップの前半：1画面ずつ切り替え（html.ij-deck-on のときだけ。JS なし・スマホ・動きを減らす設定では普通の縦並び） */
/* jisha.js が動く前（head で ij-deck-on だけ付いた状態）は、最初の画面だけを見せる */
.ij-deck-on .ij-deck > section:first-child:not(.is-current):not(.is-before) { opacity: 1; visibility: visible; transform: none; transition: none; }
.ij-deck__dots, .ij-deck__count { display: none; }
.ij-deck-on .ij-deck { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #fff; }
.ij-deck-on .ij-deck > section { position: absolute; inset: 0; margin: 0; min-height: 0; padding: calc(var(--header-h) + 32px) 0 56px; display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(48px); transition: opacity .45s ease-out, transform .45s ease-out, visibility 0s linear .45s; }
.ij-deck-on .ij-deck > section.is-before { transform: translateY(-48px); }
.ij-deck-on .ij-deck > section.is-current { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--ease) .4s, transform .9s var(--ease) .4s, visibility 0s .4s; z-index: 1; }
.ij-deck-on .ij-deck > .ij-hero { padding-bottom: 120px; }
.ij-deck-on .ij-deck > .ij-hero::after { display: none; }
.ij-deck-on .ij-deck > .ij-section > .ij-wrap { width: var(--wrap); }
.ij-deck-on .ij-deck .ij-statement__body { margin-top: 32px; }
.ij-deck-on .ij-deck .ij-update__figure { min-height: 420px; }
/* 右側の点（今どこか） */
.ij-deck-on .ij-deck__dots { display: flex; flex-direction: column; gap: 14px; position: absolute; right: clamp(20px, 2.4vw, 40px); top: 50%; transform: translateY(-50%); z-index: 5; }
.ij-deck__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; transition: background .3s, transform .3s; }
.ij-deck__dots button[aria-current="true"] { background: var(--ink); transform: scale(1.2); }
.ij-deck__dots button::before { content: ""; position: absolute; inset: -10px; } /* 押せる範囲を広げる */
.ij-deck__dots button { position: relative; }
.ij-deck-on .ij-deck__count { display: block; position: absolute; right: clamp(20px, 2.4vw, 40px); bottom: 32px; z-index: 5; margin: 0; font: 400 12px/1 var(--en); letter-spacing: .16em; color: var(--muted); }
.ij-deck__count span { color: var(--ink); font-size: 16px; }
.ij-deck-on .ij-hero__scroll { display: none; }
/* 墨の画面（ITO）では点と数字を白に */
.ij-deck-on.ij-deck-dark .ij-deck__dots button { border-color: #fff; }
.ij-deck-on.ij-deck-dark .ij-deck__dots button[aria-current="true"] { background: #fff; }
.ij-deck-on.ij-deck-dark .ij-deck__count, .ij-deck-on.ij-deck-dark .ij-deck__count span { color: rgba(255,255,255,.8); }
/* 最後の画面では「下へ」の合図 */
.ij-deck-on .ij-deck > .ij-points::after { content: "SCROLL"; position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font: 400 11px/1 var(--en); letter-spacing: .24em; color: var(--muted); }

/* 切り替えモード：スマホ・低い画面 */
/* 縮める処理はアニメーションにしない（糸が見出しの位置を正しく測れるように） */
.ij-deck-on .ij-sticky.is-shown, .ij-deck-on.ij-deck-past-hero .ij-sticky { opacity: 1; transform: none; pointer-events: auto; }
.ij-deck-on:not(.ij-deck-past-hero) .ij-sticky { opacity: 0; transform: translateY(16px); pointer-events: none; }
.ij-deck-on { overscroll-behavior-y: none; }
@media (max-width: 781px) {
  .ij-deck-on .ij-deck > section { padding: calc(var(--header-h) + 16px) 0 88px; }
  .ij-deck-on .ij-deck > .ij-hero { padding: calc(var(--header-h) + 8px) var(--gutter) 84px; }
  .ij-deck-on .ij-deck__dots { right: 8px; gap: 10px; }
  .ij-deck-on .ij-deck > .ij-section > .ij-wrap { width: calc(100% - 20px - 36px); margin-left: 20px; margin-right: 36px; }
  .ij-deck__dots button { width: 8px; height: 8px; }
  .ij-deck-on .ij-deck__count { display: none; }
  .ij-deck-on .ij-hero__news { bottom: 16px; }
  .ij-deck-on .ij-deck .ij-split { gap: 28px; }
  .ij-deck-on .ij-deck .ij-lead { margin-top: 20px; }
  .ij-deck-on .ij-deck .ij-more { margin-top: 20px; }
  .ij-deck-on .ij-deck .ij-thread { margin-top: 16px; }
  .ij-deck-on .ij-deck .ij-title { font-size: 24px; }
  /* UPDATE：スマホの画面と完成画面を横に並べる */
  .ij-deck-on .ij-update__figure { display: grid; grid-template-columns: 46% 1fr; gap: 10px; align-items: center; min-height: 0; }
  .ij-deck-on .ij-update .ij-phone { width: auto; padding: 10px 8px 14px; border-radius: 22px; gap: 6px; }
  .ij-deck-on .ij-update .ij-bubble { font-size: 10px; line-height: 1.6; padding: 6px 9px; }
  .ij-deck-on .ij-update .ij-bubble--photo img { width: 96px; }
  .ij-deck-on .ij-update .ij-phone--line { padding: 0; gap: 0; border-width: 5px; border-radius: 24px; }
  .ij-deck-on .ij-update .ij-phone--line::before { top: 5px; height: 12px; }
  .ij-deck-on .ij-update .ij-phone__bar { padding: 22px 10px 7px; font-size: 10px; }
  .ij-deck-on .ij-update .ij-chat { gap: 6px; padding: 8px 7px 10px; }
  .ij-deck-on .ij-update .ij-phone__input { padding: 6px 10px 16px; font-size: 9px; }
  .ij-deck-on .ij-update .ij-phone__input::after { bottom: 5px; height: 3px; }
  .ij-deck-on .ij-update .ij-browser { width: auto; }
  .ij-deck-on .ij-update__note { grid-column: 1 / -1; margin-top: 4px; font-size: 11px; }
  .ij-deck-on .ij-update .ij-more { display: none; }
  /* WORKS：2×2 を小さく、下げを浅く */
  .ij-deck-on .ij-wvisual__grid { gap: 8px; }
  .ij-deck-on .ij-wvisual__grid .ij-shot:nth-child(even) { transform: translateY(16px); }
  /* ITO：ロゴを小さく */
  .ij-deck-on .ij-itoblock__logo { width: 150px; }
  .ij-deck-on .ij-statement__title { font-size: 24px; }
  .ij-deck-on .ij-statement__body { margin-top: 24px; }
}
@media (min-width: 782px) and (max-height: 760px) {
  .ij-deck-on .ij-deck > section { padding-top: calc(var(--header-h) + 12px); padding-bottom: 40px; }
  .ij-deck-on .ij-deck .ij-update__figure { min-height: 380px; }
  .ij-deck-on .ij-update .ij-phone--line { width: 184px; }
}

/* 切り替え中の画面の上では、指によるスクロールを止める（最後の画面だけ普通のスクロールを許す） */
.ij-deck-on:not(.ij-deck-last) .ij-deck { touch-action: none; }
@media (max-width: 781px) {
  .ij-deck-on .ij-deck > .ij-section { padding-bottom: 100px; }
}

/* スマホで1画面に収まらない最後の画面（Approach）は、その画面の中でスクロールする（jisha.js の fit() が ij-scroll を付ける） */
@media (max-width: 781px) {
  .ij-deck-on .ij-deck > section.ij-scroll { top: var(--header-h); justify-content: flex-start; overflow-y: auto; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch; padding-top: 20px; padding-bottom: 120px; }
  .ij-deck-on .ij-deck > section.ij-scroll::after { display: none; } /* 「SCROLL」の文字は中身と重なるので出さない */
}

/* 2026-10-17 文言の修正に合わせて */
.ij-eyebrow--center { justify-content: center; margin-bottom: 24px; }
.ij-eyebrow--center::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.ij-statement__title mark.ito-mark { font-size: 1.7em; line-height: 1; letter-spacing: .1em; text-decoration-thickness: 1px; text-underline-offset: .25em; vertical-align: -0.06em; }
.ij-hero__catch mark.ito-mark { text-decoration: underline 1px var(--kincha); text-underline-offset: .35em; }

/* 背景の糸と、後ろの1枚で切り替える背景の色（切り替えモードのときだけ） */
.ij-threadbg { display: none; }
.ij-deck-on .ij-deck { background: #fff; transition: background-color .9s var(--ease); --thread: rgba(28,28,26,.42); }
.ij-deck-on .ij-deck[data-bg="mist"] { background: var(--mist); }
.ij-deck-on .ij-deck[data-bg="ink"] { background: var(--ink); --thread: rgba(255,255,255,.5); }
.ij-deck-on .ij-deck > section { background: transparent !important; z-index: 1; }
.ij-deck-on .ij-threadbg { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ij-threadbg svg { position: absolute; left: 0; top: 0; width: 100%; transition: transform 1.1s cubic-bezier(.65,0,.35,1); }
.ij-threadbg path { fill: none; stroke: var(--thread); stroke-width: 1.1px; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 781px) {
  .ij-threadbg path { stroke-width: .9px; }
  /* ポイント3つ：スマホでは画面の中でスクロールするので、詰めずにほかの画面と同じ間隔で */
  .ij-deck-on .ij-deck > .ij-points .ij-cols { gap: 0; }
  .ij-deck-on .ij-deck > .ij-points .ij-points__list { margin-top: 32px; gap: 36px; }
  .ij-deck-on .ij-deck > .ij-points .ij-num { font-size: 32px; }
  .ij-deck-on .ij-deck > .ij-points .ij-point__title { margin-top: 12px; font-size: 17px; }
  .ij-deck-on .ij-deck > .ij-points .ij-point__text { margin-top: 8px; }
}
@media (min-width: 782px) {
  .ij-deck-on .ij-deck > .ij-points .ij-points__list { margin-top: 48px; }
}

/* 糸は見出しをつなぐ一筆書き（2026-10-17）：見出しの下の短い飾り線とキャッチの罫線は、切り替えモードでは糸が代わりをする */
.ij-deck-on .ij-deck { --thread: rgba(28,28,26,.72); }
.ij-deck-on .ij-deck[data-bg="ink"] { --thread: rgba(255,255,255,.72); }
.ij-deck-on .ij-deck .ij-thread, .ij-deck-on .ij-deck .ij-hero__rule { visibility: hidden; }
.ij-threadbg path { stroke-width: 1px; }
.ij-threadbg circle { fill: var(--thread); opacity: 0; }

/* 英字ラベルは糸が伸びるのに合わせて背景に現す（切り替えモードのとき）。文字は隠し、入る高さだけ取っておく */
.ij-deck-on .ij-deck .ij-eyebrow { visibility: hidden; height: 40px; margin-bottom: 14px; }
.ij-deck-on .ij-deck .ij-eyebrow--center { margin-bottom: 18px; }
@media (max-width: 781px) { .ij-deck-on .ij-deck .ij-eyebrow { height: 32px; margin-bottom: 8px; } }

/* 糸 v4：線・英字・英字を現すマスク。色は重なっても濃くならないよう不透明の色にする */
.ij-deck-on .ij-deck { --thread: #55534E; }
.ij-deck-on .ij-deck[data-bg="mist"] { --thread: #55534E; }
.ij-deck-on .ij-deck[data-bg="ink"] { --thread: #C9C7C1; }
.ij-threadbg .ij-th-line { fill: none; stroke: var(--thread); stroke-width: 1px; stroke-linecap: round; stroke-linejoin: round; }
.ij-threadbg .ij-th-mask { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.ij-threadbg .ij-th-word { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; letter-spacing: .02em; fill: var(--thread); stroke: none; }
.ij-threadbg .ij-th-knot { fill: var(--thread); }

/* 章ごとの英字タイトル：切り替え画面の英字と同じ書体・書き方（Cormorant Garamond の斜体、頭だけ大文字、前の線なし、糸の色） */
.ij-eyebrow { font: italic 500 32px/1.25 "Cormorant Garamond", serif; letter-spacing: .02em; text-transform: none; color: #55534E; margin: 0 0 6px; gap: 0; }
.ij-eyebrow::before, .ij-eyebrow--center::after { content: none; display: none; }
.ij-ink .ij-eyebrow { color: #C9C7C1; }
.ij-page-eyebrow { margin-bottom: 4px !important; }
@media (max-width: 781px) { .ij-eyebrow { font-size: 26px; } }

/* 本文の文字の大きさをそろえる（2026-10-17）：本文はどこも 16px・行の高さ 2。小さな注記（業種・画面の注記）だけは別
   切り替え画面で入りきらないときは、jisha.js の fit() が本文と写真をまとめて縮める */
.ij-hero__sub, .ij-statement__body, .ij-point__text, .ij-step__text, .ij-cta__text, .ij-legal-table table,
.post-type-archive-ito_item .ito-card__text, .post-type-archive-ito_item .ito-card p,
.post-type-archive-ito_item .ito-price, .single-ito_item .ito-price { font-size: 16px !important; line-height: 2 !important; }

/* 見出しの大きさ・太さ・行の高さをそろえる（2026-10-17）
   ページの見出し 40/28px、節の見出し（.ij-title など）はそのまま。項目の見出し（ポイント・ステップ・制作見本・サービスのカード）は 20px（スマホ 18px）・行の高さ 1.6
   表の項目名・よくある質問の問いは本文と同じ 16px で、太さは見出しと同じ 500 */
.ij-point__title, .ij-step__title, .ij-work__title, .ito-card__title,
.ij-deck-on .ij-deck > .ij-points .ij-point__title { font-size: 20px !important; line-height: 1.6 !important; font-weight: 500; }
@media (max-width: 781px) {
  .ij-point__title, .ij-step__title, .ij-work__title, .ito-card__title,
  .ij-deck-on .ij-deck > .ij-points .ij-point__title { font-size: 18px !important; }
}
.ito-main h2.ito-heading { line-height: 1.5; }
.ito-main th, .ito-faq__q, .ito-main summary { font-weight: 500 !important; }

/* スマホ：本文は左ぞろえ・普通の折り返しに（中央ぞろえや文節の折り返しで、行の途中が不自然に切れないように）。電話番号のボタンは1行に収める */
@media (max-width: 781px) {
  .ij-cta__text, .ij-lead { text-align: left; text-wrap: wrap; word-break: normal; }
  .ij-cta__buttons { max-width: 360px; }
  .ij-cta__buttons .ij-btn { padding: 0 20px; letter-spacing: .04em; white-space: nowrap; }
}
