/*
Theme Name: 株式会社だいふく テーマ（プレミアム）
Author: DAIFUKU Co., Ltd.
Description: 複数物件のカテゴリー・ギャラリー画像管理に対応したモダンコーポレートテーマです。
Version: 3.5
*/

:root {
    --primary-color: #1a2530;   /* 深みのあるスタイリッシュなネイビーブラック */
    --accent-color: #d4a373;    /* 上質な高級感を与えるゴールドベージュ */
    --bg-light: #f8f9fa;        /* 清潔感のあるライトグレー */
    --text-main: #333333;       /* メインの読みやすい文字色 */
    --text-muted: #666666;      /* 補足用のグレー */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; color: var(--text-main); line-height: 1.8; letter-spacing: 0.05em; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.section-padding { padding: 120px 0; }

/* 見出し設定 */
.section-title-area { text-align: center; margin-bottom: 70px; }
.section-title { font-size: 2.5rem; font-weight: 300; letter-spacing: 0.15em; color: var(--primary-color); position: relative; display: inline-block; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background-color: var(--accent-color); }
.section-subtitle { font-size: 0.85rem; color: var(--accent-color); font-weight: 600; margin-top: 10px; letter-spacing: 0.2em; }

/* ヘッダー */
header { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02); position: sticky; top: 0; z-index: 100; }
.header-flex { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo-area { display: flex; align-items: center; }
.logo-img { height: 45px; width: auto; margin-right: 12px; }
.company-name { font-weight: 700; font-size: 1.3rem; color: var(--primary-color); letter-spacing: 0.1em; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 35px; font-size: 0.9rem; font-weight: 500; }
nav ul li a { color: var(--primary-color); position: relative; padding-bottom: 5px; }
nav ul li a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0; background-color: var(--accent-color); transition: width 0.3s ease; }
nav ul li a:hover::after { width: 100%; }

/* メインビジュアル */
.hero { background: linear-gradient(135deg, #1f2d3d 0%, #0d151f 100%); padding: 160px 20px; text-align: center; position: relative; }
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-content h1 { font-size: 3.2rem; font-weight: 400; line-height: 1.5; margin-bottom: 30px; color: #ffffff; letter-spacing: 0.1em; }
.hero-content p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.7); font-weight: 300; }

/* ABOUT */
.lead-text { font-size: 1.2rem; max-width: 850px; margin: 0 auto; font-weight: 300; color: var(--text-main); line-height: 2.2; }

/* SERVICES */
.services-main-grid { display: flex; flex-direction: column; gap: 50px; }
.main-service-box { background-color: #fff; padding: 50px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.03); box-shadow: 0 10px 40px rgba(0,0,0,0.01); }
.service-section-header { margin-bottom: 40px; border-left: 3px solid var(--accent-color); padding-left: 20px; }
.service-section-header h3 { font-size: 1.6rem; color: var(--primary-color); }
.service-section-desc { color: var(--text-muted); margin-top: 10px; font-size: 0.95rem; }

.accommodation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.accommodation-card { background: var(--bg-light); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.accommodation-card:hover { transform: translateY(-5px); }
.accommodation-thumb { height: 180px; overflow: hidden; background-color: #eaeaea; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 0.8rem; font-weight: bold; }
.accommodation-thumb img { width: 100%; height: 100%; object-fit: cover; }
.accommodation-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.accommodation-body h4 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 10px; }
.accommodation-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }

.normal-box h3 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 5px; }
.normal-box .service-desc { color: var(--text-muted); margin-top: 15px; font-size: 0.95rem; }

.card-btn-group { display: flex; gap: 10px; margin-top: auto; }
.service-btn { flex: 1; display: inline-block; text-align: center; padding: 10px; font-size: 0.8rem; border-radius: 2px; font-weight: 500; }
.primary-btn { background-color: var(--accent-color); color: #fff; border: 1px solid var(--accent-color); }
.primary-btn:hover { background-color: var(--primary-color); border-color: var(--primary-color); }
.secondary-btn { background-color: #fff; color: var(--primary-color); border: 1px solid rgba(26, 37, 48, 0.15); }
.secondary-btn:hover { background-color: #f8f9fa; }

/* GALLERY */
.gallery-wrapper { display: flex; flex-direction: column; gap: 60px; }
.gallery-property-group { border-top: 1px solid #eee; padding-top: 30px; }
.gallery-property-group:first-child { border-top: none; padding-top: 0; }
.gallery-property-title { font-size: 1.3rem; color: var(--primary-color); margin-bottom: 20px; font-weight: 500; letter-spacing: 0.05em; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-item { position: relative; height: 250px; overflow: hidden; border-radius: 4px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(26, 37, 48, 0.85); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; padding: 20px; }
.gallery-overlay span { color: #fff; font-size: 0.95rem; letter-spacing: 0.1em; border-bottom: 1px solid var(--accent-color); padding-bottom: 5px; transform: translateY(10px); transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* COMPANY */
.company-table { width: 100%; max-width: 800px; margin: 0 auto; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid #eaeaea; }
.company-table th, .company-table td { padding: 25px 20px; }
.company-table th { width: 25%; text-align: left; font-weight: 600; color: var(--primary-color); font-size: 0.95rem; }
.company-table td { color: var(--text-main); font-size: 0.95rem; font-weight: 300; }

/* CONTACT */
.contact-section { background-color: var(--primary-color); color: #fff; position: relative; }
.contact-section .section-title { color: #fff; }
.contact-section p { color: rgba(255, 255, 255, 0.7); font-weight: 300; }

/* フッター */
footer { background-color: #0f161e; color: rgba(255, 255, 255, 0.4); padding: 30px 0; font-size: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* レスポンシブ設計 */
@media (max-width: 900px) {
    .section-padding { padding: 80px 0; }
    .hero h1 { font-size: 2.2rem; }
    .main-service-box { padding: 30px; }
}
@media (max-width: 768px) {
    .header-flex { flex-direction: column; gap: 15px; padding: 15px 0; }
    nav ul li { margin: 5px 15px; }
    .company-table th, .company-table td { display: block; width: 100%; padding: 10px 0; }
    .company-table tr { padding: 15px 0; display: block; }
    .company-table th { font-weight: 700; }
}
