@charset "UTF-8";
/* =========================================================
   top.css
   旋盤用ダイヤモンド＆ローラーバニシングツール TOPページ
   新規クラス（最小限）— レイアウト設計のみに集中
   - 既存スタイルガイド（all.scss / ani.scss）をベースに、
     TOPページで必要なレイアウト用クラスだけを定義する
   - 装飾は既存クラス（tit2 / tit3 / text / btn 等）に委ねる
   - 768px以下でスマホ表示に切り替え
   ========================================================= */

/* ---------- メイン領域（PC幅 最大840px） ---------- */
.top-main {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 2rem 1.6rem;
  box-sizing: border-box;
}

/* ---------- セクション間の余白 ---------- */
.top-fv,
.top-overview,
.top-products,
.top-cta {
  margin-bottom: 5rem;
}

/* =========================================================
   セクション1：ファーストビュー
   ========================================================= */
.top-fv__head {
  margin-bottom: 2rem;
}
.top-fv__visual {
  margin: 0;
}

/* =========================================================
   セクション3：製品群（カードレイアウト）
   ========================================================= */
.top-group + .top-group {
  margin-top: 4rem;
}
.top-group__head {
  margin-bottom: 1.6rem;
}

/* カード一覧：CSS Grid で 1カラム / 2カラムを切替 */
.top-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
.top-cards--1col { grid-template-columns: 1fr; }
.top-cards--2col { grid-template-columns: repeat(2, 1fr); }
/* 1件のみのカードでも2カラム時の幅で左寄せ表示する */
.top-cards--half {
  grid-template-columns: repeat(2, 1fr);
  justify-items: start;
}
.top-cards--half > .top-card {
  width: 100%;
}

