/* ==========================================================================
   全体定義・リセット
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', "Georgia", "Times New Roman", "MS Mincho", serif;
    color: #1e293b;
    background-color: #ffffff;
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.bg-light { background-color: #f8fafc; }
.bg-dark { background-color: #0b192c; }

/* 共通セクション設定 */
.section-container {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    color: #0b192c;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #c5a059; /* 上品なゴールド */
}

.section-title.border-white::after {
    background-color: #ffffff;
}

/* ==========================================================================
   ヘッダーデザイン（白い空と重なるためロゴの視認性を向上）
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.header-logo-area {
    display: flex;
    flex-direction: column;
}

/* 💡 空の白と同化しないよう、背景とのコントラストを調整 */
.header-sub-logo {
    font-size: 0.75rem;
    color: #b3893f; /* 少し視認性の高いゴールドに調整 */
    letter-spacing: 0.2em;
    font-weight: 700;
    text-shadow: 0 0 3px #ffffff; /* 白い縁取りでクッキリ */
}

.header-main-logo {
    font-size: 1.3rem;
    color: #0b192c; /* 濃紺で確実に読ませる */
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff; /* 白い光彩で浮かび上がらせる */
}

.header-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-nav ul li {
    margin-left: 25px;
}

.header-nav ul li a {
    text-decoration: none;
    color: #334155;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.header-nav ul li a:hover {
    color: #c5a059;
}

.header-nav ul li a.nav-btn {
    background-color: #0b192c;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.header-nav ul li a.nav-btn:hover {
    background-color: #c5a059;
    color: #ffffff;
}

/* ==========================================================================
   メインビジュアル（ヒーロー：明るい写真でも文字を読ませる設定）
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background-color: #000;
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; /* 💡 背景の黒を少し強めて白い空を落ち着かせる */
}

/* 画像がない場合のダミー背景（青いグラデーション） */
.hero-image-container::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 90%;
}

.hero-sub {
    font-size: 1.1rem;
    color: #c5a059;
    letter-spacing: 0.4em;
    margin-bottom: 15px;
    font-weight: 700;
    /* 💡 柔らかい影を落として空に埋もれないように */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3rem;
    margin: 0 0 25px 0;
    font-weight: 700;
    letter-spacing: 0.1em;
    /* 💡 テキストの影を2重にしてクッキリ度を大幅アップ */
    text-shadow: 0 4px 12px rgba(0,0,0,0.7), 0 2px 4px rgba(0,0,0,0.9);
}

.hero-catch {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #ffffff;
    /* 💡 最も白い空と被るため、半透明の座布団を薄く敷いて完全に保護 */
    background-color: rgba(11, 25, 44, 0.4);
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    backdrop-filter: blur(2px); /* 背景をわずかにぼかして文字を浮かす */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   強みセクション
   ========================================================================== */
.lead-text {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: justify;
    font-size: 1.1rem;
    color: #475569;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.feature-card {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    border-top: 4px solid #0b192c;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-number {
    font-size: 2.5rem;
    color: #f1f5f9;
    font-weight: 700;
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
    font-family: 'sans-serif';
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #0b192c;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.feature-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    text-align: justify;
}

/* ==========================================================================
   事業内容セクション
   ========================================================================== */
.services-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.services-text {
    flex: 1;
}

.services-text h3 {
    font-size: 1.5rem;
    color: #0b192c;
    margin-top: 0;
    margin-bottom: 20px;
}

.services-list {
    padding-left: 20px;
    margin: 20px 0 0 0;
}

.services-list li {
    margin-bottom: 12px;
    color: #475569;
}

.services-image {
    flex: 1;
    background-color: #cbd5e1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.services-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ==========================================================================
   会社概要（テーブル）
   ========================================================================== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.info-table th, .info-table td {
    padding: 18px 25px;
    border: 1px solid #e2e8f0;
}

.info-table th {
    background-color: #0b192c;
    color: #ffffff;
    width: 25%;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.info-table td {
    color: #334155;
    font-size: 1rem;
}

.tel-label {
    display: inline-block;
    width: 45px;
    color: #64748b;
    font-weight: bold;
}

.bank-notice {
    margin-top: 30px;
    background-color: #f8fafc;
    border-left: 4px solid #c5a059;
    padding: 20px;
    font-size: 0.9rem;
    color: #475569;
}

/* ==========================================================================
   お問い合わせセクション
   ========================================================================== */
.contact-lead {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #cbd5e1;
}

.contact-box {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-phone-item {
    background-color: rgba(255,255,255,0.05);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    flex: 1;
}

.time-badge {
    display: inline-block;
    background-color: #c5a059;
    color: #0b192c;
    padding: 3px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-radius: 2px;
}

.phone-number {
    display: block;
    font-size: 2rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.phone-number:hover {
    color: #c5a059;
}

.notes {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 5px 0 0 0;
}

/* ==========================================================================
   フッターデザイン
   ========================================================================== */
.site-footer {
    background-color: #060f1e;
    color: #94a3b8;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-address {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.copyright {
    font-size: 0.8rem;
    margin: 0;
}

/* ==========================================================================
   レスポンシブ（スマホ対応）
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .header-nav {
        margin-top: 15px;
        width: 100%;
    }
    .header-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    .header-nav ul li {
        margin: 5px 10px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-catch {
        font-size: 1rem;
        padding: 10px 15px; /* スマホ用に余白を少し小さく */
    }
    .features-grid {
        flex-direction: column;
    }
    .services-content {
        flex-direction: column;
    }
    .info-table th, .info-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    .info-table th {
        border-bottom: none;
    }
    .contact-box {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==========================================================================
   Instagramセクション用デザイン
   ========================================================================== */
.instagram-carousel {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px;
}

.insta-item {
    flex: 1;
    min-width: 220px;
    aspect-ratio: 1 / 1;
    background-color: #cbd5e1;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: block;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.insta-item:hover img {
    transform: scale(1.05);
}

.insta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(11, 25, 44, 0.7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-link-btn {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
    transition: transform 0.3s;
}

.insta-link-btn:hover {
    transform: translateY(-2px);
}