/* --- 変数定義 --- */
:root {
  /* メインアクセントカラー（既存のゴールド） */
  --color-accent-gold: #c9a227;
  /* サブアクセントカラー（新しいネオンブルー） */
  --color-accent-blue: #00bcd4; /* シアン系ネオンブルー */
  /* 要素の背景色（暗いグレー） */
  --color-card-bg: #111111;
  /* 文字色 */
  --color-text-light: #eeeeee;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  /* 背景を真っ黒から、ノイズをかけた濃いグレーに変更 */
  background-color: #0d0d0d;
  /* ごく薄いノイズのテクスチャを重ねる (1x1pxの微細なドット画像などを利用) */
  /* 例: background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAADFJREFUGFdjYGBgYNTAwMDAoAGgAjAY/4+v0yEEMpE1AAz/n/4g+z8G+B8HAP3xGgG7Y8s0AAAAAElFTkSuQmCC'); */
  /* 上記コードをノイズ画像として使用し、背景に質感を加える */
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAADFJREFUGFdjYGBgYNTAwMDAoAGgAjAY/4+v0yEEMpE1AAz/n/4g+z8G+B8HAP3xGgG7Y8s0AAAAAElFTkSuQmCC');
  background-repeat: repeat;
  
  color: var(--color-text-light);
  overflow-x: hidden;

  /* 斜めの細線パターン */
  background-image: repeating-linear-gradient(
    45deg, 
    #151515,            /* 暗い線の色 */
    #151515 1px,         /* 線の太さ */
    transparent 1px,     /* 透明な部分の開始 */
    transparent 30px     /* パターンの間隔 */
  );
  background-size: 40px 40px;
}

/* ==========================
  ヘッダー・ロゴ・メニュー
  ========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  transition: all 0.6s ease;
  z-index: 999;
  padding: 30px 0;
}

/* --- スクロール後（縮小） --- */
header.scrolled {
  flex-direction: row;
  justify-content: space-evenly;
  padding: 10px 0%;
}

.logo {
  height: 100px;
  transition: all 0.6s ease;
  object-fit: contain;
  filter: drop-shadow(0 0 20px var(--color-accent-blue));
}

header.scrolled .logo {
  height: 60px;
  margin-left: 20px;
}

nav {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  transition: all 0.6s ease;
}

header.scrolled nav {
  margin-top: 0;
}

nav a {
  text-decoration: none;
  color: var(--color-text-light); /* 白系に変更 */
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  /* ホバー時をネオンブルーに、光るエフェクトを追加 */
  color: var(--color-accent-blue);
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.7);
}

/* --- プロジェクトページ用の追加スタイル --- */

/* トップページのボタン */
.special-project-link {
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--color-accent-gold), #e5c559);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.6);
    transition: 0.3s;
    text-align: center;
    line-height: 1.2;
}

.special-project-link .sub-txt {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.8;
}

.special-project-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--color-accent-gold);
    background: #fff;
}

/* プロジェクト詳細レイアウト */
.intro-box {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.intro-text { flex: 1.2; line-height: 1.8; }
.intro-text h3 { color: var(--color-accent-blue); margin-bottom: 20px; font-size: 24px; }

/* 案1: ギャラリースタイル */
.gallery-style {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 右寄せ */
}

/* 背後のゴールド飾り線 */
.deco-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 80%;
    border-top: 2px solid var(--color-accent-gold);
    border-right: 2px solid var(--color-accent-gold);
    z-index: 0;
    opacity: 0.5;
}

.img-main {
    width: 90%;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    position: relative;
    z-index: 1;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
}

.img-sub {
    width: 60%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: -60px; /* メイン画像に少し被せる */
    margin-right: 35%; /* 左側へ突き出す */
    position: relative;
    z-index: 2;
    border: 3px solid #0d0d0d; /* 背景色と同じ境界線で切り抜き感を出す */
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}

/* 支払い方法セクション */
.methods-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.method-box {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #222;
}

