@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Oswald:wght@500;600;700&display=swap');

/* ==========================================================================
   テーマカラー設定
   ==========================================================================
   このLPを別テーマ（例：レーザークリーナーおすすめ10選）で使い回す場合は、
   このブロックの2行だけ変更すればOKです。他のCSSは一切触らなくて大丈夫です。

   --bg      … ページ全体の背景色（ベースの暗色）
   --accent  … ターコイズ／シアン系のメインアクセントカラー
               （見出しの強調、バッジ、ボタン、リンクの下線などに使用）

   テーマ別サンプル：
     水冷式レーザー溶接機   → --bg: #0D1216;  --accent: #00D8E6;（現在の設定）
     レーザークリーナー     → --bg: #0D1216;  --accent: #00E8A0;（緑寄りターコイズ）
     レーザーマーカー       → --bg: #10131A;  --accent: #29B6FF;（青寄りターコイズ）

   --accent-2（スパーク用のオレンジ）と --accent-dim（アクセントの暗色版）は
   --accent を変えた後、必要であれば下記で微調整してください。
   ========================================================================== */
:root{
  --bg: #0D1216;             /* ← テーマごとに変更：ページ背景色 */
  --accent: #00C88A;         /* ← テーマごとに変更：ターコイズ系アクセントカラー */
  --accent-2: #FF6A1A;       /* オレンジ（差し色。基本は共通でOK） */
  --accent-3: #00D8E6;       /* 緑寄りターコイズ（差し色。基本は共通でOK） */	
  --accent-dim: #0A3A40;     /* accentの暗いバリエーション（バッジの枠線などに使用） */

  /* ---- 以下は基本的に共通トークン（テーマが変わっても触らなくてよい） ---- */
  --bg-panel: #12181D;
  --surface: #1A2229;
  --surface-2: #20292F;
  --steel: #33414A;
  --line: rgba(255,255,255,0.5);
  --line:#d7dadd;
  --line-dark:#3a4046;	
  --text: #EDF2F4;
  --text-dim: #B7C4CA;
  --text-faint: #6C7A82;
  --text-dark:#181b1e;	
  --radius-s: 3px;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-num: 'Oswald', sans-serif;
  --danger:#c81e2c;	
  --paper:#eef0f0;
  --text-mid:#565d63;
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 24px; }
::selection{ background: var(--accent); color:#00171A; }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* ---------------- Header ---------------- */
header.nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(13,18,22,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 24px; max-width:1080px; margin:0 auto;

}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{
  width:28px; height:28px; position:relative;
}
.brand-mark::before{
  content:''; position:absolute; top:2px; left:2px;
  width:14px; height:14px; border:1.6px solid var(--accent); border-radius:50%;
}
.brand-mark::after{
  content:''; position:absolute; top:15px; left:15px;
  width:9px; height:1.6px; background: var(--accent);
  transform: rotate(45deg); transform-origin: left center;
}
.brand-name{ font-weight:700; font-size:16px; letter-spacing:.02em; }
.brand-name span{ color: var(--text-dim); font-weight:400; font-size:12px; display:block; margin-top:1px; }
.nav-cta{
  border:1px solid var(--accent); color: var(--accent);
  padding:9px 20px; font-size:13px; font-weight:700;
  transition: background .15s, color .15s;
}
.nav-cta:hover{ background: var(--accent); color:#00181B; }
.nav-cta:focus-visible, a:focus-visible, button:focus-visible{
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* ---------------- Hero ---------------- */
.hero{
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns: 1.15fr 0.85fr; gap:56px; align-items:center;
}
.hero-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-size:16px; color: var(--accent); font-weight:700;
  border:2px solid var(--accent); padding:5px 12px;
  margin-bottom:22px; letter-spacing:.03em;
}
.hero-tag::before{ content:''; width:6px; height:6px; background: var(--accent); }
.hero h1{
  font-size: 40px; font-weight:900; line-height:1.4; letter-spacing:-0.01em;
  margin-bottom:22px;
}
.hero h1 em{ font-style:normal; color: var(--accent); }
.hero p.lead{
  font-size:15px; color: var(--text); max-width: 46ch; margin-bottom:32px;
}
.hero-stats{ display:flex; gap:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.hero-stats div{
  flex:1; padding:18px 20px 0; border-left:1px solid var(--line); padding-bottom: 20px;
}
.hero-stats div:first-child{ border-left:none; padding-left:0; }
.hero-stats b{
  font-family: var(--font-num); font-size:26px; font-weight:600; color: var(--text);
  display:block;
}
.hero-stats b span{ font-size:14px; color: var(--accent); margin-left:2px; }
.hero-stats small{ font-size:12px; color: var(--text); }

.hero-art{ position:relative; height: 340px; }
.hero-art svg{ width:100%; height:100%; }

@media (max-width: 760px){
.hero-grid{
  display: block; 
	}
.hero-art{
  margin-top: 40px;	
	}
}

/* ---------- パンくず ---------- */
.breadcrumb ol{
  max-width: var(--maxw); margin: 0 auto; padding: 12px 16px;
  display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--text-sub);
  list-style-type: none;	
}
.breadcrumb li + li::before{ content: "›"; margin-right: 6px; }
.breadcrumb a:hover{ color: var(--accent); }

  /* ---------------- cm-section ---------------- */
  .cm-section{
    padding: 64px 0;
    border-top: 1px solid var(--line, rgba(255,255,255,0.09));
    border-bottom: 1px solid #BBB;
	background-color: #fff;
	  
  }
  .cm-head{ margin-bottom: 34px; max-width: 75ch; }
  .cm-head h2{
    display:flex; align-items:center; gap:10px;
    font-size:22px; font-weight:700;
    color: var(--accent);
  }
  .cm-head h2::before{
    content:''; width:14px; height:14px; flex-shrink:0;
    background: var(--accent, #00D8E6);
  }
  .cm-head p{
    color: var(--text-dim, #9FB0B8); font-size:15px; margin-top:10px;
  }

  .cm-grid{
    display:grid; grid-template-columns: repeat(3,1fr); gap:1px;
    background: var(--line, rgba(255,255,255,0.09));
    border: 1px solid var(--line, rgba(255,255,255,0.09));
    margin-bottom: 40px;
  }
  .cm-card{
    background: var(--bg-panel, #12181D);
    padding: 28px 26px 30px;
    display:flex; flex-direction:column;
  }
  .cm-card .ic{
    width:30px; height:30px; color: var(--accent, #00D8E6);
    margin-bottom:18px;
  }
  .cm-card h3{
    font-size:16px; font-weight:700; margin-bottom:10px;
    color: var(--text, #EDF2F4);
  }
  .cm-card p{
    font-size:13px; color: #F8F8F8;
    margin-bottom: 20px;
  }
  .cm-card .cm-fit{
    margin-top:auto;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
  }
  .cm-card .cm-fit-label{
    font-size:11px; font-weight:700; letter-spacing:.03em;
    color: var(--accent, #00D8E6);
    margin-bottom: 6px;
  }
  .cm-card .cm-fit-text{
    font-size:12.5px; color: var(--text-dim, #9FB0B8); line-height:1.7;
  }

  /* ---------------- 比較表（既存 .compare table と同じ見た目） ---------------- */
  .cm-compare-wrap{
    overflow-x:auto;
    border: 1px solid var(--line, rgba(255,255,255,0.09));
  }
  .cm-compare-wrap table{
    width:100%; min-width: 560px; border-collapse: collapse; font-size:13px;
  }
  .cm-compare-wrap th, .cm-compare-wrap td{
    text-align:left; padding: 13px 16px;
    border-bottom: 1px solid var(--line, rgba(255,255,255,0.59));
  }
  .cm-compare-wrap thead th{
    color: #FFFFFF;
	font-weight:500; font-size:13px;
    border-bottom: 1px solid var(--steel, #33414A);
    background: var(--bg-panel, #12181D);
  }
  .cm-compare-wrap thead th:not(:first-child){ text-align:center; }
  .cm-compare-wrap tbody th{
    font-weight:700; color: var(--text, #EDF2F4);
    background: var(--bg-panel, #12181D);
    white-space:nowrap;	  
  }
  .cm-compare-wrap tbody td{ text-align:center; border: 1px solid #333;}
/*  .cm-compare-wrap tbody tr:hover{ background: var(--bg-panel, #12181D); }*/

  .cm-stars{ display:inline-flex; gap:2px; letter-spacing:0; }
  .cm-stars .star{ font-size:14px; line-height:1; color: #fff;                      /* 中を白に */
  -webkit-text-stroke: 1px #000;    /* 外枠を黒に */
  paint-order: stroke fill;         /* 縁取りを先に描いて潰れを防ぐ */ }
  .cm-stars .star.filled{ color: var(--accent, #00D8E6); }

  @media (max-width: 760px){
    .cm-grid{ grid-template-columns: 1fr; }
  }

/* ---------------- Criteria ---------------- */
.criteria{
  padding: 56px 0; border-bottom: 1px solid #BBB;
  background-color: #FFFFFF;
}
.criteria-head{ margin-bottom: 34px; }
.criteria-head h2{ font-size:22px; font-weight:700; color: var(--accent)}
.criteria-head p{ color: var(--text-dim); font-size:15px; margin-top:8px; }
.criteria-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap:1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}
.criteria-item{
  background: var(--bg-panel); padding: 28px 26px;
}
.criteria-item .ic{ width:30px; height:30px; color: var(--accent); margin-bottom:18px; }
.criteria-item h3{ font-size:17px; font-weight:700; margin-bottom:10px; }
.criteria-item p{ font-size:13px; color: #EFEFEF; }

table {

}

th,td {
  border: 1px solid rgb(160 160 160);
  width: 350px;
}


/* ---------------- Ranking ---------------- */
.ranking{ padding: 64px 0 40px; background: linear-gradient(180deg, rgb(255, 255, 255), rgb(20, 55, 90));}
.section-head{ margin-bottom: 40px; max-width: 85ch; }
.section-head h2{ font-size:26px; font-weight:900; margin-bottom:12px; color: var(--accent);}
.section-head p{ color: var(--text-dim); font-size:15px; }

.rank-list{ display:flex; flex-direction:column; gap:16px; }

/* 全10項目で共通のレイアウト・サイズに統一
   （画像/ロゴ枠は掲載許諾の問題があるため廃止。1位も他と同じ大きさ・同じ配色） */
.ranking-item{
  display:grid; grid-template-columns: 64px 1fr; gap:0;
  background: var(--bg-panel);
  border:1px solid var(--line);
}
.rank-num{
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-num); font-weight:600; font-size:22px;
  background: var(--surface); color: var(--accent);
  border-right: 1px solid var(--line);
}

.item-body{ padding: 22px 26px; }
.item-top{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  margin-bottom: 10px; flex-wrap:wrap;
}
.item-name h3{ font-size:18px; font-weight:700; }
.item-name .model{
  font-family: var(--font-num); font-size:13px; color: var(--accent);
  margin-top:4px; font-weight:500; letter-spacing:.02em;
}
.badges{ display:flex; gap:6px; flex-wrap:wrap; }
.badge{
  font-size:11px; font-weight:700; padding:4px 9px;
  border:1px solid var(--steel); color: var(--text-dim);
  display:flex; align-items:center; gap:4px; white-space:nowrap;
}
.badge.cool{ border-color: var(--accent-dim); color: var(--accent); }
.badge.cool svg{ width:11px; height:11px; }

.item-desc{
  font-size:13px; color: var(--text-dim);
  border-left: 2px solid var(--line);
  padding-left: 14px; margin: 14px 0 16px;
  min-height: 40px;
}
.item-desc .placeholder{ color: #EFEFEF;  }

.item-foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.spec-mini{ display:flex; gap:18px; font-size:12px; color: var(--text-faint); flex-wrap:wrap; }
.spec-mini b{ color: var(--text-dim); font-weight:500; }

.cta-link{
  font-size:13px; font-weight:700; color: var(--text);
  border-bottom: 1px solid var(--accent); padding-bottom:2px;
  white-space:nowrap; flex-shrink:0;
}
.cta-link:hover{ color: var(--accent); }

@media (max-width: 560px){
  .ranking-item{ grid-template-columns: 48px 1fr; }
  .rank-num{ font-size:18px; }
  .item-body{ padding: 18px 18px; }
}

/* ---------------- Compare table ---------------- */
.compare{ padding: 72px 0; border-top:1px solid var(--line); background: rgb(20, 55, 90);}
.compare table{ width:100%; border-collapse: collapse; font-size:13px; }
.compare th, .compare td{
  text-align:left; padding: 13px 16px; border-bottom:1px solid var(--line);
}
.compare thead th{
  color: var(--text-faint); font-weight:500; font-size:11px;
  border-bottom: 1px solid var(--steel);
}
.compare tbody tr:hover{ background: var(--bg-panel); }
.compare td.name{ font-weight:700; }
.compare td.model{ font-family: var(--font-num); color: var(--accent); font-size:12px; }
.compare-wrap{ overflow-x:auto; border:1px solid var(--line); }
.compare-wrap table{ min-width: 720px; }

/* ---------------- Own product (自社製品) ----------------
   ランキング10社の"客観的な比較"のすぐ下に置く、自社製品だけの紹介枠。
   他の10社パネルとは意図的に見た目を変え（アクセントカラーの縁取り＋写真あり）、
   ここから問い合わせに繋げる導線にする。
   ※ 他社の製品写真は著作権の問題で掲載していないが、ここは自社の写真なので
     .own-photo を <img> に差し替えて問題ない。
------------------------------------------------------------ */
.own-product{
  padding: 72px 0; border-top:1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,216,230,0.05), transparent 50%);
}
.own-inner{
  display:grid; grid-template-columns: 340px 1fr; gap: 48px;
  border: 1px solid var(--accent);
  padding: 40px;
  /* ランキング項目と同じフェードイン演出（script.js と連動） */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.own-inner.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .own-inner{ opacity:1; transform:none; transition:none; }
}
/* ---- 画像スライダー（矢印送り） ---- */
.own-photo-slider{
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  margin-bottom: 20px;
}
.own-photo-track{
  display: flex;
  height: 100%;
  transition: transform .4s ease;
  /* JSが transform: translateX(-n * 100%) をここに設定してスライドを切り替える */
}
.own-photo-slide{
  flex: 0 0 100%;
  height: 100%;
}
.own-photo-slide img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.slider-btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  background: rgba(13,18,22,0.7);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.slider-btn:hover{ background: var(--accent); color:#00181B; border-color: var(--accent); }
.slider-btn.prev{ left: 10px; }
.slider-btn.next{ right: 10px; }
.slider-btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }

.slider-dots{
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.slider-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; padding: 0; cursor: pointer;
}
.slider-dot.active{ background: var(--accent); width:16px; border-radius: 3px; transition: width .2s ease; }

.own-specs{ list-style:none; }
.own-specs li{
  display:flex; justify-content:space-between; align-items:baseline;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size:13px;
}
.own-specs li:first-child{ padding-top:0; }
.own-specs span{ color: var(--text-faint); }
.own-specs b{ font-family: var(--font-num); color: var(--text); font-weight:600; }

.own-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; color: var(--accent); font-weight:700;
  border:1px solid var(--accent-dim); padding:5px 12px;
  margin-bottom:18px; letter-spacing:.03em;
}
.own-tag::before{ content:''; width:6px; height:6px; background: var(--accent); }
.own-body h2{ font-size:26px; font-weight:900; margin-bottom:16px; }
.own-lead{ font-size:14px; color: var(--text-dim); margin-bottom:22px; }

.own-features{ list-style:none; margin-bottom:26px; }
.own-features li{
  position:relative; padding-left:24px; margin-bottom:10px;
  font-size:14px; color: var(--text);
}
.own-features li::before{
  content:''; position:absolute; left:0; top:7px;
  width:10px; height:6px;
  border-left:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---- 注目ポイント（強調ボックス） ---- */
.own-highlight{
  position: relative;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, rgba(0,216,230,0.44), rgba(0,216,230,0.44) 70%);
  padding: 18px 22px 18px 26px;
  margin-bottom: 28px;
}
.own-highlight::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:4px;
  background: var(--accent);
}
.own-highlight-tag{
  display:flex; align-items:center; gap:6px;
  font-size:13px; font-weight:700; color: var(--accent);
  margin-bottom:8px;
}
.own-highlight-tag svg{ width:15px; height:15px; }
.own-highlight p{ font-size:14px; color: var(--text); line-height:1.7; }

.own-cta{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }

@media (max-width: 760px){
  .own-inner{ grid-template-columns: 1fr; padding: 24px; }
}


/* ---------------- Footer CTA ---------------- */
.cta-band{
  padding: 80px 0; text-align:center; border-top:1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, rgba(0,216,230,0.08), transparent 60%);
}
.cta-band h2{ font-size:26px; font-weight:900; margin-bottom:14px; }
.cta-band p{ color: var(--text-dim); font-size:14px; margin-bottom:30px; }
.btn-primary{
  display:inline-block; background: var(--accent); color:#00181B;
  font-weight:700; font-size:14px; padding:15px 40px;
  border:1px solid var(--accent);
}
.btn-primary:hover{ background: transparent; color: var(--accent); }

footer.site-footer{
  border-top:1px solid var(--line); padding: 28px 0; text-align:center;
}
footer.site-footer p{ font-size:11px; color: var(--text-faint); }

/* ---------------- Scroll state (added via script.js) ---------------- */
header.nav.is-scrolled{
  border-bottom-color: var(--steel);
}

/* ---------------- Ranking item fade-in (script.js と連動) ---------------- */
.ranking-item{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.ranking-item.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .ranking-item{ opacity:1; transform:none; transition:none; }
}

/* ---------- cta / contact ---------- */
.cta{  background: linear-gradient(180deg, rgba(0,216,230,0.05), transparent 50%); color:#fff; padding:70px 0; text-align:center;}
.cta h2{font-family:var(--jp); font-weight:900; font-size:clamp(24px,3.4vw,32px); margin-bottom:16px;}
.cta p{color:#fff; font-size:14.5px; max-width:760px; margin:0 auto 32px;}
.cta .btn-primary{background:var(--ink); box-shadow:none;}
.cta .btn-ghost{border-color:rgba(255,255,255,.5);}

/* ---------- contact form (CLIP-MAIL) ---------- */
.contact-form{
  margin:52px auto 0;
  max-width:840px;
  background:#fff;
  color:var(--text-dark);
  border-radius:4px;
  padding:38px 36px 34px;
  text-align:left;
  box-shadow:0 24px 60px -24px rgba(0,0,0,.45);
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 26px;
}
.form-field-wide{grid-column:1 / -1;}
.form-field label{
  display:flex; align-items:center; gap:9px;
  font-family:var(--display); font-weight:700; letter-spacing:.05em; font-size:13px;
  color:var(--text-dark); margin-bottom:9px; text-transform:uppercase;
}
.req, .opt{
  font-family:var(--jp); font-size:11px; font-weight:700; letter-spacing:.02em;
  padding:2px 8px; border-radius:2px; text-transform:none;
}
.req{background:var(--danger); color:#fff;}
.opt{background:var(--paper); color:var(--text-mid); border:1px solid var(--line);}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:2px;
  font-family:var(--jp);
  font-size:14.5px;
  color:var(--text-dark);
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.form-field select{appearance:auto;}
.form-field textarea{resize:vertical; line-height:1.8;}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline:none;
  border-color:var(--danger);
  box-shadow:0 0 0 3px rgba(200,30,44,.15);
}
.form-field input::placeholder, .form-field textarea::placeholder{color:#a8adb2;}

.form-submit{margin-top:32px; text-align:center;}
/*.form-submit .btn-primary{box-shadow:0 8px 24px -8px rgba(200,30,44,.5);}*/
.form-note{margin-top:14px; font-size:12px; color:var(--text-mid);}

@media (max-width:700px){
  .form-grid{grid-template-columns:1fr;}
  .contact-form{padding:28px 20px 26px;}
}