/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    background-color: #121212; /* ダークグレー */
    color: #e0e0e0; /* やや明るい白 */
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #00BFFF; /* ディープスカイブルー */
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ヘッダー */
header {
    background-color: rgba(18, 18, 18, 0.8);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffffff;
}

/* メインコンテンツ */
main {
    padding-top: 80px; /* 固定ヘッダー分のスペース */
}

/* ヒーローセクション */
.hero {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(rgba(18,18,18,0.7), rgba(18,18,18,0.7)), url('https://via.placeholder.com/1500x800') no-repeat center center/cover;
    /* 上記URLは仮の背景画像です。後で自分の建築画像に差し替えます。 */
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-button {
    display: inline-block;
    background-color: #00BFFF;
    color: #121212;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* 作品紹介セクション */
.featured-works {
    padding: 80px 0;
    text-align: center;
}

.featured-works h3 {
    font-size: 2rem;
    margin-bottom: 50px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.work-item {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.work-item img {
    display: block;
}

.work-item h4, .work-item p {
    padding: 0 20px;
}
.work-item p {
    padding-bottom: 20px;
}

/* フッター */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    background-color: #1e1e1e;
}

/* =================================
   下層ページのスタイル
   ================================= */

/* ページ共通ヘッダー */
.page-header {
    padding: 60px 0;
    text-align: center;
    background-color: #1e1e1e;
}

.page-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0;
}

.page-header p {
    font-size: 1.1rem;
    color: #00BFFF;
    margin-top: 10px;
}

/* Aboutページ */
.about-content {
    padding: 80px 0;
}
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-image {
    flex: 1;
}
.about-image img {
    border-radius: 10px;
}
.about-text {
    flex: 1.5;
}
.about-text h3 {
    font-size: 2rem;
    color: #ffffff;
}

/* Worksページ */
.works-gallery {
    padding: 80px 0;
}

/* For Businessページ */
.business-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}
.business-content h3 {
    font-size: 2rem;
    color: #ffffff;
    border-left: 5px solid #00BFFF;
    padding-left: 15px;
    margin-bottom: 30px;
}
.service-list {
    display: grid;
    gap: 20px;
    margin-bottom: 50px;
}
.service-item {
    background-color: #1e1e1e;
    padding: 25px;
    border-radius: 8px;
}
.service-item h4 {
    margin: 0 0 10px 0;
    color: #00BFFF;
    font-size: 1.2rem;
}
.section-divider {
    border: 0;
    height: 1px;
    background-color: #333;
    margin: 60px 0;
}
.strengths-list {
    list-style: none;
    padding-left: 0;
}
.strengths-list li {
    background-color: #1e1e1e;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.business-cta {
    text-align: center;
    margin-top: 50px;
}

/* Contactページ */
.contact-form-section {
    padding: 80px 0;
    max-width: 700px;
    margin: 0 auto;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}
.submit-button {
    display: inline-block;
    background-color: #00BFFF;
    color: #121212;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.submit-button:hover {
    transform: scale(1.05);
}

/* -------------------------------------------
/* SNSリンク セクション
/* ------------------------------------------- */
.social-links {
    padding: 60px 0;
    text-align: center; /* 全体を中央揃え */
    background-color: #f9f9f9; /* 背景色を少し変える */
    border-top: 1px solid #eee; /* 上のセクションとの境界線 */
}

.social-links h3 {
    font-size: 2.2rem; /* featured worksのh3より少し小さく */
    color: #333;
    margin-bottom: 10px;
}

.social-links p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px; /* アイコンとの余白 */
}

.social-icons {
    display: flex; /* アイコンを横並びにする */
    justify-content: center; /* 水平方向の中央に配置 */
    gap: 25px; /* アイコン間のスペース */
}

.social-icons a {
    display: inline-block;
    color: #333; /* アイコンの基本色 */
    transition: color 0.3s ease, transform 0.3s ease; /* ホバー時のアニメーション */
}

.social-icons a:hover {
    color: #000; /* ホバー時の色 */
    transform: translateY(-5px); /* 少し上に浮き上がる */
}

/* 各SNSのホバーカラーを個別に設定（お好みで） */
.social-icons a:hover .icon-youtube {
    color: #FF0000; /* YouTubeの赤 */
}
.social-icons a:hover .icon-x {
    color: #000000; /* Xの黒 */
}
.social-icons a:hover .icon-instagram {
    color: #E1306C; /* Instagramのグラデーションは難しいので代表的なピンク */
}


.social-icons .icon {
    width: 48px; /* アイコンのサイズ */
    height: 48px;
    fill: currentColor; /* aタグのcolorを継承する */
}