@charset "UTF-8";

/* 基本設定 */
:root {
    --primary-color: #003366; /* 信頼のネイビー */
    --accent-color: #C5A059;  /* 品格のゴールド */
    --text-color: #333333;
    --bg-color: #ffffff;
    --gray-bg: #f4f4f4;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.sp-only {
    display: none;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    vertical-align: bottom;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    font-size: 15px;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 4px;
}

.btn-contact:hover {
    background-color: #002244;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }


/* =========================================
   メインビジュアル（スライダー仕様）
========================================= */
.hero-slider-wrapper {
    position: relative;
    height: 80vh; /* 画面の80%の高さ */
    margin-top: 80px; /* ヘッダーの高さ分下げる */
    background-color: #333; /* 画像読み込み前の背景色 */
    overflow: hidden;
}

/* スライダー本体 */
.hero-swiper {
    width: 100%;
    height: 100%;
}

/* 各スライド共通設定 */
.swiper-slide {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

/* 写真の上に重ねるネイビーのフィルター */
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,51,102,0.5), rgba(0,51,102,0.7));
    z-index: 1;
}

/* 各画像の指定 */
.slide-01 { background-image: url('hero-01.jpg'); }
.slide-02 { background-image: url('hero-02.jpg'); }
.slide-03 { background-image: url('hero-03.jpg'); }
.slide-04 { background-image: url('hero-04.jpg'); }
.slide-05 { background-image: url('hero-05.jpg'); }


/* キャッチコピーオーバーレイ */
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    display: block;
    margin-top: 10px;
}

.hero-text {
    font-size: 1.1rem;
    margin-top: 20px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}


/* 私たちの想い */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Shippori Mincho', serif;
}

.philosophy {
    background-color: #fff;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
}

.beliefs {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.belief-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    border: 1px solid #ddd;
    border-top: 4px solid var(--primary-color);
    padding: 40px 20px;
    position: relative;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.belief-item .num {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 15px;
    font-weight: bold;
}

.belief-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: 'Shippori Mincho', serif;
}

.belief-desc {
    font-size: 0.95rem;
    line-height: 1.8;
}

.philosophy-desc {
    margin-top: 50px;
    line-height: 2;
}

.ceo-name {
    text-align: right;
    font-weight: bold;
    margin-top: 30px;
    font-size: 1.1rem;
}

/* 事業案内（営業品目） */
.service {
    background-color: var(--gray-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
}

/* 会社概要 */
.company-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th, .company-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.company-table th {
    width: 30%;
    background-color: #f9f9f9;
    color: var(--primary-color);
    font-weight: bold;
}

.map-container {
    margin-top: 15px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 採用情報 */
.recruit {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
}

.recruit-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.recruit-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* フッター */
.footer {
    background-color: var(--primary-color); /* ネイビー */
    color: #fff;
    padding: 50px 0 20px;
    text-align: center;
    border-top: 5px solid var(--accent-color); /* ゴールドライン */
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.tel-link {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
    transition: 0.3s;
}

.tel-link:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.hours {
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .sp-only { display: inline; }
    
    .hamburger { display: block; }
    
    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255,255,255,0.98);
        transition: 0.3s;
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding-top: 50px;
    }

    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }
    
    .company-table th {
        background: transparent;
        padding-bottom: 5px;
        border-bottom: none;
    }
    
    .company-table td {
        padding-top: 0;
    }
    
    .beliefs {
        flex-direction: column;
    }
}