.method-box .icon { font-size: 40px; color: var(--color-accent-gold); margin-bottom: 15px; }
.bank-details { background: #000; padding: 15px; margin: 15px 0; border-radius: 8px; font-family: monospace; border-left: 4px solid var(--color-accent-gold); }

.payment-btn {
    display: block;
    margin-top: 20px;
    padding: 12px;
    background: var(--color-accent-blue);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.highlight-blue { border: 1px solid var(--color-accent-blue); }
.highlight-blue .icon { color: var(--color-accent-blue); }

.sub-title {
    text-align: center;
    font-size: 28px;
    color: var(--color-accent-gold);
    margin: 60px 0 30px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .intro-box { flex-direction: column; }
    .methods-container { grid-template-columns: 1fr; }
}

/* ヒーロー */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  line-height: 1.4;
  padding: 0 20px;
}

/* ==========================
   料金プラン
   ========================== */

/* pricing-cardはservice-cardをベースにデザイン */
.pricing-card {
  /* service-cardのスタイルを流用 */
  background: #111;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  /* ホバー時の動きも流用 */
}

.pricing-card h3 {
  /* サービス名 */
  color: #fff;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #c9a227; /* 黄色のラインで区切り */
  padding-bottom: 10px;
}

.base-price {
  /* ベース料金 */
  font-size: 22px;
  font-weight: bold;
  color: #c9a227;
  margin-bottom: 20px;
}

.option-list {
  /* オプションリスト */
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 250px;
  margin: 0 auto 20px; /* 中央寄せ */
}

.option-list li {
  font-size: 15px;
  margin-bottom: 8px;
  padding-left: 20px; /* チェックマークスペース */
  position: relative;
  line-height: 1.5;
}

.option-list li::before {
  /* カスタムチェックマーク */
  content: '✓'; 
  color: #c9a227;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: #aaa;
  margin-top: 30px;
  line-height: 1.6;
}

/* スマホ対応: 既存の.servicesのメディアクエリがそのまま適用されます。 */
/* @media (max-width: 768px) {
    .services {
        grid-template-columns: 1fr; 
    }
}
*/

/* ===============================
  背景画像（PC表示）
  =============================== */
.hero {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1200&q=80"); /* ← あなたの画像パスに変更 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}

/* ===============================
  スマホ表示（768px以下）
  =============================== */
@media screen and (max-width: 768px) {
    .hero {
      background-size: contain;/* 縦横比を保ったまま縮小表示 */
      background-repeat: no-repeat;
      background-position: center top; /* 上寄せで自然に見せる */
      height: auto; /* 高さを自動調整（画像比率に合わせる） */
      aspect-ratio: auto; /* ← aspect-ratioを解除 */
      padding-top: 140px; /* ヘッダーとキャッチコピーの距離調整 */
      padding-bottom: 10px; /* ↓背景下の余白を減らす */
    } 

    section {
     padding-top: 30px; /* セクション上の余白を少し減らす */
    }


   .hero h2 {
      font-size: 26px;
      margin-top: 60px; /* 文字の位置微調整 */
    }
}



/* ===============================
  さらに小さいスマホ（480px以下）
  =============================== */
@media screen and (max-width: 480px) {
   .hero {
      background-size: contain;
      background-position: center top;
      padding-top: 90px;
      padding-bottom: 5px;
      aspect-ratio: 16 / 9;
    }
}

section {
  padding: 40px 5% 30px;
}

h2.section-title {
  font-size: 32px; /* 少し大きく */
  font-weight: 700; /* 太字 */
  color: var(--color-text-light); /* 白 */
  border-left: 6px solid var(--color-accent-gold); /* ゴールドのラインを少し太く */
  padding-left: 20px;
  margin-bottom: 50px; /* カードとの間に十分な余白 */
  letter-spacing: 1px; /* 文字間を少し開けてモダンに */
  display: inline-block; /* 下線のためにインラインブロックにする */
  position: relative;
  text-shadow: 0 0 8px rgba(201, 162, 39, 0.5);/* タイトル文字自体に光沢感を加える */
}

/* タイトル下の細いゴールドライン */
h2.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px; /* タイトルからの距離 */
  left: 20px; /* 左のラインと揃える */
  width: 90%; /* タイトルの幅に合わせて調整 */
  height: 2px; /* 細い線 */
  background: var(--color-accent-gold);
  opacity: 1.0; /* 少し控えめに */
  box-shadow: 0 0 15px var(--color-accent-gold);/* 光沢感（シャドウ）を追加 */
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
}

/* 個々のサービスカードのスタイル */
.service-card {
    background: #1a1a1a; 
    padding: 35px; 
    border-radius: 8px; 
    text-align: center; 
    position: relative;
    overflow: hidden; 
    
    /* 枠線: 非常に控えめなグレーの枠線で清潔感を出す */
    border: 1px solid #282828; 
    /* 軽いシャドウで浮遊感と高級感を出す */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.02);
}

/* サービスタイトル */
.service-card h3 {
    font-size: 22px; /* 少し大きく */
    font-weight: 600; /* 強調 */
    color: var(--color-text-light); /* 白 */
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: 0.8px;
}

/* 説明文 */
.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #b0b0b0; /* 少し明るいグレーで読みやすく */
    margin: 0;
}

