/*
 * 共通スタイル
 * 倉本鐵工株式会社 WordPressテーマ
 * 
 * @package Kuramoto
 * @version 1.0.0
 * @author 倉本鐵工株式会社
 */

/* ページヘッダー画像スタイル */
.page-header-image {
  position: relative;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-content {
  text-align: center;
  color: #fff;
  z-index: 2;
}


/* パンくずリスト */
.breadcrumb {
  margin: 20px 0;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-list li {
  margin-right: 8px;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '>';
  margin-left: 8px;
  color: #666;
}

.breadcrumb-list a {
  color: #357ABD;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

/* ページタイトルセクション */
.page-title-section {
  text-align: center;
  margin: 40px 0;
}

.page-title-en {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #70CC94;
  /* フォールバック色 */
  background: linear-gradient(135deg, #70CC94 0%, #5CC9E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* セクションタイトル共通スタイル（全ページで使用） */
.section-title {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
  font-weight: 700;
  color: #70CC94;
  /* フォールバック色 */
  background: linear-gradient(135deg, #70CC94 0%, #5CC9E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .page-header-image {
    height: 300px;
  }


  .page-title-en {
    font-size: 0.9rem;
  }

}

@media (max-width: 480px) {
  .page-header-image {
    height: 250px;
  }


  .page-title-en {
    font-size: 0.8rem;
  }

}

/* 共通ユーティリティクラス */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999999;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  left: 6px;
  top: 7px;
}

/* ボタンスタイル */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007cba;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #005a87;
  color: #fff;
}

.btn-secondary {
  background-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #545b62;
}

/* セクションスタイル */
.section {
  padding: 60px 0;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

/* カードスタイル */
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.card-content {
  color: #666;
  line-height: 1.6;
}

/* グリッドレイアウト */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* フレックスレイアウト */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

/* テキストスタイル */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: #666;
}

.text-primary {
  color: #007cba;
}

/* マージン・パディング */
.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mt-4 {
  margin-top: 40px;
}

.mt-5 {
  margin-top: 50px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-4 {
  margin-bottom: 40px;
}

.mb-5 {
  margin-bottom: 50px;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 10px;
}

.p-2 {
  padding: 20px;
}

.p-3 {
  padding: 30px;
}

.p-4 {
  padding: 40px;
}

.p-5 {
  padding: 50px;
}

/* 表示・非表示 */
.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline {
  display: inline;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

/* 幅 */
.w-100 {
  width: 100%;
}

.w-75 {
  width: 75%;
}

.w-50 {
  width: 50%;
}

.w-25 {
  width: 25%;
}

/* 高さ */
.h-100 {
  height: 100%;
}

.h-auto {
  height: auto;
}

/* ポジション */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.position-sticky {
  position: sticky;
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ホバーエフェクト */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* 影 */
.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}