/* ========================================
  リセット & 基本設定
  全要素のボックスモデルを統一し、
  ベースフォント・カラーを定義
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main a{
	text-decoration: none;
	color:#FFF;
}

.pc{
	display: none;
}
.sp{
	display: inline;
}
:root {
  /* ========================================
    カラーパレット（変更）
    暗いサイバー系 → 明るく清潔感のある未来感
    白・ライトグレー・スカイブルー・ミント系
  ======================================== */
  --color-bg: #fff;           /* メイン背景： */
  --color-bg-2: #ffffff;         /* セクション背景：白 */
  --color-bg-3: #e8f2ff;         /* カード背景：薄いブルー */
  --color-accent: #0099cc;       /* メインアクセント：クリアブルー */
  --color-accent-2: #00c9a7;     /* サブアクセント：ミントグリーン */
  --color-accent-light: #e0f7ff; /* アクセントの薄い版 */
  --color-accent-glow: rgba(0, 153, 204, 0.15);
  --color-text-muted: #5a7a94;   /* サブテキスト：グレーブルー */
  --color-border: rgba(0, 153, 204, 0.2);
  --color-white: #ffffff;


  /* スペーシング */
  --section-padding: 30px 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}


/* ========================================
  共通ボタン
======================================== */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--color-accent);
  border-radius: 50px; /* 変更：角丸を大きくしてポップ＆未来感に */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, color 0.3s, transform 0.2s;
}

/* プライマリボタン：ブルー塗り */
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background: #007aaa; /* 変更：ホバーで少し暗く */
  box-shadow: 0 6px 24px var(--color-accent-glow);
  transform: translateY(-2px);
}

/* 大サイズ */
.btn--large {
  padding: 16px 48px;
  font-size: 16px;
}


/* ========================================
  共通セクション構造
======================================== */

.section__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--section-padding);
}

/* セクションラベル（英字小見出し） */
.section__label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-accent-2); /* 変更：ミントグリーンに */
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

/* セクションタイトル（日本語大見出し） */
.section__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 16px;
}

/* タイトル下のアクセントライン（変更：グラデーションをミント→ブルーに） */
.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent-2), var(--color-accent));
}


/* ========================================
  ヒーローセクション（変更）
  暗背景 → 明るいグラデーション背景に
======================================== */

.hero{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
	  min-height: 40vh;
  /* 背景グラデーション（最背面） */
  background:
    radial-gradient(ellipse 70% 60% at 80% 70%, rgba(0, 201, 167, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(0, 153, 204, 0.10) 0%, transparent 60%),
    linear-gradient(160deg, #ffffff 0%, #e8f4ff 50%, #d8f0fc 100%);
}

/* 透かし画像（グラデーションの上 / グリッドの下でも上でもOK） */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1; /* グラデの上。グリッドより下にしたいなら .hero__deco を z-index:2 に */
  pointer-events:none;
  background-image: url("../img/hero_bg.jpg"); /* ここを差し替え */
  background-repeat: no-repeat;
  background-position: 130% 100%;
  background-size: min(300px, 90vw);
  opacity: 0.5;              /* 透かしの濃さ */
  mix-blend-mode: multiply;   /* なじませる（不要なら削除） */
  filter: saturate(0.9);      /* 任意 */
}

/* 中身 */
.hero__inner{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 16px;
  position: relative;
  z-index: 3; /* 透かし/グリッドより前 */
}

.hero__eyecatch{
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #d63332;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero__title{
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero__sub{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  font-size: 22px;
  color: var(--color-accent);
  line-height: 1.8;
  margin-bottom: 0;
}

/* 背景装飾：グリッド（透かしの上に出したいので z-index を上げる） */
.hero__deco{
  position:absolute;
  inset:0;
  z-index: 2;
  pointer-events:none;

  background-image:
    linear-gradient(rgba(0, 153, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 204, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;

  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.intro{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	text-align: center;
	font-size: 1.2em;
	margin: 30px auto 20px;
	color: var(--color-text);
}

.logo{
	display: block;
	margin: 0 auto;
	width: 150px;
}

/* ========================================
  従来品との比較セクション（変更）
  暗背景 → 白背景に
======================================== */

.compare {
  background-color: var(--color-bg-2); /* 変更：白 */
}

.compare__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* 各カード（変更：暗グレー → 白・薄ブルー） */
.compare__card {
  width: 100%;
  padding: 28px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: 12px; /* 変更：角丸を大きく */
  background: #f7f7f7; /* 変更：薄いブルー */
  text-align: center;
  position: relative;
}

.compare__card-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.compare__card--old .compare__card-label {
  color: var(--color-text-muted);
}

.compare__card--new .compare__card-label {
  color: var(--color-accent);
}

/* ONAIL カードの強調枠（変更：発光 → クリーンな影） */
.compare__card--new {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 8px 32px var(--color-accent-glow);
}
.compare__card img{
	display: block;
	margin: 0 auto;
	width: 80%;
}

.compare__desc {
  font-size: 15px;
  margin-bottom: 6px;
}

.compare__note {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* 矢印（変更：シアン → アクセントブルー） */
.compare__arrow {
  font-size: 28px;
  color: var(--color-accent);
  opacity: 0.7;
  transform: rotate(90deg);
}

/* ========================================
  製品紹介セクション
======================================== */
.flex_product_img{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	gap:20px;
	width: 100%;
	margin: 0 auto;
}
.flex_product_img img{
	display: block;
	width: calc(50% - 20px)
}


/* ========================================
  3つのポイントセクション（変更）
  暗背景 → アイスブルー背景に
======================================== */

.points {
  background-color: var(--color-bg); /* 変更：アイスブルー */
}

.points__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ポイントカード（変更：暗グレー → 白カードに） */
.point__card {
  background: var(--color-white); /* 変更：白 */
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.point__card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px var(--color-accent-glow);
  transform: translateY(-4px); /* 変更：ホバーで浮き上がる */
}

/* カード左上の装飾（変更：暗い発光 → 薄いミント） */
.point__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.1), transparent 70%);
}

/* POINT番号 */
.point__number {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.point__number span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-accent-2); /* 変更：ミントグリーン */
  font-weight: 700;
}

.point__number strong {
  font-size: 32px;
  font-weight: 900;
  color: rgba(0, 153, 204, 0.15); /* 変更：薄いブルー */
  line-height: 1;
}

.main h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text); /* 変更：白 → 濃紺 */
  margin-bottom: 10px;
	margin-top: 0;
	margin-left: 0px;
  letter-spacing: 0.04em;
	background-color: #FFF;
	border: none;
	padding: 0;
}

