* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Noto Sans JP', sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; /* ナビの高さ分オフセット */ }

/* ===== 共通ヘッダー：全ページで同じ設定を使用 ===== */
:root {
  --yl-header-width: 1200px;
  --yl-header-menu-size: 16px;
  --yl-header-menu-weight: 500;
  --yl-header-cta-size: 16px;
  --yl-header-blue: #087bd2;
}
.yl-nav { color: #173d67; height: 82px; padding: 0 max(28px,calc((100vw - var(--yl-header-width))/2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid #edf3f8; background: rgba(255,255,255,.97); box-shadow: 0 2px 12px rgba(15,57,98,.025); position: sticky; top: 0; z-index: 100; }
.yl-logo { font-weight: 700; font-size: 26px; letter-spacing: .04em; color: #1a3a5c; text-decoration: none; white-space: nowrap; }
.yl-logo em { color: var(--yl-header-blue); font-style: normal; }
.yl-nav-links { display: flex; gap: clamp(12px,1.7vw,25px); align-items: center; justify-content: center; flex: 1; }
.yl-nav-links a { font-size: var(--yl-header-menu-size); font-weight: var(--yl-header-menu-weight); color: #315579; text-decoration: none; white-space: nowrap; transition: color .2s; }
.yl-nav-links a:hover { color: #1a3a5c; }
.yl-nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border: 1px solid var(--yl-header-blue); border-radius: 28px; background: var(--yl-header-blue); color: #fff; font-size: var(--yl-header-cta-size); font-weight: 700; line-height: 1.6; text-align: center; text-decoration: none; white-space: nowrap; box-shadow: 0 5px 12px rgba(8,123,210,.14); transition: transform .2s,box-shadow .2s; }
.yl-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,83,139,.14); }
.yl-nav-right { display: flex; align-items: center; gap: 12px; }
.yl-nav-x { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #4a6580; transition: background .2s,color .2s; flex-shrink: 0; text-decoration: none; }
.yl-nav-x:hover { background: #f0f4f8; color: #1a3a5c; }
.yl-nav-x svg { display: block; }
.yl-nav a:focus-visible, .yl-nav button:focus-visible, .yl-sp-menu a:focus-visible, .yl-sp-menu button:focus-visible { outline: 3px solid #153d68; outline-offset: 4px; }
@media (min-width: 1400px) {
  :root { --yl-header-width: 1240px; }
}
@media (max-width: 1100px) {
  .yl-nav { padding: 0 24px; }
  .yl-nav-links, .yl-nav-cta { display: none; }
  .yl-nav .yl-hamburger { display: flex; }
}
@media (max-width: 768px) {
  .yl-nav-right .yl-nav-x { display: none; }
}
@media (max-width: 760px) {
  .yl-nav { height: 66px; padding: 0 18px; }
  .yl-logo { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .yl-nav * { transition: none !important; }
}

/* ===== HERO（1カラム・中央揃え） ===== */
.yl-hero { background: #fff; overflow: hidden; position: relative; padding: 64px 40px 0; }
.yl-hero-bg1 { position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: #eef5ff; pointer-events: none; z-index: 0; }
.yl-hero-bg2 { position: absolute; bottom: 80px; left: -80px; width: 240px; height: 240px; border-radius: 50%; background: #fff8e8; pointer-events: none; z-index: 0; }
.yl-hero-inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; text-align: center; }

/* バッジ */
.yl-badge { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg,#ff8c00,#f0c744); color: #fff; font-size: 15px; font-weight: 700; padding: 9px 24px; border-radius: 50px; margin-bottom: 28px; }
.yl-badge-dot { width: 9px; height: 9px; background: rgba(255,255,255,0.8); border-radius: 50%; }

/* キャッチコピー */
.yl-hero-catch { font-size: 64px; font-weight: 700; color: #1a3a5c; line-height: 1.3; margin-bottom: 22px; }
.yl-hero-catch em { color: #3b9eff; font-style: normal; }

/* サブテキスト */
.yl-hero-sub { font-size: 20px; color: #5a7a96; line-height: 1.9; margin-bottom: 0; }

/* イラスト（最大1000px・中央） */
.yl-hero-illust-wrap { margin: 0 auto; max-width: 1000px; padding: 0; position: relative; z-index: 1; }
.yl-hero-illust { width: 100%; display: block; }

/* CTAボタン */
.yl-btns { display: flex; gap: 18px; justify-content: center; padding: 36px 40px 0; position: relative; z-index: 1; }
.yl-btn-p { background: #1a3a5c; color: #fff; font-size: 18px; font-weight: 700; padding: 18px 42px; border-radius: 50px; text-decoration: none; box-shadow: 0 6px 0 #0d2240; transition: transform .15s; display: inline-flex; align-items: center; gap: 6px; }
.yl-btn-p:hover { transform: translateY(-2px); }
.yl-btn-s { background: #fff; color: #1a3a5c; font-size: 18px; font-weight: 700; padding: 18px 42px; border-radius: 50px; text-decoration: none; border: 2px solid #1a3a5c; transition: background .15s; }
.yl-btn-s:hover { background: #f0f6ff; }

/* 実績バー */
.yl-stats-row { display: flex; justify-content: center; gap: 0; border: 1.5px solid #e4edf5; border-radius: 22px; overflow: hidden; background: #f9fbfe; max-width: 640px; margin: 32px auto 0; position: relative; z-index: 1; }
.yl-stat-item { flex: 1; padding: 24px 20px; text-align: center; border-right: 1.5px solid #e4edf5; }
.yl-stat-item:last-child { border-right: none; }
.yl-stat-num { font-size: 46px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.yl-stat-unit { font-size: 26px; font-weight: 700; }
.yl-stat-label { font-size: 14px; color: #7a9ab8; margin-top: 6px; }
.yl-hero-spacer { height: 48px; }

/* ===== SECTION 共通 ===== */
.yl-sec { padding: 80px 40px; }
.yl-sec-label { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.yl-sec-label-line { width: 36px; height: 2px; border-radius: 2px; }
.yl-sec-label span { font-size: 14px; font-weight: 700; letter-spacing: .15em; }
.yl-sec-title { font-size: 32px; font-weight: 700; color: #1a3a5c; text-align: center; margin-bottom: 14px; }
.yl-sec-sub { font-size: 17px; color: #6a8aaa; text-align: center; margin-bottom: 48px; line-height: 1.9; }

/* ===== WHY ===== */
.yl-why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.yl-why-card { background: #fff; border-radius: 22px; padding: 36px 28px 30px; text-align: center; border: 1.5px solid #e4edf5; }
.yl-why-icon { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.yl-why-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.yl-why-card h3 { font-size: 19px; font-weight: 700; color: #1a3a5c; margin-bottom: 12px; }
.yl-why-card p { font-size: 15px; color: #6a8aaa; line-height: 1.9; }
.yl-accent { font-weight: 700; color: #ff8c00; }

/* ===== SERVICES ===== */
.yl-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.yl-services-grid--2col { grid-template-columns: repeat(2,1fr); max-width: 960px; }
.yl-service-card { background: #fff; border-radius: 22px; padding: 30px 26px; border: 1.5px solid #e4edf5; }
.yl-service-card.pick { border-color: #e4edf5; border-width: 1.5px; }
.yl-service-card--yns { background: #fff; border: 1.5px solid #e4edf5; }
.yl-service-thumb { width: 100%; height: 180px; border-radius: 12px; background: #f4f8fc; margin-bottom: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.yl-service-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.yl-service-thumb--blue { background: #eef6ff; }
.yl-service-thumb--yns { background: #eef6ff; }
.yl-service-yns-icon { text-align: center; padding: 16px; }
.yl-service-yns-emoji { font-size: 40px; display: block; margin-bottom: 8px; }
.yl-service-yns-name { font-size: 14px; font-weight: 700; color: #1a3a5c; }
.yl-service-num { font-size: 13px; font-weight: 700; background: #e8f4ff; color: #2070c0; padding: 5px 14px; border-radius: 50px; display: inline-block; margin-bottom: 16px; }
.yl-service-num--blue { background: #e8f4ff; color: #2070c0; }
.yl-service-num--gray { background: #f0f4f8; color: #7a9ab8; }
.yl-service-card h3 { font-size: 19px; font-weight: 700; color: #1a3a5c; margin-bottom: 12px; }
.yl-service-card p { font-size: 15px; color: #6a8aaa; line-height: 1.9; margin-bottom: 18px; }
.yl-service-link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: #3b9eff; text-decoration: none; }
.yl-service-link:hover { text-decoration: underline; }
.yl-badge-new { background: #ff8c00; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 50px; vertical-align: middle; margin-left: 6px; }
.yl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.yl-tag { background: #f0f6ff; color: #2070c0; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 50px; }

/* ===== FLOW ===== */
.yl-flow-grid { display: flex; gap: 0; max-width: 1200px; margin: 0 auto; }
.yl-flow-step { flex: 1; text-align: center; position: relative; padding: 0 12px; }
.yl-flow-step:not(:last-child)::after { content: '→'; position: absolute; top: 26px; right: -12px; font-size: 22px; color: #c0d8ee; z-index: 1; }
.yl-flow-step h4 { font-size: 17px; font-weight: 700; color: #1a3a5c; margin-bottom: 8px; }
.yl-flow-step p { font-size: 14px; color: #6a8aaa; margin-top: 8px; line-height: 1.8; }
.yl-flow-badge { display: inline-block; background: #fff3e0; color: #e06000; font-size: 13px; padding: 4px 14px; border-radius: 50px; margin-top: 10px; font-weight: 700; }

/* ===== PRICING ===== */
.yl-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.yl-price-card { background: #fff; border-radius: 22px; padding: 34px 28px; border: 1.5px solid #e4edf5; text-align: center; }
.yl-price-card.pick { border-color: #3b9eff; border-width: 2px; }
.yl-price-card--coming { opacity: .8; }
.yl-price-badge { background: linear-gradient(90deg,#ff8c00,#f0c744); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 18px; border-radius: 50px; display: inline-block; margin-bottom: 16px; }
.yl-price-badge--coming { background: #f0c744; color: #1a3a5c; }
.yl-price-card h3 { font-size: 18px; font-weight: 700; color: #1a3a5c; margin-bottom: 14px; }
.yl-price-num { font-size: 34px; font-weight: 700; color: #1a3a5c; margin-bottom: 22px; }
.yl-price-num span { font-size: 17px; color: #7a9ab8; }
.yl-price-list { list-style: none; text-align: left; margin-bottom: 24px; }
.yl-price-list li { font-size: 14px; color: #6a8aaa; padding: 8px 0; border-bottom: 1px solid #f0f5fa; display: flex; align-items: center; gap: 10px; }
.yl-price-list li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: #e8f4ff; flex-shrink: 0; }
.yl-price-btn { display: block; background: #1a3a5c; color: #fff; font-size: 15px; font-weight: 700; padding: 15px; border-radius: 50px; text-decoration: none; transition: opacity .2s; }
.yl-price-btn:hover { opacity: .85; }
.yl-price-btn.out { background: #fff; color: #1a3a5c; border: 2px solid #1a3a5c; }
.yl-price-btn.out:hover { background: #f0f6ff; }
.yl-price-btn--disabled { display: block; background: #b5d4f0; color: #fff; font-size: 15px; font-weight: 700; padding: 15px; border-radius: 50px; text-align: center; cursor: default; }

/* ===== PLUGINS & TOOLS ===== */
.yl-plugins-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.yl-plugin-card { background: #fff; border: 2px solid #e8f4ff; border-radius: 16px; padding: 28px; box-shadow: 0 2px 12px rgba(26,58,92,.06); transition: transform .2s; }
.yl-plugin-card:hover { transform: translateY(-4px); }
.yl-plugin-card.saas { background: #f0f8ff; border-color: #3b9eff; box-shadow: 0 2px 12px rgba(59,158,255,.12); }
.yl-plugin-card.coming { background: #f8fafc; border-color: #e8f4ff; }
.yl-plugin-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.yl-plugin-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yl-plugin-icon img,
.yl-plugin-icon svg { width: 100%; height: 100%; }
.yl-plugin-label { font-size: 17px; color: #3b9eff; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.yl-plugin-name { font-size: 18px; font-weight: 700; color: #1a3a5c; }
.yl-plugin-name .yl-l { color: #3b9eff; }
.yl-plugin-desc { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 16px; }
.yl-plugin-price { font-size: 24px; font-weight: 700; color: #1a3a5c; margin-bottom: 16px; }
.yl-plugin-price span { font-size: 13px; font-weight: 400; color: #888; }
.yl-plugin-price-sub { font-size: 13px; color: #555; margin-bottom: 6px; }
.yl-plugin-price-sub strong { color: #1a3a5c; }
.yl-plugin-badge { display: inline-block; background: #f0c744; color: #1a3a5c; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 8px; }
.yl-plugin-btn { display: block; text-align: center; background: #ff8c00; color: #fff; padding: 12px; border-radius: 50px; font-size: 14px; font-weight: 700; text-decoration: none; transition: opacity .2s; }
.yl-plugin-btn:hover { opacity: .85; }
.yl-plugin-btn.disabled { background: #b5d4f0; cursor: default; }
.yl-plugin-btn.cyan { background: #3b9eff; }
.yl-plugin-btn.cyan:hover { opacity: .85; }

/* PRICING セクション内のカテゴリラベル */
.yl-price-category { font-size: 20px; font-weight: 700; color: #1a3a5c; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.yl-price-category::before { content: ''; display: block; width: 6px; height: 24px; background: #3b9eff; border-radius: 3px; flex-shrink: 0; }
.yl-price-section { max-width: 1100px; margin: 0 auto 56px; padding: 0 16px; }
.yl-price-section:last-child { margin-bottom: 0; }

/* ===== BLOG ===== */
.yl-blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto 36px; }
.yl-blog-card { background: #fff; border-radius: 22px; border: 1.5px solid #e4edf5; overflow: hidden; text-decoration: none; transition: transform .2s; display: block; }
.yl-blog-card:hover { transform: translateY(-4px); }
.yl-blog-thumb { width: 100%; height: 160px; background: #f4f8fc; display: flex; align-items: center; justify-content: center; }
.yl-blog-body { padding: 22px 24px; }
.yl-blog-date { font-size: 13px; color: #7a9ab8; margin-bottom: 6px; }
.yl-blog-cat { display: inline-block; font-size: 11px; font-weight: 700; color: #3b9eff; background: rgba(59,158,255,0.08); border: 1px solid rgba(59,158,255,0.25); padding: 2px 10px; border-radius: 50px; margin-bottom: 10px; }
.yl-blog-cat-portfolio { color: #ff8c00; background: rgba(255,140,0,0.08); border-color: rgba(255,140,0,0.25); }
.yl-blog-title { font-size: 16px; font-weight: 700; color: #1a3a5c; line-height: 1.7; }
.yl-blog-more { text-align: center; }
.yl-blog-more a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #3b9eff; text-decoration: none; border: 2px solid #3b9eff; padding: 14px 32px; border-radius: 50px; transition: background .2s; }
.yl-blog-more a:hover { background: #e8f4ff; }

/* ===== FORM ===== */
.yl-form-wrap { background: #fff; border-radius: 22px; border: 1.5px solid #e4edf5; padding: 48px 44px; max-width: 800px; margin: 0 auto; }
.yl-form-row { margin-bottom: 20px; }
.yl-form-row label { display: block; font-size: 15px; font-weight: 700; color: #1a3a5c; margin-bottom: 8px; }
.yl-req { background: linear-gradient(90deg,#ff8c00,#f0c744); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 50px; margin-left: 6px; font-weight: 700; }
.yl-opt { background: #e4edf5; color: #7a9ab8; font-size: 12px; padding: 3px 10px; border-radius: 50px; margin-left: 6px; }
.yl-input { width: 100%; border: 1.5px solid #d0dde8; border-radius: 12px; padding: 14px 18px; font-size: 16px; color: #1a3a5c; outline: none; transition: border-color .2s; }
.yl-input:focus { border-color: #3b9eff; }
.yl-select { width: 100%; border: 1.5px solid #d0dde8; border-radius: 12px; padding: 14px 18px; font-size: 16px; color: #1a3a5c; outline: none; background: #fff; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6580' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; transition: border-color .2s; }
.yl-select:focus { border-color: #3b9eff; }
.yl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.yl-textarea { width: 100%; border: 1.5px solid #d0dde8; border-radius: 12px; padding: 14px 18px; font-size: 16px; color: #1a3a5c; height: 140px; resize: vertical; outline: none; transition: border-color .2s; }
.yl-textarea:focus { border-color: #3b9eff; }
.yl-honeypot { display: none; }
.yl-submit-wrap { text-align: center; margin-top: 16px; }
.yl-submit { background: linear-gradient(90deg,#ff8c00,#f0c744); color: #fff; font-size: 18px; font-weight: 700; padding: 19px 64px; border-radius: 50px; border: none; cursor: pointer; box-shadow: 0 6px 0 #c06000; letter-spacing: 0.05em; transition: transform .15s; }
.yl-submit:hover { transform: translateY(-2px); }
.yl-form-note { font-size: 14px; color: #9ab0c4; text-align: center; margin-top: 16px; }
/* エラー・成功メッセージ */
.yl-msg-error { background: #fff0f0; border: 1.5px solid #f5a0a0; color: #c0392b; border-radius: 12px; padding: 14px 20px; margin-bottom: 20px; font-size: 15px; }
.yl-msg-success { background: #f0fff4; border: 1.5px solid #6fcf97; color: #1a7a4a; border-radius: 12px; padding: 14px 20px; margin-bottom: 20px; font-size: 15px; }

/* ===== FOOTER ===== */
.yl-footer { background: #1a3a5c; color: #fff; padding: 64px 40px 0; }
.yl-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; }
.yl-footer-logo { font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; display: block; margin-bottom: 16px; }
.yl-footer-logo em { color: #3b9eff; font-style: normal; }
.yl-footer-desc { font-size: 14px; color: #8ab0cc; line-height: 1.9; }
.yl-footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: .05em; }
.yl-footer-col ul { list-style: none; }
.yl-footer-col ul li { margin-bottom: 14px; }
.yl-footer-col ul li a { font-size: 14px; color: #8ab0cc; text-decoration: none; transition: color .2s; }
.yl-footer-col ul li a:hover { color: #fff; }
.yl-footer-line-box { background: rgba(255,255,255,0.08); border-radius: 14px; padding: 18px; text-align: center; }
.yl-footer-line-box a { display: inline-block; transition: opacity .2s; }
.yl-footer-line-box a:hover { opacity: .8; }
.yl-footer-line-box img { width: 120px; height: 120px; border-radius: 10px; display: block; margin: 0 auto 12px; }
.yl-footer-line-box p { font-size: 13px; color: #8ab0cc; line-height: 1.7; }
.yl-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.yl-footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 24px 40px; display: flex; justify-content: space-between; align-items: center; }
.yl-footer-copy { font-size: 13px; color: #8ab0cc; }
.yl-footer-policy { display: flex; gap: 22px; align-items: center; }
.yl-footer-policy a { font-size: 13px; color: #8ab0cc; text-decoration: none; }
.yl-footer-policy a:hover { color: #fff; }
.yl-footer-policy span { color: rgba(255,255,255,0.2); }

/* ===== ハンバーガーメニュー ===== */
.yl-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; z-index: 200; }
.yl-hamburger span { display: block; width: 24px; height: 2px; background: #1a3a5c; border-radius: 2px; transition: all .3s; }
.yl-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.yl-hamburger.open span:nth-child(2) { opacity: 0; }
.yl-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* スマホ用ドロワーメニュー */
.yl-sp-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0); z-index: 150; transition: background .3s; }
.yl-sp-menu.open { display: block; }
.yl-sp-menu.animating { background: rgba(0,0,0,0.4); }
.yl-sp-menu-inner { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: #fff; padding: 80px 32px 32px; box-shadow: -4px 0 24px rgba(0,0,0,0.12); transform: translateX(100%); transition: transform .32s cubic-bezier(0.4,0,0.2,1); }
.yl-sp-menu.animating .yl-sp-menu-inner { transform: translateX(0); }
.yl-sp-menu-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.yl-sp-menu-close::before,
.yl-sp-menu-close::after { content: ''; position: absolute; width: 22px; height: 2px; background: #1a3a5c; border-radius: 2px; }
.yl-sp-menu-close::before { transform: rotate(45deg); }
.yl-sp-menu-close::after  { transform: rotate(-45deg); }
.yl-sp-menu-inner a { display: block; font-size: 17px; font-weight: 700; color: #1a3a5c; text-decoration: none; padding: 16px 0; border-bottom: 1px solid #e4edf5; }
.yl-sp-menu-inner a:last-child { border-bottom: none; }
.yl-sp-menu-inner .yl-sp-menu-cta { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 0; border: 1px solid var(--yl-header-blue); border-radius: 28px; margin-top: 20px; background: var(--yl-header-blue); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.6; text-align: center; }
.yl-sp-menu-inner .yl-sp-x { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding: 14px 0; border-top: 1px solid #e4edf5; border-bottom: 0; color: #315579; font-size: 15px; font-weight: 700; text-decoration: none; transition: color .2s; line-height: 1.2; }
.yl-sp-menu-inner .yl-sp-x:hover { color: var(--yl-header-blue); }
.yl-sp-x svg { flex-shrink: 0; display: block; align-self: center; }

/* ===== スクロールフェードインアニメーション ===== */
/* カードの連続フェードイン（stagger） */

/* ===== レスポンシブ：タブレット（〜960px） ===== */
@media (max-width: 960px) {
  .yl-why-grid,
  .yl-services-grid,
  .yl-services-grid--2col,
  .yl-plugins-grid,
  .yl-pricing-grid,
  .yl-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .yl-flow-grid { flex-wrap: wrap; }
  .yl-flow-step { flex: 0 0 48%; margin-bottom: 32px; }
  .yl-flow-step:nth-child(2)::after { display: none; }
  .yl-flow-step:nth-child(4)::after { display: none; }
  .yl-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ===== レスポンシブ：スマホ（〜768px） ===== */
@media (max-width: 768px) {
  /* HERO */
  .yl-hero { padding: 40px 4px 0px; }
  .yl-hero-catch { font-size: 27px; }
  .yl-hero-catch em { white-space: nowrap; }
  .yl-hero-sub { font-size: 16px; }
  .yl-badge { font-size: 14px; padding: 8px 18px; }
  .yl-btns { flex-direction: column; align-items: center; padding: 28px 20px 0; gap: 12px; }
  .yl-btn-p, .yl-btn-s { width: 100%; max-width: 320px; font-size: 16px; text-align: center; justify-content: center; }
  .yl-stats-row { max-width: 100%; margin: 24px 0 0; }
  .yl-stat-num { font-size: 32px; }
  .yl-stat-unit { font-size: 16px; }
  .yl-stat-label { font-size: 13px; }
  .yl-hero-spacer { height: 32px; }

  /* SECTION共通 */
  .yl-sec { padding: 52px 20px; }
  .yl-sec-title { font-size: 24px; }
  .yl-sec-sub { font-size: 16px; }

  /* WHY */
  .yl-why-card h3 { font-size: 18px; }
  .yl-why-card p { font-size: 15px; }

  /* SERVICES */
  .yl-service-card h3 { font-size: 18px; }
  .yl-service-card p { font-size: 15px; }
  .yl-tag { font-size: 13px; }

  /* FLOW */
  .yl-flow-step h4 { font-size: 16px; }
  .yl-flow-step p { font-size: 14px; }
  .yl-flow-badge { font-size: 13px; }

  /* PRICING */
  .yl-price-card h3 { font-size: 17px; }
  .yl-price-list li { font-size: 14px; }
  .yl-price-btn { font-size: 15px; }

  /* グリッド→1カラム */
  .yl-why-grid,
  .yl-services-grid,
  .yl-services-grid--2col,
  .yl-plugins-grid,
  .yl-pricing-grid,
  .yl-blog-grid { grid-template-columns: 1fr; }

  /* フロー */
  .yl-flow-grid { flex-direction: column; gap: 24px; }
  .yl-flow-step { flex: 1 1 100%; }
  .yl-flow-step::after { display: none !important; }
  .yl-flow-step h4 { font-size: 18px; }
  .yl-flow-step p { font-size: 15px; }
  .yl-flow-badge { font-size: 15px; padding: 6px 18px; }

  /* フォーム */
  .yl-form-wrap { padding: 28px 20px; }
  .yl-form-row label { font-size: 15px; }
  .yl-input, .yl-select, .yl-textarea { font-size: 16px; } /* iOS自動ズーム防止のため16px以上 */
  .yl-grid2 { grid-template-columns: 1fr; }
  .yl-submit { padding: 17px 40px; font-size: 16px; width: 100%; }
  .yl-form-note { font-size: 13px; }

  /* テーブル（横スクロール） */
  .yl-post-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }

  /* フッター */
  .yl-footer { padding: 40px 20px 0; }
  .yl-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .yl-footer-desc { font-size: 14px; }
  .yl-footer-col h4 { font-size: 14px; }
  .yl-footer-col ul li a { font-size: 14px; }
  .yl-footer-line-box p { font-size: 13px; }
  .yl-footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
  .yl-footer-copy { font-size: 13px; }
  .yl-footer-policy a { font-size: 13px; }
}

/* ===== 利用規約モーダル ===== */
.yl-modal-overlay {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; background: rgba(0,0,0,0.5);
  z-index: 500; align-items: center; justify-content: center;
  padding: 20px;
}
.yl-modal-overlay.open { display: flex; }
.yl-modal-inner {
  background: #fff; border-radius: 20px; max-width: 680px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 40px 40px 36px;
  position: relative;
}
.yl-modal-close {
  position: absolute; top: 16px; right: 20px; background: none;
  border: none; font-size: 18px; color: #7a9ab8; cursor: pointer;
  width: 36px; height: 36px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%;
  transition: background .2s;
}
.yl-modal-close:hover { background: #f0f5fa; }
.yl-modal-title {
  font-size: 22px; font-weight: 700; color: #1a3a5c;
  margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 2px solid #e4edf5;
}
.yl-modal-body h3 {
  font-size: 16px; font-weight: 700; color: #1a3a5c;
  margin: 24px 0 10px;
}
.yl-modal-body p { font-size: 14px; color: #5a7a96; line-height: 1.9; margin-bottom: 12px; }
.yl-modal-body ul { margin: 0 0 12px 20px; }
.yl-modal-body li { font-size: 14px; color: #5a7a96; margin-bottom: 4px; }

@media (max-width: 768px) {
  .yl-modal-inner { padding: 32px 20px 28px; }
  .yl-modal-title { font-size: 18px; }
}

/* ===== 記事内テーブル（ブログ共通） ===== */

@media (max-width: 768px) {
  .yl-table-wrap { border-radius: 10px; }
}

/* ===== サービスカード イラスト ===== */
.yl-service-illust {
  width: 100%;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}
.yl-service-illust img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== フロー アイコン ===== */
.yl-flow-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yl-flow-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== アクセスセクション（会社概要固定ページ） ===== */
.yl-access-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 8px 0 0;
}
.yl-access-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.yl-access-list li {
  font-size: 15px;
  color: #3a5a70;
  line-height: 1.9;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid #e4edf5;
  position: relative;
}
.yl-access-list li:first-child { padding-top: 0; }
.yl-access-list li:last-child { border-bottom: none; }
.yl-access-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3b9eff;
}
.yl-access-list li:first-child::before { top: 6px; }
@media (max-width: 768px) {
  .yl-access-wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== ブログ一覧ページ（archive.php / home.php） ===== */
.yl-archive-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}
.yl-archive-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  justify-content: center;
}
.yl-archive-filter a {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid #e4edf5;
  color: #4a6580;
  background: #fff;
  transition: all .2s;
}
.yl-archive-filter a:hover,
.yl-archive-filter a.current {
  background: #1a3a5c;
  border-color: #1a3a5c;
  color: #fff;
}
.yl-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.yl-archive-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #e4edf5;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.yl-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,58,92,0.08);
}
/* カード全体をクリック可能にする */
.yl-archive-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* カテゴリーリンクはcard-linkの上に表示 */
.yl-archive-cat a { position: relative; z-index: 2; }
/* ブログ一覧：カテゴリカラー（スラッグ別） */
.yl-archive-cat a[href*="/portfolio/"] { color: #ff8c00; background: rgba(255,140,0,0.08); }
.yl-archive-cat a[href*="/portfolio/"]:hover { background: rgba(255,140,0,0.18); }
.yl-archive-thumb {
  width: 100%;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  background: #e8f4ff;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  position: relative;
}
.yl-archive-thumb img,
.yl-archive-thumb svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yl-archive-body {
  padding: 22px 24px 26px;
  flex: 1;
}
.yl-archive-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.yl-archive-date { font-size: 13px; color: #7a9ab8; }
.yl-archive-cat a {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #2070c0;
  background: #e8f4ff;
  padding: 3px 12px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s;
}
.yl-archive-cat a:hover { background: #d0e8ff; }
.yl-archive-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1.7;
  margin-bottom: 10px;
}
.yl-archive-excerpt {
  font-size: 13px;
  color: #6a8aaa;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.yl-pagination a,
.yl-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid #e4edf5;
  color: #4a6580;
  background: #fff;
  transition: all .2s;
}
.yl-pagination a:hover {
  background: #1a3a5c;
  border-color: #1a3a5c;
  color: #fff;
}
.yl-pagination .current {
  background: #1a3a5c;
  border-color: #1a3a5c;
  color: #fff;
}
.yl-pagination .dots {
  border: none;
  background: none;
  color: #7a9ab8;
  cursor: default;
}
.yl-pagination .prev-next {
  width: auto;
  padding: 0 18px;
  font-size: 14px;
}
.yl-no-posts {
  text-align: center;
  padding: 80px 20px;
  color: #7a9ab8;
}
.yl-no-posts p { font-size: 16px; margin-bottom: 28px; }

/* ===== ページタイトル帯：固定ページ・ブログ一覧・各アーカイブ共通 ===== */
.yl-page-header {
  background: #f1f8ff;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.yl-page-header-inner { position: relative; z-index: 1; }
.yl-page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.yl-page-breadcrumb a { font-size: 13px; color: #58789a; text-decoration: none; transition: color .2s; }
.yl-page-breadcrumb a:hover { color: #087bd2; }
.yl-page-breadcrumb span { font-size: 13px; color: #58789a; }
.yl-page-title { font-size: 34px; font-weight: 700; color: #1a3a5c; line-height: 1.4; overflow-wrap: anywhere; }
.yl-page-wrap { max-width: 1200px !important; margin: 0 auto; padding: 64px 40px 96px; }
.yl-page-content { font-size: 16px; color: #3a5a70; line-height: 2.0; }
.yl-page-content h2 {
  font-size: 24px; font-weight: 700; color: #1a3a5c;
  margin: 56px 0 20px; padding-bottom: 12px;
  border-bottom: 2.5px solid #e4edf5; position: relative;
}
.yl-page-content h2::before {
  content: ''; position: absolute;
  bottom: -2.5px; left: 0; width: 56px; height: 2.5px;
  background: linear-gradient(90deg, #ff8c00, #f0c744);
}
.yl-page-content h2:first-child { margin-top: 0; }
.yl-page-content h3 {
  font-size: 20px; font-weight: 700; color: #1a3a5c;
  margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid #3b9eff;
}
.yl-page-content h4 { font-size: 17px; font-weight: 700; color: #1a3a5c; margin: 28px 0 10px; }
.yl-page-content p { margin-bottom: 20px; }
.yl-page-content p:last-child { margin-bottom: 0; }
.yl-page-content strong { font-weight: 700; color: #1a3a5c; }
.yl-page-content a { color: #3b9eff; text-decoration: underline; text-underline-offset: 3px; transition: opacity .2s; }
.yl-page-content a:hover { opacity: .75; }
.yl-page-content ul, .yl-page-content ol { margin: 0 0 20px 22px; }
.yl-page-content li { margin-bottom: 8px; line-height: 1.9; }
.yl-page-content ul li::marker { color: #3b9eff; }
.yl-page-content blockquote {
  background: #f0f6ff; border-left: 4px solid #3b9eff;
  border-radius: 0 12px 12px 0; padding: 18px 24px;
  margin: 24px 0; color: #4a7090; font-style: italic;
}
.yl-page-content table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.yl-page-content th {
  background: #eaf4fd; color: #1a3a5c; font-weight: 700;
  padding: 13px 18px; text-align: left; white-space: nowrap; vertical-align: top; width: 30%;
  border-bottom: 1px solid #e4edf5;
}
.yl-page-content td { padding: 13px 18px; border-bottom: 1px solid #e4edf5; vertical-align: top; line-height: 1.8; }
.yl-page-content tr:nth-child(even) td { background: #f9fbfe; }
.yl-page-content tr:last-child th,
.yl-page-content tr:last-child td { border-bottom: none; }
.yl-page-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 28px 0; border-radius: 12px; border: 1.5px solid #e4edf5;
}
/* 本文にある既存の枠と自動ラッパーが重なる場合、外側だけに枠・余白を持たせます。 */
.yl-page-content :is(.yl-page-table-wrap, .yl-table-wrap) :is(.yl-page-table-wrap, .yl-table-wrap) {
  margin: 0; border: 0; border-radius: 0;
}
.yl-page-table-wrap table { margin: 0; }
.yl-page-eyecatch { width: 100%; border-radius: 18px; overflow: hidden; margin-bottom: 48px; }
.yl-page-eyecatch img { width: 100%; height: auto; display: block; }
.yl-page-eyecatch--default { aspect-ratio: 800/240; }
.yl-page-nav { margin-top: 64px; padding-top: 32px; border-top: 1.5px solid #e4edf5; }
.yl-page-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #1a3a5c; font-size: 15px; font-weight: 700; text-decoration: none;
  padding: 14px 24px; background: #f4f8fc; border: 1.5px solid #e4edf5;
  border-radius: 50px; transition: background .2s, border-color .2s;
}
.yl-page-nav a:hover { background: #e8f0f8; border-color: #c0d8ee; }

/* レスポンシブ */
@media (max-width: 960px) {
  .yl-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .yl-archive-wrap { padding: 40px 20px 64px; }
  .yl-archive-grid { grid-template-columns: 1fr; gap: 20px; }
  .yl-archive-title { font-size: 16px; }
  .yl-archive-excerpt { font-size: 14px; }
  .yl-archive-date { font-size: 13px; }
  .yl-page-wrap { padding: 40px 20px 64px; }
  .yl-page-content { font-size: 16px; }
  .yl-page-content h2 { font-size: 21px; }
  .yl-page-content h3 { font-size: 18px; }
  .yl-page-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

/* 製品一覧と同じ画面幅でタイトル帯の余白・文字サイズを切り替えます。 */
@media (max-width: 640px) {
  .yl-page-header { padding: 32px 18px; }
  .yl-page-title { font-size: 28px; }
}

/* ===== 記事個別ページ（single.php） ===== */
.yl-post-wrap {
  max-width: 1200px !important;
  width: 100% !important;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 56px 40px 80px;
}
.yl-breadcrumb {
  font-size: 13px;
  color: #7a9ab8;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.yl-breadcrumb a { color: #3b9eff; text-decoration: none; }
.yl-breadcrumb a:hover { text-decoration: underline; }
.yl-breadcrumb-sep { color: #c0d0e0; }
.yl-post-header { margin-bottom: 24px; }
.yl-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.yl-post-date { font-size: 14px; color: #7a9ab8; }
.yl-post-cat a {
  display: inline-block;
  background: #e8f4ff;
  color: #2070c0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s;
}
.yl-post-cat a:hover { background: #d0e8ff; }
.yl-post-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1.5;
}
.yl-post-eyecatch {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  background: #e8f4ff;
}
.yl-post-eyecatch img { width: 100%; height: auto; display: block; }
.yl-post-content { font-size: 16px; color: #3a5a70; line-height: 1.95; }
.yl-post-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2.5px solid #e4edf5;
  position: relative;
}
.yl-post-content h2::before {
  content: '';
  position: absolute;
  bottom: -2.5px; left: 0;
  width: 56px; height: 2.5px;
  background: linear-gradient(90deg, #ff8c00, #f0c744);
}
.yl-post-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid #3b9eff;
}
.yl-post-content p { margin-bottom: 20px; }
.yl-post-content strong { font-weight: 700; color: #1a3a5c; }
.yl-post-content ul, .yl-post-content ol { margin: 0 0 20px 20px; }
.yl-post-content li { margin-bottom: 8px; }
.yl-post-content ul li::marker { color: #3b9eff; }
.yl-post-content blockquote {
  background: #f0f6ff;
  border-left: 4px solid #3b9eff;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
  color: #4a7090;
  font-style: italic;
}
.yl-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: 12px;
  border: 1.5px solid #e4edf5;
}
.yl-table-wrap table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.95em;
  margin: 0;
}
.yl-table-wrap thead th {
  background-color: #1a3a5c;
  color: #ffffff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}
.yl-table-wrap thead th:first-child { border-radius: 10px 0 0 0; }
.yl-table-wrap thead th:last-child  { border-radius: 0 10px 0 0; }
.yl-table-wrap tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #e4edf5;
  vertical-align: top;
  line-height: 1.7;
}
.yl-table-wrap tbody tr:last-child td { border-bottom: none; }
.yl-table-wrap tbody tr:nth-child(odd)  td { background-color: #f9fbfe; }
.yl-table-wrap tbody tr:nth-child(even) td { background-color: #ffffff; }
.yl-table-wrap tbody td:first-child { font-weight: 700; color: #1a3a5c; }
.yl-post-cta {
  border: 2px solid #1a3a5c;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  margin: 56px 0 48px;
}
.yl-post-cta-left {
  background: #1a3a5c;
  padding: 36px 36px;
  flex: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.yl-post-cta-label {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #3b9eff;
  margin-bottom: 14px;
}
.yl-post-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.8;
}
.yl-post-cta-right {
  background: #fff;
  padding: 36px 32px;
  flex: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-left: 2px solid #1a3a5c;
}
.yl-post-cta-sub {
  font-size: 13px !important;
  white-space: nowrap;
  font-weight: 700;
  color: #3a5a70;
  text-align: center;
  line-height: 1.8;
}
.yl-post-cta-btn {
  display: block;
  background: #087bd2;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 32px;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  width: 100%;
  box-shadow: 0 5px 12px rgba(8,123,210,.14);
  transition: transform .2s, box-shadow .2s;
}
.yl-post-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,83,139,.14); }
.sp-br { display: none; }
.sp-only { display: none; }
@media (max-width: 768px) {
  .yl-post-cta { flex-direction: column; }
  .yl-post-cta-left { padding: 28px 24px; }
  .yl-post-cta-label { font-size: 14px; }
  .yl-post-cta-title { font-size: 16px; }
  .yl-post-cta-right { padding: 24px; border-left: none; border-top: 2px solid #1a3a5c; }
  .yl-post-cta-btn { font-size: 15px; padding: 16px 24px; }
  .sp-br { display: block; }
  .sp-only { display: inline; }
}
.yl-post-nav {
  margin-bottom: 48px;
}
.yl-post-nav-pages {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.yl-post-nav-pages a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3b9eff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  background: #fff;
  border: 1.5px solid #e4edf5;
  border-radius: 14px;
  transition: background .2s, border-color .2s;
  overflow: hidden;
}
.yl-post-nav-pages a:hover { background: #f0f6ff; border-color: #3b9eff; }
.yl-post-nav-pages a.yl-post-nav-next { justify-content: flex-end; text-align: right; }
.yl-post-nav-back-wrap { text-align: center; margin-top: 8px; }
.yl-post-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a3a5c;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  background: #f4f8fc;
  border: 1.5px solid #e4edf5;
  border-radius: 50px;
  transition: background .2s, border-color .2s;
}
.yl-post-nav-back:hover { background: #e8f0f8; border-color: #c0d8ee; }
@media (max-width: 768px) {
  .yl-post-wrap { padding: 32px 20px 56px; }
  .yl-post-title { font-size: 22px; }
  .yl-post-content h2 { font-size: 20px; }
  .yl-post-content h3 { font-size: 18px; }
  .yl-post-content { font-size: 16px; }
  .yl-post-cta { padding: 28px 20px; }
}

/* ===== スプラッシュアニメーション ===== */
.yl-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.yl-splash.hide {
  opacity: 0;
}
.yl-splash.done {
  display: none;
}
.yl-splash-copy {
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.yl-splash-copy.show {
  opacity: 1;
  transform: translateY(0);
}
.yl-splash-copy p {
  font-size: 42px;
  font-weight: 900;
  color: #1a3a5c;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.yl-splash-copy p:first-child {
  color: #1a3a5c;
}
.yl-splash-copy p:last-child {
  color: transparent;
  background: linear-gradient(90deg, #ff8c00, #f0c744);
  -webkit-background-clip: text;
  background-clip: text;
}
@media (max-width: 768px) {
  .yl-splash-copy p { font-size: 30px; }
}

/* ===== ページトップボタン ===== */
.yl-page-top {
  position: fixed;
  bottom: 50px; /* reCAPTCHAバッジ（約60px）の上 */
  right: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a3a5c;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,58,92,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s;
}
.yl-page-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.yl-page-top:hover {
  background: #3b9eff;
  box-shadow: 0 6px 20px rgba(59,158,255,0.35);
}
@media (max-width: 768px) {
  .yl-page-top { right: 16px; bottom: 20px; width: 44px; height: 44px; }
}
/* ── フッター SNSアイコン ── */
.yl-footer-social{margin-top:16px;display:flex;gap:12px}
.yl-footer-social-link{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,.1);
  color:rgba(255,255,255,.7);
  transition:.2s;
}
.yl-footer-social-link:hover{background:rgba(255,255,255,.2);color:#fff}


/* =============================================
   サービス詳細ページ（/services/）
   クラスプレフィックス: .yl-service-
   ============================================= */

/* ── ページ全体 ── */
.yl-service-page {
    font-family: 'Noto Sans JP', sans-serif;
    color: #2c3e50;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ── ヒーロー ── */
.yl-service-hero {
    background: transparent;
    color: #1a3a5c;
    padding: 20px 20px 40px;
    text-align: center;
}
.yl-service-hero-inner { max-width: 800px; margin: 0 auto; }
.yl-service-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    color: #3b9eff;
    margin-bottom: 12px;
}
.yl-service-h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}
.yl-service-hero-label {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: .12em;
    color: #3b9eff;
    margin: 0 0 12px;
    line-height: 1;
}
.yl-service-hero-desc {
    font-size: 20px;
    color: #5a7a9a;
    line-height: 1.9;
    margin-bottom: 36px;
}

/* アンカーナビ */
.yl-service-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.yl-service-nav a {
    display: inline-block;
    padding: 8px 20px;
    background: #eef4fb;
    color: #1a3a5c;
    border: 1px solid #d0e4f7;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}
.yl-service-nav a:hover {
    background: #d0e4f7;
    border-color: #3b9eff;
}

/* ── 各サービスセクション ── */
.yl-service-section {
    padding: 80px 20px;
    background: #fff;
}
.yl-service-section--alt {
    background: #f8fafc;
}
.yl-service-inner {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto;
    box-sizing: border-box;
}

/* セクションヘッダー */
.yl-service-header {
    margin-bottom: 40px;
}
.yl-service-num {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    color: #3b9eff;
    margin: 0 0 4px !important;
    padding: 4px 10px;
    background: #e8f4ff;
    border-radius: 50px;
}
.yl-service-h2 {
    font-size: clamp(24px, 4vw, 36px) !important;
    font-weight: 900 !important;
    color: #1a3a5c !important;
    margin: 4px 0 8px !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    border: none !important;
}
.yl-service-tagline {
    font-size: clamp(14px, 1.8vw, 16px);
    color: #5a7a9a;
}

/* サービス本文 */
.yl-service-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.yl-service-desc p {
    font-size: 15px;
    line-height: 1.9;
    color: #3d5166;
    margin-bottom: 28px;
}
.yl-service-features h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 12px;
}
.yl-service-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.yl-service-features li {
    font-size: 15px;
    color: #3d5166;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}
.yl-service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b9eff;
    font-weight: 700;
}
.yl-service-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.yl-service-techs span {
    padding: 4px 12px;
    background: #e8f0fb;
    color: #1a3a5c;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* 料金カード */
.yl-service-price-card {
    background: #fff;
    border: 2px solid #e0eaf5;
    border-radius: 16px;
    padding: 28px 24px;
    position: sticky;
    top: 80px;
    box-shadow: 0 4px 20px rgba(26,58,92,.06);
}
.yl-service-section--alt .yl-service-price-card {
    background: #fff;
}
.yl-spc-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #5a7a9a;
    margin-bottom: 8px;
}
.yl-spc-price {
    font-size: 32px;
    font-weight: 900;
    color: #1a3a5c;
    margin-bottom: 4px;
    line-height: 1.1;
}
.yl-spc-price small { font-size: 16px; font-weight: 500; }
.yl-spc-note {
    font-size: 12px;
    color: #5a7a9a;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0eaf5;
}
.yl-spc-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.yl-spc-includes li {
    font-size: 15px;
    color: #3d5166;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.yl-spc-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}
.yl-service-btn {
    display: block;
    text-align: center;
    background: #ff8c00;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: .2s;
    box-shadow: 0 4px 0 #c06a00;
}
.yl-service-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ── プラグイン販売セクション ── */
.yl-plugin-lead {
    font-size: 15px;
    line-height: 1.9;
    color: #3d5166;
    margin-bottom: 36px;
}
.yl-service-body--plugin { display: block; }
.yl-plugin-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.yl-plugin-card {
    background: #fff;
    border: 2px solid #e0eaf5;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(26,58,92,.06);
    display: flex;
    flex-direction: column;
}
.yl-plugin-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e0eaf5;
    gap: 6px;
}
.yl-plugin-icon { font-size: 48px; }
.yl-plugin-name { font-size: 32px; font-weight: 900; color: #1a3a5c; line-height: 1.2; }
.yl-plugin-tagline { font-size: 13px; color: #5a7a9a; }
.yl-plugin-price {
    font-size: 32px;
    font-weight: 900;
    color: #1a3a5c;
    line-height: 1.1;
}
.yl-plugin-price small { font-size: 16px; font-weight: 400; }
.yl-plugin-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #3d5166;
    margin-bottom: 16px;
}
.yl-plugin-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.yl-plugin-features li {
    font-size: 15px;
    color: #3d5166;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.yl-plugin-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}
.yl-plugin-btn {
    display: block;
    text-align: center;
    background: #ff8c00;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: .2s;
    box-shadow: 0 3px 0 #c06a00;
    margin-top: auto;
}
.yl-plugin-btn:hover { opacity: .9; }
.yl-plugin-btn--soon {
    background: #5a7a9a;
    box-shadow: 0 3px 0 #3d5166;
    cursor: default;
}
.yl-plugin-btn--soon:hover { opacity: 1; transform: none; }

/* ── CTA ── */
.yl-service-cta {
    background: linear-gradient(135deg, #1a3a5c 0%, #0e2340 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}
.yl-service-cta-inner h2 {
    font-size: clamp(22px, 3.5vw, 32px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
    border: none !important;
}
.yl-service-cta-inner p {
    font-size: clamp(13px, 1.6vw, 15px);
    color: rgba(255,255,255,.8);
    line-height: 1.9;
    margin-bottom: 32px;
}
.yl-service-cta-btn {
    display: inline-block;
    background: #ff8c00;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 18px 52px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 0 #c06a00;
    transition: .2s;
}
.yl-service-cta-btn:hover { opacity: .9; transform: translateY(-2px); }

/* ── レスポンシブ ── */
@media (max-width: 768px) {
    .yl-service-hero { padding: 60px 20px 40px; }
    .yl-service-section { padding: 60px 20px; }
    .yl-service-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .yl-service-price-card { position: static; }
    .yl-plugin-cards { grid-template-columns: 1fr; }
    .yl-plugin-card-header { flex-wrap: wrap; }
    .yl-plugin-price { margin-left: 0; width: 100%; }
}

/* テーマのh2デフォルトスタイル（オレンジライン）をサービスページ内で非表示 */
.yl-service-page h2::before,
.yl-service-page h3::before {
    display: none !important;
    content: none !important;
}
.yl-service-page h2,
.yl-service-page h3 {
    border-bottom: none !important;
}


/* =============================================
   ブログ記事 2カラムレイアウト
   ============================================= */

/* 2カラムラッパー */
.yl-post-layout {
    display: grid !important;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
    margin-top: 32px;
}

/* ブログ一覧・トップへ戻るボタンエリア */
.yl-post-back-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e8edf2;
}

.yl-post-back-blog {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #f0f4f8;
    color: #1a3a5c;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: .2s;
    border: 1.5px solid #d0e4f7;
}
.yl-post-back-blog:hover {
    background: #d0e4f7;
    color: #1a3a5c;
}

/* サイドバー */
.yl-post-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.yl-sidebar-widget {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px 20px;
    border: 1px solid #e0eaf5;
}

.yl-sidebar-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #1a3a5c !important;
    margin: 0 0 16px !important;
    padding: 0 0 12px !important;
    border-bottom: 2px solid #d0e4f7 !important;
    letter-spacing: .04em;
}

.yl-sidebar-title::before {
    display: none !important;
}

.yl-sidebar-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.yl-sidebar-item {
    border-bottom: 1px solid #eef2f7;
}
.yl-sidebar-item:last-child { border-bottom: none; }

.yl-sidebar-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 4px;
    text-decoration: none;
    transition: opacity .2s;
}
.yl-sidebar-link:hover { opacity: .75; }

.yl-sidebar-cat {
    font-size: 11px;
    font-weight: 700;
    color: #3b9eff;
    letter-spacing: .04em;
}

.yl-sidebar-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a3a5c;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yl-sidebar-date {
    font-size: 11px;
    color: #8a9ab0;
}

/* レスポンシブ：SP時は1カラム */
@media ( max-width: 768px ) {
    .yl-post-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .yl-post-sidebar { position: static; }
    .yl-post-back-blog { text-align: center; justify-content: center; }
}

/* ── ブログ記事 ボタンスタイル修正 ── */
.yl-post-back-wrap .btn-primary {
    background: #1a3a5c;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: .2s;
    border: none;
}
.yl-post-back-wrap .btn-primary:hover {
    background: #243e60;
    color: #fff !important;
}
.yl-post-back-blog {
    display: inline-flex !important;
    align-items: center;
}

/* ── 前後記事ナビ ボタン化 ── */
.yl-post-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}
.yl-post-nav-prev a,
.yl-post-nav-next a {
    display: inline-block;
    color: #3b9eff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    line-height: 1.5;
    border-bottom: 1px dotted #d0e4f7;
    transition: color .2s;
}
.yl-post-nav-prev a:hover,
.yl-post-nav-next a:hover { color: #1a3a5c; }


/* ── SP レスポンシブ（ブログ記事）── */
@media ( max-width: 768px ) {
    .yl-post-layout {
        display: block !important;
    }
    .yl-post-sidebar {
        position: static !important;
        margin-top: 40px;
    }
    .yl-post-back-wrap {
        flex-direction: column;
    }
    .yl-post-back-blog,
    .yl-post-back-wrap .btn-primary {
        text-align: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ── 前後記事ナビ（元のスタイルを上書きした分をリセット） ── */
.yl-post-nav-prev a,
.yl-post-nav-next a {
    display: block;
    color: unset;
    font-size: unset;
    font-weight: unset;
    text-decoration: unset;
    padding: unset;
    border-bottom: unset;
    transition: unset;
}

/* ── SP 横スクロール対策 ── */
@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .yl-post-wrap { padding-left: 16px !important; padding-right: 16px !important; }
}
/* プラグイン名の「L」を水色に */
.yl-l {
  color: #3b9eff;
  font-style: normal;
}

/* サービスエリア：SP1列 */
@media (max-width: 768px) {
  .yl-services-grid { grid-template-columns: 1fr !important; }
}

/* ヒーロー要素：初期状態は非表示 → JSがloadで visible を付与 */
.yl-hero-inner > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.yl-hero-inner > *.visible {
    opacity: 1;
    transform: translateY(0);
}
 
/* yl-fade 共通：初期非表示 → スクロールで visible 付与 */
.yl-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.yl-fade.visible {
    opacity: 1;
    transform: translateY(0);
}
 
/* delay バリエーション：visible 付与時に transition-delay を効かせる */
.yl-fade.yl-fade-delay-1.visible { transition-delay: 0.08s; }
.yl-fade.yl-fade-delay-2.visible { transition-delay: 0.16s; }
.yl-fade.yl-fade-delay-3.visible { transition-delay: 0.24s; }
.yl-fade.yl-fade-delay-4.visible { transition-delay: 0.32s; }

/* =============================
   関連記事エリア
   ============================= */
.yl-related {
    max-width: 860px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

.yl-related__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a3a5c;
    border-left: 4px solid #3b9eff;
    padding-left: 12px;
    margin-bottom: 24px;
}

.yl-related__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.yl-related__card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e6ef;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
}

.yl-related__card:hover {
    box-shadow: 0 4px 16px rgba(26,58,92,0.12);
    transform: translateY(-2px);
}

.yl-related__body {
    padding: 16px 18px;
}

.yl-related__date {
    font-size: 0.75rem;
    color: #888;
    margin: 0 0 6px;
}

.yl-related__ttl {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    color: #1a3a5c;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* スマホ：1カラムに変更 */
@media (max-width: 600px) {
    .yl-related__grid {
        grid-template-columns: 1fr;
    }
}

/* reCAPTCHAバッジを非表示 */
.grecaptcha-badge {
  visibility: hidden;
}

/* reCAPTCHA注意書き */
.yl-footer-recaptcha {
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  opacity: 0.7;
  margin: 12px 0 0;
  padding: 0 16px;
}
.yl-footer-recaptcha a {
  color: inherit;
  text-decoration: underline;
}

/* スマホ：固定ボタンに隠れないよう下に余白 */
@media (max-width: 767px) {
  .yl-footer-recaptcha {
    padding-bottom: 90px;
  }
}