/* Berkolle：STUDIO再現CSSの補足（WordPress固有部分） */
html.is-menu-open { overflow: hidden; }
.skip-link { position: absolute; left: -9999px; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; color: #1e1e1e; }

/* SPメニュー */
.studio-menu[hidden] { display: none; }
.studio-menu { position: fixed; inset: 0; z-index: 1000; }
.studio-menu .design-canvas__modal { pointer-events: auto; }
.studio-menu .studio-canvas { transform: translateX(100%); transition: transform .4s cubic-bezier(.4,.4,0,1); }
.studio-menu.is-open .studio-canvas { transform: none; }
.studio-menu .design-canvas__modal__base { opacity: 0 !important; transition: opacity .4s; border: 0; cursor: pointer; }
.studio-menu.is-open .design-canvas__modal__base { opacity: 1 !important; }

/* 一覧の空表示・ページ送り */
.berkolle-empty { width: 100%; padding: 48px 0; text-align: center; color: #777; font-size: 14px; letter-spacing: .05em; }
.pagination { width: 100%; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 48px 0 0; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #dfdfdf; border-radius: 40px; color: #1e1e1e; text-decoration: none; font-family: Figtree, sans-serif; font-size: 14px; background: #fff; }
.pagination .page-numbers.current { background: #1e1e1e; border-color: #1e1e1e; color: #fff; }
.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ブログ一覧グリッド・実績一覧グリッド */
.berkolle-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; width: 100%; margin-top: 32px; }
.berkolle-blog-grid > a { width: 100% !important; max-width: 100% !important; transform: none !important; }
.berkolle-works-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; width: 100%; }
.berkolle-works-grid > a { width: 100% !important; max-width: 100% !important; transform: none !important; }
@media screen and (max-width: 840px) {
  .berkolle-works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 540px) {
  .berkolle-blog-grid, .berkolle-works-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* カード内のカテゴリー・タグ */
.berkolle-chip { display: inline-block; padding: 2px 10px; margin: 0 6px 6px 0; border-radius: 24px; background: #1e1e1e; color: #fff; font-size: 11px; line-height: 1.6; letter-spacing: .05em; list-style: none; }
.berkolle-chip--tag { background: transparent; color: #777; padding: 0; }
.berkolle-chip--tag::before { content: "#"; }

/* ブログ サイドバー */
.berkolle-side-list { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; font-size: 14px; }
.berkolle-side-list li + li { border-top: 1px solid #eee; }
.berkolle-side-list a { display: block; padding: 10px 0; color: #1e1e1e; text-decoration: none; line-height: 1.6; }
.berkolle-side-list a:hover { color: #1970ce; }
.berkolle-side-list span { margin-left: 4px; color: #999; font-size: 12px; }
.berkolle-side-list time { display: block; color: #999; font-size: 12px; font-family: Figtree, sans-serif; }

/* 詳細本文 */
.entry-content { display: block !important; width: 100%; }
.entry-content > * + * { margin-top: 1.5em; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid #dfdfdf; padding: 12px 16px; text-align: left; vertical-align: top; }
.entry-content th { background: #f9f9f9; }
.entry-content a { color: #1970ce; }
.berkolle-eyecatch { margin: 0 0 40px; }
.berkolle-eyecatch img { width: 100%; height: auto; }
.berkolle-works-meta { width: 100%; border-collapse: collapse; margin-bottom: 40px; font-size: 14px; }
.berkolle-works-meta th, .berkolle-works-meta td { border-bottom: 1px solid #dfdfdf; padding: 14px 8px; text-align: left; }
.berkolle-works-meta th { width: 30%; font-weight: 500; }
.berkolle-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 48px 0 0; font-size: 13px; }
.berkolle-tags a { color: #777; text-decoration: none; }
.berkolle-tags a::before { content: "#"; }
.berkolle-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 24px; background: #f9f9f9; }
.berkolle-author img { border-radius: 50%; }
.berkolle-author__name { font-weight: 700; margin: 0; }
.berkolle-author__bio { margin: 4px 0 0; font-size: 13px; color: #555; }

/* フォーム */
.berkolle-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.berkolle-form-errors { width: 100%; margin: 0 0 24px; padding: 16px 20px; border: 1px solid #f84f65; background: #fff5f6; color: #c62839; font-size: 14px; }
.berkolle-form-errors ul { margin: 0; padding-left: 1.2em; }

/* Lottie */
.berkolle-lottie { width: 100%; height: 100%; }
.berkolle-blog-grid > a > *, .berkolle-works-grid > a > * { width: 100% !important; max-width: 100% !important; }
.berkolle-blog-grid img, .berkolle-works-grid img { width: 100% !important; height: auto !important; aspect-ratio: 5 / 3; object-fit: cover; }

/* 【修正】Company欄のカード（会社情報／Recruit）：現行STUDIOでは840px以下で幅50%のまま縦積みになり細くなるため、幅いっぱいに広げる（トップ／About／Service） */
@media screen and (max-width: 840px) {
  .sd[data-s-fd24aeb4-7a3b-4c3a-a2fd-a510c6e4ed34],
  .sd[data-s-e6ca1a9a-c88c-4722-a856-e96928a26447],
  .sd[data-s-633630c4-2c24-42ee-b217-95e1c9214399],
  .sd[data-s-62059bd6-f72a-40b6-a580-4c07c5b2e5d4] { width: 100% !important; max-width: 100% !important; flex: none !important; align-self: stretch; }
  .sd[data-s-52fb41f6-2870-401d-954c-af3c76b5d4c0],
  .sd[data-s-f8358ba6-b2f3-493c-ae77-016dafffda86] { width: 100% !important; max-width: 100% !important; flex: none !important; }
}

/* カード内チップの行間（STUDIO由来の大きな gap を詰める） */
ul:has(> li.berkolle-chip) { gap: 6px !important; row-gap: 6px !important; column-gap: 0 !important; }

/* サービスページ Case：事業別の実績カード */
.berkolle-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; width: 100%; max-width: 1040px; margin: 0 auto 48px; text-align: left; }
.berkolle-case { display: flex; flex-direction: column; color: #1e1e1e; text-decoration: none; }
.berkolle-case__img { display: block; aspect-ratio: 5 / 3; overflow: hidden; background: #efefef; border-radius: 4px; margin-bottom: 16px; }
.berkolle-case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.berkolle-case:hover .berkolle-case__img img { transform: scale(1.04); }
.berkolle-case__terms { display: flex; flex-wrap: wrap; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid #ddd; }
.berkolle-case__title { font-size: 15px; font-weight: 500; line-height: 1.7; letter-spacing: .04em; }
.berkolle-case__client { margin-top: 10px; color: #777; font-size: 12px; letter-spacing: .04em; }
@media (max-width: 840px) { .berkolle-cases { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; box-sizing: border-box; } }

/* 採用ページ：募集職種 */
.berkolle-jobs { width: 100%; max-width: 1040px; margin: 40px auto 0; border-top: 1px solid #ddd; text-align: left; }
.berkolle-job { border-bottom: 1px solid #ddd; }
.berkolle-job__head { display: grid; grid-template-columns: 56px 1fr auto 28px; gap: 24px; align-items: center; padding: 32px 8px; cursor: pointer; list-style: none; }
.berkolle-job__head::-webkit-details-marker { display: none; }
.berkolle-job__no { font-family: Figtree, sans-serif; font-size: 14px; color: #999; }
.berkolle-job__name { display: flex; flex-direction: column; gap: 6px; }
.berkolle-job__en { font-family: Figtree, sans-serif; font-size: 12px; letter-spacing: .08em; color: #999; }
.berkolle-job__title { font-size: 20px; font-weight: 500; letter-spacing: .06em; color: #1e1e1e; }
.berkolle-job__lead { font-size: 13px; line-height: 1.8; color: #555; }
.berkolle-job__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.berkolle-job__tags span { padding: 2px 10px; border: 1px solid #1e1e1e; border-radius: 24px; font-size: 11px; line-height: 1.6; white-space: nowrap; }
.berkolle-job__toggle { position: relative; width: 20px; height: 20px; }
.berkolle-job__toggle::before, .berkolle-job__toggle::after { content: ""; position: absolute; top: 50%; left: 0; width: 20px; height: 1px; background: #1e1e1e; transition: transform .3s; }
.berkolle-job__toggle::after { transform: rotate(90deg); }
.berkolle-job[open] .berkolle-job__toggle::after { transform: rotate(0); }
.berkolle-job__body { display: grid; grid-template-columns: 120px 1fr; gap: 0; margin: 0 8px 24px 88px; font-size: 14px; line-height: 1.9; }
.berkolle-job__body dt, .berkolle-job__body dd { margin: 0; padding: 14px 0; border-top: 1px solid #eee; }
.berkolle-job__body dt { font-weight: 500; color: #1e1e1e; }
.berkolle-job__body dd { color: #444; }
.berkolle-job__entry { margin: 0 8px 36px 88px; }
.berkolle-job__entry a { display: inline-block; padding: 12px 32px; background: #1e1e1e; color: #fff; border-radius: 40px; font-size: 13px; letter-spacing: .06em; text-decoration: none; transition: opacity .3s; }
.berkolle-job__entry a:hover { opacity: .75; }
@media (max-width: 840px) {
	.berkolle-jobs { padding: 0 20px; box-sizing: border-box; }
	.berkolle-job__head { grid-template-columns: 1fr 24px; gap: 12px; padding: 24px 0; }
	.berkolle-job__no { display: none; }
	.berkolle-job__tags { grid-column: 1 / 2; justify-content: flex-start; order: 3; }
	.berkolle-job__title { font-size: 17px; }
	.berkolle-job__body { grid-template-columns: 1fr; margin: 0 0 16px; }
	.berkolle-job__body dt { padding-bottom: 0; }
	.berkolle-job__body dd { border-top: 0; padding-top: 4px; }
	.berkolle-job__entry { margin: 0 0 28px; }
}
.berkolle-job__body dd, .berkolle-job__body dt, .berkolle-job__lead { line-height: 1.9 !important; }

/* サービス一覧ページの詳細リンク */
.bk-svc-nav { width: 100%; max-width: 1040px; margin: 8px auto 64px; text-align: left; }
.bk-svc-nav p { margin: 0 0 14px; font-size: 13px; letter-spacing: .06em; color: #777; }
.bk-svc-nav ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bk-svc-nav a { display: inline-block; padding: 10px 20px; border: 1px solid #1e1e1e; border-radius: 40px; color: #1e1e1e; font-size: 13px; text-decoration: none; transition: background .3s, color .3s; }
.bk-svc-nav a:hover { background: #1e1e1e; color: #fff; }
@media (max-width: 840px) { .bk-svc-nav { padding: 0 20px; box-sizing: border-box; } }

/* ===== サービス詳細・事業ハブ（parts/service-detail.php）v2 =====
   トークン：paper #F7F7F7 / white #FFF / ink #1E1E1E / graphite #777 / rule #DFDFDF / signal #4974DD
   見出し英字＝Figtree 300、本文＝Noto Sans JP。主役はヒーローの大きな英字と楕円のリング（ブランドの楕円モチーフ） */
.sv { --ink: #1e1e1e; --gray: #777; --rule: #dfdfdf; --paper: #f7f7f7; --signal: #4974dd; color: var(--ink); background: #fff; }
.sv-wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.sv a { color: inherit; }
.sv :focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* Hero */
.sv-hero { position: relative; padding: 132px 0 96px; background: var(--paper); overflow: hidden; }
.sv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.sv-hero__text { position: relative; z-index: 2; }
.sv .breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 48px; padding: 0; font-size: 12px; color: var(--gray); }
.sv .breadcrumb li + li::before { content: "/"; margin: 0 8px; color: #bbb; }
.sv .breadcrumb a { text-decoration: none; color: var(--gray); }
.sv .breadcrumb a:hover { color: var(--ink); }
.sv-hero__word { margin: 0 0 18px; font-family: Figtree, sans-serif; font-weight: 300; font-size: clamp(56px, 8.4vw, 128px); line-height: .95; letter-spacing: -.02em; white-space: nowrap; margin-right: -22%; }
.sv-hero__title { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: .08em; line-height: 1.5; }
.sv-hero__title::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.sv-hero__lead { max-width: 34em; margin: 0 0 40px; font-size: 15px; line-height: 2.1 !important; letter-spacing: .04em; color: #3a3a3a; }
.sv-hero__media { position: relative; margin: 0; }
.sv-hero__media img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; filter: grayscale(1) contrast(1.05); }
.sv-hero__ring { position: absolute; z-index: 0; left: -16%; bottom: 12%; width: 132%; height: auto; fill: none; stroke: var(--ink); stroke-width: 1; opacity: .55; pointer-events: none; overflow: visible; transform-origin: 50% 50%; }
/* 【2026-11-19】リングは写真の背面を回る。写真は楕円から広がって現れる */
.sv-hero__dot { fill: #3a6fd8; stroke: none; }
.sv-hero__ring ellipse + ellipse { opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
	.sv-hero__word { animation: sv-rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
	.sv-hero__ring ellipse { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: sv-draw 2.2s .35s ease-out forwards; }
	.sv-hero__ring ellipse + ellipse { animation-delay: .55s; }
	.sv-hero__ring { animation: sv-orbit 18s ease-in-out 2.4s infinite alternate; }
	.sv-hero__media img { animation: sv-reveal 1.6s cubic-bezier(.65,.05,.2,1) .15s both; }
}
@media (prefers-reduced-motion: reduce) { .sv-hero__dot { display: none; } }
@keyframes sv-orbit { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(-7deg) scale(1.03); } to { transform: rotate(5deg) scale(.98); } }
@keyframes sv-reveal { from { clip-path: ellipse(18% 9% at 50% 62%); transform: scale(1.08); opacity: .2; } 60% { opacity: 1; } to { clip-path: ellipse(100% 100% at 50% 50%); transform: none; opacity: 1; } }
@keyframes sv-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes sv-draw { to { stroke-dashoffset: 0; } }

/* Buttons & links */
.sv-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sv-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; padding: 17px 36px; border: 1px solid var(--ink); border-radius: 48px; background: var(--ink); color: #fff !important; font-size: 14px; letter-spacing: .08em; text-decoration: none; transition: background .25s, color .25s; }
.sv-btn:hover { background: #fff; color: var(--ink) !important; }
.sv-btn--ghost { background: transparent; color: var(--ink) !important; }
.sv-btn--ghost:hover { background: var(--ink); color: #fff !important; }
.sv-btn--light { background: #fff; border-color: #fff; color: var(--ink) !important; }
.sv-btn--light:hover { background: transparent; color: #fff !important; }
.sv-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .06em; text-decoration: none; }
.sv-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .25s; }
.sv-arrow:hover::after { width: 40px; }

/* Proof */
.sv-proof { background: #fff; border-bottom: 1px solid var(--rule); }
.sv-proof__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-proof__grid--1 { grid-template-columns: minmax(0, 1fr); }
.sv-proof__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-proof__item { padding: 48px 32px 44px; border-left: 1px solid var(--rule); }
.sv-proof__item:first-child { border-left: 0; padding-left: 0; }
.sv-proof__grid--1 .sv-proof__item { display: grid; grid-template-columns: auto 1fr; column-gap: 40px; align-items: end; }
.sv-proof__grid--1 .sv-proof__num { grid-row: span 2; }
.sv-proof__num { margin: 0 0 12px; font-family: Figtree, sans-serif; font-weight: 300; font-size: clamp(48px, 5.6vw, 76px); line-height: 1; letter-spacing: -.02em; }
.sv-proof__num span { margin-left: 4px; font-family: inherit; font-size: .32em; letter-spacing: .04em; }
.sv-proof__label { margin: 0 0 6px; font-size: 14px; font-weight: 500; line-height: 1.7 !important; }
.sv-proof__src { margin: 0; font-size: 12px; color: var(--gray); }

/* Sections */
.sv-sec { padding: 120px 0; }
.sv-sec--paper { background: var(--paper); }
.sv-head { margin-bottom: 52px; }
.sv-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sv-head__en { margin: 0 0 4px; font-family: Figtree, sans-serif; font-weight: 300; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -.01em; }
.sv-head__ja { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: .12em; color: var(--gray); }
.sv-head__note { margin: 16px 0 0; font-size: 14px; color: #555; }

/* Problems → answer */
.sv-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.sv-checks li { position: relative; padding: 26px 0 26px 40px; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.8 !important; }
.sv-checks li::before { content: ""; position: absolute; left: 2px; top: 33px; width: 16px; height: 8px; border-left: 1.5px solid var(--signal); border-bottom: 1.5px solid var(--signal); transform: rotate(-45deg); }
.sv-answer { position: relative; margin-top: 72px; padding: 56px 64px; background: #fff; border-radius: 4px; }
.sv-answer::before { content: ""; position: absolute; top: -28px; left: 64px; width: 1px; height: 56px; background: var(--ink); }
.sv-answer__label { margin: 0 0 14px; font-size: 13px; letter-spacing: .1em; color: var(--gray); }
.sv-answer__text { margin: 0; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.95 !important; letter-spacing: .04em; }

/* Reasons */
.sv-reasons { border-top: 1px solid var(--ink); }
.sv-reason { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 44px 0; border-bottom: 1px solid var(--rule); }
.sv-reason h3 { margin: 0; font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; letter-spacing: .05em; line-height: 1.6; }
.sv-reason p { margin: 0; font-size: 15px; line-height: 2.05 !important; color: #444; }

/* Service tiles */
.sv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sv-tile { padding: 36px 32px 40px; background: #fff; }
.sv-tile h3 { margin: 0 0 14px; font-size: 17px; font-weight: 500; letter-spacing: .04em; line-height: 1.6; }
.sv-tile p { margin: 0; font-size: 14px; line-height: 1.95 !important; color: #555; }

/* Hub menu */
.sv-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.sv-menu__item { display: flex; flex-direction: column; background: #fff; border-radius: 4px; overflow: hidden; text-decoration: none; }
.sv-menu__img { display: block; aspect-ratio: 16 / 7; overflow: hidden; }
.sv-menu__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s; }
.sv-menu__item:hover .sv-menu__img img { filter: grayscale(0); }
.sv-menu__body { display: flex; flex-direction: column; gap: 10px; padding: 32px 32px 36px; flex: 1; }
.sv-menu__en { font-family: Figtree, sans-serif; font-size: 13px; color: var(--gray); letter-spacing: .04em; }
.sv-menu__title { font-size: 20px; font-weight: 500; letter-spacing: .05em; }
.sv-menu__lead { font-size: 14px; line-height: 1.95 !important; color: #555; margin-bottom: 8px; }
.sv-menu__body .sv-arrow { margin-top: auto; }

/* Mid CTA band */
.sv-band { background: var(--ink); color: #fff; }
.sv-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.sv-band__text { margin: 0; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.9 !important; letter-spacing: .05em; }

/* Case */
.sv .berkolle-cases { max-width: none; margin: 0; gap: 40px; }

/* Flow */
.sv-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; padding: 0; list-style: none; position: relative; }
.sv-flow li { position: relative; padding: 36px 20px 0 0; }
.sv-flow li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--rule); }
.sv-flow li::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.sv-flow li:first-child::after { background: var(--signal); }
.sv-flow__step { display: block; margin-bottom: 10px; font-family: Figtree, sans-serif; font-size: 14px; color: var(--gray); }
.sv-flow__text { display: block; font-size: 15px; line-height: 1.85 !important; letter-spacing: .03em; }

/* Price */
.sv-price { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.sv-price .sv-head { margin: 0; }
.sv-price__body { padding: 36px 40px; border: 1px solid var(--rule); border-radius: 4px; }
.sv-price__body p { margin: 0 0 22px; font-size: 16px; line-height: 2 !important; }

/* FAQ */
.sv-faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.sv-faq-wrap .sv-head { margin: 0; }
.sv-faq { border-top: 1px solid var(--ink); }
.sv-faq details { border-bottom: 1px solid var(--rule); }
.sv-faq summary { position: relative; padding: 28px 56px 28px 0; font-size: 16px; font-weight: 500; line-height: 1.75; cursor: pointer; list-style: none; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::before, .sv-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1px; background: var(--ink); transition: transform .25s; }
.sv-faq summary::after { transform: rotate(90deg); }
.sv-faq details[open] summary::after { transform: rotate(0); }
.sv-faq details p { margin: -6px 0 0; padding: 0 56px 30px 0; font-size: 15px; line-height: 2 !important; color: #444; }

/* Related & posts */
.sv-posts { margin: 0 0 96px; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.sv-posts li { border-bottom: 1px solid var(--rule); }
.sv-posts a { display: flex; gap: 28px; padding: 22px 0; font-size: 15px; text-decoration: none; }
.sv-posts time { font-family: Figtree, sans-serif; color: var(--gray); font-size: 14px; }
.sv-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.sv-related a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 48px 30px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.sv-related a + a { padding-left: 28px; border-left: 1px solid var(--rule); }
.sv-related a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 22px; height: 1px; background: var(--ink); transition: width .25s; }
.sv-related a:hover::after { width: 32px; }
.sv-related__en { font-family: Figtree, sans-serif; font-size: 13px; color: var(--gray); }
.sv-related__title { font-size: 17px; font-weight: 500; letter-spacing: .04em; }

/* Final CTA */
.sv-contact { position: relative; overflow: hidden; padding: 128px 0 136px; background: var(--ink); color: #fff; text-align: center; }
.sv-contact__ring { position: absolute; left: 50%; top: 50%; width: min(1200px, 130%); transform: translate(-50%, -50%); fill: none; stroke: #fff; stroke-width: .8; opacity: .18; }
.sv-contact__inner { position: relative; }
.sv-contact__word { margin: 0 0 12px; font-family: Figtree, sans-serif; font-weight: 300; font-size: clamp(64px, 9vw, 132px); line-height: 1; letter-spacing: -.02em; }
.sv-contact__title { margin: 0 0 20px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: .1em; color: #fff; }
.sv-contact__text { max-width: 36em; margin: 0 auto 40px; font-size: 15px; line-height: 2 !important; color: #cfcfcf; }

/* Mobile fixed CTA */
.sv-fixed-cta { display: none; }

@media (max-width: 960px) {
	.sv-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.sv-hero__word { margin-right: 0; white-space: normal; }
	.sv-hero__media img { aspect-ratio: 16 / 10; }
	.sv-reason, .sv-price, .sv-faq-wrap { grid-template-columns: 1fr; gap: 16px; }
	.sv-price .sv-head, .sv-faq-wrap .sv-head { margin-bottom: 24px; }
	.sv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.sv-wrap { padding: 0 20px; }
	.sv-hero { padding: 104px 0 64px; }
	.sv .breadcrumb ol { margin-bottom: 32px; }
	.sv-hero__lead { margin-bottom: 32px; }
	.sv-btn { width: 100%; min-width: 0; }
	.sv-proof__grid, .sv-proof__grid--2 { grid-template-columns: 1fr; }
	.sv-proof__item, .sv-proof__item:first-child { padding: 32px 0; border-left: 0; border-top: 1px solid var(--rule); }
	.sv-proof__item:first-child { border-top: 0; }
	.sv-proof__grid--1 .sv-proof__item { display: block; }
	.sv-sec { padding: 80px 0; }
	.sv-head { margin-bottom: 36px; }
	.sv-head--row { flex-direction: column; align-items: flex-start; }
	.sv-checks { grid-template-columns: 1fr; }
	.sv-answer { margin-top: 56px; padding: 40px 24px; }
	.sv-answer::before { left: 24px; }
	.sv-tiles, .sv-menu, .sv-related { grid-template-columns: 1fr; }
	.sv-related a + a { padding-left: 0; border-left: 0; }
	.sv-band__inner { flex-direction: column; align-items: flex-start; }
	.sv-flow { grid-template-columns: 1fr; }
	.sv-flow li { padding: 0 0 28px 32px; }
	.sv-flow li::before { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
	.sv-flow li::after { top: 4px; }
	.sv-price__body { padding: 28px 24px; }
	.sv-contact { padding: 96px 0 104px; }
	.sv-fixed-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; padding: 16px; border-radius: 48px; background: var(--ink); color: #fff !important; text-align: center; font-size: 14px; letter-spacing: .08em; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
	.sv { padding-bottom: 72px; }
}
.sv { width: 100%; align-self: stretch; }
.sv-proof__num small { margin-right: 4px; font-size: .3em; font-weight: 400; letter-spacing: 0; vertical-align: .9em; }
.sv-hero__word--long { font-size: clamp(44px, 5.6vw, 84px); white-space: normal; margin-right: -12%; }
.sv-band__text { color: #fff; }
.sv-tiles { gap: 0; background: #fff; border: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sv-tile { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* お問い合わせ：ご相談内容チップ */
.bk-topics { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.bk-topic { position: relative; cursor: pointer; }
.bk-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-topic span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid #cfcfcf; border-radius: 40px; background: #fff; font-size: 14px; line-height: 1.4; color: #1e1e1e; transition: background .2s, border-color .2s, color .2s; }
.bk-topic span::before { content: ""; width: 14px; height: 14px; border: 1px solid #aaa; border-radius: 50%; box-sizing: border-box; transition: all .2s; }
.bk-topic input:checked + span { background: #1e1e1e; border-color: #1e1e1e; color: #fff; }
.bk-topic input:checked + span::before { border: 0; background: #4974dd; box-shadow: inset 0 0 0 3px #1e1e1e; }
.bk-topic input:focus-visible + span { outline: 2px solid #4974dd; outline-offset: 2px; }
.bk-topic:hover span { border-color: #1e1e1e; }
.bk-form-sub { margin-left: 6px; font-size: 12px; color: #777; }
.bk-form-opt { color: #999 !important; font-size: 12px !important; }
@media (max-width: 640px) {
	.sv-wrap.sv-band__inner { padding: 56px 20px; gap: 28px; }
	.sv-band__text { font-size: 17px; }
	.sv-tile { padding: 28px 22px 30px; }
	.sv-head__en { font-size: 44px; }
	.sv-head__ja { margin-top: 4px; }
	.sv-contact { padding-bottom: 140px; }
	.sv-fixed-cta { transition: opacity .3s, transform .3s; }
	.sv-fixed-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
}
@media (max-width: 840px) { .sv .berkolle-cases { padding: 0; } }

/* ===== ブログ本文（見出し・リスト・表・CTA） ===== */
.single-post .entry-content h2 { font-size: 1.5rem; line-height: 1.5; margin-top: 2.6em; padding-bottom: .5em; border-bottom: 1px solid #dfdfdf; }
.single-post .entry-content h3 { font-size: 1.2rem; line-height: 1.5; margin-top: 2em; padding-left: .8em; border-left: 3px solid #4974DD; }
.single-post .entry-content p, .single-post .entry-content li { line-height: 1.95; }
.single-post .entry-content ul, .single-post .entry-content ol { padding-left: 1.4em; }
.single-post .entry-content ul { list-style: disc; }
.single-post .entry-content ol { list-style: decimal; }
.single-post .entry-content li + li { margin-top: .35em; }
.single-post .entry-content strong { font-weight: 700; }
.bk-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bk-table table { min-width: 560px; font-size: .95rem; }
.bk-post-cta { margin-top: 3.5em !important; padding: 40px; background: #1E1E1E; color: #fff; border-radius: 4px; }
.bk-post-cta p { color: #fff; margin: 0; }
.bk-post-cta__label { font-size: .85rem; color: #bbb !important; }
.bk-post-cta__title { font-size: 1.5rem; font-weight: 500; margin-top: .3em !important; }
.bk-post-cta__text { margin-top: .8em !important; line-height: 1.8; color: #ddd !important; }
.bk-post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.entry-content .bk-post-cta__btn { display: inline-block; padding: 14px 28px; border: 1px solid #fff; border-radius: 999px; color: #fff; text-decoration: none; font-size: .95rem; }
.entry-content .bk-post-cta__btn--primary { background: #4974DD; border-color: #4974DD; }
.entry-content .bk-post-cta__btn:hover { opacity: .85; }
@media (max-width: 640px) {
  .single-post .entry-content h2 { font-size: 1.3rem; }
  .bk-post-cta { padding: 28px 20px; }
  .bk-post-cta__btn { width: 100%; text-align: center; }
}

/* 【2026-11-19】スマホのサービス詳細ヒーロー：写真は出さず、リングと周回する点だけを見出しの背面に置く（ユーザー要望） */
@media (max-width: 640px) {
	.sv-hero__grid { position: relative; }
	.sv-hero__media { position: absolute; z-index: 0; top: -4px; left: 2%; width: 108%; pointer-events: none; transform: rotate(-13deg) scaleY(.75); transform-origin: 40% 50%; }
	.sv-hero__media img { display: none; }
	.sv-hero__ring { position: static; display: block; width: 100%; height: auto; opacity: .4; }
}

/* 【2026-11-19】トップのファーストビュー（スマホ）：90vhの高さをやめて余白を詰め、リング動画をキャッチコピーの周りに置く（ユーザー指摘「余白多すぎ」） */
@media screen and (max-width: 540px) {
	body .sd[data-s-e37e3f0e-d6ed-449c-afba-6d5c86096668] { height: auto !important; }
	body .sd[data-s-8e94dadc-0f42-4d22-a5a1-8a6eecf4c36a] { height: auto !important; padding: 120px 0 72px !important; }
	body .sd[data-s-2cf622d0-0c78-4049-8691-d7d9dd41985b] { top: 0 !important; bottom: 0 !important; height: auto !important; overflow: hidden; }
	body .sd[data-s-f293821a-6206-4a10-a04b-42fd5f6fca7e] { width: 118% !important; max-width: none !important; height: auto !important; transform: translateY(-40px); opacity: .9; }
}

/* 【2026-11-19】トップ「サービス」の3カードをクリックで各事業ページへ */
.sd[data-s-5ec34087-d99f-4dc7-ac30-31258684e015] { position: relative; transition: transform .3s, box-shadow .3s; }
.sd[data-s-5ec34087-d99f-4dc7-ac30-31258684e015]:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.bk-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; letter-spacing: .06em; color: #1e1e1e; text-decoration: none; border-bottom: 1px solid #1e1e1e; padding-bottom: 2px; }
.bk-card-link span { transition: transform .3s; }
.bk-card-link::after { content: ""; position: absolute; inset: 0; }
.sd[data-s-5ec34087-d99f-4dc7-ac30-31258684e015]:hover .bk-card-link span { transform: translateX(4px); }

/* 【2026-11-19】実績カード：スマホ・タブレットは横スクロール（次のカードが少し見える）。右端の見切れも解消 */
@media (max-width: 840px) {
	.berkolle-cases, .sv .berkolle-cases { display: flex; gap: 16px; width: 100%; box-sizing: border-box; padding: 0 20px 8px; margin: 0 0 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.berkolle-cases::-webkit-scrollbar { display: none; }
	.berkolle-case { flex: 0 0 80%; min-width: 0; scroll-snap-align: start; }
	.sv .berkolle-cases { width: auto; margin: 0 -20px 32px; }
}
