@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*
    Project: AC (Cooling Refugees / Portable Cooler Guide)
    Theme: Ice Tech & Silence
    Concept: "Spec & Survival"
    Version: 2.0.0 (Complete Edition)
*/

:root {
  /* --- Palette Definition --- */
  --ac-main: #00ACC1;       /* Main: テックシアン (冷却, 機能, 信頼) */
  --ac-main-dark: #00838F;  /* Main Dark: ホバー時, 強調 */
  --ac-accent: #546E7A;     /* Accent: メタルグレー (筐体, 静寂, ダクト) */
  --ac-alert: #D32F2F;      /* Alert: 警告レッド (騒音, 排熱漏れ, 設置不可) */
  --ac-bg-ice: #E0F7FA;     /* Bg: アイスブルー (背景, 冷却イメージ) */
  --ac-bg-alert: #FFEBEE;   /* Bg Alert: 警告背景 */
  --ac-bg-body: #FFFFFF;    /* Base: 純白 */
  
  /* --- Text Colors --- */
  --ac-text: #333333;       /* Body Text */
  --ac-text-sub: #607D8B;   /* Meta Text */
  --ac-text-white: #FFFFFF; /* Invert Text */

  /* --- Design Tokens --- */
  --ac-radius: 4px;         /* ガジェットライクな小さな角丸 */
  --ac-font-sans: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --ac-shadow: 0 4px 6px rgba(0, 172, 193, 0.15); /* 冷涼感のある影 */
  --ac-gradient: linear-gradient(135deg, #00ACC1 0%, #26C6DA 100%);
}

/* ==========================================================================
   1. Typography & Base Setting
   ========================================================================== */
body {
  color: var(--ac-text);
  font-family: var(--ac-font-sans);
  line-height: 1.8;
  letter-spacing: 0.05em; /* ガジェットブログらしい広めの字間 */
}

/* Link Styling */
a {
  color: var(--ac-main-dark);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.post_content a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* ==========================================================================
   2. Headings (見出し: 冷却フィン・プレート構造)
   ========================================================================== */

/* H2: 氷のプレート + 左側排熱フィン */
.post_content h2 {
  background: var(--ac-bg-ice);
  color: var(--ac-text);
  padding: 1em 1.2em;
  margin: 4em 0 2em;
  border: none;
  border-left: 6px solid var(--ac-main);
  border-radius: var(--ac-radius);
  font-size: 1.6em;
  font-weight: bold;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* H3: 下線 + 左マーカー (スペック詳細) */
.post_content h3 {
  color: var(--ac-text);
  padding: 0.5em 0.8em;
  border-bottom: 2px solid var(--ac-bg-ice);
  border-left: 4px solid var(--ac-accent);
  margin: 3em 0 1.5em;
  font-size: 1.3em;
  font-weight: bold;
}

/* H4: シンプルなテックテキスト */
.post_content h4 {
  font-size: 1.1em;
  margin: 2.5em 0 1em;
  padding-left: 0.8em;
  border-left: 3px solid #ddd;
  color: var(--ac-text-sub);
}

/* ==========================================================================
   3. UI Blocks (ガジェットスペック・レビュー用)
   ========================================================================== */
[class^="AC-box-"] {
  margin: 2.5em 0;
  padding: 1.5em;
  border-radius: var(--ac-radius);
  position: relative;
  background-color: #fff;
}
[class^="AC-box-"] .AC-box-title {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 3px 12px;
  margin-bottom: 1em;
  letter-spacing: 0.05em;
  border-radius: 2px;
  color: #fff;
  line-height: 1.5;
}
[class^="AC-box-"] p:last-child { margin-bottom: 0; }

/* --- A. 結論/チェック (.AC-box-check) --- */
.AC-box-check {
  border: 2px solid var(--ac-main);
  background-color: #faffff;
}
.AC-box-check .AC-box-title {
  background-color: var(--ac-main);
}
.AC-box-check::after {
  content: "\f00c"; /* FontAwesome Check */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5em;
  color: var(--ac-main);
  opacity: 0.15;
}

/* --- B. 警告/騒音リスク (.AC-box-alert) --- */
.AC-box-alert {
  border: 2px solid var(--ac-alert);
  background-color: var(--ac-bg-alert);
  color: #7f1d1d;
}
.AC-box-alert .AC-box-title {
  background-color: var(--ac-alert);
}
.AC-box-alert::before {
  content: "\f071"; /* Warning Icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5em;
  color: var(--ac-alert);
  font-size: 1.2em;
  vertical-align: middle;
}

/* --- C. スペックデータ/端子情報 (.AC-box-spec) --- */
/* ダークモード風コンソールスタイル */
.AC-box-spec {
  background-color: #263238; /* Blue Grey 900 */
  border: 1px solid var(--ac-accent);
  color: #eceff1;
  font-family: Consolas, Monaco, monospace; /* 等幅フォント */
  box-shadow: var(--ac-shadow);
}
.AC-box-spec .AC-box-title {
  background-color: var(--ac-accent);
  color: #fff;
}
.AC-box-spec strong {
  color: #80DEEA; /* Cyan 200 */
}

/* --- D. ポイント (.AC-box-point) --- */
.AC-box-point {
  border: 2px solid var(--ac-accent);
  background: #fff;
}
.AC-box-point::before {
  content: "POINT";
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--ac-accent);
  color: #fff;
  padding: 0 1em;
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 24px;
  border-radius: 99px;
}

/* ==========================================================================
   4. Lists (メリット・デメリット比較)
   ========================================================================== */

/* --- メリット (.AC-list-good) --- */
.AC-list-good {
  background-color: var(--ac-bg-ice);
  padding: 1.5em 2em;
  border-radius: var(--ac-radius);
  border-left: 5px solid var(--ac-main);
  margin: 2em 0;
}
.AC-list-good li {
  list-style: none;
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.8em;
  color: #006064; /* Cyan 900 */
  font-weight: bold;
  line-height: 1.5;
}
.AC-list-good li::before {
  content: "\f164"; /* Thumbs Up */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--ac-main);
}
.AC-list-good li:last-child { margin-bottom: 0; }

/* --- デメリット (.AC-list-bad) --- */
.AC-list-bad {
  background-color: var(--ac-bg-alert);
  padding: 1.5em 2em;
  border-radius: var(--ac-radius);
  border-left: 5px solid var(--ac-alert);
  margin: 2em 0;
}
.AC-list-bad li {
  list-style: none;
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.8em;
  color: #b71c1c;
  font-weight: bold; /* 警告として強調 */
}
.AC-list-bad li::before {
  content: "\f165"; /* Thumbs Down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--ac-alert);
}
.AC-list-bad li:last-child { margin-bottom: 0; }

/* ==========================================================================
   5. Tables (スペック比較表)
   ========================================================================== */
.AC-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2.5em 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border: 1px solid #ddd;
}

.AC-table-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  min-width: 600px; /* スマホで強制横スクロール */
}

.AC-table-comparison th {
  background-color: var(--ac-accent);
  color: #fff;
  padding: 1.2em 1em;
  text-align: center;
  font-weight: bold;
  border: 1px solid #455A64;
  white-space: nowrap;
}

.AC-table-comparison td {
  padding: 1em;
  border: 1px solid #cfd8dc;
  text-align: center;
  background-color: #fff;
  vertical-align: middle;
  line-height: 1.4;
}

/* 1列目（項目名）の固定風デザイン */
.AC-table-comparison td:first-child {
  font-weight: bold;
  background-color: #f5f5f5;
  color: var(--ac-text);
  text-align: left;
  min-width: 140px;
}

/* セル内の強調用クラス */
.AC-cell-good { background-color: #e0f2f1 !important; color: #00695c; font-weight: bold; }
.AC-cell-bad { background-color: #ffebee !important; color: #c62828; }

/* ==========================================================================
   6. Steps (設置フロー / 解決手順)
   ========================================================================== */
.AC-step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 3em 0;
}

.AC-step-item {
  position: relative;
  padding: 0 0 2em 3.5em;
  border-left: 2px dashed #cfd8dc; /* つなぎ線 */
  margin-left: 1.2em; /* 丸アイコンの半分位置調整 */
}

.AC-step-item:last-child {
  border-left: none;
  padding-bottom: 0;
}

/* ステップ番号 (円形) */
.AC-step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: -1.3em; /* 線の中心に合わせる */
  top: 0;
  width: 2.4em;
  height: 2.4em;
  background: var(--ac-main);
  color: #fff;
  text-align: center;
  line-height: 2.4em;
  border-radius: 50%;
  font-weight: bold;
  font-family: var(--ac-font-sans);
  box-shadow: 0 0 0 4px #fff; /* 線と重ならないように白縁取り */
}

.AC-step-title {
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--ac-main);
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.AC-step-content {
  font-size: 0.95em;
  color: var(--ac-text);
}

/* ==========================================================================
   7. FAQ (トラブルシューティング / Q&A)
   ========================================================================== */
.AC-faq-list {
  margin: 3em 0;
}

.AC-faq-item {
  margin-bottom: 2em;
  border: 1px solid #ddd;
  border-radius: var(--ac-radius);
  overflow: hidden; /* 角丸を反映 */
  background: #fff;
}

/* Q: 質問エリア */
.AC-faq-q {
  background: var(--ac-main);
  color: #fff;
  padding: 1em 1.5em;
  font-weight: bold;
  position: relative;
  display: flex;
  align-items: flex-start;
}
.AC-faq-q::before {
  content: "Q.";
  margin-right: 0.8em;
  font-size: 1.2em;
  font-weight: 900;
  line-height: 1.2;
}

/* A: 回答エリア */
.AC-faq-a {
  padding: 1.5em 1.5em;
  background: #fff;
  color: var(--ac-text);
  position: relative;
  display: flex;
  align-items: flex-start;
}
.AC-faq-a::before {
  content: "A.";
  color: var(--ac-alert); /* 赤字でアンサーを目立たせる */
  margin-right: 0.8em;
  font-size: 1.2em;
  font-weight: 900;
  line-height: 1.2;
}

/* ==========================================================================
   8. Conversion Buttons (Tech Shiny Style)
   ========================================================================== */
.AC-btn-cv {
  display: block;
  width: 100%;
  max-width: 540px;
  margin: 3em auto;
  text-decoration: none !important;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.AC-btn-cv-inner {
  background: var(--ac-gradient);
  color: #fff;
  padding: 1.2rem 1rem;
  text-align: center;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 172, 193, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 光沢アニメーション (右へキラリと光る) */
.AC-btn-cv-inner::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}
@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* Hover Action */
.AC-btn-cv:hover { transform: translateY(-2px); }
.AC-btn-cv:hover .AC-btn-cv-inner {
  box-shadow: 0 8px 25px rgba(0, 172, 193, 0.6);
}

/* Text Styling */
.AC-btn-micro {
  font-size: 0.8rem;
  background: rgba(0,0,0,0.15);
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 5px;
  font-weight: normal;
}
.AC-btn-main {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.AC-btn-main::after {
  content: '\f138'; /* Chevron Right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.5em;
  font-size: 0.9em;
}

/* ==========================================================================
   9. Homepage & Hero (Redesigned: Frost Dashboard)
   ========================================================================== */

/* ヒーローエリア全体: 巨大な冷却プレートを表現 */
#AC-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 4rem 1rem;
background-image: url('https://mono-spec.com/wp-content/uploads/AC_hero.webp');
background-size: cover;
background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.2); /* 内部に冷気を閉じ込める影 */
}

/* 背景装飾: 冷却フィンのようなグリッドライン */
#AC-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px; /* 40px刻みのグリッド */
  z-index: 1;
  pointer-events: none;
}

/* 凍結エフェクト: 右上に冷気のオーラ */
#AC-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  transform: rotate(-15deg);
  z-index: 1;
  pointer-events: none;
}