.point__text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ========================================
  動画セクション
======================================== */
.box-movie{
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
}
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"] {
width: 100%;
aspect-ratio: 16 / 9;
height: auto;
display: block;
}

/* ========================================
  タイマー表セクション
======================================== */

.timer {
  background-color: var(--color-bg-2);
}

.timer__blocks-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timer__block {
  width: 100%;
}

.timer__mode-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.timer__mode-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 4px;
}


/* ----------------------------------------
  テーブル本体
  !important でbase.cssの指定をすべて上書き
---------------------------------------- */

.timer__table-wrap {
  overflow-x: auto;
}

.timer__table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
  display: table !important;
  table-layout: fixed !important;
}

.timer__table thead {
  display: table-header-group !important;
}

.timer__table tbody {
  display: table-row-group !important;
}

.timer__table tr {
  display: table-row !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  width: auto !important;
}

.timer__table th,
.timer__table td {
  display: table-cell !important;
  width: auto !important;
  float: none !important;
  padding: 10px 14px !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text) !important;
  vertical-align: middle !important;
  text-align: left !important;
  box-sizing: border-box !important;
  /* base.cssでbefore/afterに内容を挿入している場合の対策 */
  flex: unset !important;
  position: static !important;
}

/* before/afterで「ラベル」を挿入するbase.cssへの対策 */
.timer__table td::before,
.timer__table th::before {
  content: none !important;
  display: none !important;
}

.timer__table td::after,
.timer__table th::after {
  content: none !important;
  display: none !important;
}

/* 左列（ボタン名）*/
.timer__table th:first-child,
.timer__table td:first-child {
  width: 70% !important;
}

/* 右列（タイマー値）*/
.timer__table th:last-child,
.timer__table td:last-child {
  width: 30% !important;
}

/* ヘッダー行 */
.timer__table thead th {
  background-color: var(--color-bg-3) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}




/* ========================================
  販売商品・付属品セクション（変更）
  暗背景 → アイスブルー背景に
======================================== */

.products {
  background-color: var(--color-bg); /* 変更：アイスブルー */
}

.products__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: var(--color-white); /* 変更：白 */
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.products__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text); /* 変更：白 → 濃紺 */
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.products__text p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 2;
}


/* ========================================
  CTAセクション（変更）
  暗背景 → グラデーション（ブルー→ミント）に
======================================== */

.cta {
  /* 変更：爽やかな斜めグラデーション */
  background: linear-gradient(135deg, #0099cc 0%, #00c9a7 100%);
  border-top: none;
}

.cta__inner {
  text-align: center;
}

/* 変更：白いキャッチコピー（背景が明るいため映える） */
.cta__catch {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.6;
	margin: 30px auto;
  letter-spacing: 0.04em;
	text-align: center;
}

/* CTAセクション内のボタン（変更：白抜きボタンに） */
.cta .btn--primary {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
}

.cta .btn--primary:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}




/* ========================================
  レスポンシブ：タブレット・PC
  画面幅 820px 以上
======================================== */

@media (min-width: 820px) {

  /* --- 共通 --- */
.pc{
	display: inline;
}
.sp{
	display: none;
}
  :root {
    --section-padding: 30px 40px;
  }

  .section__title {
    font-size: 28px;
  }


  /* --- ヒーロー --- */
.hero{
	  padding-top: 70px;
	  min-height: 52vh;
	}
	
  .hero::before{
    background-position: 100% 50%;
    background-size: 640px;
  }
	
  .hero__title {
    font-size: 60px;
  }

  .hero__sub {
    font-size: 22px;
  }

.intro{
	font-size: 2em;
}
.logo{
	width: 200px;
}	
  /* --- 比較セクション --- */

  .compare__grid {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .compare__card {
    flex: 1;
  }

  .compare__arrow {
    transform: rotate(0deg);
    display: flex;
    align-items: center;
    padding: 0 16px;
  }

/* --- 商品紹介セクション --- */
.flex_product_img{
	gap:20px;
	width: 80%;
}
.flex_product_img img{
	display: block;
	width: calc(50% - 20px)
}
  /* --- ポイントセクション --- */

  .points__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

	
 /* --- タイマースペックセクション --- */

  .timer__blocks-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .timer__block {
    flex: 1;
  }

  /* --- 販売商品 --- */

  .products__card {
    flex-direction: row;
    text-align: left;
    gap: 40px;
    padding: 30px;
  }

  .products__img {
    flex-shrink: 0;
    width: 300px;
  }


  /* --- CTA --- */

  .cta__catch {
    font-size: 32px;
  }


}
/* ========================================
  end of style.css
======================================== */