/*
Theme Name: IR-SHOT Child (Lightning)
Theme URI: https://ir-shot.jp/
Description: ir-shot.jp リニューアル用 Lightning子テーマ。ネイビー×オレンジの配色ベース。
Author: サーモグラフィ株式会社
Template: lightning
Version: 1.0.0
*/

/* =========================================================
   カラー変数（今後の調整はここを変えるだけで全体に反映されます）
========================================================= */
:root {
  --irshot-navy-dark: #0F1E33;   /* 一番濃いネイビー（ヒーロー・footer背景） */
  --irshot-navy: #16274A;        /* セクション背景ネイビー */
  --irshot-navy-light: #1F3358;  /* ネイビーの一段明るいアクセント */
  --irshot-orange: #E8834B;      /* メインアクセント（オレンジ） */
  --irshot-orange-light: #F2A65A;/* グラデーション用の明るいオレンジ〜ゴールド */
  --irshot-text-light: #F5F3EF;  /* ネイビー背景上の文字色 */
  --irshot-text-dark: #22262B;   /* 白背景上の本文文字色 */
  --irshot-bg-cream: #F7F4EE;    /* 白背景セクションのベースカラー（真っ白より柔らかい印象） */
}

/* =========================================================
   仮の共通スタイル（本番の実際のマークアップを見ながら
   セクション単位で調整していきます。まずは土台のみ）
========================================================= */

body {
  color: var(--irshot-text-dark);
  background-color: #ffffff;
}

a {
  color: var(--irshot-navy);
}

a:hover {
  color: var(--irshot-orange);
}

/* ボタン類（Lightning標準のボタンクラスに合わせて後で調整） */
.btn,
.wp-block-button__link,
button[type="submit"] {
  background: linear-gradient(90deg, var(--irshot-orange) 0%, var(--irshot-orange-light) 100%);
  border: none;
  color: #ffffff;
  border-radius: 4px;
}

.btn:hover,
.wp-block-button__link:hover {
  opacity: 0.85;
  color: #ffffff;
}

/* ヘッダー */
#header,
.site-header {
  background-color: var(--irshot-navy-dark);
}

/* フッター */
#footer,
.site-footer {
  background-color: var(--irshot-navy-dark);
  color: var(--irshot-text-light);
}

#footer a,
.site-footer a {
  color: var(--irshot-text-light);
}

/* ネイビー背景セクション用の共通クラス（本文側で class="irshot-navy-section" を使う想定） */
.irshot-navy-section {
  background-color: var(--irshot-navy);
  color: var(--irshot-text-light);
}

.irshot-navy-section a {
  color: var(--irshot-text-light);
}

/* クリーム背景セクション用 */
.irshot-cream-section {
  background-color: var(--irshot-bg-cream);
}

/* オレンジCTA帯 */
.irshot-cta-section {
  background: linear-gradient(90deg, var(--irshot-orange) 0%, var(--irshot-orange-light) 100%);
  color: #ffffff;
}

