/*
 Theme Name: Atomline Corporate Premium
 Theme URI: https://example.com/
 Author: Atomline
 Description: プレミアム版 - ご挨拶カード・事業内容カード・アニメーション・Font Awesome対応。
 Template: twentytwentyfive
 Version: 2.0.0
 Text Domain: atomline-corporate-premium
*/

:root {
  scroll-behavior: smooth;
}

.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}

.section-gray {
  background-color: #F9FAFB;
}

.card-shadow {
  border: 1px solid #E0E4E8;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  background: #fff;
}

.card-inner {
  padding: 24px;
  text-align: center;
}

.card-icon {
  font-size: 2rem;
  color: #0B2A3B;
  margin-bottom: 10px;
}


.wpcf7 form p { margin-bottom: 1.2rem; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  max-width: 680px;
  padding: 10px 12px;
  border: 1px solid #E0E4E8;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

.wpcf7 textarea { min-height: 140px; }

.wpcf7 input[type="submit"] {
  background: #0B2A3B;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.wpcf7 input[type="submit"]:hover {
  opacity: 0.9;
}

/* === Heroスライダー全体 === */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 1200 / 628;
  overflow: hidden;
}

/* === オーバーレイテキスト === */
.hero-overlay-text {
  position: absolute;
  top: 20%;
  left: 8%;
  transform: none;
  z-index: 999;
  max-width: 85%;
  color: #000;
  text-shadow:
    0 0 8px rgba(255,255,255,0.9),
    0 0 14px rgba(255,255,255,0.8),
    0 0 20px rgba(255,255,255,0.6);
}

/* 見出し */
.hero-overlay-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
  color: #000;
  text-shadow:
    0 0 8px rgba(255,255,255,0.9),
    0 0 16px rgba(255,255,255,0.9),
    0 0 25px rgba(255,255,255,0.8);
}

/* サブテキスト */
.hero-overlay-text p {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.8;
  margin: 0;
  color: #000;
  text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 12px rgba(255,255,255,0.8),
    0 0 18px rgba(255,255,255,0.7);
}

/* === スマホ調整 === */
@media (max-width: 768px) {
  .hero-overlay-text {
    left: 6%;
    top: 15%;
    max-width: 90%;
  }
  .hero-overlay-text h1 {
    font-size: 1.5rem; /* ← スマホでは見出しを小さく */
    line-height: 1.5;
    text-shadow:
      0 0 5px rgba(255,255,255,0.9),
      0 0 10px rgba(255,255,255,0.8);
  }
  .hero-overlay-text p {
    font-size: 0.85rem; /* ← サブテキストも少し小さく */
    line-height: 1.6;
    text-shadow:
      0 0 4px rgba(255,255,255,0.9),
      0 0 8px rgba(255,255,255,0.8);
  }
}
/* ヘッダー全体の背景色 */
header, .wp-block-template-part[area="header"] {
  background-color: #130c04; /* ←好きな色に変更 */
  color: #fff;
}

/* ナビゲーション文字色を調整（白背景なら#000に） */
.wp-block-navigation a {
  color: #000;
}
@media (max-width: 768px) {
  .wp-block-group ul {
    columns: 1 !important;
  }
}
/* ヘッダー全体の高さと余白を調整 */
header,
.wp-block-template-part[area="header"] .wp-block-group.alignwide {
  padding-top: 0px;  /* 上の余白 */
  padding-bottom: 0px; /* 下の余白 */
}

/* ロゴサイズを統一 */
.site-logo img {
  height: 30px;
  width: auto;
}

/* === フッター全体の背景色と文字色 === */
footer,
.wp-block-template-part[area="footer"] .wp-block-group.has-background {
  background-color: #130c04 !important; /* ← 好きな色に変更 */
  color: #fff !important;
}

/* === フッター内のリンク色 === */
footer a {
  color: #fff;
}
footer a:hover {
  color: #ffcc00; /* ホバー時に少し明るく */
}
