@charset "UTF-8";

/* 全称セレクタ（パディング計算のリセット） */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 基本設定（配色パレット） */
:root {
    /* ロゴから抽出した鮮やかなオレンジ */
    --primary-color: #F37021; 
    /* ホバー時などに使う少し濃いオレンジ */
    --accent-color: #CC5500;  
    /* 信頼感のあるネイビー */
    --navy-color: #003366;
    
    --text-color: #333333;
    --bg-color: #ffffff;
    --gray-bg: #f9f5f0;
    --footer-bg: var(--navy-color);
}

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;
    vertical-align: bottom;
}

.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.98);
    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; /* 60pxから50px（標準）に戻しました */
    width: auto;
    padding: 0;   /* 余白調整もリセット */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .logo img {
        height: 40px; /* スマホ用も標準サイズに戻しました */
        max-width: 200px;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    font-size: 15px;
    color: var(--navy-color);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
}

.btn-contact:hover {
    background-color: var(--accent-color);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--navy-color);
    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;
    margin-top: 80px;
    background-color: var(--navy-color);
    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.4), 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;
    color: #fff; /* ★修正：白に戻しました */
}

.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(--primary-color);
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    color: var(--navy-color);
    font-family: 'Shippori Mincho', serif;
    position: relative;
    padding-bottom: 15px;
}

/* タイトルの下にオレンジの線を引く */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 私たちの想い */
.philosophy {
    background-color: #fff;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--navy-color);
}

.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 #eee;
    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);
    transition: 0.3s;
}

.belief-item:hover {
    box-shadow: 0 10px 25px rgba(243, 112, 33, 0.15);
}

.belief-item .num {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: 'Shippori Mincho', serif;
    margin-bottom: 15px;
    font-weight: bold;
}

.belief-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy-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;
    color: var(--navy-color);
}

/* 事業案内 */
.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;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary-color);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h4 {
    font-size: 1.2rem;
    color: var(--navy-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.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: #fff;
    color: var(--navy-color);
    font-weight: bold;
    border-left: 4px solid var(--primary-color);
}

.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(--navy-color);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recruit::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
}

.recruit-box {
    position: relative;
    z-index: 1;
}

.recruit-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff; /* ★修正：白に戻しました */
}

.recruit-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: inline-block;
    text-align: left;
}

.recruit-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.recruit-note {
    font-weight: bold;
    color: #fff; /* ★修正：白に戻しました */
}

/* お問い合わせボタンリンク */
.contact-btn-section {
    background-color: #fff;
    padding-bottom: 100px;
}

.btn-contact-main {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.4);
}

.btn-contact-main:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 112, 33, 0.6);
}

.contact-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}

/* フッター */
.footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 50px 0 20px;
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 4px;
}

.tel-area {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tel-link {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    transition: 0.3s;
    color: #fff;
}

.tel-link:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.fax-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

.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;
    }
    
    .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav-list a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }

    /* スマホのロゴ調整 */
    .logo img {
        height: 50px;
        max-width: 250px;
    }

    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.9rem; }
    
    /* スマホのヒーローテキスト修正（中央寄せ・改行なし） */
    .hero-text {
        font-size: 1rem;
        width: 90%;
        margin: 20px auto 0;
        line-height: 1.6;
    }
    
    .hero-text br {
        display: none;
    }
    
    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }
    
    .company-table th {
        background: transparent;
        padding-bottom: 5px;
        border-bottom: none;
        border-left: none;
        color: var(--primary-color);
    }
    
    .company-table td {
        padding-top: 0;
        padding-bottom: 25px;
    }
    
    .beliefs {
        flex-direction: column;
    }
    
    .btn-contact-main {
        width: 100%;
        padding: 15px 20px;
        box-sizing: border-box;
        font-size: 1rem;
    }

    /* フッター電話・FAX縦並び修正 */
    .tel-area {
        display: flex;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .tel-link {
        font-size: 1.8rem;
        display: block;
        margin: 0;
        line-height: 1.2;
    }

    .fax-text {
        font-size: 1.1rem;
        display: block;
        margin: 0;
        white-space: nowrap;
        opacity: 0.9;
    }
}