/* Webflow由来のCSSに足す分だけをここに書く */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 言語が40個に増えたので一覧をスクロールできるようにする */
.dropdown-list-3 { max-height: min(60vh, 480px); overflow-y: auto; }
.dropdown-list-3 [aria-current="true"] { font-weight: 700; }

/* カートを外した商品ページ */
.product-plan-price { font-weight: 600; }
.product-get-app { display: block; margin-top: 16px; text-align: center; }
.w-commerce-commerceaddtocartoptionpill { position: relative; }
.product-plan-price { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
/* 価格の下の注記。大陸ページの注記と同じ文言 */
.price-note { margin: 24px 0 0; color: #6e6e73; font-size: 12px; line-height: 17px; font-weight: 400; text-align: left; }

/* サイト内検索の結果 */
.site-search-results { display: grid; gap: 16px; margin-top: 24px; text-align: left; }
.site-search-results a { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.site-search-results span { opacity: 0.7; font-size: 14px; }

/* 新規ページの共通部品。値はすべて tokens.css から取る */
/* フォントは --font-sans の1か所で決める。shared.css が見出しごとに指定しているので、中の要素まで受け継がせる */
.np-main, .uc-main, .faq-section, .gn, .ln { font-family: var(--font-sans); }
.np-main *, .uc-main *, .faq-section *, .gn *, .ln * { font-family: inherit; }
.np-main { background: var(--fill-1); color: var(--label-1); }
.np-hero { max-width: var(--container); margin: 0 auto; padding: 160px 24px 64px; text-align: center; }
.np-title, .np-lead, .uc-title, .faq-heading { word-break: auto-phrase; text-wrap: balance; }
.np-title { margin: 0; font-size: var(--page-title); line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; }
.np-lead { margin: 20px auto 0; max-width: 680px; font-size: var(--page-title-sub); line-height: 1.3; color: var(--label-2); }

/* FAQの部品。どのページでも faqSection() で置ける */
.faq-section { background: #fff; color: #1d1d1f; padding: 100px 24px; position: relative; z-index: 1; }
.np-main .faq-section { padding: 48px 24px; }
.faq-inner { max-width: var(--container); margin: 0 auto; }
.faq-heading { margin: 0 0 52px; font-size: var(--section-big-desc); line-height: 1.083; font-weight: var(--ap-title-weight, 600); text-align: center; }
.faq-heading-left { margin-bottom: 24px; text-align: left; font-size: var(--section-small-title); }
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-item + .faq-item { border-top: 1px solid #d2d2d7; }
.faq-title { margin: 0; font: inherit; }
.faq-button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 0; border: 0; background: none; color: inherit; font-size: var(--small-item-title); line-height: 1.25; font-weight: 600; text-align: left; cursor: pointer; }
.faq-icon { flex: none; width: 24px; height: 12px; color: #86868b; transition: color 0.1s linear; }
.faq-button:hover .faq-icon { color: #1d1d1f; }
.faq-q { font: inherit; font-weight: var(--ap-title-weight, 600); }
.faq-chevron { display: block; width: 100%; height: 100%; stroke-width: 2.2; overflow: visible; }
.faq-tray { height: 0; overflow: hidden; transition: height 0.4s ease-in-out; }
html:not(.w-mod-js) .faq-tray { height: auto; }
.faq-content { padding: 0 0 24px; }
.faq-answer { margin: 0; max-width: 817px; font-size: var(--body); line-height: 1.47; }
.faq-answer a { color: var(--link); }
.faq-status { margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: #fde68a; color: #713f12; font-size: 12px; font-weight: 500; vertical-align: middle; }

/* ユースケースの型。先頭はAppleの教育ページの実測値、文章の部分はApple TVページの実測値 */
.uc-main { position: relative; overflow: clip; margin-top: -52px; background: #fff; color: #1d1d1f; }
.uc-hero { position: relative; z-index: 2; height: 100vh; height: 100svh; min-height: 560px; }
.uc-hero-inner { position: absolute; inset: 0; overflow: hidden; background: #000; }
.uc-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uc-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); }
.uc-headline { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; height: 100%; padding: 52px 24px 0; text-align: center; }
/* ヒーロー見出しの太さはこの1か所で変える。ヒラギノとApple SD Gothicの600はAppleより細く見えるので、日本語と韓国語だけ700 */
.uc-title { --uc-title-weight: 600; margin: 0; max-width: 980px; color: #fff; font-weight: var(--uc-title-weight); }
:lang(ja) .uc-title, :lang(ko) .uc-title { --uc-title-weight: 700; }
.uc-row { display: block; overflow: clip; overflow-clip-margin: 0.1em; line-height: 1.12; padding-bottom: 0.05em; font-size: clamp(28px, 4vw, 56px); }
.uc-row-big { font-size: clamp(36px, 8vw, 96px); }
.uc-word { display: inline-block; }
html.w-mod-js .uc-word { white-space: nowrap; }
.uc-cta-wrap { margin-top: 32px; }
.uc-cta { display: inline-block; padding: 16px 32px; border-radius: 999px; background: #fff; color: #1d1d1f; font-size: var(--body); line-height: 24px; font-weight: 600; text-decoration: none; }
html.w-mod-js:not(.w-mod-ix) .uc-image, html.w-mod-js:not(.w-mod-ix) .uc-cta-wrap { opacity: 0; }
html.w-mod-js:not(.w-mod-ix) .uc-word { transform: translateY(100%); }
/* 文章はAppleの教育ページの実測値。段落全体の透明度だけがスクロールで変わる。タブレット幅の値はAppleのCSSから */
/* 文章の位置はページ先頭から画面の66%(Appleの実測値)。heroが1段目の44px下から始まる分を引く */
.uc-text { position: relative; z-index: 1; margin-top: calc(-34vh - 44px); margin-top: calc(-34svh - 44px); padding-top: 143px; display: flow-root; }
.uc-text-inner { width: 860px; max-width: calc(100% - 48px); margin: 0 auto 156px; }
.uc-copy { margin: 0; color: #1d1d1f; font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: 0.007em; text-align: center; word-break: auto-phrase; line-break: strict; text-wrap: balance; }
.uc-copy:lang(ko), .uc-copy:lang(zh) { line-height: 1.25; }
.uc-copy:lang(th), .uc-copy:lang(hi), .uc-copy:lang(bn), .uc-copy:lang(mr), .uc-copy:lang(ta), .uc-copy:lang(ar), .uc-copy:lang(fa), .uc-copy:lang(ur), .uc-copy:lang(he) { line-height: 1.4; }
.uc-phrase { white-space: nowrap; }
html.w-mod-js:not(.w-mod-ix) .uc-copy { opacity: 0; }
@media (max-width: 1068px) and (min-width: 768px) { .uc-text { padding-top: 122px; } .uc-text-inner { width: 692px; } .uc-copy { font-size: 24px; line-height: 1.25; letter-spacing: 0.009em; } }
@media (max-width: 767px) {
  .np-hero { padding: 120px 16px 40px; }
  .faq-section, .np-main .faq-section { padding: 48px 16px; }
  .uc-headline { padding: 52px 24px 0; }
  .uc-text { padding-top: 200px; }
  .uc-text-inner { width: auto; max-width: 600px; margin: 0 30px 168px; }
  .uc-copy { font-size: 21px; line-height: 26px; letter-spacing: 0.011em; }
  .uc-copy:lang(th), .uc-copy:lang(hi), .uc-copy:lang(bn), .uc-copy:lang(mr), .uc-copy:lang(ta), .uc-copy:lang(ar), .uc-copy:lang(fa), .uc-copy:lang(ur), .uc-copy:lang(he) { line-height: 1.4; }
}

/* Newsのカード。newsCards() で置ける */
.news-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.news-card a { display: block; color: inherit; text-decoration: none; }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.news-card h3 { margin: 12px 0 4px; font-size: var(--body); font-weight: 600; }
.news-card p { margin: 0; font-size: 14px; color: var(--label-2); }

/* サイト共通ヘッダー。寸法と動きはAppleの実測値。1段目は流れ、2段目だけ top: 0 で残る */
.gn { position: relative; z-index: 30; }
.gn-dark { background: #161617; color: rgba(255, 255, 255, 0.8); }
.gn-light { background: #fafafc; color: rgba(0, 0, 0, 0.8); }
.gn-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; box-sizing: content-box; max-width: 1024px; height: 44px; margin: 0 auto; padding: 0 22px; }
.gn-logo { display: flex; align-items: center; gap: 6px; color: inherit; font-size: 14px; font-weight: 600; text-decoration: none; }
.gn-logo img { width: 20px; height: 20px; }
.gn-list { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; }
.gn-tools { display: flex; margin: 0; padding: 0; list-style: none; }
.gn-link { display: flex; align-items: center; height: 44px; color: inherit; font-size: 12px; text-decoration: none; transition: color 0.32s cubic-bezier(0.4, 0, 0.6, 1); }
.gn-dark .gn-link:hover, .gn-dark .gn-item.is-open .gn-link, .gn-dark .gn-item.is-change-next .gn-link { color: #fff; }
.gn-light .gn-link:hover, .gn-light .gn-item.is-open .gn-link, .gn-light .gn-item.is-change-next .gn-link { color: #000; }
.gn-globe { width: 15px; height: 15px; }
.gn-menu-button { display: none; }
.gn-flyout { position: absolute; left: 0; right: 0; top: 100%; overflow: hidden; height: 0; transition: height 0.32s cubic-bezier(0.4, 0, 0.6, 1); }
.gn-dark .gn-flyout { background: #161617; }
.gn-light .gn-flyout { background: #fafafc; }
.gn-item.is-open .gn-flyout { height: var(--flyout-height, 300px); }
.gn-flyout-inner { display: flex; gap: 64px; box-sizing: content-box; max-width: 1024px; margin: 0 auto; padding: 32px 22px 48px; opacity: 0; transition: opacity 0.2s linear; }
.gn-item.is-open .gn-flyout-inner { opacity: 1; transition-delay: 0.08s; }
.gn-group-title { margin: 0 0 12px; font-size: 12px; }
.gn-dark .gn-group-title { color: rgb(134, 134, 139); }
.gn-light .gn-group-title { color: rgb(110, 110, 115); }
.gn-group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gn-group a { font-size: 21px; font-weight: 600; text-decoration: none; transition: color 0.32s cubic-bezier(0.4, 0, 0.6, 1); }
.gn-dark .gn-group a, .gn-dark .gn-languages a { color: #e8e8ed; }
.gn-light .gn-group a, .gn-light .gn-languages a { color: #333336; }
.gn-dark .gn-group a:hover, .gn-dark .gn-languages a:hover { color: #fff; }
.gn-light .gn-group a:hover, .gn-light .gn-languages a:hover { color: #000; }
.gn-languages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 24px; width: 100%; margin: 0; padding: 0; list-style: none; }
.gn-languages a { font-size: 14px; text-decoration: none; transition: color 0.32s cubic-bezier(0.4, 0, 0.6, 1); }
.gn-languages [aria-current="true"] { font-weight: 700; }
/* 言語と通貨の切替(src/lib/locale.ts)。画面が低いときはパネルの中でスクロールする */
.gn-lang-item .gn-flyout-inner { overflow-y: auto; max-height: calc(100vh - 44px); }
.gn-locale { width: 100%; }
.gn-locale-title { margin: 0 0 12px; color: #6e6e73; font-size: 12px; }
.gn-locale-title:not(:first-child) { margin-top: 24px; }
.gn-currencies button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; font-size: 14px; transition: color 0.32s cubic-bezier(0.4, 0, 0.6, 1); }
.gn-currencies button span { opacity: 0.6; }
.gn-currencies button[aria-pressed="true"] { font-weight: 700; }
.gn-dark .gn-currencies button { color: #e8e8ed; }
.gn-light .gn-currencies button { color: #333336; }
.gn-dark .gn-currencies button:hover { color: #fff; }
.gn-light .gn-currencies button:hover { color: #000; }
/* 選んだ通貨は太さだけだと分からないので、色と印を付ける */
.gn-light .gn-currencies button[aria-pressed="true"] { color: #0066cc; }
.gn-dark .gn-currencies button[aria-pressed="true"] { color: #2997ff; }
.gn-currencies button[aria-pressed="true"]::after { content: " ✓"; }
html::after { content: ""; position: fixed; inset: 0; z-index: 27; background: rgba(232, 232, 237, 0.4); backdrop-filter: blur(20px); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.32s cubic-bezier(0.4, 0, 0.6, 1) 80ms, visibility 0.32s step-end 80ms; }
html.gn-curtain-dark::after { background: rgba(0, 0, 0, 0.4); }
html.gn-flyout-open::after { visibility: visible; opacity: 1; transition: opacity 0.32s cubic-bezier(0.4, 0, 0.6, 1) 80ms, visibility 0.32s step-start 80ms; }

.ln { position: sticky; top: 0; z-index: 25; backdrop-filter: saturate(1.8) blur(20px); }
.ln-dark { background: rgba(22, 22, 23, 0.8); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16); }
.ln-light { background: rgba(250, 250, 252, 0.8); color: #1d1d1f; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); }
.ln-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; box-sizing: content-box; max-width: 980px; height: 52px; margin: 0 auto; padding: 0 22px; }
.ln-title { overflow: hidden; font-size: 21px; line-height: 24px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
/* タイトルはページの先頭へのリンク。Appleと同じく、乗せても下線は出ない */
a.ln-title, a.ln-title:hover { color: inherit; text-decoration: none; transition: color 0.24s cubic-bezier(0.28, 0.11, 0.32, 1); }
.ln-right { display: flex; flex: none; align-self: stretch; align-items: center; gap: 24px; }
/* 下線はAppleの実測値(1px・文字と同じ色・バーの下端)。今のセクションへ横に動く。カーブもAppleの実測値 */
.ln-links { position: relative; display: flex; align-self: stretch; align-items: center; gap: 24px; }
.ln-link { color: inherit; font-size: 12px; opacity: 0.8; text-decoration: none; }
.ln-link:hover, .ln-link[aria-current] { opacity: 1; }
.ln-indicator { position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; opacity: 0; pointer-events: none; transition: transform 0.32s cubic-bezier(0.28, 0.11, 0.32, 1), width 0.32s cubic-bezier(0.28, 0.11, 0.32, 1), opacity 0.24s linear; }
.ln-cta { flex: none; padding: 4px 11px; border-radius: 980px; font-size: 12px; line-height: 16px; text-decoration: none; }
.ln-dark .ln-cta { background: #fafafc; color: #1d1d1f; }
.ln-light .ln-cta { background: #0071e3; color: #fff; }
.ln-light .ln-cta:hover { background: #0076df; }
.ln-dark .ln-cta:hover { opacity: 0.95; }
/* PCのパネルの動きはAppleの globalnav の実測値。ホバーから約135msで開き、項目は順に4px下がりながら出る */
@media (min-width: 834px) {
  .gn-flyout { visibility: hidden; height: 0; transition: none; }
  .gn-dark .gn-flyout, .gn-light .gn-flyout { background: transparent; }
  .gn-dark .gn-item.is-open .gn-flyout, .gn-dark .gn-item.is-change-prev .gn-flyout { background: #161617; }
  .gn-light .gn-item.is-open .gn-flyout, .gn-light .gn-item.is-change-prev .gn-flyout { background: #fafafc; }
  .gn.gn-animating .gn-flyout { transition: height var(--flyout-rate, 240ms) cubic-bezier(0.4, 0, 0.6, 1) 0.12s, visibility var(--flyout-rate, 240ms) step-end 0.12s, background var(--flyout-rate, 240ms) cubic-bezier(0.4, 0, 0.6, 1) 0.12s; }
  .gn .gn-item.is-open .gn-flyout { visibility: visible; height: var(--flyout-height, 300px); transition: height var(--flyout-rate, 240ms) cubic-bezier(0.4, 0, 0.6, 1), visibility var(--flyout-rate, 240ms) step-start, background var(--flyout-rate, 240ms) cubic-bezier(0.4, 0, 0.6, 1); }
  .gn:not(.gn-animating) .gn-item.is-open .gn-flyout { transition: height var(--flyout-rate, 240ms) cubic-bezier(0.4, 0, 0.6, 1); }
  /* 別の項目へ移るときは0.12秒で高さを変えながら中身を入れ替える */
  .gn .gn-item.is-change-prev .gn-flyout, .gn .gn-item.is-change-next .gn-flyout { visibility: visible; height: var(--flyout-prev-height); transition: none; animation: gn-flyout-height 0.12s cubic-bezier(0.4, 0, 0.6, 1) both; }
  .gn .gn-item.is-change-next .gn-flyout { background: transparent; }
  .gn .gn-item.is-change-prev .gn-flyout-inner { animation: gn-flyout-fade 0.12s cubic-bezier(0.4, 0, 0.6, 1) reverse both; }
  .gn .gn-item.is-change-next .gn-flyout-inner { animation: gn-flyout-fade 0.12s cubic-bezier(0.4, 0, 0.6, 1) both; }
  .gn-flyout-inner, .gn-item.is-open .gn-flyout-inner { opacity: 1; transition: none; }
  .gn-group-title, .gn-group li, .gn-languages li { opacity: 0; transform: translateY(-4px); transition-property: opacity, transform; transition-timing-function: ease; transition-duration: min(calc(0.16s + 20ms * (var(--flyout-total, 0) - var(--flyout-number, 0))), 0.24s); transition-delay: 0s; }
  .gn-item.is-open .gn-group-title, .gn-item.is-open .gn-group li, .gn-item.is-open .gn-languages li { opacity: 1; transform: translateY(0); transition-duration: 0.32s; transition-delay: calc(var(--flyout-group-delay, 0ms) + var(--flyout-number, 0) * 20ms + 80ms); }
  .gn-item.is-change-prev .gn-group-title, .gn-item.is-change-prev .gn-group li, .gn-item.is-change-prev .gn-languages li, .gn-item.is-change-next .gn-group-title, .gn-item.is-change-next .gn-group li, .gn-item.is-change-next .gn-languages li { opacity: 1; transform: none; transition: none; }
}
@keyframes gn-flyout-height { from { height: var(--flyout-prev-height); } to { height: var(--flyout-next-height); } }
@keyframes gn-flyout-fade { from { opacity: 0; } to { opacity: 1; } }

/* ページ内リンクへ飛んだとき、2段目に隠れないようにする */
html { scroll-padding-top: 52px; }
/* スマホのヘッダー。値はAppleの globalheader.css と localnav.css の 833px 以下の実測値 */
.gn-back, .ln-chevron { display: none; }
@media (max-width: 833px) {
  html { scroll-padding-top: 48px; }
  html.gn-noscroll, html.gn-noscroll body { overflow: hidden; }
  .uc-main { margin-top: -48px; }
  .gn { --gn-dir: 1; --gn-ease: cubic-bezier(0.4, 0, 0.6, 1); --gn-rate: 422ms; --gn-color: #333336; --gn-sub-title: #6e6e73; }
  [dir="rtl"] .gn { --gn-dir: -1; }
  .gn-dark { --gn-color: #e8e8ed; --gn-sub-title: #86868b; }
  .gn-inner { position: relative; gap: 0; box-sizing: border-box; max-width: none; height: 48px; padding: 0; }

  /* 1段目: 開くとロゴと地球儀は消え、閉じるボタンだけ残る */
  .gn-logo { position: relative; z-index: 2; height: 48px; margin-inline-end: auto; padding-inline: 16px 12px; }
  .gn-tools { position: relative; z-index: 2; order: 2; }
  .gn-tools .gn-item { position: static; }
  .gn-tools .gn-link { justify-content: center; width: 48px; height: 48px; padding: 0; }
  .gn-globe { width: 18px; height: 18px; }
  .gn-logo, .gn-tools .gn-link { transition: opacity 0.24s var(--gn-ease) 80ms, visibility 0.24s step-start 80ms; }
  .gn.is-panel-open .gn-logo, .gn.is-panel-open .gn-tools .gn-link { opacity: 0; visibility: hidden; transition: opacity 0.24s var(--gn-ease), visibility 0.24s step-end; }
  .gn-menu-button { position: relative; z-index: 3; order: 3; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: #000; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .gn-dark .gn-menu-button { color: #fff; }
  .gn-back { position: absolute; top: 0; inset-inline-start: 0; z-index: 3; display: flex; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--gn-color); cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(4px) scale(1); transition: opacity 0.24s var(--gn-ease), transform 0.24s var(--gn-ease), visibility 0.24s step-end; -webkit-tap-highlight-color: transparent; }
  [dir="rtl"] .gn-back svg { transform: scaleX(-1); }
  .gn.is-sub-open .gn-back { visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(0) scale(1); transition: opacity 0.24s var(--gn-ease) 0.16s, transform 0.24s var(--gn-ease) 0.16s, visibility 0.24s step-start 0.16s; }
  .gn.is-back .gn-back, .gn.is-closing .gn-back { opacity: 0; transform: translateX(0) scale(0.8); transition: opacity 0.24s var(--gn-ease), transform 0.24s var(--gn-ease), visibility 0.24s step-end; }

  /* 全画面のメニュー。48px から画面の高さまで伸びる */
  .gn-list { display: block; position: absolute; top: 0; left: 0; z-index: 1; box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0; overflow: hidden; visibility: hidden; list-style: none; }
  .gn-list::after { content: ""; display: block; height: 84px; }
  .gn-dark .gn-list { background: #161617; }
  .gn-light .gn-list { background: #fafafc; }
  .gn.is-panel-open .gn-list, .gn.is-closing .gn-list { visibility: visible; }
  .gn.is-anim .gn-list { transition: height var(--gn-rate) var(--gn-ease) 80ms; }
  .gn.is-panel-open .gn-list { height: 100vh; overflow-x: hidden; overflow-y: auto; transition-delay: 0ms; }

  /* 1階層目の項目 */
  .gn-list > .gn-item:first-child { margin-top: 47px; }
  .gn-list > .gn-item > .gn-link { position: relative; display: flex; height: auto; margin-bottom: -7px; padding: 3px 48px 4px; color: var(--gn-color); font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: 0.007em; opacity: 0; pointer-events: none; transform: translateY(-8px); transition-property: opacity, transform; transition-duration: 0.24s; transition-timing-function: var(--gn-ease); transition-delay: calc(0.2s + var(--gn-n, 1) * 20ms); }
  .gn-link-text { padding-block: 7.5px; pointer-events: none; }
  .gn.is-menu-open .gn-list > .gn-item > .gn-link { opacity: 1; pointer-events: auto; transform: none; }
  .gn.is-closing .gn-list > .gn-item > .gn-link { opacity: 0; transform: translateY(-8px); transition-delay: 0s; transition-duration: min(calc(0.16s + 20ms * (var(--gn-t, 5) - var(--gn-n, 1))), 0.24s); }
  .gn.is-menu-open.is-sub-open .gn-list > .gn-item > .gn-link { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(calc(-8px * var(--gn-dir))); transition: none; }
  .gn.is-menu-open.is-forward .gn-list > .gn-item > .gn-link { opacity: 1; visibility: visible; transform: none; }
  .gn.is-menu-open.is-back .gn-list > .gn-item > .gn-link { transition-delay: 0s; }
  .gn.is-forward .gn-list > .gn-item > .gn-link .gn-link-text { display: block; animation: gn-forward-out 0.24s var(--gn-ease) both; }
  .gn.is-back .gn-list > .gn-item > .gn-link .gn-link-text { display: block; animation: gn-back-in 0.24s var(--gn-ease) 0.16s both; }
  .gn.is-sub-open:not(.is-forward) .gn-list > .gn-item { height: 0; overflow: hidden; }

  /* 2階層目。1階層目の上に重なる */
  .gn-list .gn-flyout { position: absolute; top: 0; left: 0; right: 0; height: auto; overflow: visible; visibility: hidden; pointer-events: none; background: transparent; transition: none; }
  .gn-list .gn-item.is-sub-active > .gn-flyout, .gn-list .gn-item.is-sub-leaving > .gn-flyout { visibility: visible; pointer-events: auto; }
  .gn.is-forward .gn-item.is-sub-active > .gn-flyout { animation: gn-forward-in 0.24s var(--gn-ease) 0.16s both; }
  .gn-list .gn-item.is-sub-leaving > .gn-flyout { pointer-events: none; animation: gn-back-out 0.24s var(--gn-ease) both; }
  .gn-list .gn-flyout-inner { display: block; box-sizing: border-box; max-width: none; padding: 50px 48px 0; opacity: 1; transition: none; }
  .gn-group { padding-bottom: 52px; }
  .gn-group:last-child { padding-bottom: 92px; }
  .gn-group-title { margin: 0; color: var(--gn-sub-title); font-size: 17px; line-height: 21px; font-weight: 400; }
  .gn-dark .gn-group-title, .gn-light .gn-group-title { color: var(--gn-sub-title); }
  .gn-group:first-child .gn-group-title { display: none; }
  .gn-group ul { display: block; }
  .gn-group li:first-child { margin-top: 14px; }
  .gn-group a { display: flex; max-width: max-content; margin-bottom: -5px; padding: 8px 0 7px; font-size: 17px; font-weight: 600; line-height: 25px; }
  .gn-group:first-child li:first-child { margin-top: -3px; }
  .gn-group:first-child a { margin-bottom: -7px; padding: 11px 0; font-size: 28px; line-height: 32px; letter-spacing: 0.007em; }
  .gn.is-closing .gn-item.is-sub-active .gn-group-title, .gn.is-closing .gn-item.is-sub-active .gn-group li { opacity: 0; transform: translateY(-8px); transition: opacity 0.24s var(--gn-ease), transform 0.24s var(--gn-ease); transition-duration: min(calc(0.16s + 40ms * (var(--gn-gt, 1) - var(--gn-g, 1))), 0.24s); }

  /* 地球儀の中身。1段目のアイコンから直接開く */
  .gn-tools .gn-flyout { position: fixed; inset: 0; height: 100vh; overflow-x: hidden; overflow-y: auto; visibility: hidden; pointer-events: none; background: transparent; transition: none; }
  .gn-tools .gn-item.is-sub-active > .gn-flyout { visibility: visible; }
  .gn.is-locale-open .gn-tools .gn-item.is-sub-active > .gn-flyout { pointer-events: auto; }
  .gn-tools .gn-flyout-inner { display: block; box-sizing: border-box; max-width: none; max-height: none; overflow: visible; padding: 50px 48px 92px; opacity: 1; transition: none; }
  .gn-locale { opacity: 0; transform: translateY(-8px); transition: opacity 0.24s var(--gn-ease), transform 0.24s var(--gn-ease); }
  .gn.is-locale-open .gn-locale { opacity: 1; transform: none; transition-delay: 0.2s; }
  .gn-locale-title { margin: 0 0 14px; color: var(--gn-sub-title); font-size: 17px; line-height: 21px; }
  .gn-locale-title:not(:first-child) { margin-top: 52px; }
  .gn-languages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .gn-languages a, .gn-currencies button { display: block; padding: 5px 0; font-size: 17px; font-weight: 600; line-height: 25px; text-align: start; }
  .gn-languages a[aria-current="true"], .gn-currencies button[aria-pressed="true"] { font-weight: 700; }

  /* 2段目。項目は矢印で開くトレイに入る */
  .ln { transition: background 320ms var(--gn-ease, cubic-bezier(0.4, 0, 0.6, 1)); }
  .ln.is-open { z-index: 28; backdrop-filter: none; box-shadow: none; }
  .ln-light.is-open { background: #fafafc; }
  .ln-dark.is-open { background: #161617; }
  .ln-inner { gap: 8px; box-sizing: border-box; max-width: none; height: 48px; padding: 0 16px; }
  .ln-title { font-size: 19px; line-height: 24px; }
  .ln-right { gap: 4px; }
  .ln-cta { padding: 4px 10px; }
  .ln-chevron { position: relative; top: 5px; display: flex; flex: none; justify-content: center; align-items: flex-start; width: 40px; height: 30px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; opacity: 0.8; -webkit-tap-highlight-color: transparent; }
  .ln-chevron svg { width: 16px; height: 9px; transform: translateY(6px); }
  .ln-links { position: absolute; top: 100%; left: 0; right: 0; display: block; align-self: auto; overflow: hidden; max-height: 0; padding: 0 32px; visibility: hidden; pointer-events: none; transition: max-height 320ms cubic-bezier(0.4, 0, 0.6, 1) 240ms, visibility 0s linear 1s; }
  .ln-light .ln-links { background: #fafafc; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.16); }
  .ln-dark .ln-links { background: #161617; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24); }
  .ln.is-open .ln-links { overflow-y: auto; max-height: min(var(--ln-tray-h, 100vh), calc(100vh - 96px)); visibility: visible; pointer-events: auto; transition: max-height 320ms cubic-bezier(0.4, 0, 0.6, 1), visibility 0s; }
  .ln .ln-links .ln-link { position: relative; display: flex; align-items: center; height: 34px; font-size: 14px; line-height: 1.3; opacity: 0; transform: translateY(-4px); transition: opacity calc(400ms - (var(--ln-n, 1) - 1) * 20ms) cubic-bezier(0.4, 0, 0.6, 1), transform calc(400ms - (var(--ln-n, 1) - 1) * 20ms) cubic-bezier(0.4, 0, 0.6, 1); }
  .ln .ln-links .ln-link:first-child { margin-top: 10px; }
  .ln .ln-links .ln-link:nth-last-child(2) { margin-bottom: 27px; }
  .ln.is-open .ln-links .ln-link { opacity: 0.8; transform: none; transition-duration: 320ms; transition-delay: calc(260ms + (var(--ln-n, 1) - 1) * 20ms); }
  .ln.is-open .ln-links .ln-link[aria-current] { opacity: 1; }
  .ln-link[aria-current]::before { content: ""; position: absolute; inset-inline-start: -16px; width: 1.2px; height: 12px; border-radius: 1.2px; background: currentColor; }
  .ln-indicator { display: none; }
  html::after { transition: opacity 320ms cubic-bezier(0.4, 0, 0.6, 1) 240ms, visibility 0s linear 560ms; }
  html.gn-curtain-dark::after { background: rgba(51, 51, 54, 0.4); }
  html.ln-open::after { visibility: visible; opacity: 1; transition: opacity 320ms cubic-bezier(0.4, 0, 0.6, 1), visibility 0s; }
}
/* マウスのある細い画面だけ、項目に乗せると右に矢印が出る */
@media (max-width: 833px) and (hover: hover) {
  .gn-list > .gn-item.has-flyout > .gn-link::after { content: ""; position: absolute; top: 0; inset-inline-end: 19px; width: 9px; height: 47px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 47'%3E%3Cpath d='M1.3 17l6.7 6.5-6.7 6.5' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 47'%3E%3Cpath d='M1.3 17l6.7 6.5-6.7 6.5' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; transition: opacity 0.24s var(--gn-ease), transform 0.24s var(--gn-ease); transform: translateX(calc(-4px * var(--gn-dir))); }
  [dir="rtl"] .gn-list > .gn-item.has-flyout > .gn-link::after { scale: -1 1; }
  .gn-list > .gn-item.has-flyout > .gn-link:hover::after { opacity: 1; transform: none; }
}
@media (max-width: 833px) and (prefers-reduced-motion: reduce) {
  .gn *, .ln, .ln *, html::after, html.ln-open::after { transition: none !important; animation: none !important; }
}
@keyframes gn-forward-out { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(calc(-8px * var(--gn-dir, 1))); } }
@keyframes gn-forward-in { from { opacity: 0; transform: translateX(calc(8px * var(--gn-dir, 1))); } to { opacity: 1; transform: translateX(0); } }
@keyframes gn-back-out { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(calc(8px * var(--gn-dir, 1))); } }
@keyframes gn-back-in { from { opacity: 0; transform: translateX(calc(-8px * var(--gn-dir, 1))); } to { opacity: 1; transform: translateX(0); } }

/* 取り込みページの本文が flex のとき、共通ヘッダーの位置が崩れないようにする */
html[data-page="product-detail"] .gn { margin-bottom: -120px; }

/* トップのFAQ。Webflow版は閉じた回答が透明のまま次の質問に重なり、スマホでタップを邪魔していた */
.ease-faq-answer-holder { overflow: hidden; }

/* ==== ユースケース: カルーセルと詳細 ==== */
/* 数値は apple.com/jp/child-safety の実測値(2026-11-06) */
.uc-gal { position: relative; z-index: 1; padding: 144px 0 224px; background: #fff; }
.uc-gal-inner { width: min(87.5vw, 1260px); margin: 0 auto 48px; }
.uc-gal-head { margin: 0; color: #1d1d1f; font-size: 48px; line-height: 1.1459933; font-weight: 600; word-break: auto-phrase; }
.uc-gal-head:lang(en) { line-height: 1.0834933; letter-spacing: -0.003em; }
.uc-gal-scroll { --card-w: min(87.5vw, 1260px); --card-h: 612px; position: relative; overflow-x: scroll; overflow-y: hidden; scroll-snap-type: x mandatory; padding-bottom: 30px; margin-bottom: -30px; scrollbar-width: none; outline: none; }
.uc-gal-scroll::-webkit-scrollbar { display: none; }
.uc-gal-list { display: grid; grid-auto-flow: column; grid-auto-columns: var(--card-w); gap: 20px; width: max-content; margin: 0; padding: 0 calc((100vw - var(--card-w)) / 2); list-style: none; }
.uc-gal-item { scroll-snap-align: center; }
.uc-gal-card { position: relative; display: flex; overflow: clip; height: var(--card-h); border-radius: 28px; background: #f5f5f7; }
.uc-gal-cap { position: absolute; z-index: 2; color: rgba(0, 0, 0, 0.88); font-size: 28px; line-height: 1.1786; font-weight: 600; letter-spacing: 0.007em; word-break: auto-phrase; will-change: transform, opacity; }
.uc-gal-cap p { margin: 0; }
.uc-gal-left .uc-gal-cap { top: 50%; inset-inline-start: 64px; width: 420px; margin-top: -66px; }
.uc-gal-top .uc-gal-cap { top: 48px; inset-inline: 0; width: 584px; max-width: calc(100% - 96px); margin-inline: auto; text-align: center; }
.uc-gal-media { position: absolute; inset: 0; display: flex; justify-content: center; font-size: 20px; }
.uc-gal-left .uc-gal-media { justify-content: flex-end; padding-inline-end: 8%; padding-top: 32px; }
.uc-gal-top .uc-gal-media { align-items: flex-start; padding-top: 150px; }

html.w-mod-js:not(.w-mod-ix) .uc-gal-head, html.w-mod-js:not(.w-mod-ix) .uc-gal-item { opacity: 0; }

/* カードの中の仮の画面。文字も余白も em で作り、font-size で全体の大きさを変える */
.uc-phone { flex: none; box-sizing: border-box; width: 23em; height: 48em; padding: 0.7em; border-radius: 3.6em; background: #1d1d1f; box-shadow: 0 0 0 0.12em #a1a1a6; }
.uc-phone-screen { position: relative; display: flex; flex-direction: column; gap: 0.8em; box-sizing: border-box; height: 100%; padding: 4em 1.3em 1.6em; overflow: hidden; border-radius: 2.9em; background: #fff; color: #1d1d1f; font-size: 1em; line-height: 1.3; }
.uc-phone-screen::before { content: ""; position: absolute; top: 0.9em; left: 50%; width: 6em; height: 1.7em; margin-left: -3em; border-radius: 1em; background: #1d1d1f; }
.uc-s-title { margin: 0 0 0.3em; font-size: 1.5em; line-height: 1.2; font-weight: 600; }
.uc-s-body { margin: 0; color: #6e6e73; font-size: 0.9em; }
.uc-s-label { margin: 0.4em 0 -0.4em; color: #6e6e73; font-size: 0.8em; }
.uc-s-card { display: flex; flex-direction: column; padding: 0.2em 1em; border-radius: 1em; background: #f5f5f7; }
.uc-s-row, .uc-s-person { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; min-height: 3em; }
.uc-s-row + .uc-s-row, .uc-s-person + .uc-s-person { border-top: 1px solid #d2d2d7; }
.uc-s-row.is-picked { color: #0071e3; font-weight: 600; }
.uc-s-val { color: #6e6e73; margin-inline-start: auto; }
.is-picked .uc-s-val, .uc-s-row .uc-s-val:has(.uc-s-check) { color: #0071e3; }
.uc-s-check { display: block; width: 1.1em; height: 1.1em; }
.uc-s-esim { flex-direction: row; align-items: flex-end; justify-content: space-between; height: 5.5em; padding: 1em; box-sizing: border-box; background: linear-gradient(135deg, #2997ff, #0071e3); color: #fff; }
.uc-s-field { padding: 0.75em 1em; border-radius: 0.8em; background: #f5f5f7; color: #6e6e73; font-size: 0.9em; }
.uc-s-btn { padding: 0.85em 1em; border-radius: 1.6em; background: #0071e3; color: #fff; font-weight: 600; text-align: center; }
.uc-s-btn.is-plain { background: #f5f5f7; color: #0071e3; }
.uc-s-center { display: flex; flex-direction: column; align-items: center; gap: 0.5em; padding: 1.5em 0 0.8em; text-align: center; }
.uc-s-badge, .uc-s-app { display: flex; align-items: center; justify-content: center; width: 4.4em; height: 4.4em; border-radius: 1.1em; background: linear-gradient(135deg, #2997ff, #0071e3); color: #fff; font-weight: 600; }
.uc-s-badge.is-green { border-radius: 50%; background: #34c759; }
.uc-s-badge .uc-s-check { width: 2em; height: 2em; }
.uc-s-app { font-size: 1.8em; width: 2.6em; height: 2.6em; border-radius: 0.6em; }
.uc-s-toggle { display: block; width: 2.6em; height: 1.55em; border-radius: 1em; background: #d2d2d7; position: relative; }
.uc-s-toggle::after { content: ""; position: absolute; top: 0.13em; inset-inline-start: 0.13em; width: 1.29em; height: 1.29em; border-radius: 50%; background: #fff; }
.uc-s-toggle.is-on { background: #34c759; }
.uc-s-toggle.is-on::after { inset-inline-start: auto; inset-inline-end: 0.13em; }
.uc-s-ring { display: grid; place-items: center; align-self: center; width: 15em; height: 15em; margin-top: 1em; border-radius: 50%; background: conic-gradient(#0071e3 calc(var(--p) * 1%), #e8e8ed 0); }
.uc-s-ring > div { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 12.4em; height: 12.4em; border-radius: 50%; background: #fff; }
.uc-s-ring b { font-size: 2em; line-height: 1.2; }
.uc-s-ring span { color: #6e6e73; font-size: 0.9em; }
.uc-s-lock { display: flex; flex-direction: column; gap: 1em; margin: -4em -1.3em -1.6em; padding: 5em 1em 0; height: calc(100% + 5.6em); box-sizing: border-box; background: linear-gradient(170deg, #5ac8fa, #0071e3); }
.uc-s-time { color: #fff; font-size: 4em; line-height: 1; font-weight: 600; text-align: center; }
.uc-s-note { padding: 0.9em 1em; border-radius: 1.2em; background: rgba(255, 255, 255, 0.86); }
.uc-s-note p { margin: 0.1em 0 0; color: #424245; font-size: 0.9em; }
.uc-s-note b { display: block; }
.uc-s-note-head { display: flex; justify-content: space-between; margin-bottom: 0.3em; color: #6e6e73; font-size: 0.8em; }
.uc-s-laptop { align-self: center; width: 14em; height: 8.6em; margin-top: 1em; border: 0.6em solid #1d1d1f; border-bottom-width: 0.9em; border-radius: 0.8em; background: linear-gradient(135deg, #e8e8ed, #f5f5f7); }
.uc-s-person { gap: 0.7em; }
.uc-s-person img { width: 2.4em; height: 2.4em; border-radius: 50%; object-fit: cover; }

/* 詳細の共通の文字 */
.uc-detail { position: relative; z-index: 1; background: #fff; color: #1d1d1f; }
.uc-d-head { width: 840px; max-width: calc(100% - 48px); margin: 0 auto; text-align: center; }
.uc-d-head.is-start { width: auto; max-width: none; margin: 0; text-align: start; }
.uc-d-eyebrow { margin: 0 0 12px; font-size: 21px; line-height: 1; font-weight: 600; letter-spacing: 0.011em; }
.uc-d-title { margin: 0 0 24px; font-size: 48px; line-height: 1.1459933; font-weight: 600; word-break: auto-phrase; }
.uc-d-copy { margin: 0; color: #6e6e73; font-size: 21px; line-height: 1.3334; font-weight: 600; letter-spacing: 0.011em; word-break: auto-phrase; }
.uc-em { color: #1d1d1f; }
html.w-mod-js:not(.w-mod-ix) .uc-d-1, html.w-mod-js:not(.w-mod-ix) .uc-d-2, html.w-mod-js:not(.w-mod-ix) .uc-d-3, html.w-mod-js:not(.w-mod-ix) .uc-d-4, html.w-mod-js:not(.w-mod-ix) .uc-dk-phone, html.w-mod-js:not(.w-mod-ix) .uc-dk-steps { opacity: 0; }

/* 子ども */
.uc-dk-faces { display: flex; justify-content: center; padding-bottom: 40px; }
.uc-dk-faces img { box-sizing: content-box; width: 170px; height: 170px; margin-inline-start: -56px; border: 4px solid #fff; border-radius: 50%; object-fit: cover; }
.uc-dk-faces img:first-child { margin-inline-start: 0; }
.uc-detail-kids .uc-d-head { margin-bottom: 80px; }
.uc-dk-setup { display: flex; align-items: center; justify-content: center; gap: 66px; }
.uc-dk-phone { overflow: hidden; height: 705px; font-size: 20.35px; }
.uc-dk-steps { width: 370px; margin: 0; padding: 0; list-style: none; counter-reset: uc-step; color: #86868b; font-size: 21px; line-height: 1.3334; font-weight: 600; letter-spacing: 0.011em; word-break: auto-phrase; }
.uc-dk-steps li { position: relative; padding-inline-start: 30px; counter-increment: uc-step; }
.uc-dk-steps li + li { margin-top: 16px; }
.uc-dk-steps li::before { content: counter(uc-step); position: absolute; top: 3px; inset-inline-start: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 22px; height: 22px; border: 2px solid #1d1d1f; border-radius: 50%; color: #1d1d1f; font-size: 13px; line-height: 1; }

/* バックパッカー */
.uc-detail-route { padding-bottom: 160px; }
.uc-dr-panel { box-sizing: border-box; width: min(87.5vw, 1260px); margin: 0 auto; padding: 80px; border-radius: 28px; background: #f5f5f7; }
.uc-dr-panel .uc-d-copy { max-width: 640px; }
.uc-dr-route { position: relative; display: flex; justify-content: space-between; margin: 96px 0 40px; padding: 0; list-style: none; }
.uc-dr-route::before { content: ""; position: absolute; top: 9px; inset-inline: 10px; height: 2px; background: repeating-linear-gradient(90deg, #86868b 0 8px, transparent 8px 16px); }
.uc-dr-route li { position: relative; display: flex; flex-direction: column; gap: 14px; font-size: 21px; font-weight: 600; }
.uc-dr-route i { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #1d1d1f; box-sizing: border-box; }
.uc-dr-route .is-now i { background: #0071e3; border-color: #0071e3; box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.2); }
.uc-dr-route li:last-child { align-items: flex-end; }
.uc-dr-chip { width: fit-content; margin-inline-start: auto; padding: 12px 22px; border-radius: 999px; background: #0071e3; color: #fff; font-size: 17px; font-weight: 600; }

/* はじめての人 */
.uc-detail-chat { padding-bottom: 160px; }
.uc-dc-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; width: min(87.5vw, 1100px); margin: 0 auto; }
.uc-dc-thread { display: flex; flex-direction: column; gap: 10px; padding: 40px 32px; border-radius: 28px; background: #f5f5f7; font-size: 19px; line-height: 1.35; }
.uc-dc-thread p { max-width: 78%; margin: 0; padding: 12px 18px; border-radius: 20px; background: #e5e5ea; color: #1d1d1f; align-self: flex-start; }
.uc-dc-thread .is-me { align-self: flex-end; background: #0071e3; color: #fff; }
.uc-dc-link { display: flex; flex-direction: column; gap: 4px; background: #fff !important; color: #0071e3 !important; box-shadow: inset 0 0 0 1px #d2d2d7; font-weight: 600; }
.uc-dc-link b { color: #6e6e73; font-size: 13px; }

/* ふたり */
.uc-detail-rings { padding-bottom: 160px; }
.uc-dg-rings { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 72px; }
.uc-dg-ring { display: grid; place-items: center; width: 340px; height: 340px; border-radius: 50%; background: conic-gradient(#0071e3 calc(var(--p) * 1%), #e8e8ed 0); }
.uc-dg-ring.is-low { background: conic-gradient(#ff3b30 calc(var(--p) * 1%), #e8e8ed 0); }
.uc-dg-ring > div { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 296px; height: 296px; border-radius: 50%; background: #fff; }
.uc-dg-ring b { font-size: 48px; line-height: 1.1; font-weight: 600; }
.uc-dg-ring span { margin-top: 6px; color: #6e6e73; font-size: 19px; font-weight: 600; }
.uc-dg-link { padding: 12px 20px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; }

/* 家族 */
.uc-detail-bento { padding-bottom: 160px; }
.uc-db-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: min(87.5vw, 1260px); margin: 72px auto 0; }
.uc-db-tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 240px; padding: 28px; box-sizing: border-box; border-radius: 28px; background: #f5f5f7; }
.uc-db-tile span { color: #6e6e73; font-size: 17px; font-weight: 600; }
.uc-db-tile b { font-size: 40px; line-height: 1.1; font-weight: 600; }
.uc-db-tile i { display: block; height: 8px; margin-top: auto; border-radius: 4px; background: linear-gradient(90deg, #0071e3 calc(var(--p) * 1%), #d2d2d7 0); }
[dir="rtl"] .uc-db-tile i { background: linear-gradient(270deg, #0071e3 calc(var(--p) * 1%), #d2d2d7 0); }
.uc-db-tile.is-low { background: #1d1d1f; }
.uc-db-tile.is-low b { color: #fff; }
.uc-db-tile.is-low span { color: #a1a1a6; }
.uc-db-tile.is-low i { background: linear-gradient(90deg, #ff453a calc(var(--p) * 1%), #424245 0); }
.uc-db-tile em { position: absolute; top: 24px; inset-inline-end: 24px; padding: 4px 10px; border-radius: 999px; background: #ff453a; color: #fff; font-size: 13px; font-style: normal; font-weight: 600; }
.uc-db-wide { grid-column: 1 / -1; padding: 28px; border-radius: 28px; background: #0071e3; color: #fff; font-size: 28px; font-weight: 600; text-align: center; }

/* 友だち */
.uc-ds-panel { padding: 120px 0 140px; background: #000; color: #f5f5f7; }
.uc-ds-panel .uc-d-copy { color: #a1a1a6; }
.uc-ds-stack { position: relative; width: min(520px, calc(100% - 48px)); height: 240px; margin: 72px auto 0; }
.uc-ds-note { position: absolute; inset-inline: 0; bottom: 0; box-sizing: border-box; padding: 18px 22px; border-radius: 22px; background: #2a2a2d; color: #f5f5f7; font-size: 19px; line-height: 1.3; }
.uc-ds-note > div { display: flex; justify-content: space-between; margin-bottom: 4px; color: #a1a1a6; font-size: 14px; }
.uc-ds-note b { font-weight: 600; }
.uc-ds-note:nth-child(1) { bottom: 164px; transform: scale(0.9); opacity: 0.55; }
.uc-ds-note:nth-child(2) { bottom: 84px; transform: scale(0.95); opacity: 0.8; }

/* 出張 */
.uc-detail-compare { padding-bottom: 160px; }
.uc-dm-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; width: min(87.5vw, 1260px); margin: 72px auto 0; }
.uc-dm-side { display: flex; flex-direction: column; min-height: 400px; padding: 48px; box-sizing: border-box; border-radius: 28px; background: #f5f5f7; }
.uc-dm-side h3 { margin: 0 0 32px; color: #6e6e73; font-size: 21px; font-weight: 600; }
.uc-dm-side ul { margin: 0; padding: 0; list-style: none; color: #86868b; font-size: 32px; line-height: 1.5; font-weight: 600; }
.uc-dm-side.is-dark { background: #1d1d1f; color: #f5f5f7; }
.uc-dm-side.is-dark h3 { color: #a1a1a6; }
.uc-dm-big { margin: auto 0 0; background: linear-gradient(90deg, #2997ff, #5ac8fa); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 96px; line-height: 1.1; font-weight: 600; }
.uc-dm-side.is-dark p:last-child { margin: 8px 0 0; font-size: 21px; font-weight: 600; }

/* 法人 */
.uc-detail-stats { padding-bottom: 160px; }
.uc-dt-wrap { width: min(87.5vw, 1260px); margin: 0 auto; }
.uc-dt-wrap .uc-d-copy { max-width: 720px; }
.uc-dt-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 72px 0 0; border-top: 1px solid #d2d2d7; }
.uc-dt-stats > div { padding: 32px 32px 0 0; }
.uc-dt-stats > div + div { padding-inline-start: 32px; border-inline-start: 1px solid #d2d2d7; }
.uc-dt-stats dd { margin: 0; font-size: 140px; line-height: 1; font-weight: 600; }
.uc-dt-stats dt { margin-top: 12px; color: #6e6e73; font-size: 21px; font-weight: 600; }

/* 国内 */
.uc-detail-stairs { padding-bottom: 160px; }
.uc-du-stairs { display: flex; align-items: flex-end; gap: 12px; width: min(87.5vw, 1100px); height: 420px; margin: 72px auto 0; padding: 0; list-style: none; }
.uc-du-stairs li { display: flex; flex: 1; align-items: flex-end; justify-content: center; box-sizing: border-box; height: calc(22% + var(--i) * 15.6%); padding: 0 4px 20px; border-radius: 20px 20px 0 0; background: rgba(0, 113, 227, calc(0.12 + var(--i) * 0.176)); color: #1d1d1f; font-size: 21px; font-weight: 600; text-align: center; }
.uc-du-stairs li:nth-child(n + 5) { color: #fff; }

/* 教育 */
.uc-da-panel { padding: 120px 0 140px; background: #eaf3fc; }
.uc-da-panel .uc-d-copy { color: #515154; }
.uc-da-row { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 72px; padding: 0 24px; }
.uc-da-card { display: flex; flex-direction: column; gap: 4px; box-sizing: border-box; width: 300px; padding: 28px; border-radius: 28px; background: #fff; font-size: 16px; }
.uc-da-card > span { color: #6e6e73; font-size: 17px; font-weight: 600; }
.uc-da-card b { font-size: 48px; line-height: 1.1; font-weight: 600; }
.uc-da-card small { color: #6e6e73; font-size: 15px; }
.uc-da-card .uc-s-btn { margin-top: 16px; }
.uc-da-arc { flex: none; width: 200px; color: #0071e3; }

/* 中くらいの画面 */
@media (max-width: 1068px) {
  .uc-gal { padding: 120px 0 176px; }
  .uc-gal-head, .uc-d-title { font-size: 40px; }
  .uc-gal-scroll { --card-h: 576px; }
  .uc-gal-cap { font-size: 24px; }
  .uc-gal-left .uc-gal-cap { width: 320px; inset-inline-start: 44px; }
  .uc-gal-top .uc-gal-cap { top: 44px; width: 555px; }
  .uc-gal-media { font-size: 17px; }
  .uc-gal-left .uc-gal-media { padding-inline-end: 4%; }
  .uc-gal-top .uc-gal-media { padding-top: 140px; }
  .uc-dk-setup { gap: 40px; }
  .uc-dk-phone { font-size: 17px; height: 600px; }
  .uc-dk-steps { width: 300px; font-size: 19px; letter-spacing: 0.012em; }
  .uc-dr-panel { padding: 56px; }
  .uc-dc-grid { gap: 40px; }
  .uc-dg-ring { width: 260px; height: 260px; }
  .uc-dg-ring > div { width: 224px; height: 224px; }
  .uc-dg-ring b { font-size: 36px; }
  .uc-dg-link { font-size: 13px; padding: 10px 14px; }
  .uc-dt-stats dd { font-size: 96px; }
  .uc-dm-big { font-size: 72px; }
}

/* スマホ */
@media (max-width: 734px) {
  .uc-gal { padding: 112px 0 144px; }
  .uc-gal-inner { width: calc(100% - 49px); max-width: 400px; margin-bottom: 32px; }
  .uc-gal-head, .uc-d-title { font-size: 32px; line-height: 39px; }
  .uc-gal-scroll { --card-w: min(calc(87.5vw - 20px), 400px); --card-h: 480px; scroll-padding-inline: calc((100vw - 87.5vw) / 2); }
  .uc-gal-list { padding: 0 calc((100vw - 87.5vw) / 2); }
  .uc-gal-item { scroll-snap-align: start; }
  .uc-gal-cap { font-size: 17px; line-height: 21.25px; letter-spacing: normal; }
  .uc-gal-left .uc-gal-cap, .uc-gal-top .uc-gal-cap { top: 32px; inset-inline: 0; width: auto; max-width: none; margin: 0 32px; text-align: center; }
  .uc-gal-media, .uc-gal-left .uc-gal-media, .uc-gal-top .uc-gal-media { align-items: flex-start; justify-content: center; padding: 136px 0 0; font-size: 11px; }
  .uc-d-eyebrow { margin-bottom: 8px; font-size: 17px; line-height: 21px; letter-spacing: normal; }
  .uc-d-title { margin-bottom: 14px; }
  .uc-d-copy { font-size: 17px; line-height: 23px; letter-spacing: normal; }
  .uc-d-head { max-width: calc(100% - 49px); }
  .uc-d-head.is-start { max-width: none; }
  .uc-dk-faces { padding-bottom: 16px; }
  .uc-dk-faces img { width: 98px; height: 98px; margin-inline-start: -32px; border-width: 3px; }
  .uc-dk-faces img:first-child { margin-inline-start: 0; }
  .uc-detail-kids .uc-d-head { margin-bottom: 48px; }
  .uc-dk-setup { flex-direction: column; gap: 40px; }
  .uc-dk-phone { order: 2; font-size: 11.6px; height: 399px; }
  .uc-dk-steps { width: 330px; max-width: calc(100% - 48px); font-size: 19px; line-height: 26px; letter-spacing: 0.012em; }
  .uc-dr-panel { padding: 40px 24px; }
  .uc-dr-route { flex-direction: column; gap: 28px; margin: 48px 0 32px; }
  .uc-dr-route::before { top: 10px; bottom: 10px; inset-inline: 9px auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #86868b 0 8px, transparent 8px 16px); }
  .uc-dr-route li, .uc-dr-route li:last-child { flex-direction: row; align-items: center; font-size: 19px; }
  .uc-dc-grid { grid-template-columns: 1fr; gap: 40px; }
  .uc-dc-thread { padding: 24px 16px; font-size: 17px; }
  .uc-dg-rings { flex-direction: column; gap: 16px; margin-top: 48px; }
  .uc-db-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
  .uc-db-tile { min-height: 176px; padding: 18px; border-radius: 20px; }
  .uc-db-tile b { font-size: 28px; }
  .uc-db-tile em { position: static; align-self: flex-start; }
  .uc-db-wide { padding: 20px; border-radius: 20px; font-size: 19px; }
  .uc-ds-panel, .uc-da-panel { padding: 80px 0 96px; }
  .uc-ds-stack { margin-top: 48px; height: 220px; }
  .uc-ds-note { font-size: 17px; }
  .uc-dm-split { grid-template-columns: 1fr; margin-top: 48px; }
  .uc-dm-side { min-height: 280px; padding: 32px 24px; }
  .uc-dm-side ul { font-size: 24px; }
  .uc-dm-big { font-size: 56px; }
  .uc-dt-stats { grid-template-columns: 1fr; margin-top: 48px; }
  .uc-dt-stats > div, .uc-dt-stats > div + div { padding: 20px 0; padding-inline-start: 0; border-inline-start: 0; border-bottom: 1px solid #d2d2d7; }
  .uc-dt-stats dd { font-size: 72px; }
  .uc-dt-stats dt { font-size: 17px; }
  .uc-du-stairs { gap: 4px; height: 300px; margin-top: 48px; }
  .uc-du-stairs li { padding-bottom: 12px; border-radius: 10px 10px 0 0; font-size: 13px; }
  .uc-da-row { flex-direction: column; margin-top: 48px; gap: 8px; }
  .uc-da-arc { width: 100px; transform: rotate(90deg); height: 80px; }
  .uc-detail-route, .uc-detail-chat, .uc-detail-rings, .uc-detail-bento, .uc-detail-compare, .uc-detail-stats, .uc-detail-stairs { padding-bottom: 112px; }
}

/* Webflow由来の横はみ出し。元のサイトから同じ状態だった */
/* 飾りの光と国のタイルはセクションの端で切る。スクロール量を増やさず、sticky も効く clip を使う */
.normal-section:has(.div-block-885), .normal-section:has(.global-plan-animation-wrapper) { overflow-x: clip; }
/* 機能の一覧とプライバシーの2列は、スマホの幅では縦に積む(文字の幅で横に押し出されるため) */
@media (max-width: 767px) {
  .div-block-925 { display: flex; flex-direction: column; }
  .div-block-898 { flex-direction: column; grid-row-gap: 32px; }
  .div-block-899 { position: static; }
  .div-block-904, .div-block-904-copy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 容量の3枚は横に収まらない幅で折り返す */
@media (max-width: 991px) {
  .capacity-wrapper { flex-wrap: wrap; }
  .capacity-type-wrapper { flex: 1 1 200px; width: auto; min-width: 0; }
}
