* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Noto Sans JP', sans-serif; }
body { background: #f4f8fc; }

/* ===== NAV ===== */
.yl-nav { background: #fff; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1.5px solid #e4edf5; position: sticky; top: 0; z-index: 100; }
.yl-logo { font-weight: 700; font-size: 22px; color: #1a3a5c; text-decoration: none; }
.yl-logo em { color: #3b9eff; font-style: normal; }
.yl-nav-links { display: flex; gap: 32px; }
.yl-nav-links a { font-size: 15px; color: #4a6580; text-decoration: none; transition: color .2s; }
.yl-nav-links a:hover { color: #1a3a5c; }
.yl-nav-cta { background: #1a3a5c; color: #fff; font-size: 15px; font-weight: 700; padding: 12px 28px; border-radius: 50px; text-decoration: none; transition: opacity .2s; }
.yl-nav-cta:hover { opacity: .85; }

/* ===== 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: 18px; 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-service-card { background: #fff; border-radius: 22px; padding: 30px 26px; border: 1.5px solid #e4edf5; }
.yl-service-card.pick { border-color: #3b9eff; border-width: 2px; }
.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-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-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: 1200px; 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-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-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; }

/* ===== 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: 10px; }
.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 img { width: 96px; height: 96px; 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-cta { background: linear-gradient(90deg,#ff8c00,#f0c744) !important; color: #fff !important; border-radius: 50px; text-align: center; margin-top: 20px; border-bottom: none !important; padding: 14px 0 !important; }

/* ===== スクロールフェードインアニメーション ===== */
.yl-fade { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.yl-fade.visible { opacity: 1; transform: translateY(0); }
/* カードの連続フェードイン（stagger） */
.yl-fade-delay-1 { transition-delay: .1s; }
.yl-fade-delay-2 { transition-delay: .2s; }
.yl-fade-delay-3 { transition-delay: .3s; }
.yl-fade-delay-4 { transition-delay: .4s; }

/* ===== レスポンシブ：タブレット（〜960px） ===== */
@media (max-width: 960px) {
  .yl-why-grid,
  .yl-services-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) {
  /* NAV */
  .yl-nav { padding: 14px 20px; }
  .yl-nav-links { display: none; }
  .yl-nav-cta { display: none; }
  .yl-hamburger { display: flex; }
  .yl-logo { font-size: 18px; }

  /* HERO */
  .yl-hero { padding: 40px 20px 0; }
  .yl-hero-catch { font-size: 38px; }
  .yl-hero-sub { font-size: 15px; }
  .yl-badge { font-size: 13px; 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: 14px; }
  .yl-stat-label { font-size: 12px; }
  .yl-hero-spacer { height: 32px; }

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

  /* グリッド→1カラム */
  .yl-why-grid,
  .yl-services-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-form-wrap { padding: 28px 20px; }
  .yl-grid2 { grid-template-columns: 1fr; }
  .yl-submit { padding: 17px 40px; font-size: 16px; width: 100%; }

  /* テーブル（横スクロール） - ブログ記事内 */
  .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-bottom-inner { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
}

/* ===== 利用規約モーダル ===== */
.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; }
}

/* ===== 記事内テーブル（ブログ共通） ===== */
.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; }

@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-thumb {
  width: 100%;
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  background: #1a3a5c;
  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; }

/* ===== 固定ページ（page.php）ヘッダー・本文 ===== */
.yl-page-header {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5280 100%);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.yl-page-header::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(59,158,255,0.12);
}
.yl-page-header::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(240,199,68,0.1);
}
.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: rgba(255,255,255,0.65); text-decoration: none; transition: color .2s; }
.yl-page-breadcrumb a:hover { color: #fff; }
.yl-page-breadcrumb span { font-size: 13px; color: rgba(255,255,255,0.4); }
.yl-page-breadcrumb-current { font-size: 13px; color: rgba(255,255,255,0.85); }
.yl-page-title { font-size: 34px; font-weight: 700; color: #ffffff; line-height: 1.4; }
.yl-page-wrap { max-width: 860px; 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: #1a3a5c; color: #fff; font-weight: 700;
  padding: 13px 18px; text-align: left; white-space: nowrap; vertical-align: top; width: 30%;
}
.yl-page-content tbody tr:nth-child(odd)  th { background: #1a3a5c; }
.yl-page-content tbody tr:nth-child(even) th { background: #22486e; }
.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 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-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: 15px; }
  .yl-page-header { padding: 40px 20px; }
  .yl-page-title { font-size: 24px; }
  .yl-page-wrap { padding: 40px 20px 64px; }
  .yl-page-content { font-size: 15px; }
  .yl-page-content h2 { font-size: 20px; }
  .yl-page-content h3 { font-size: 17px; }
  .yl-page-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

/* ===== 記事個別ページ（single.php） ===== */
.yl-post-wrap {
  max-width: 800px;
  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-eyecatch--default { aspect-ratio: 800/240; }
.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 {
  background: linear-gradient(135deg, #1a3a5c, #2a5280);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  margin: 56px 0 48px;
}
.yl-post-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.8;
}
.yl-post-cta strong { color: #f0c744; }
.yl-post-cta a {
  display: inline-block;
  background: linear-gradient(90deg, #ff8c00, #f0c744);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 0 #c06000;
  transition: transform .15s;
}
.yl-post-cta a:hover { transform: translateY(-2px); }
.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: 19px; }
  .yl-post-content h3 { font-size: 17px; }
  .yl-post-content { font-size: 15px; }
  .yl-post-cta { padding: 28px 20px; }
}