/* コンテンツカード: 氷の板 (Glassmorphism) */
.AC-hero-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1); /* 半透明の白 */
  backdrop-filter: blur(10px); /* すりガラス効果 */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3rem 2rem;
  max-width: 800px;
  width: 100%;
  text-align: center;
  border-radius: 8px; /* 角丸は最小限 */
  box-shadow: 0 8px 32px 0 rgba(0, 38, 51, 0.37);
}

/* キャッチコピー: 鋭いテックフォント */
.AC-hero-title {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-feature-settings: "palt";
}

/* サブコピー: データの信頼性を示唆 */
.AC-hero-sub {
  color: #E0F7FA; /* Cyan 50 */
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 2rem;
  display: block;
}

/* 検索窓風装飾: 「解決策を探す」アクションへの誘導 */
.AC-hero-search-visual {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  color: var(--ac-text);
  font-weight: bold;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.AC-hero-search-visual i {
  color: var(--ac-main);
  margin-right: 0.5em;
}
.AC-hero-search-visual span {
  opacity: 0.6;
  font-weight: normal;
}

/* スマホ調整 */
@media (max-width: 768px) {
  #AC-hero {
    padding: 3rem 1rem;
    min-height: auto; /* 高さをコンテンツに合わせる */
  }
  .AC-hero-content {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   10. SWELL Overrides (テーマ最適化)
   ========================================================================== */

/* 目次 (Ice Style) */
.post_content .p-toc {
  border: 2px solid var(--ac-main) !important;
  background: #fff !important;
  border-radius: var(--ac-radius) !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden;
}
.post_content .p-toc__ttl {
  background: var(--ac-main) !important;
  color: #fff !important;
  font-weight: bold;
  text-align: center;
  padding: 10px !important;
}
.post_content .p-toc__list > li > a {
  color: var(--ac-text) !important;
  font-weight: bold !important;
}
.post_content .p-toc__list > li > a:hover {
  color: var(--ac-main) !important;
}

/* ボタン (SWELL標準ボタンをIce Tech化) */
.is-style-btn_normal .swell-block-button__link {
  background-color: var(--ac-main) !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 10px rgba(0, 172, 193, 0.3) !important;
}
.is-style-btn_normal .swell-block-button__link:hover {
  background-color: var(--ac-main-dark) !important;
  transform: translateY(-2px);
}

/* 吹き出し (SWELL標準) */
.balloon_content {
  border: 1px solid var(--ac-main) !important;
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}
.balloon_icon {
  background-color: #fff !important;
  border: 1px solid #ddd;
}

/* ============================================
   Extra: Visual Noise Gauge (騒音可視化バー)
   ============================================ */
.AC-noise-wrapper {
  margin: 1.5em 0;
  padding: 1em;
  background: #f5f5f5;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.AC-noise-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5em;
  font-size: 0.9em;
  font-weight: bold;
  color: var(--ac-text);
}
.AC-noise-bar-bg {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
/* バーのグラデーション（緑→黄→赤） */
.AC-noise-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50 0%, #FFEB3B 50%, #F44336 100%);
  border-radius: 6px;
  transition: width 1s ease-out;
}
.AC-noise-caption {
  display: flex;
  justify-content: space-between;
  font-size: 0.75em;
  color: #888;
  margin-top: 0.5em;
}