@charset "UTF-8";

/* =========================================
   共通スタイル (style.css)
   ========================================= */

/* 基本フォント設定 */
body {
    font-family: 'Noto Sans JP', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #374151; /* gray-700 */
    line-height: 1.6;
}

/* -----------------------------------------
   共通パーツ
   ----------------------------------------- */

/* ヒーローイメージ（トップページ用） */
.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}

/* サブページ用ヘッダー（画像あり・中央配置版） */
.page-header {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 200px;          /* 高さを確保 */
    display: flex;          /* フレックスボックス有効化 */
    align-items: center;    /* 上下中央 */
    justify-content: center;/* 左右中央 */
    color: white;           /* 文字色を白に */
    margin-bottom: 3rem;
}

/* 画像の上に黒いフィルターをかけて文字を見やすくする */
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
}

/* コンテンツの配置設定 */
.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;     /* テキスト中央揃え */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* タイトル文字（サイズ調整：1.5rem = text-2xl相当） */
.page-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    /* 下線装飾 */
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.page-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #4ade80; /* green-400 */
}

/* 英語サブタイトル */
.page-header p {
    color: #e5e7eb; /* 薄いグレー */
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    order: -1; /* 英語を上に表示 */
}

/* 独自のカーブ画像 */
.curved-image {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* セクションタイトル装飾 */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    font-weight: 700;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #1e3a8a; /* Blue-900 */
}

/* 英語の小見出し */
.en-title {
    display: block;
    font-size: 0.875rem;
    color: #16a34a; /* Green-600 */
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Instagramコンポーネント用 */
.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* 施工メニュー (service.html) 用 */
.step-number {
    width: 40px;
    height: 40px;
    background-color: #1e3a8a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 10px;
}

/* 施工事例 (works.html) 用 */
.work-tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 9999px;
    background-color: #f3f4f6;
    color: #4b5563;
    margin-right: 5px;
}

/* お問い合わせ (contact.html) 用 */
.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-top: 6px;
    transition: border-color 0.3s;
}
.form-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}