/* =====================================================================
  池島時計店 共通スマートフォンデザイン（2026年11月試作）
  既存のstyleikeshima_smartphone.cssを変更せず、追加で読み込む方式
  ページ固有の本文・フォーム・リンクは変更しない
===================================================================== */
.ik-unified-header { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:minmax(0, 1.7fr) minmax(260px,1fr); align-items:center; gap:16px; padding:12px 18px; border-top:4px solid #87a8ba; border-bottom:4px solid #87a8ba; background:#fff; color:#173d5a; }
.ik-unified-logo { display:block; min-width:0; background:transparent !important; }
.ik-unified-logo img { display:block; max-width:100%; width:100%; height:auto; max-height:120px; object-fit:contain; object-position:left center; }
.ik-unified-permits { font-size:clamp(11px,1.18vw,14px); line-height:1.55; border-left:1px solid #abc0ce; padding-left:14px; text-align:left; overflow-wrap:anywhere; }
.ik-unified-permits strong { display:block; font-weight:700; margin:1px 0 5px; color:#174360; }
.ik-unified-intro { display:none; }
@media screen and (max-width:768px) {
  body { background:#f6f8fb; }
  .page-wrapper { background:#fff; }
  .ik-unified-header { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:8px; padding:9px 8px; border-top-width:3px; border-bottom-width:3px; }
  .ik-unified-logo img { max-height:100px; }
  .ik-unified-permits { font-size:clamp(9px,2.1vw,11px); padding-left:7px; line-height:1.5; }
  .ik-unified-permits strong { margin-bottom:5px; }
  .ik-unified-intro { display:block; padding:12px 12px 10px; background:#fff; color:#243e62; border-bottom:1px solid #dce5ee; }
  .ik-unified-intro h1 { font-size:clamp(18px,5vw,23px) !important; line-height:1.4; color:#234d78; margin:4px 0 5px; padding:0; border:0; background:none; box-shadow:none; }
  .ik-unified-intro p { font-size:13px; line-height:1.6; margin:0 0 5px; }
  .ik-unified-intro img { width:100%; max-width:100%; height:auto; display:block; border-radius:7px; margin:0 0 9px; }
  /* 既存の9項目メニューを２列にして操作領域を広く */
  .nav-table { background:#f3f7fb !important; height:auto !important; padding:6px 4px !important; border-collapse:separate !important; }
  .nav-table tr { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:7px !important; }
  .nav-table td { display:block !important; width:auto !important; min-width:0 !important; min-height:0 !important; padding:0 !important; background:none !important; }
  .nav-table td span { display:block !important; font-size:13px !important; }
  .nav-table td a { display:flex !important; align-items:center; justify-content:center; min-height:44px !important; padding:8px 3px !important; background:#fff !important; border:1px solid #bdd1e3 !important; border-radius:7px; box-shadow:0 2px 5px rgba(31,76,119,.07); color:#234e7c !important; text-decoration:none !important; font-size:13px !important; line-height:1.25; white-space:normal !important; }
  .nav-table td a strong, .nav-table td a font { color:#234e7c !important; }
  .nav-table td a:hover, .nav-table td a:focus-visible { background:#eaf3fd !important; border-color:#7eafd5 !important; box-shadow:0 3px 9px rgba(31,76,119,.14); }
  .content-layout, .content-layout>tbody, .content-layout>tbody>tr { display:block !important; width:100% !important; }
  .sidebar-cell, .main-cell { display:block !important; width:100% !important; }
  .side-menu-frame { display:none !important; }
  .souba-frame { max-width:100% !important; }
  .main-content { width:100% !important; }
  .main-cell { padding:0 8px 12px !important; }
  .main-cell h1, .main-cell h2 { overflow-wrap:anywhere; }
  .main-cell h2 { line-height:1.45; }
  .main-cell p, .main-cell li { line-height:1.7; }
  .main-cell img { max-width:100%; height:auto; }
  .main-cell table { max-width:100%; }
  /* 既存の商品紹介カードを統一。買取相場表やフォームは対象外 */
  .watch-grid, .megane-grid, .glasses-grid { gap:12px; }
  .watch-item, .megane-item, .glasses-item { border-radius:7px; box-shadow:0 1px 4px rgba(30,62,100,.06); }
  .watch-item:focus-within, .megane-item:focus-within { border-color:#80b2d8; box-shadow:0 4px 10px rgba(35,77,119,.13); }
  .qualification-mini { border-radius:8px; background:#f8faff; }
  /* スマホではロゴと本文の間に余白をつくり、横スクロールを抑制 */
  .main-cell iframe { max-width:100%; }
  .ik-copyright-blue { font-size:11px; }
}