/* アイコンを囲むラッパー */
.card-icon-wrapper {
    margin-bottom: 25px; /* アイコンとタイトルの間の余白 */
    display: flex; /* アイコンを中央寄せにするため */
    justify-content: center;
    align-items: center;
    width: 60px; /* アイコンを囲む円の幅 */
    height: 60px; /* アイコンを囲む円の高さ */
    background: #252525; /* アイコン背景色 */
    border-radius: 50%; /* 円形 */
    border: 1px solid var(--color-accent-gold); /* ゴールドの細い枠線 */
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.3); /* ゴールドの光彩 */
    margin-left: auto; /* 中央寄せ */
    margin-right: auto; /* 中央寄せ */
}

/* アイコン自体のスタイル */
.service-icon {
    font-size: 28px; 
    color: var(--color-accent-gold); 
    /* ★追加: Font Awesomeのフォントファミリーを強制適用 */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro';
    font-weight: 900; /* Font Awesomeのソリッドアイコンに必要なウェイト */
}

/* 見積もり・問い合わせ */
.estimate, .contact {
  background: #111;
  border-radius: 12px;
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
}

label {
  display: block;
  margin-top: 15px;
  font-size: 15px;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

button {
  margin-top: 20px;
  padding: 12px 25px;
  background: #c9a227;
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

button:hover {
  background: #e5c559;
}

#optionsContainer div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

#optionsContainer input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

/* 見積もり結果の注意書き用CSS */
#estimateResult .note {
  /* 合計金額のpタグから少し間隔を空ける */
  margin-top: 15px; 
  /* フォントサイズを小さくする */
  font-size: 20px;  
  /* 色を薄い灰色にして控えめにする（背景が黒なので、白よりも少し薄い色） */
  color: #effb03; 
  /* 行間を少し広げて読みやすくする */
  line-height: 1;
}

footer {
  text-align: center;
  padding: 30px 10px;
  background: #000;
  border-top: 1px solid #222;
  color: #aaa;
  font-size: 14px;
}

/* ---------- スマホ対応 ---------- */
@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }

  .logo {
    height: 90px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  header.scrolled {
    flex-direction: column;
    align-items: center;
  }

  header.scrolled .logo {
    height: 70px;
    margin: 0;
  }

  .hero h2 {
    font-size: 26px;
  }

  section {
    padding: 30px 8% 60px;
  }

  .services {
    grid-template-columns: 1fr; /* 1列表示 */
    gap: 25px;
  }

  .service-card {
    padding: 30px;
  }

  .services {
    grid-template-columns: 1fr; /* 1列表示 */
    gap: 25px;
  }

  h2.section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  h2.section-title::after {
    width: 80%; /* スマホでは幅を広げる */
    left: 20px;
  }
  
  .service-card {
    padding: 30px;
  }
  
  .card-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .service-icon {
    font-size: 24px;
  }
  
  .service-card h3 {
    font-size: 20px;
  }
  
  .service-card p {
    font-size: 14px;
  }

}

/* ========================== フッター（リッチデザイン） ========================== */
footer {
  background: linear-gradient(180deg, #0a0a0a, #000);
  color: #ddd;
  padding: 40px 10%;
  border-top: 1px solid #222;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  text-align: left;
}

/* 修正後の .footer-logo */
.footer-logo {
  font-size: 28px; /* 少し大きく */
  font-weight: 800; /* さらに強調 */
  color: #d4f1ff; /* 青白い光の色に変更 */
  margin: 0;
  letter-spacing: 4px; /* 文字間隔を広げ、洗練された印象に */
  /* text-transform: uppercase; (日本語なので削除しても良い) */
  text-shadow: 0 0 10px rgba(212, 241, 255, 0.8); /* 青白く、強く発光させる */
}

.footer-en-name {
  /* ここから追加・修正 */
  font-size: 14px; /* 日本語ロゴより大幅に小さく */
  font-weight: 400; /* 細く */
  color: #aaffff; /* ロゴの色と統一感を持たせつつ */
  opacity: 0.6; /* 控えめに */
  margin-left: 10px; /* 日本語ロゴとの間隔 */
  letter-spacing: 1px; /* 文字間隔を調整 */
  /* テキストシャドウは適用しないことで、控えめな印象に */
}

/* 修正後の .footer-ceo */
.footer-ceo {
  font-size: 13px; /* 小さくしてロゴとメリハリ */
  color: #aaffff; /* ロゴの色と統一感のある色 */
  margin-top: 4px; /* ロゴに近づける */
  font-weight: 300; /* 細字にして上品な印象に */
  opacity: 0.8; /* 控えめに */
}

/* 修正後の .footer-right */
.footer-right {
  text-align: right;
  font-size: 12px; /* さらに小さく */
  color: #666; /* さらに暗い色にして控えめに */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}