/* =========================================================
   サイト共通：モダンなヘッダー / フッター（全ページ適用）
   ========================================================= */
:root {
	--ld-navy: #0b1f3a; --ld-blue: #0a6bd6; --ld-cyan: #00c2d1;
	--ld-grad: linear-gradient(135deg, #0a6bd6, #00c2d1);
	--ld-ink: #11243a; --ld-muted: #5b6b7d; --ld-line: #e3ecf6;
	--ld-cta: linear-gradient(135deg, #ff7a59, #ff5277);
}
body.ld-noscroll { overflow: hidden; }

/* ===== 共通インナー & 固定ページレイアウト ===== */
.ld-inner { box-sizing: border-box; width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; padding-bottom: 1vw; }
.ld-page { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; color: #11243a; line-height: 1.9; -webkit-font-smoothing: antialiased; }
.ld-content h2, .ld-content h3, .ld-page__title { letter-spacing: -.01em; }
.ld-page__header { position: relative; padding: 118px 0 66px; text-align: center; color: #fff; background: #06122a url('../images/sections/page-header.webp') center/cover no-repeat; overflow: hidden; border-bottom: 0; }
.ld-page__header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,42,.5) 0%, rgba(6,18,42,.74) 100%); z-index: 0; }
.ld-page__header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #0a6bd6, #00c2d1); z-index: 1; }
.ld-page__header > * { position: relative; z-index: 1; }
.ld-page__title { text-align: center; font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; margin: 0; color: #fff; letter-spacing: -.02em; line-height: 1.16; text-shadow: 0 2px 26px rgba(0,0,0,.35); }
.ld-page__title::after { content: ""; display: block; width: 58px; height: 4px; margin: 20px auto 0; border-radius: 999px; background: linear-gradient(90deg, #0a6bd6, #00c2d1); box-shadow: 0 4px 16px rgba(0,194,209,.4); }
.ld-breadcrumb { margin-top: 22px; font-size: .8rem; color: rgba(255,255,255,.82); }
.ld-breadcrumb a { color: #8fe4ee; text-decoration: none; }
.ld-breadcrumb a:hover { text-decoration: underline; }
.ld-page__body { padding: 64px 24px 80px; }
.ld-content { max-width: 860px; margin: 0 auto; }
.ld-content h2 { font-size: 1.5rem; font-weight: 800; margin: 10px 0 18px; padding-bottom: 12px; border-bottom: 2px solid #e3ecf6; }
.ld-content h2::before { content: ""; display: inline-block; width: 6px; height: 1.1em; background: linear-gradient(#0a6bd6,#00c2d1); border-radius: 3px; margin-right: 12px; vertical-align: -2px; }
.ld-content h3 { font-size: 1.2rem; font-weight: 700; margin: 0px 0 12px; color: #0a3a6e; }
.ld-content p { margin: 0 0 18px; }
.ld-content ul, .ld-content ol { margin: 0 0 18px; padding-left: 1.4em; }
.ld-content li { margin-bottom: 8px; }
.ld-content a { color: #0a6bd6; }
.ld-content img { max-width: 100%; height: auto; border-radius: 10px; }
.ld-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.ld-content th, .ld-content td { border: 1px solid #e3ecf6; padding: 12px 14px; text-align: left; }
.ld-content th { background: #f3f7fc; }

/* 記事（コラム） */
.ld-article__thumb { margin: 0 0 32px; }
.ld-article__thumb img { width: 100%; border-radius: 14px; }
#ez-toc-container, .ez-toc-v2 #ez-toc-container { background: #f3f7fc; border: 1px solid #e3ecf6; border-radius: 14px; padding: 22px 26px; margin-bottom: 36px; }
.ez-toc-title { font-weight: 800 !important; color: #11243a !important; }
#ez-toc-container a { color: #0a6bd6; }
.ld-article__cta { background: linear-gradient(135deg,#0b1f3a,#0a6bd6); color: #fff; border-radius: 18px; padding: 36px; text-align: center; margin: 56px 0 40px; }
.ld-article__cta h2 { color: #fff; border: 0; padding: 0; margin: 0 0 10px; font-size: 1.3rem; }
.ld-article__cta h2::before { display: none; }
.ld-article__cta p { color: rgba(255,255,255,.9); margin: 0 0 20px; }
.ld-article__cta-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg,#ff7a59,#ff5277); color: #fff; font-weight: 700; padding: 15px 34px; border-radius: 999px; text-decoration: none; box-shadow: 0 12px 28px rgba(255,82,119,.3); }
.ld-related { margin-top: 48px; }
.ld-related h2 { font-size: 1.3rem; }
.ld-related__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ld-related__card { background: #fff; border: 1px solid #e3ecf6; border-radius: 12px; padding: 18px; text-decoration: none; color: #11243a; transition: .25s; }
.ld-related__card:hover { box-shadow: 0 12px 30px rgba(11,31,58,.1); transform: translateY(-4px); }
.ld-related__date { display: block; font-size: .74rem; color: #0a6bd6; font-weight: 700; margin-bottom: 6px; }
.ld-related__title { font-size: .92rem; font-weight: 600; line-height: 1.5; }
@media (max-width: 700px) { .ld-related__grid { grid-template-columns: 1fr; } }

/* ===== コラム一覧（投稿カード） ===== */
.ld-blog { font-family: "Noto Sans JP", sans-serif; }
.ld-cat-filter { margin-bottom: 44px; }
.ld-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ld-postcard { background: #fff; border: 1px solid #e3ecf6; border-radius: 18px; overflow: hidden; text-decoration: none; color: #11243a; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.ld-postcard:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(11,31,58,.1); }
.ld-postcard__thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(10,107,214,.10), rgba(0,194,209,.10)); position: relative; display: grid; place-items: center; }
.ld-postcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ld-postcard__noimg { color: #b9cbe0; font-size: 2.4rem; }
.ld-postcard__cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); color: #0a6bd6; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.ld-postcard__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.ld-postcard__date { font-size: .76rem; color: #5b6b7d; font-weight: 600; margin-bottom: 10px; }
.ld-postcard__title { font-size: 1.05rem; font-weight: 700; line-height: 1.55; margin: 0 0 10px; }
.ld-postcard__excerpt { font-size: .85rem; color: #5b6b7d; line-height: 1.7; margin: 0; }
.ld-pagination { margin-top: 48px; text-align: center; }
.ld-pagination .page-numbers { display: inline-block; min-width: 42px; padding: 10px 14px; margin: 0 4px; border: 1px solid #e3ecf6; border-radius: 10px; text-decoration: none; color: #11243a; font-weight: 600; }
.ld-pagination .page-numbers.current { background: linear-gradient(135deg,#0a6bd6,#00c2d1); color: #fff; border-color: transparent; }
.ld-pagination .page-numbers:hover:not(.current) { border-color: #0a6bd6; color: #0a6bd6; }
@media (max-width: 860px) { .ld-postgrid { grid-template-columns: 1fr; } }

/* ===== ヘッダー ===== */
.ld-header { position: sticky; top: 0; z-index: 1000; background: rgba(11,31,58,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .3s, background .3s; font-family: "Noto Sans JP", sans-serif; }
.ld-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.28); background: rgba(11,31,58,.97); }
.ld-header__inner { max-width: 1280px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 14px; }
.ld-header__logo { flex: 0 0 auto; line-height: 0; }
.ld-header__logo img { height: 34px; width: auto; transition: height .3s; }
.ld-header.is-scrolled .ld-header__logo img { height: 30px; }
.ld-header__nav { margin-left: auto; }
.ld-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ld-menu li { position: relative; }
.ld-menu a { display: block; padding: 9px 10px; color: #e7eefa; font-weight: 600; font-size: .85rem; text-decoration: none; border-radius: 9px; transition: color .2s, background .2s; white-space: nowrap; }
.ld-menu a:hover { color: #fff; background: rgba(255,255,255,.10); }
.ld-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--ld-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(11,31,58,.12); padding: 8px; list-style: none; margin: 6px 0 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s; }
.ld-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ld-menu .sub-menu a { font-size: .85rem; padding: 9px 12px; color: #14171a; border-radius: 8px; }
.ld-menu .sub-menu a:hover { color: #0a6bd6; background: #eef6ff; }
.ld-header__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.ld-header__tel { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.ld-header__tel i { color: var(--ld-cyan); font-size: 1.1rem; }
.ld-header__tel b { display: block; font-size: 1.06rem; line-height: 1.1; font-family: "Playfair Display", serif; color: #fff; }
.ld-header__tel small { font-size: .64rem; color: #9fb3cd; }
.ld-header__cta { background: var(--ld-cta); color: #fff; font-weight: 700; font-size: .85rem; padding: 12px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 20px rgba(255,82,119,.3); transition: transform .25s; white-space: nowrap; }
.ld-header__cta:hover { transform: translateY(-2px); color: #fff; }

/* ハンバーガー */
.ld-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0; }
.ld-burger span { display: block; height: 2px; width: 26px; margin: 0 auto; background: #fff; border-radius: 2px; transition: .3s; }
.ld-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ld-burger.is-open span:nth-child(2) { opacity: 0; }
.ld-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ドロワー（モバイル） */
/* ===== 全画面モバイルメニュー（開くとページは完全に隠れる） ===== */
.ld-drawer { position: fixed; inset: 0; width: 100%; height: 100dvh; background: linear-gradient(165deg, #0b1f3a 0%, #0a1830 58%, #091126 100%); color: #fff; z-index: 1100; padding: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s ease, transform .38s cubic-bezier(.2,.7,.2,1), visibility .38s; overflow-y: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
.ld-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.ld-drawer__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.09); flex: 0 0 auto; }
.ld-drawer__brand { color: #fff; font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; text-decoration: none; }
.ld-drawer__close { position: relative; width: 46px; height: 46px; border: 0; padding: 0; background: rgba(255,255,255,.1); border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; flex: 0 0 auto; }
.ld-drawer__close:hover, .ld-drawer__close:active { background: rgba(255,255,255,.22); }
.ld-drawer__close span { position: absolute; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.ld-drawer__close span:nth-child(1) { transform: rotate(45deg); }
.ld-drawer__close span:nth-child(2) { transform: rotate(-45deg); }
.ld-drawer__nav { flex: 1 1 auto; padding: 12px 22px 8px; }
.ld-drawer__menu, .ld-drawer .ld-drawer__menu { list-style: none; margin: 0; padding: 0; }
.ld-drawer__menu > li { border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.ld-drawer.is-open .ld-drawer__menu > li { opacity: 1; transform: none; }
.ld-drawer.is-open .ld-drawer__menu > li:nth-child(1) { transition-delay: .05s; }
.ld-drawer.is-open .ld-drawer__menu > li:nth-child(2) { transition-delay: .10s; }
.ld-drawer.is-open .ld-drawer__menu > li:nth-child(3) { transition-delay: .15s; }
.ld-drawer.is-open .ld-drawer__menu > li:nth-child(4) { transition-delay: .20s; }
.ld-drawer.is-open .ld-drawer__menu > li:nth-child(5) { transition-delay: .25s; }
.ld-drawer.is-open .ld-drawer__menu > li:nth-child(6) { transition-delay: .30s; }
.ld-drawer.is-open .ld-drawer__menu > li:nth-child(7) { transition-delay: .35s; }
.ld-drawer.is-open .ld-drawer__menu > li:nth-child(n+8) { transition-delay: .40s; }
.ld-drawer__menu > li > a { display: flex; align-items: center; justify-content: space-between; padding: 19px 2px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.34rem; letter-spacing: -.01em; transition: color .2s; }
.ld-drawer__menu > li > a:hover, .ld-drawer__menu > li > a:active { color: var(--ld-cyan); }
.ld-drawer__menu .sub-menu { list-style: none; margin: -2px 0 14px; padding: 0; }
.ld-drawer__menu .sub-menu a { display: block; padding: 11px 2px 11px 16px; font-size: 1.02rem; font-weight: 600; color: rgba(255,255,255,.74); text-decoration: none; border-left: 2px solid rgba(255,255,255,.14); }
.ld-drawer__menu .sub-menu a:hover, .ld-drawer__menu .sub-menu a:active { color: #fff; border-left-color: var(--ld-cyan); }
.ld-drawer__foot { flex: 0 0 auto; padding: 18px 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.18); }
.ld-drawer__cta { display: block; text-align: center; background: var(--ld-cta); color: #fff; font-weight: 700; font-size: 1.05rem; padding: 16px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 26px rgba(255,82,119,.32); margin-bottom: 14px; }
.ld-drawer__tel { display: block; text-align: center; color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; font-size: 1rem; }
.ld-drawer__tel i { color: var(--ld-cyan); margin-right: 4px; }
.ld-drawer-overlay { position: fixed; inset: 0; background: rgba(11,31,58,.5); z-index: 1050; opacity: 0; visibility: hidden; transition: .3s; }
.ld-drawer-overlay.is-open { opacity: 1; visibility: visible; }

/* 中間幅(1081–1180)：ナビをさらにコンパクトにして確実に収める */
@media (max-width: 1180px) {
	.ld-menu a { padding: 8px 9px; font-size: .83rem; }
	.ld-header__inner { gap: 10px; }
}
/* タブレット以下：ハンバーガー＋全画面ドロワー */
@media (max-width: 1080px) {
	.ld-header__nav { display: none; }
	.ld-header__actions { display: none; }
	.ld-burger { display: flex; margin-left: auto; }
	.ld-header__logo img { height: 30px; }
}
@media (max-width: 600px) {
	.ld-header__inner { padding: 10px 16px; }
	.ld-header__logo img { height: 26px; }
}
/* PC：バーガー/ドロワーは非表示（PCでスマホメニューが出ないように） */
@media (min-width: 1081px) {
	.ld-burger { display: none !important; }
	.ld-drawer, .ld-drawer-overlay { display: none !important; }
}

/* ===== フッター（モダン・ダーク／メニュー＆ロゴ配置） ===== */
#footer { background: var(--ld-navy); color: #aebfd4; padding: 72px 24px 28px; position: relative; margin-top: 0; font-family: "Noto Sans JP", sans-serif; }
#footer .waves { display: none; }
#footer .footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
#footer .footer-nav { display: contents; }
#footer .footer-brand { max-width: 320px; }
#footer .foot-logo-img { max-width: 200px; height: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
#footer .foot-p2, #footer .foot-p1 { font-size: .84rem; color: #8fa3bd; margin: 4px 0; line-height: 1.7; }
#footer .foot-p0 { font-size: 1.35rem; margin: 12px 0 2px; font-family: "Playfair Display", serif; }
#footer .foot-p0 a { color: #fff; text-decoration: none; }
#footer .footer-col h4 { color: #fff; font-size: .92rem; font-weight: 700; margin: 0 0 16px; letter-spacing: .03em; }
#footer .footer-col ul { list-style: none; margin: 0; padding: 0; }
#footer .footer-col li { margin-bottom: 11px; }
#footer .footer-col a { color: #aebfd4; text-decoration: none; font-size: .86rem; transition: color .2s, padding-left .2s; }
#footer .footer-col a:hover { color: #fff; padding-left: 4px; }
#footer #copyright { max-width: 1120px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .78rem; color: #7e92ac; }
@media (max-width: 920px) {
	#footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	#footer .footer-brand { grid-column: 1 / -1; max-width: none; text-align: center; }
	#footer .foot-logo-img { margin: 0 auto 16px; }
}
@media (max-width: 520px) {
	#footer .footer-inner { grid-template-columns: 1fr; text-align: center; }
	#footer { padding-bottom: 96px; }
}

/* ===== フローティングCTA（PC・スマホ共通／常時きらめき） ===== */
.ld-float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 950; display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 999px; background: linear-gradient(135deg, #ff7a59, #ff5277); color: #fff; text-decoration: none; box-shadow: 0 14px 34px rgba(255,82,119,.45); overflow: hidden; animation: ldCtaPulse 2.4s ease-in-out infinite; }
.ld-float-cta:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 46px rgba(255,82,119,.6); }
.ld-float-cta__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2); flex: 0 0 auto; }
.ld-float-cta__ico svg { width: 18px; height: 18px; }
.ld-float-cta__txt { display: flex; flex-direction: column; line-height: 1.2; }
.ld-float-cta__txt b { font-size: .9rem; font-weight: 800; }
.ld-float-cta__txt small { font-size: .68rem; opacity: .9; }
.ld-float-cta__shine { position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: ldShine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes ldShine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@keyframes ldCtaPulse { 0%, 100% { box-shadow: 0 14px 34px rgba(255,82,119,.45); } 50% { box-shadow: 0 16px 42px rgba(255,82,119,.78); } }
/* 初期は非表示、少し下にスクロールしたら出現 */
.ld-float-cta { transform: translateY(160%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease, visibility .35s ease; }
.ld-float-cta.is-visible { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.ld-float-cta.is-visible:hover { transform: translateY(-3px); }
@media (max-width: 600px) {
	.ld-float-cta { right: 12px; left: 12px; bottom: 12px; justify-content: center; padding: 13px 18px; }
	.ld-float-cta__txt b { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ld-float-cta, .ld-float-cta__shine { animation: none; }
}

/* オフキャンバスのドロワーが横スクロール（＝ヘッダー右端が画面外）を生むのを防ぐ */
/* オフキャンバスのドロワーが横はみ出し（＝ハンバーガーが画面外/浮く）を生むのを clip で抑止。
   clip はスクロールコンテナを作らないので position:sticky のヘッダーは正常に効く。 */
html, body { overflow-x: clip; }
.ld-drawer { right: 0; }

/* ===== 記事末CTA（明るいApple調・白背景） ===== */
.ld-applecta { position: relative; max-width: 860px; margin: 76px auto 8px; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%); border: 1px solid #e7edf6; text-align: center; isolation: isolate; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
.ld-applecta__inner { padding: 72px 32px; }
.ld-applecta__eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #0a6bd6; font-weight: 700; margin: 0 0 16px; }
.ld-applecta__title { font-size: clamp(1.6rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; color: #11243a; margin: 0 0 16px; }
.ld-applecta__hl { background: linear-gradient(120deg, #0a6bd6, #00c2d1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ld-applecta__title { border: 0 !important; padding: 0 !important; }
.ld-applecta__title::before { display: none !important; }
.ld-applecta__sub { color: #5b6b7d; font-size: 1.05rem; line-height: 1.8; max-width: 620px; margin: 0 auto 30px; }
.ld-applecta__actions { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ld-applebtn { background: #0a6bd6; color: #fff; font-weight: 600; font-size: 1rem; padding: 14px 34px; border-radius: 980px; text-decoration: none; transition: transform .2s, box-shadow .2s; box-shadow: 0 10px 30px rgba(10,107,214,.28); }
.ld-applebtn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(10,107,214,.42); }
.ld-applelink { color: #0a6bd6; font-weight: 600; font-size: 1rem; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.ld-applelink span { transition: transform .2s; }
.ld-applelink:hover { color: #0958b0; }
.ld-applelink:hover span { transform: translateX(4px); }
@media (max-width: 600px) {
	.ld-applecta { margin: 56px auto 4px; border-radius: 22px; }
	.ld-applecta__inner { padding: 54px 22px; }
	.ld-applecta__sub { font-size: .98rem; }
	.ld-applecta__actions { flex-direction: column; gap: 16px; }
	.ld-applebtn { width: 100%; max-width: 320px; }
}

/* ===== 関連記事（Apple風グレーバンド・6枚） ===== */
.ld-rel { background: #f5f5f7; padding: 76px 24px 88px; margin-top: 84px; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
.ld-rel__head { text-align: center; margin-bottom: 46px; }
.ld-rel__head .ld-en { display: block; }
.ld-rel__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.015em; color: #11243a; }
.ld-rel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
.ld-relcard { background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: #11243a; display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.ld-relcard:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(11,31,58,.13); }
.ld-relcard__thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: #eef3fa; }
.ld-relcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.ld-relcard:hover .ld-relcard__thumb img { transform: scale(1.06); }
.ld-relcard__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10,107,214,.12), rgba(0,194,209,.10)); }
.ld-relcard__cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: #0a6bd6; font-size: .7rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.ld-relcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ld-relcard__date { font-size: .74rem; color: #86868b; font-weight: 600; }
.ld-relcard__title { font-size: 1rem; font-weight: 700; line-height: 1.5; margin: 8px 0 14px; letter-spacing: -.01em; }
.ld-relcard__more { margin-top: auto; color: #0a6bd6; font-weight: 600; font-size: .85rem; display: inline-flex; gap: 4px; }
.ld-relcard__more span { transition: transform .2s; }
.ld-relcard:hover .ld-relcard__more span { transform: translateX(4px); }
@media (max-width: 900px) { .ld-rel__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ld-rel__grid { grid-template-columns: 1fr; } .ld-rel { padding: 60px 18px 70px; } }

/* ===== 制作事例 端末モックアップ（PC＋スマホを一眼で） ===== */
.ld-device { position: relative; width: 100%; aspect-ratio: 16 / 11; }
.ld-device__laptop { position: absolute; left: 0; top: 0; width: 84%; border-radius: 10px; overflow: hidden; background: #0b1f3a; border: 1px solid rgba(11,31,58,.14); box-shadow: 0 16px 36px rgba(11,31,58,.22); }
.ld-device__bar { height: 22px; background: #16273f; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.ld-device__bar span { width: 8px; height: 8px; border-radius: 50%; background: #45587a; }
.ld-device__bar span:nth-child(1) { background: #ff5f57; }
.ld-device__bar span:nth-child(2) { background: #febc2e; }
.ld-device__bar span:nth-child(3) { background: #28c840; }
.ld-device__screen { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.ld-device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ld-device__phone { position: absolute; right: 0; bottom: 0; width: 25%; aspect-ratio: 9 / 18; border-radius: 15px; background: #0b1f3a; border: 3px solid #0b1f3a; box-shadow: 0 12px 26px rgba(11,31,58,.3); overflow: hidden; }
.ld-device__phscreen { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: #fff; }
.ld-device__phscreen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ===== 公式LINE 追従ボタン（全ページ・左下） ===== */
.ld-line-fab { position: fixed; left: 24px; bottom: 24px; z-index: 950; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 13px; border-radius: 999px; background: #06C755; color: #fff; text-decoration: none; box-shadow: 0 14px 34px rgba(6,199,85,.45); }
.ld-line-fab:hover { color: #fff; box-shadow: 0 20px 46px rgba(6,199,85,.6); }
/* スクロールで表示/非表示（.ld-float-cta と同じ挙動） */
.ld-line-fab { transform: translateY(160%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease, visibility .35s ease; }
.ld-line-fab.is-visible { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.ld-line-fab.is-visible:hover { transform: translateY(-3px); }
.ld-line-fab__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.22); flex: 0 0 auto; }
.ld-line-fab__ico svg { width: 19px; height: 19px; }
.ld-line-fab__txt { display: flex; flex-direction: column; line-height: 1.2; }
.ld-line-fab__txt b { font-size: .9rem; font-weight: 800; }
.ld-line-fab__txt small { font-size: .66rem; opacity: .92; }
@media (max-width: 600px) {
	.ld-line-fab { left: 14px; bottom: 84px; padding: 11px 15px 11px 11px; }
	.ld-line-fab__txt small { display: none; }
}

/* ============================================================
   フッター刷新（電話撤去 → CTAバンド主役／クリーンな下部）
   ============================================================ */
#footer.ld-footer { padding: 0; }
.ld-footer__cta { background: linear-gradient(135deg, #0a6bd6 0%, #00c2d1 100%); padding:100px 24px 125px; text-align: center; }
.ld-footer__cta-inner { max-width: 760px; margin: 0 auto; }
.ld-footer__cta-en { display: block; font-family: "Playfair Display", serif; font-style: italic; letter-spacing: .1em; color: rgba(255,255,255,.9); font-size: .95rem; margin-bottom: 10px; }
.ld-footer__cta-title { color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.5; margin: 0 0 12px; letter-spacing: -.01em; }
.ld-footer__cta-title span { position: relative; white-space: nowrap; }
.ld-footer__cta-title span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .32em; background: rgba(255,255,255,.35); border-radius: 4px; z-index: 0; }
.ld-footer__cta-title span { z-index: 1; }
.ld-footer__cta-sub { color: rgba(255,255,255,.94); font-size: .95rem; margin: 0 0 26px; line-height: 1.85; }
.ld-footer__cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ld-footer__cta-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 32px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; background: #fff; color: var(--ld-blue); box-shadow: 0 12px 30px rgba(0,0,0,.18); transition: transform .25s, box-shadow .25s; }
.ld-footer__cta-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.26); }
.ld-footer__cta-btn--ghost { background: transparent; color: #fff; border: 1.6px solid rgba(255,255,255,.7); box-shadow: none; }
.ld-footer__cta-btn--ghost:hover { background: rgba(255,255,255,.14); }

#footer .footer-inner { padding: 46px 24px 8px; }
.ld-footer__tagline { font-size: .86rem; color: #8fa3bd; line-height: 1.9; margin: 0 0 14px; max-width: 320px; }
#footer .foot-p2 { font-size: .82rem; color: #8fa3bd; margin: 0; }
.ld-footer__bottom { max-width: 1120px; margin: 10px auto 0; padding: 22px 24px 32px; border-top: 1px solid rgba(255,255,255,.12); }
#footer .ld-footer__bottom #copyright { margin: 0; padding: 0; border: 0; max-width: none; text-align: center; font-size: .78rem; color: #7e92ac; }

@media (max-width: 560px) {
	.ld-footer__cta { padding: 44px 20px; }
	.ld-footer__cta-btns { flex-direction: column; }
	.ld-footer__cta-btn { width: 100%; }
	.ld-footer__tagline { max-width: none; }
}

/* フッターCTAボタンの文字色を確実に（白ボタン=青文字／ゴースト=白文字） */
#footer .ld-footer__cta-btn { color: #0a6bd6; }
#footer .ld-footer__cta-btn--ghost { color: #fff; }

/* .ld-content a の色指定が freecta ボタンに効いて背景と同化するのを防ぐ */
.ld-content .ld-freecta__btn { color: #fff; }
.ld-content .ld-freecta__btn--ghost { color: #0a6bd6; }

/* ============================================================
   制作事例アーカイブ：本文の上下余白＋ページネーション刷新
   ============================================================ */
.ld-works-page .ld-page__body { padding: 72px 24px 92px; }
.ld-works-page .pagination { margin-top: 54px; text-align: center; }
.ld-works-page .pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ld-works-page .pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.ld-works-page .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 15px; border: 1px solid #e3ecf6; border-radius: 12px; text-decoration: none; color: #11243a; font-weight: 700; background: #fff; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.ld-works-page a.page-numbers:hover { border-color: #0a6bd6; color: #0a6bd6; }
.ld-works-page .page-numbers.current { background: linear-gradient(135deg,#0a6bd6,#00c2d1); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(10,107,214,.28); }
.ld-works-page .page-numbers.dots { border: 0; background: transparent; min-width: auto; padding: 0 4px; color: #5b6b7d; }
.ld-works-page .page-numbers.prev, .ld-works-page .page-numbers.next { color: #0a6bd6; }

/* 料金ページ：見積もりCTAボタン（白文字のボタン化） */
.ld-content .ld-pricebtn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg,#0a6bd6,#00c2d1); color: #fff; font-weight: 700; padding: 15px 30px; border-radius: 999px; text-decoration: none; box-shadow: 0 12px 28px rgba(10,107,214,.28); transition: transform .25s, box-shadow .25s; }
.ld-content .ld-pricebtn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(10,107,214,.34); }

/* ============================================================
   会社概要ページ ブラッシュアップ（page-id-94 限定）
   ============================================================ */
body.page-id-94 .ld-page__header { background-image: linear-gradient(rgba(6,18,42,.5), rgba(6,18,42,.72)), url('../images/sections/company-hero.webp'); }
body.page-id-94 .ld-content { max-width: 880px; margin: 0 auto; }
/* 先頭リード文を強調カードに */
body.page-id-94 .ld-content > p:first-of-type { font-size: 1.06rem; line-height: 2; color: #23384f; background: linear-gradient(135deg,#f3f7fc,#eef5ff); border-left: 4px solid #0a6bd6; border-radius: 0 14px 14px 0; padding: 22px 26px; margin: 0 0 36px; }
/* 会社情報テーブルをモダンに（thの幅を固定・ラベル列をネイビーに） */
body.page-id-94 .ld-content table { border: 1px solid #e3ecf6; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px rgba(11,31,58,.06); margin: 0 0 8px; }
body.page-id-94 .ld-content th, body.page-id-94 .ld-content td { border: 0; border-bottom: 1px solid #eef2f7; padding: 15px 18px; vertical-align: top; }
body.page-id-94 .ld-content tr:last-child th, body.page-id-94 .ld-content tr:last-child td { border-bottom: 0; }
body.page-id-94 .ld-content th { width: 148px; background: #0b1f3a; color: #fff; font-weight: 700; white-space: nowrap; }
body.page-id-94 .ld-content td { background: #fff; line-height: 1.85; }
body.page-id-94 .ld-content h2 { margin-top: 44px; }
body.page-id-94 .ld-content ul { background: #f7fafe; border-radius: 12px; padding: 18px 20px 18px 40px; }
@media (max-width: 560px) {
	body.page-id-94 .ld-content th { width: 96px; white-space: normal; }
}

/* スマホ：フッターCTAボタン／タグラインのはみ出し対策 */
#footer, #footer *, .ld-footer__cta *, .ld-footer__cta-btn { box-sizing: border-box; }
.ld-footer__cta-inner { width: 100%; }
@media (max-width: 560px) {
	.ld-footer__cta-btns { width: 100%; }
	.ld-footer__cta-btn { width: 100%; max-width: 100%; padding: 14px 16px; font-size: .94rem; }
	.ld-footer__tagline { max-width: none; overflow-wrap: anywhere; }
}

/* ============================================================
   フッターメニュー 先進的リニューアル
   ============================================================ */
.ld-footer__grid { max-width: 1160px; margin: 0 auto; padding: 56px 24px 8px; display: grid; grid-template-columns: 1.5fr 2.3fr; gap: 48px; align-items: start; }
.ld-footer__logo img { max-width: 190px; height: auto; filter: brightness(0) invert(1); opacity: .96; margin-bottom: 18px; display: block; }
.ld-footer__tagline { font-size: .86rem; color: #90a4be; line-height: 1.95; margin: 0 0 14px; max-width: 340px; }
.ld-footer__addr { font-size: .8rem; color: #7e93ad; margin: 0; }
.ld-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ld-footer__col { min-width: 0; }
.ld-footer__label { display: inline-flex; align-items: center; gap: 9px; font-family: "Space Grotesk","Noto Sans JP",sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #d3e2f5; margin: 0 0 16px; }
.ld-footer__label i { width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg,#0a6bd6,#00c2d1); display: inline-block; flex: none; }
.ld-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ld-footer__col li { margin-bottom: 12px; }
.ld-footer__col a { display: inline-block; color: #9fb3cc; text-decoration: none; font-size: .86rem; transition: color .22s, transform .22s; }
.ld-footer__col a:hover { color: #fff; transform: translateX(3px); }
@media (max-width: 900px) { .ld-footer__grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 560px) {
	.ld-footer__grid { padding: 42px 22px 4px; }
	.ld-footer__nav { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
	.ld-footer__tagline, .ld-footer__addr { max-width: none; }
	/* フローティングCTAがフッター末尾に被らないよう余白を確保 */
	#footer.ld-footer { padding-bottom: 104px; }
}
@media (max-width: 380px) { .ld-footer__nav { grid-template-columns: 1fr; } }

/* ============================================================
   スマホ：ドロワー軽量化・スクロールロック・固定ページ最適化
   ============================================================ */
/* ハンバーガーメニュー：ガラス調で“暗すぎ”を解消（先進的） */
.ld-drawer { background: linear-gradient(165deg, rgba(12,24,48,.82), rgba(9,16,34,.86)); -webkit-backdrop-filter: blur(22px) saturate(1.1); backdrop-filter: blur(22px) saturate(1.1); }
.ld-drawer-overlay { background: rgba(6,14,30,.3); }
/* メニューを開いている間、背面をスクロールさせない */
body.ld-noscroll { overflow: hidden; overscroll-behavior: contain; }

/* 固定ページヘッダー：スマホは低め・タイトル小さめ（中央揃えは維持） */
@media (max-width: 600px) {
	.ld-page__header { padding: 80px 0 38px; }
	.ld-page__title { font-size: clamp(1.45rem, 6.4vw, 2rem); }
	.ld-page__title::after { margin-top: 14px; width: 46px; height: 3px; }
	.ld-breadcrumb { margin-top: 13px; font-size: .74rem; }
}

/* 固定ページ本文：スマホでのはみ出し対策 */
.ld-content { overflow-wrap: anywhere; }
.ld-content img, .ld-content iframe, .ld-content video { max-width: 100%; height: auto; }
@media (max-width: 600px) {
	.ld-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.ld-page__body { padding-left: 18px; padding-right: 18px; }
}

/* single のCTA(.ld-applecta) を フッターCTA(.ld-footer__cta) と同じ青グラデ・白文字デザインに揃える */
.ld-applecta { background: linear-gradient(135deg, #0a6bd6 0%, #00c2d1 100%); border: 0; box-shadow: 0 20px 50px rgba(10,107,214,.22); }
.ld-applecta__eyebrow { color: rgba(255,255,255,.9); }
.ld-applecta__title { color: #fff; }
.ld-applecta__hl { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: #fff; color: #fff; }
.ld-applecta__sub { color: rgba(255,255,255,.94); }
.ld-applebtn { background: #fff; color: #0a6bd6; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.ld-applebtn:hover { color: #0a6bd6; }
.ld-applelink, .ld-applelink span { color: #fff; }
.ld-applelink:hover { color: #fff; opacity: .85; }

/* single ページの汎用 .single h2 装飾を フッターCTA / applecta のタイトルに効かせない（他ページと同一デザインに）*/
#footer .ld-footer__cta-title {
	position: static; padding: 0; color: #fff;
	font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.5; margin: 0 0 12px;
}
#footer .ld-footer__cta-title::after,
#footer .ld-footer__cta-title::before { content: none; display: none; }
#footer .ld-footer__cta-title span::after { content: ""; display: block; }
.single .ld-applecta__title {
	position: static; padding: 0; color: #fff;
	font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.22; margin: 0 0 16px;
}
.single .ld-applecta__title::after,
.single .ld-applecta__title::before { content: none; display: none; }

/* ============================================================
   スマホ：フローティングCTAを「LINEで相談」「無料デモ作成」の
   横並び1列に（上下配置で表示領域を圧迫しないよう再設計）
   ============================================================ */
@media (max-width: 600px) {
	/* 左：LINEで相談 */
	.ld-line-fab {
		box-sizing: border-box;
		left: 10px; right: auto; bottom: 10px;
		width: calc(40% - 14px);
		justify-content: center; gap: 6px;
		padding: 11px 6px;
	}
	.ld-line-fab__ico { width: 26px; height: 26px; }
	.ld-line-fab__ico svg { width: 16px; height: 16px; }
	.ld-line-fab__txt b { font-size: .8rem; }
	.ld-line-fab__txt small { display: none; }

	/* 右：無料デモサイト作成＆お見積もり */
	.ld-float-cta {
		box-sizing: border-box;
		left: auto; right: 10px; bottom: 10px;
		width: calc(60% - 14px);
		justify-content: center; gap: 6px;
		padding: 11px 6px;
	}
	.ld-float-cta__ico { width: 26px; height: 26px; }
	.ld-float-cta__ico svg { width: 15px; height: 15px; }
	.ld-float-cta__txt { text-align: center; }
	.ld-float-cta__txt b { font-size: .68rem; line-height: 1.15; }
	.ld-float-cta__txt small { display: none; }
}

/* contact-thanks のCTAボタン文字色が .ld-content a に負けて背景と同化するのを防ぐ */
.ld-content .ld-thanks__btn { color: #fff; }
.ld-content .ld-thanks__btn--ghost { color: #0a6bd6; }
