:root {
    --main-color: #1a365d;
    --accent-color: #c53030;
    --bg-light: #f7fafc;
    --text-color: #2d3748;
    --hero-overlay-opacity: 0.6; 
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo { margin-bottom: 15px; }
.logo a { text-decoration: none; display: block; }
.logo img { height: 70px; width: auto; display: block; }

nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--text-color); font-weight: bold; font-size: 0.95rem; transition: color 0.3s; }
nav a:hover { color: var(--accent-color); }

.hero {
    height: 60vh;
    background-image: linear-gradient(rgba(26, 54, 93, var(--hero-overlay-opacity)), rgba(26, 54, 93, var(--hero-overlay-opacity)));
    background-position: center; background-size: cover; background-repeat: no-repeat;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: #fff; text-align: center; padding: 0 5%; text-shadow: 0 2px 15px rgba(0,0,0,0.7);
}

.hero h2 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.4; }

section { padding: 80px 10%; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h3 { font-size: 2rem; color: var(--main-color); position: relative; display: inline-block; padding-bottom: 10px; }
.section-title h3::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--accent-color); }

/* DX Slider (12枚完全復旧版) */
.dx-slider-section { 
    padding: 80px 5% 120px 5%; /* 下側の余白を少し広げて、枠外のポチポチを置くスペースを確保 */
    background-color: var(--bg-light); 
    position: relative; /* 💡 ココがポイント！ポチポチの基準点をこのグレーの背景エリア全体に設定しました */
}

.slider-viewport { 
    max-width: 900px; 
    margin: 0 auto; 
    aspect-ratio: 16 / 9; 
    position: relative; 
    overflow: hidden; /* 鉄壁の非表示設定のままでOK！ */
    border-radius: 12px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
    background: #fff; 
}

.slider-track { display: flex; height: 100%; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.slide { min-width: 100%; height: 100%; }
.slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: contain; }

.slider-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 15px; box-sizing: border-box; pointer-events: none; }
.nav-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.8); border: none; cursor: pointer; pointer-events: auto; display: flex; align-items: center; justify-content: center; z-index: 20; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

/* スライダーの丸いポチポチ（完全に紹介窓の枠外に配置） */
.dots-container { 
    position: absolute; 
    bottom: 45px; /* 💡 グレーの背景エリアの下から45px（＝紹介窓の白い枠から完全に下に飛び出した位置）に指定！ */
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 8px; 
    z-index: 10; 
    flex-wrap: wrap; 
    justify-content: center; 
    max-width: 90%; 
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,0.3); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--main-color); transform: scale(1.2); }

/* News Section */
.news-list { max-width: 800px; margin: 0 auto; }
.news-item { display: flex; padding: 20px 0; border-bottom: 1px solid #eee; transition: background 0.3s; text-decoration: none; color: inherit; }
.news-item:hover { background-color: #f8f9fa; }
.news-date { width: 120px; font-weight: bold; color: #718096; }
.news-text { flex: 1; font-weight: 500; }
.news-arrow { color: var(--accent-color); margin-left: 10px; }

.btn-container { text-align: center; margin-top: 30px; }
.btn-more { display: inline-block; padding: 10px 30px; border: 2px solid var(--main-color); color: var(--main-color); text-decoration: none; font-weight: bold; border-radius: 5px; transition: 0.3s; }
.btn-more:hover { background: var(--main-color); color: #fff; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-light); padding: 30px; border-radius: 8px; transition: transform 0.3s; border-top: 5px solid var(--main-color); }
.service-card:hover { transform: translateY(-5px); }
.service-card i { font-size: 2rem; color: var(--accent-color); margin-bottom: 20px; }

footer { background: var(--main-color); color: #fff; text-align: center; padding: 40px 0; }

@media (max-width: 768px) {
    header { padding: 15px 5%; }
    .logo img { height: 55px; }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    nav a { font-size: 0.85rem; }
    .hero h2 { font-size: 1.5rem; }
    .dot { width: 6px; height: 6px; }
}

/* --- LINE問い合わせ共通パーツ --- */
.line-contact-banner {
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #D4AF37;
    text-align: center;
    background-color: #f9f9f9;
    max-width: 800px;
}

.line-contact-banner h3 {
    margin-top: 0;
    color: #333;
}

.line-contact-btn {
    display: inline-block;
    background-color: #000;
    color: #D4AF37;
    padding: 12px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-family: 'Swiss 721', sans-serif;
    transition: 0.3s;
}

.line-contact-btn:hover {
    background-color: #D4AF37;
    color: #000;
}