/* 個別カード（装飾強化版） */
.top-card {
  list-style: none;
  position: relative;
}
.top-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-top: 3px solid #CA1548; /* サイトメインアクセント */
  box-shadow: 2px 2px 6px -2px rgba(60,60,80,.18);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.top-card__link:hover {
  box-shadow: 6px 6px 12px -3px rgba(60,60,80,.28);
  transform: translateY(-3px);
}
.top-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}
.top-card__media::after {
  /* 写真上の薄いグラデで質感を上げる */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.08) 100%);
  pointer-events: none;
}
.top-card__body {
  padding: 1.4rem 1.6rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.top-card__title {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin: 0;
  padding-bottom: .6rem;
  border-bottom: 1px dotted #c9ced6;
}
.top-card__desc {
  font-size: 1.4rem;
  line-height: 2.3rem;
  color: #444;
  margin: 0;
  flex: 1;
}
/* カード末尾の遷移ヒント（›マーク） */
.top-card__link::after {
  content: "詳しく見る ›";
  display: block;
  margin: 0 1.6rem 1.4rem;
  padding-top: .6rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #CA1548;
  letter-spacing: .04em;
  text-align: right;
  transition: transform .25s;
}
.top-card__link:hover::after { transform: translateX(4px); }
.top-card__link--text::after { display: none; }

/* 技術情報用：画像なし・テキストのみリンクカード */
.top-card--text .top-card__link--text {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  gap: 1rem;
}
.top-card--text .top-card__title {
  font-size: 1.8rem;
}
.top-card__more {
  flex-shrink: 0;
  color: #5673ad;
  font-size: 1.4rem;
}

/* =========================================================
   汎用：画像プレースホルダー（実画像差し替え前の枠）
   ========================================================= */
.top-placeholder {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg, #eef0f4 0 8px, #e4e7ec 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem;
  word-break: break-all;
}
.top-placeholder--hero {
  aspect-ratio: 16 / 7;
}
.catalog-placeholder {
  width: 72%;
  height: 100%;
  margin-left:40px;
  background:
    repeating-linear-gradient(45deg, #eef0f4 0 8px, #e4e7ec 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem;
  word-break: break-all;
}
/* =========================================================
   セクション4：CTA
   ========================================================= */
.top-cta__btns {
  justify-content: center;
  margin-top: 1.5rem;
}

/* =========================================================
   レスポンシブ：768px以下でスマホ表示
   - 2カラム → 1カラム積み
   - メイン左右パディング縮小
   ========================================================= */
@media screen and (max-width: 768px) {
  .top-main {
    padding: 1.5rem 1.2rem;
  }
  .top-cards--2col,
  .top-cards--half {
    grid-template-columns: 1fr;
  }
  .top-card--text .top-card__link--text {
    padding: 1.4rem 1.4rem;
  }
  .top-cta__btns .btn {
    width: 100%;
    margin: .3rem 0;
  }
}




/* =========================================================
   site-base.css
   既存スタイルガイド（all.scss / ani.scss）から
   このTOPページで使用しているクラスのみを抜粋した検証用CSS
   本番ではサイト共通のCSSに置き換えてください
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.7;
}

/* sp ベース（rem基準を10pxにするための62.5%） */
.sp { font-size: 62.5%; }
.sp * { font-size: inherit; }

/* ----- 見出し ----- */
.sp .tit2 {
  position: relative;
  padding: .5em 0;
  margin-bottom: 2rem;
  font-size: 3.0rem;
  text-shadow: 1px 1px 2px #938f90;
}
.sp .tit2::after {
  position: absolute; left: 0; bottom: 0; content: '';
  width: 100%; height: 6px; box-sizing: border-box;
  border-top: 1px solid #ccc; border-bottom: 2px solid #bbb;
}
.sp .tit3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px dotted #9fb5cb;
  display: block;
}
.sp .tit4 {
  font-size: 2.0rem;
  color: #333333;
}
.sp .tit_cen {
  display: flex; justify-content: center; align-items: center;
  text-align: center; font-size: 2rem; margin: 1rem 0;
}
.sp .tit_cen::before, .sp .tit_cen::after {
  content: ''; width: 70px; height: 3px; background-color: #1f93ad;
}
.sp .tit_cen::before { margin-right: 20px; }
.sp .tit_cen::after { margin-left: 20px; }

.sp .tit-bgen {
  position: relative;
  padding-top: 30px;
  margin-bottom: .5em;
  font-size: 3.2rem;
  border-bottom: 1px solid rgba(22,54,82,1);
  display: block;
}
.sp .tit-bgen span {
  position: absolute; display: block; top: 5px; left: 0;
  color: rgba(5,62,98,.2);
  font-size: 3.4rem;
}

/* ----- テキスト ----- */
.sp .text { line-height: 3.22rem; font-size: 1.5rem; }
.sp p.text { margin-bottom: 2.6rem; }
.sp .catchcopy { margin-bottom: 1.5rem; line-height: 2.8rem; font-size: 1.6rem; }

/* ----- ボタン ----- */
.sp .btn, .sp a.btn {
  position: relative; display: inline-block;
  font-size: 1.6rem; font-weight: 700; line-height: 1.5;
  padding: 1rem 4rem; cursor: pointer; transition: all .3s;
  text-align: center; vertical-align: middle; text-decoration: none;
  letter-spacing: .1em; color: #fff; border-radius: .5rem; margin: .3rem;
}
.sp a.btn--cubic { border-bottom: 5px solid #0a3843; background-color: #1f93ad; }
.sp a.btn--shadow { box-shadow: 0 3px 5px rgba(0,0,0,.3); background-color: #CA1548; }

/* ----- ボタンエリア ----- */
.sp .btnArea_c {
  width: 100%; clear: both; max-width: 1200px; margin: 0 auto;
  padding: 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem;
}

/* ----- マージン補助 ----- */
.sp .spt1 { margin-top: 1em; }
.sp .spt  { margin-top: 2.5em; }
.sp .spd2 { margin-bottom: 2em; }

/* ----- リンク矢印 ----- */
.sp .arrow {
  position: relative; display: inline-block;
  padding-left: 16px; font-size: 1.5rem;
}
.sp .linkIcon::before {
  position: absolute; left: 3px; top: .45em;
  width: 4px; height: 4px;
  border-top: 2px solid #5767FF; border-right: 2px solid #5767FF;
  transform: rotate(45deg); content: "";
}
/* ----- list_nomal（丸ポイントUL） ----- */
.sp ul.list_nomal { text-align: left; margin: 1.5rem 0; list-style: none; padding: 0; }
.sp ul.list_nomal li {
  list-style: none; line-height: 2.7rem;
  padding-left: 1.3rem; margin-left: 1rem; margin-bottom: .8rem;
  position: relative; font-size: 1.5rem;
}
.list_arrow{font-size: 1.5rem;}

.sp ul.list_nomal.spl,.sp ul.list_arrow.spl {
    margin-left: 2.5rem;
}


.sp ul.list_nomal li::before {
  content: ""; position: absolute; top: .6em; left: -3px;
  width: 7px; height: 7px; background: #CA1548; border-radius: 50%;
}

/* ----- table_list ----- */
.sp .table_list {
  width: 100%; margin-bottom: 2rem; text-align: center;
  border-collapse: collapse; font-size: 1.5rem;
}
.sp .table_list th { border: 1px solid #888; padding: .5em; background-color: #bbb; }
.sp .table_list td { border: 1px solid #888; padding: .5em; vertical-align: top; }

/* ----- 横スクロールラッパ ----- */
.sp .t_scroll { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; }

.sp .t_scroll {
        border-right: 1px solid #fff;
    }

/* ----- imgtxt（画像下キャプション） ----- */
.sp .imgtxt {
  line-height: 1.5em; font-size: 1.3rem;
  margin-top: .5rem; color: #6f759d;
}

/* ----- ol.ol_item（丸番号） ----- */
.sp ol.ol_item {
  counter-reset: item; list-style-type: none; padding-left: 0; margin-top: 1em;
}
.sp ol.ol_item .tit,
.sp ol.ol_nomal .tit {
  font-weight: bold; color: #111; font-size: 1.8rem; line-height: 2.7rem;
}
.sp ol.ol_item li {
  margin-bottom: 1.6rem; display: flex; align-items: flex-start;
  gap: 10px; font-size: 1.5rem;
}
.sp ol.ol_item li::before {
  counter-increment: item; content: counter(item);
  font-size: 1.6rem; color: #fff; font-weight: 700;
  background-color: #FFA500;
  min-width: 30px; height: 30px; border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  line-height: 1; flex-shrink: 0;
}

.demo-yes {
  color: #e4005a;
  font-weight: bold;
}

/* ネストされた list_nomal の余白調整 */
.sp ul.list_nomal .detail-nest{
  margin-top:0;
 li::before {background:#af3054; top: .7em; width:5px !important; height: 5px !important;}
}
.sp ul.list_nomal li{margin-bottom: 1.2rem !important; }
.spec .tit {font-size: 1.6rem;}

@media screen and (max-width: 600px) {
    .spec table td {
        padding: .625em .625em .625em 6em;
    }
}

.lp-cta{background:linear-gradient(135deg,#b0143f 0%,#a7103b 100%);color:#fff;padding:3rem 2rem;text-align:center;margin:8rem auto 0;}
.lp-cta .tit{font-size:2.4rem;font-weight:700;margin-bottom:1rem;color:#fff;}
.lp-cta p{font-size:1.5rem;margin-bottom:1.8rem;line-height:1.8;opacity:.95;}
.lp-cta__btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;}
.lp-cta__btns a{display:inline-block;background:#fff;color:#CA1548;padding:1.2rem 2.5rem;font-size:1.6rem;font-weight:700;text-decoration:none;border-radius:.4rem;transition:.2s;min-width:240px;}
.lp-cta__btns a.secondary{background:transparent;color:#fff;border:2px solid #fff;}
.lp-cta__btns a:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.2);}