.irshot-cta-section a {
  color: #ffffff;
}
/* ===== トップページ ヒーロー ===== */
.irshot-hero {
  background: linear-gradient(160deg, var(--irshot-navy-dark) 0%, var(--irshot-navy) 100%);
  color: var(--irshot-text-light);
  padding: 100px 24px;
  text-align: center;
}
.irshot-hero h1 { font-size: 2.4rem; line-height: 1.4; margin-bottom: 16px; color: #fff; }
.irshot-hero p { font-size: 1.05rem; max-width: 640px; margin: 0 auto 32px; color: #D9DEE8; }
.irshot-hero-buttons a { display: inline-block; padding: 14px 32px; border-radius: 4px; margin: 0 8px; text-decoration: none; font-weight: bold; }
.irshot-hero-buttons .irshot-btn-primary { background: linear-gradient(90deg, var(--irshot-orange) 0%, var(--irshot-orange-light) 100%); color: #fff; }
.irshot-hero-buttons .irshot-btn-secondary { border: 1px solid #D9DEE8; color: #fff; }

/* ===== 3カラム信頼訴求 ===== */
.irshot-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; padding: 80px 24px; }
.irshot-trust-card { background: #fff; border: 1px solid #E5E1D8; border-radius: 6px; padding: 32px 24px; }
.irshot-trust-card .num { color: var(--irshot-orange); font-weight: bold; font-size: 0.85rem; margin-bottom: 8px; display: block; }
.irshot-trust-card h3 { margin: 0 0 12px; font-size: 1.15rem; }
.irshot-trust-card p { font-size: 0.9rem; line-height: 1.7; color: #555; margin: 0; }
@media (max-width: 768px) { .irshot-trust-grid { grid-template-columns: 1fr; } }

/* ===== カテゴリー一覧 ===== */
.irshot-category-list { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.irshot-category-item { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.15); text-decoration: none; color: var(--irshot-text-light); }
.irshot-category-item:hover { color: var(--irshot-orange-light); }
.irshot-category-item .name { font-size: 1.2rem; font-weight: bold; }
.irshot-category-item .desc { font-size: 0.85rem; color: #B9C0CC; max-width: 55%; text-align: right; }
@media (max-width: 768px) { .irshot-category-item { flex-direction: column; align-items: flex-start; } .irshot-category-item .desc { text-align: left; max-width: 100%; margin-top: 8px; } }

/* ===== CTA帯 ===== */
.irshot-cta-section { padding: 60px 24px; text-align: center; }
.irshot-cta-section h2 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.irshot-cta-section p { margin-bottom: 24px; }
.irshot-cta-section .irshot-cta-btn { display: inline-block; background: #16274A; color: #fff; padding: 14px 32px; border-radius: 4px; text-decoration: none; font-weight: bold; }
/* ===== ヘッダーメニューの文字色 ===== */
.global-nav-list .global-nav-name {
  color: var(--irshot-text-light) !important;
}
.global-nav-list a:hover .global-nav-name {
  color: var(--irshot-orange-light) !important;
}
/* ===== サイトタイトル（ロゴ）の文字色 ===== */
.site-header-logo a {
  color: var(--irshot-text-light) !important;
}
/* ===== ヘッダーの横幅対策 ===== */
.global-nav-list .global-nav-name {
  font-size: 0.82rem;
  padding-left: 8px;
  padding-right: 8px;
}
.site-header-logo {
  font-size: 1rem;
}
.site-header-logo a span {
  white-space: nowrap;
}
/* ===== フッターメニューの文字色・中央寄せ ===== */
#footer .menu,
.site-footer .menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#footer .menu a,
.site-footer .menu a {
  color: var(--irshot-text-light) !important;
}
.irshot-power-photo-item .irshot-case-pair img{
  max-width: 377px;
  margin: 0 auto;
}
/* スクロールでヘッダー固定時の背景・文字色を明示 */
.header_scrolled #site-header {
  background-color: var(--irshot-navy, #1a2744) !important;
}
.header_scrolled .global-nav-name,
.header_scrolled .site-header-logo a {
  color: var(--irshot-text-light, #f5f5f5) !important;
}
/* お問い合わせページの送信ボタンをサイトのボタンデザインに統一 */
.wpcf7 input[type="submit"] {
	background: linear-gradient(90deg, var(--irshot-orange) 0%, var(--irshot-orange-light) 100%);
	color: #fff;
	border: none;
	padding: 14px 48px;
	border-radius: 40px;
	font-weight: bold;
	font-size: 1.05em;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover {
	opacity: 0.85;
}
/* ============================
   0120番号 ヘッダー表示／SP固定ボタン
============================ */
.irshot-header-tel { display: none; }

.irshot-header-tel__pc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--irshot-navy, #0f2a52);
  color: var(--irshot-text-light, #fff);
  text-decoration: none;
  padding: 10px 24px;
}

.irshot-header-tel__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--irshot-orange, #e8892c);
}

.irshot-header-tel__text { display: flex; flex-direction: column; line-height: 1.3; }
.irshot-header-tel__num { font-size: 20px; font-weight: bold; letter-spacing: 0.02em; }
.irshot-header-tel__hours { font-size: 11px; opacity: 0.85; }

.irshot-fixed-tel-btn { display: none; }

@media (min-width: 960px) {
  .irshot-header-tel { display: block; }
}

@media (max-width: 959px) {
  .irshot-fixed-tel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(135deg, var(--irshot-orange, #e8892c), #f5a623);
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  }
  .irshot-fixed-tel-btn__icon { width: 24px; height: 24px; flex-shrink: 0; }
  .irshot-fixed-tel-btn__text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
  .irshot-fixed-tel-btn__label { font-size: 11px; }
  .irshot-fixed-tel-btn__num { font-size: 18px; font-weight: bold; }

  /* SP固定ボタンの分、ページ最下部のコンテンツが隠れないよう余白確保 */
  body { padding-bottom: 64px; }
}
.irshot-hero-eyebrow{ letter-spacing: .1em; font-size: 14px; opacity: .85; margin-bottom: 12px; }
@media (max-width: 600px){
  .irshot-hero-buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .irshot-hero-buttons a{
    width: 100%;
    max-width: 280px;
    margin: 0;
  }
}
.irshot-hero--video{
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.irshot-hero-video-bg{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  min-width: 100%;
  height: 100vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.irshot-hero-video-bg iframe{
  width: 100%;
  height: 100%;
  display: block;
}
.irshot-hero-video-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,20,38,0.42) 0%, rgba(15,28,52,0.5) 100%);
  z-index: 1;
}
.irshot-hero-content h1,
.irshot-hero-content p{
  text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}
.irshot-hero-content{
  position: relative;
  z-index: 2;
  padding: 100px 24px;
  text-align: center;
}
@media (max-width: 600px){
  .irshot-hero--video{ min-height: 480px; }
}