@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

/* --- Variables --- */
:root {
    /* 指定のブランドカラー */
    --primary-color: #F49898;
    
    /* プロフェッショナル感を出すためのカラーパレット */
    --primary-dark: #D67A7A;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    
    --max-width: 1200px;
    --radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- Base Styles --- */
body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    margin: 0;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover { opacity: 0.8; }

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    display: block;
    border-radius: var(--radius);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eee;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 55px;
    width: auto;
    border-radius: 0;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

.nav-menu li a:hover { color: var(--primary-color); }

.btn-contact a {
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.btn-contact a:hover {
    background: var(--primary-dark);
    transform: none;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    height: 85vh;
    width: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    
    margin-bottom: 80px;
    width: 90%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}

.hero-main-img {
    width: 200px;
    max-width: 80%;
    height: auto;
    border-radius: 0;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3)); 
}

/* --- Hero Bottom Navigation --- */
.hero-bottom-nav {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    display: flex;
    z-index: 10;
    background: #fff;
    border-top: 1px solid #eaeaea;
}

.h-nav-item {
    flex: 1;
    position: relative;
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.h-nav-item:last-child { border-right: none; }

.h-nav-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.h-nav-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.6s ease;
}

.h-nav-img::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s;
}

.h-nav-item:hover .h-nav-img::after { 
    background: rgba(244, 152, 152, 0.85);
}

.h-nav-item:hover .h-nav-img img { transform: scale(1.1); }

.h-nav-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.h-nav-text .ja { font-size: 1rem; font-weight: 700; margin-bottom: 5px; display: block; }
.h-nav-text .en { font-size: 0.75rem; font-family: sans-serif; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; display: block; }

/* --- Content Section --- */
section { padding: 100px 0; }

/* Message Area */
.message-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 120px;
}

.message-catch {
    font-family: "Zen Maru Gothic", sans-serif; 
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    line-height: 2.2;
    letter-spacing: 0.1em;
}

.message-body {
    font-size: 1.1rem;
    margin-bottom: 60px;
    text-align: justify;
    text-align-last: center;
    color: var(--text-color);
}

.message-emotional {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 1.2rem;
    color: var(--text-color);
    background-color: var(--bg-light);
    padding: 60px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: inline-block;
    line-height: 2.2;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 80px;
    color: var(--text-color);
    letter-spacing: 0.2em;
    font-weight: 700;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}

.service-item {
    display: block;
    text-align: left;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.service-img-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background: #eee;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}

.service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-item h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-item h3::after {
    content: "→";
    font-family: sans-serif;
    color: var(--primary-color);
    font-weight: bold;
    transition: margin-left 0.3s;
}

.service-item:hover h3::after { margin-left: 10px; }

/* --- News Section --- */
.news-section {
    padding: 80px 0 120px;
    background-color: var(--bg-light);
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: baseline;
    gap: 30px;
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    box-shadow: none;
}

.news-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.news-meta {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-label {
    align-self: flex-start;
    background: #fff;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 0.75rem;
    border: 1px solid var(--primary-color);
}

.news-content-wrap { flex-grow: 1; }

.news-title {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.5;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.btn-more {
    display: inline-block;
    color: var(--text-color);
    border: 1px solid #ccc;
    padding: 12px 40px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #fff;
    transition: all 0.3s;
}

.btn-more:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- Instagram Section --- */
.instagram-section {
    background-color: #fff; 
    padding-bottom: 100px;
    position: relative; /* 装飾のために基準位置を設定 */
    overflow: hidden;
}

/* 背景にうっすらとピンクの円を配置して「味」を出す */
.instagram-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 152, 152, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none; /* クリックの邪魔をしない */
}

.insta-account {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--text-color);
    font-family: sans-serif;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* 写真同士の間隔を少し広げて上品に */
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.insta-item {
    aspect-ratio: 1 / 1;
    border-radius: 20px; /* 角を丸くして優しさを演出 */
    overflow: hidden;
    position: relative;
    background: #fff;
    /* ふんわりとした影をつける */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02); /* 極薄の枠線で輪郭を整える */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

/* --- ホバー時の演出 --- */
/* 1. カード全体が少し浮き上がる */
.insta-item:hover {
    transform: translateY(-5px);
    /* 影が少し濃くなり、ほんのりピンク色になる */
    box-shadow: 0 15px 35px rgba(244, 152, 152, 0.25);
}

/* 2. 写真がズームする */
.insta-item:hover img {
    transform: scale(1.1);
}

/* 3. 黒いフィルターがかかる */
.insta-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}
.insta-item:hover::before {
    opacity: 1;
}

/* 4. カメラアイコンが出現する */
.insta-item::after {
    content: "📷"; /* シンプルに絵文字を使用（画像アイコンへの変更も可） */
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0); /* 最初は小さく隠しておく */
    font-size: 2rem;
    color: #fff;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* ポンッと出る動き */
    opacity: 0;
}
.insta-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* --- ボタン周り --- */
.center-btn {
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-insta-link {
    display: inline-flex; /* アイコンと文字を並べるため */
    align-items: center;
    gap: 10px;
    background: #fff; /* 白背景に変更 */
    color: var(--text-color);
    padding: 15px 50px;
    border-radius: 50px; /* 完全に丸く */
    font-size: 0.95rem;
    font-weight: bold;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* ボタンにもピンクのアクセント */
.btn-insta-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244, 152, 152, 0.4);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
        gap: 15px;
    }
}

/* =========================================
   営業情報セクション
   ========================================= */
.business-section {
    padding: 80px 0;
    background-color: #fff;
}

.biz-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- カレンダー --- */
.biz-calendar-wrap {
    flex-shrink: 0;
}

.biz-calendar {
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    min-width: 300px;
}

.biz-calendar th {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 15px;
    font-weight: normal;
    border-right: 1px solid rgba(255,255,255,0.5);
}
.biz-calendar th:last-child { border-right: none; }

.biz-calendar td {
    background-color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    border-right: 1px solid #eee;
}
.biz-calendar td:last-child { border-right: none; }

.biz-calendar td.tri { color: var(--primary-color); }

/* --- 右側のテキスト情報 --- */
.biz-info-text { padding-top: 10px; }

.biz-item {
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.6;
}

.biz-label {
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.1rem;
    color: #333;
}

.biz-value {
    font-size: 1rem;
    color: #333;
}

.biz-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
    padding-left: 15px;
    border-left: 4px solid #ddd;
}


/* =========================================
   新フッターデザイン (NEW)
   ========================================= */
.site-footer {
    background-color: #fff; /* 白背景 */
    color: #333;
    padding: 60px 0 20px;
    border-top: none;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 下揃え */
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

/* --- 左側：ロゴ --- */
.footer-logo-link {
    display: block;
}

.f-logo-main {
    /* 横長のロゴ画像を適切に表示するための設定 */
    width: 300px; 
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

/* --- 右側：住所連絡先 --- */
.footer-address {
    text-align: right;
    font-size: 0.9rem;
    line-height: 1.8;
}

.f-zip, .f-tel, .f-mail {
    margin: 5px 0;
    color: #333;
}

.f-insta-icon {
    margin-top: 15px;
    text-align: right;
}

/* --- 最下部 --- */
.footer-bottom {
    text-align: center;
    border-top: none;
    padding-top: 0;
    color: #999;
    font-size: 0.8rem;
}

/* =========================================
   Mobile Responsive
   ========================================= */
@media (max-width: 768px) {
    .header-inner { padding: 0 15px; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: #fff; flex-direction: column; justify-content: center;
        padding: 40px; transition: 0.4s; box-shadow: -5px 0 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active { right: 0; }
    
    .menu-toggle { display: flex; z-index: 1001;}

    .hero { height: auto; min-height: 70vh; justify-content: flex-end; padding-bottom: 0; }
    .hero-content { margin-top: 100px; margin-bottom: 20px; width: 85%; padding: 30px; }
    .hero h1 { font-size: 1.6rem; }
    
    .hero-bottom-nav { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); }
    .h-nav-item:last-child { grid-column: span 2; }
    .h-nav-item { height: 90px; }

    .message-catch { font-size: 1.5rem; margin-bottom: 30px; }
    .message-emotional { padding: 30px 20px; font-size: 1rem; width: 100%; box-sizing: border-box; }

    /* Service Grid */
    .service-grid { grid-template-columns: repeat(1, 1fr); gap: 40px; padding: 0 20px; }
    .service-item h3 { font-size: 1.2rem; }

    /* News */
    .news-item { flex-direction: column; gap: 10px; align-items: flex-start; padding: 20px; }
    .news-meta { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
    .news-excerpt { -webkit-line-clamp: 2; }

    /* Instagram */
    .insta-grid { grid-template-columns: repeat(2, 1fr); }

    /* Business Info (Mobile) */
    .biz-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .biz-calendar-wrap, .biz-info-text {
        width: 100%;
        max-width: 400px;
    }

    /* Footer (Mobile) */
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-brand {
        text-align: center;
        width: 100%;
    }
    .f-logo-main {
        margin: 0 auto; /* ロゴを中央寄せ */
    }
    .footer-address { text-align: center; }
    .f-insta-icon { text-align: center; }
}
/* =========================================
   営業情報セクション
   ========================================= */
.business-section {
    padding: 80px 0;
    background-color: #fff;
}

.biz-container {
    display: flex;
    justify-content: center; /* 営業情報全体は中央寄せ */
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- カレンダー --- */
.biz-calendar-wrap {
    flex-shrink: 0;
}

.biz-calendar {
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    min-width: 300px;
}

.biz-calendar th {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 15px;
    font-weight: normal;
    border-right: 1px solid rgba(255,255,255,0.5);
}
.biz-calendar th:last-child { border-right: none; }

.biz-calendar td {
    background-color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    border-right: 1px solid #eee;
}
.biz-calendar td:last-child { border-right: none; }
.biz-calendar td.tri { color: var(--primary-color); }

/* --- 右側のテキスト情報 --- */
.biz-info-text { padding-top: 10px; text-align: left; }

.biz-item {
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.6;
}

.biz-label {
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.1rem;
    color: #333;
}
.biz-value { font-size: 1rem; color: #333; }

.biz-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
    padding-left: 15px;
    border-left: 4px solid #ddd;
}


/* =========================================
   新フッターデザイン (ロゴ左・情報右)
   ========================================= */
.site-footer {
    background-color: #fff; /* 白背景 */
    color: #333;
    padding: 60px 0 20px;
    border-top: none;
}

.footer-inner {
    display: flex;
    justify-content: space-between; /* 左右に離す */
    align-items: flex-end; /* 下揃え */
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}

/* --- 左側：ロゴ --- */
.footer-brand {
    text-align: left; /* 左寄せを強制 */
    flex: 0 0 auto;   /* 勝手に縮まないようにする */
}

.footer-logo-link { display: block; }

.f-logo-main {
    width: 500px; /* 画像サイズ調整 */
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

/* --- 右側：住所連絡先 --- */
.footer-address {
    text-align: right; /* 右寄せを強制 */
    font-size: 0.9rem;
    line-height: 1.8;
    flex: 0 0 auto; /* 勝手に縮まないようにする */
    margin-left: auto; /* 万が一の場合も右に押しやる */
}

.f-zip, .f-tel, .f-mail {
    margin: 5px 0;
    color: #333;
}

.f-insta-icon {
    margin-top: 15px;
    text-align: right;
}

/* --- 最下部 --- */
.footer-bottom {
    text-align: center;
    border-top: none;
    padding-top: 0;
    color: #999;
    font-size: 0.8rem;
}

/* 以前のCSSの影響を消す */
footer .footer-content, 
footer .company-info, 
footer .footer-nav {
    display: none;
}


/* =========================================
   Mobile Responsive (スマホ表示用)
   ========================================= */
@media (max-width: 768px) {
    
    /* --- ヘッダー・メニュー --- */
    .header-inner { padding: 0 15px; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: #fff; flex-direction: column; justify-content: center;
        padding: 40px; transition: 0.4s; box-shadow: -5px 0 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active { right: 0; }
    .menu-toggle { display: flex; z-index: 1001;}


    /* --- ヒーローセクションの修正（Gridで重ねて中央配置） --- */
    .hero {
        height: auto;           
        min-height: auto;
        padding-top: 0;
        background-color: transparent;
        
        /* ▼ Gridレイアウトを適用 ▼ */
        display: grid;
        grid-template-rows: auto auto; /* 1行目:画像エリア, 2行目:ナビエリア */
        grid-template-columns: 1fr;
    }

    /* 1. 背景写真 (1行目に配置) */
    .hero-bg {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        width: 100%;
        position: relative;
        z-index: 1;
    }
    .hero-bg img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    /* 2. ロゴ (1行目の「同じ場所」に重ねて配置) */
    .hero-content {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        z-index: 10;
        
        /* ▼ ここでど真ん中に配置 ▼ */
        align-self: center;
        justify-self: center;
        
        /* 以前のAbsolute配置を解除 */
        position: static; 
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        pointer-events: none;
        transform: none; 
    }

    .hero-main-img {
        width: 100px; /* ロゴを小さく */
        height: auto;
        filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    }

    /* 3. 下部ナビ (2行目に配置) */
    .hero-bottom-nav {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        
        position: relative;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border-top: none;
        background: transparent; 
    }

    .h-nav-item {
        height: 120px;
        border-right: 1px solid rgba(255,255,255,0.3);
        border-bottom: 1px solid rgba(255,255,255,0.3);
        color: #fff; /* 文字色は白 */
    }

    .h-nav-item:nth-child(2n) { border-right: none; }
    .h-nav-item:last-child {
        grid-column: span 2;
        border-right: none;
        border-bottom: none;
    }
    
    .h-nav-text .en { 
        color: rgba(255,255,255,0.8); 
    }
    
    .h-nav-img::after { 
        background: rgba(0,0,0,0.3); 
    } 


    /* --- その他のセクション（変更なし） --- */
    .message-catch { font-size: 1.5rem; margin-bottom: 30px; }
    .message-emotional { padding: 30px 20px; font-size: 1rem; width: 100%; box-sizing: border-box; }

    /* Service Grid */
    .service-grid { grid-template-columns: repeat(1, 1fr); gap: 40px; padding: 0 20px; }
    .service-item h3 { font-size: 1.2rem; }

    /* News */
    .news-item { flex-direction: column; gap: 10px; align-items: flex-start; padding: 20px; }
    .news-meta { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
    .news-excerpt { -webkit-line-clamp: 2; }

    /* Instagram */
    .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }

    /* Business Info */
    .biz-container { flex-direction: column; align-items: center; gap: 40px; }
    .biz-calendar-wrap, .biz-info-text { width: 100%; max-width: 400px; }

    /* Footer */
    .footer-inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 30px; }
    .footer-brand, .footer-address { text-align: center; margin-left: 0; flex: unset; }
    .f-logo-main { margin: 0 auto; }
    .f-insta-icon { text-align: center; }
}

/* =========================================
   下層ページ共通スタイル
   ========================================= */

/* --- ページヘッダー（タイトル帯） --- */
.page-header {
    height: 250px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* ヘッダーの高さ分下げる */
}

/* 画像を少し暗くして文字を見やすく */
.page-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.page-header-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.1em;
}

.page-subtitle {
    font-size: 1rem;
    font-family: sans-serif;
    letter-spacing: 0.1em;
    opacity: 0.9;
    text-transform: uppercase;
}

/* --- パンくずリスト --- */
.breadcrumb-area {
    background-color: #f9f9f9;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-list li::after {
    content: ">";
    margin-left: 10px;
    color: #ccc;
}

.breadcrumb-list li:last-child::after {
    content: none;
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: underline;
}
.breadcrumb-list a:hover { text-decoration: none; }


/* --- 本文エリアのデザイン（post-content） --- */
/* ここで h2 や h3 などのデザインを一括管理します */
.post-content {
    padding: 80px 0 120px;
    max-width: 900px; /* 読みやすい幅に制限 */
    margin: 0 auto;
}

/* 大見出し (h2) */
.post-content h2 {
    font-size: 1.6rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-top: 60px;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}
.post-content h2:first-child { margin-top: 0; }

/* 小見出し (h3) */
.post-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin-top: 50px;
    margin-bottom: 25px;
}

/* 本文 (p) */
.post-content p {
    margin-bottom: 30px;
    line-height: 2.0;
    text-align: justify; /* 両端揃え */
}

/* リスト (ul/ol) */
.post-content ul, .post-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px 30px 30px 50px;
    border-radius: 8px;
}
.post-content li { margin-bottom: 10px; }

/* テーブル (table) */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    border: 1px solid #ddd;
}
.post-content th {
    background: #f5f5f5;
    padding: 15px;
    border: 1px solid #ddd;
    width: 30%;
    text-align: left;
    font-weight: bold;
}
.post-content td {
    padding: 15px;
    border: 1px solid #ddd;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .page-header { height: 180px; }
    .page-title { font-size: 1.5rem; }
    .post-content { padding: 40px 0 80px; }
    .post-content h2 { font-size: 1.3rem; margin-top: 40px; }
    .post-content h3 { font-size: 1.1rem; }
    .post-content th, .post-content td { display: block; width: 100%; box-sizing: border-box; }
    .post-content th { background: #eee; }
}

/* =========================================
   記事詳細ページ (news_detail.html)
   ========================================= */
.article-container {
    max-width: 800px;
    margin: 120px auto 100px; /* ヘッダー分の余白 */
    background: #fff;
    padding: 60px;
    border-radius: 8px; /* 全体のデザインに合わせて角丸を少し控えめに調整 */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.article-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.article-meta {
    color: #888;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.article-label {
    background: var(--primary-color);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.article-title {
    font-size: 1.8rem;
    color: var(--text-color); /* 読みやすさのため濃いグレーに変更（好みでピンクでも可） */
    margin: 0;
    line-height: 1.4;
}

.article-body {
    line-height: 2.0;
    font-size: 1rem;
    text-align: justify;
}

/* 記事内の画像などのスタイル調整 */
.article-body img {
    margin: 30px 0;
    width: 100%;
    height: auto;
}

.btn-back {
    display: inline-block;
    text-align: center;
    margin-top: 60px;
    color: #888;
    text-decoration: underline;
    transition: color 0.3s;
}

.btn-back:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .article-container {
        padding: 30px 20px;
        margin-top: 100px;
        width: 90%; /* 横幅いっぱいにならないように */
        box-sizing: border-box;
    }
    .article-title { font-size: 1.4rem; }
}

/* =========================================
   会社概要ページ (Company Profile)
   ========================================= */

/* --- 1. 企業理念セクション --- */
.mission-section {
    padding: 100px 0;
    text-align: center;
    background-color: #FFFBF5; /* ブランドカラーに合う薄いクリーム色 */
    
    /* ▼▼▼ 追加：背景ロゴの基準位置設定 ▼▼▼ */
    position: relative;
    overflow: hidden;
}

/* ▼▼▼ 追加：背景にロゴを薄く配置 ▼▼▼ */
.mission-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* ど真ん中に配置 */
    
    width: 400px;  /* ロゴのサイズ（必要に応じて調整してください） */
    height: 400px;
    
    background-image: url('images/hero-message.png'); /* ロゴ画像のパス */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    
    opacity: 0.15; /* 薄さの調整（0.05〜0.1くらいがおすすめ） */
    z-index: 0;
    pointer-events: none;
}

/* ▼▼▼ 追加：文字を背景ロゴより手前に表示 ▼▼▼ */
.mission-section .container {
    position: relative;
    z-index: 1;
}

/* --- 以下は変更なし --- */
.mission-label {
    display: inline-block;
    font-family: sans-serif;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.mission-title {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 2.2rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.mission-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 2.2;
    color: #555;
}

/* --- 2. 代表挨拶セクション --- */
.ceo-section {
    padding: 100px 0;
    background-color: #fff;
}

.ceo-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 写真エリア */
.ceo-img {
    flex: 1; /* 幅を半分確保 */
}
.ceo-img img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* 甘くなりすぎないよう小さな角丸 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 立体感 */
}

/* 文章エリア */
.ceo-content {
    flex: 1.2; /* 文章の方を少し広く */
}

.ceo-heading {
    font-size: 1.8rem;
    font-family: "Zen Maru Gothic", sans-serif;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.ceo-content p {
    margin-bottom: 20px;
    line-height: 2.0;
    text-align: justify;
}

.ceo-name {
    margin-top: 40px;
    text-align: right;
    font-weight: bold;
    font-size: 1rem;
}

.ceo-name span {
    font-size: 1.4rem;
    margin-left: 10px;
}

/* --- 3. 会社概要（データ）セクション --- */
.profile-data-section {
    padding: 80px 0;
    background-color: #fafafa; /* 薄いグレーで区切る */
}

.profile-table-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th {
    width: 25%;
    text-align: left;
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: bold;
    vertical-align: top; /* 文字を上揃え */
}

.profile-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
    color: #555;
    line-height: 1.8;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
    border-bottom: none;
}

/* --- 4. アクセスセクション --- */
.access-section {
    padding: 80px 0 120px;
    background-color: #fff;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* アスペクト比 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* --- スマホ対応 (Responsive) --- */
@media (max-width: 768px) {
    /* 理念 */
    .mission-title { font-size: 1.6rem; }
    
    /* 代表挨拶：縦積みにする */
    .ceo-layout {
        flex-direction: column;
        gap: 40px;
    }
    .ceo-heading { font-size: 1.5rem; text-align: center; }
    
    /* 会社概要テーブル */
    .profile-table-wrap { padding: 20px; }
    .profile-table th, .profile-table td {
        display: block; /* 縦並びにする */
        width: 100%;
        padding: 10px 0;
    }
    .profile-table th {
        border-bottom: none;
        padding-bottom: 0;
        color: var(--primary-color); /* スマホでは見出しを色付け */
    }
    .profile-table td {
        padding-top: 5px;
    }
}

/* --- 事業所一覧ページの写真枠 --- */
.station-photo-frame {
    width: 100%;
    max-width: 800px;    /* PCでの横幅の上限 */
    /* height: 450px; */ /* ←削除：高さを固定するのをやめる */
    height: auto;        /* ★追加：画像の高さに合わせて枠を伸ばす */
    margin: 0 auto 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #fff; /* 画像が透過などの場合に備えて背景白 */
}

.station-photo-frame img {
    width: 100%;
    height: auto;        /* ★追加：比率を保ったまま表示 */
    object-fit: contain; /* ★変更：枠内に画像全体を収める（見切れ防止） */
    object-position: center;
    display: block;      /* 下に謎の隙間ができるのを防ぐ */
}

/* スマホ対応（高さ指定を解除したので、ここもシンプルにします） */
@media (max-width: 768px) {
    .station-photo-frame {
        height: auto;    /* スマホでも高さを自動調整 */
    }
}

/* =========================================
   お知らせ一覧ページ (News Archive)
   ========================================= */

/* --- 絞り込み検索バー（スマートなデザインに変更） --- */
.filter-area {
    display: flex;
    justify-content: space-between; /* 文字とプルダウンを左右に配置 */
    align-items: center;
    
    background: #fff;
    padding: 20px 30px;
    border-radius: 50px; /* 角丸で親しみやすさを */
    margin-bottom: 50px;
    
    /* 浮いているような影でプロ感を演出 */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

.filter-label {
    font-weight: bold;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 検索アイコン風の装飾 */
.filter-label::before {
    content: "";
    font-size: 1.2rem;
}

.filter-ui-wrap {
    display: flex;
    gap: 15px;
}

.filter-select {
    padding: 10px 20px;
    font-size: 0.95rem;
    border: 1px solid #eee;
    border-radius: 50px;
    color: #555;
    background: #f9f9f9;
    cursor: pointer;
    min-width: 120px;
    outline: none;
    transition: all 0.3s;
}

.filter-select:hover,
.filter-select:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 152, 152, 0.1);
}

/* スマホ対応：検索バーを縦積みに */
@media (max-width: 768px) {
    .filter-area {
        flex-direction: column;
        gap: 15px;
        border-radius: 20px;
        padding: 25px;
    }
    .filter-ui-wrap {
        width: 100%;
        justify-content: center;
    }
    .filter-select { flex: 1; }
}


/* --- ニュースリスト（カードデザイン） --- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: center; /* 上下中央揃え */
    gap: 30px;
    
    background: #fff;
    padding: 25px 35px;
    border-radius: 12px;
    
    /* 枠線をなくし、影で奥行きを出す */
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none; /* リンクの下線を消す */
}

/* 左端にアクセントカラーのラインを入れる */
.news-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--primary-color);
    transition: width 0.3s;
}

/* ホバー時の動き：少し浮き上がり、左のラインが少し太くなる */
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.news-item:hover::before {
    width: 8px;
}

/* 日付・カテゴリ部分 */
.news-meta {
    display: flex;
    flex-direction: column; /* 縦並びにしてスッキリさせる */
    align-items: flex-start;
    gap: 8px;
    min-width: 120px; /* 幅を確保してガタつきを防ぐ */
}

.news-meta time {
    font-family: sans-serif; /* 数字を綺麗に見せる */
    color: #888;
    font-weight: bold;
    font-size: 0.95rem;
}

.news-label {
    background: #fff0f0; /* 薄いピンク背景 */
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px; /* 丸くして可愛らしく */
    font-size: 0.75rem;
    font-weight: bold;
    border: 1px solid var(--primary-color);
    display: inline-block;
}

/* タイトル・本文部分 */
.news-content-wrap {
    flex: 1;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px 0;
    transition: color 0.3s;
    line-height: 1.5;
}

.news-item:hover .news-title {
    color: var(--primary-color); /* ホバーでタイトルをピンクに */
}

.news-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    
    /* 1行で省略表示（お好みで2行など調整可） */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; 
    overflow: hidden;
}

/* スマホ対応：ニュースリスト */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    .news-meta {
        flex-direction: row; /* スマホでは横並びに戻す */
        align-items: center;
        width: 100%;
        justify-content: space-between;
        margin-bottom: 5px;
    }
}

/* =========================================
   お問い合わせ・応募エリア (Recruit Contact)
   ========================================= */

.contact-section-wrap {
    margin-top: 80px;
    padding: 60px 40px;
    background-color: #FFFBF5; /* 薄いクリーム色 */
    border-radius: 20px;
    border: 2px solid #F49898; /* ブランドカラーの枠線 */
}

.contact-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    border: none !important; /* h3のデフォルト線を消す */
}

.contact-desc {
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
}

/* 左右2カラムのレイアウト */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* 共通ボックススタイル */
.contact-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.box-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-box h4 {
    font-size: 1.3rem;
    margin: 0 0 10px;
    color: #333;
}

.box-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

/* --- 左側：電話 --- */
.phone-link {
    display: block;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 15px;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(244, 152, 152, 0.4);
}

.phone-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.tel-number {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: sans-serif; /* 数字を見やすく */
    display: block;
    line-height: 1;
}

.tel-time {
    font-size: 0.85rem;
    color: #888;
}

/* --- 右側：フォーム --- */
.form-box {
    text-align: left; /* フォームの中身は左寄せ */
}

.recruit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.required {
    background: #ff6b6b;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box; /* 枠線を含めたサイズ計算 */
}

.form-group textarea {
    resize: vertical; /* 縦方向のみリサイズ可 */
}

.btn-submit {
    background: #333;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-color);
}

/* スマホ対応：縦並びにする */
@media (max-width: 768px) {
    .contact-section-wrap { padding: 40px 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .tel-number { font-size: 1.5rem; }
}

/* =========================================
   採用情報ページ 写真グリッド (修正版)
   ========================================= */
.recruit-photo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* 左を少し広く */
    gap: 15px;
    height: 380px;  /* 全体の高さ */
    margin: 40px 0 80px;
}

/* --- 左側：縦に2枚並べるカラム --- */
.grid-col-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    overflow: hidden; /* はみ出し防止 */
}

/* 左側の写真（ここを修正） */
.grid-col-left img {
    width: 100%;
    height: 50%;     /* ★修正：2枚なので高さを半分(50%)ずつにする */
    object-fit: cover;
    object-position: center 20%; /* 顔が見えるように少し上を基準にする */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- 右側：縦長1枚のカラム --- */
.grid-col-right {
    height: 100%;
    overflow: hidden;
}

/* 右側の写真 */
.grid-col-right img {
    width: 100%;
    height: 100%;    /* こちらは1枚なので100%でOK */
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .recruit-photo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 左右均等 */
        gap: 10px;
        height: 240px; /* スマホでの高さ */
        margin: 30px 0 60px;
    }

    /* スマホでは画像の高さ指定を解除し、親枠に合わせる */
    .grid-col-left img {
        height: 100%; /* Flexboxで自動調整されるので100%に戻す */
    }
}
/* =========================================
   準備中ページ (Coming Soon)
   ========================================= */

.coming-soon-wrapper {
    /* ヘッダーとフッターを除いたエリアで画面中央に配置 */
    min-height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 100px; /* ヘッダー分の余白 */
}

.coming-soon-content {
    text-align: center;
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    border: 2px dashed #ddd; /* 工事中っぽさと可愛さを出す点線 */
    max-width: 600px;
    width: 100%;
}

/* --- キャラクター画像エリア --- */
.cs-character-wrap {
    margin-bottom: 30px; /* 画像とタイトルの間隔 */
    text-align: center;
}

.cs-character-wrap img {
    max-width: 180px;  /* ★画像の表示サイズ（お好みで調整してください） */
    height: auto;
    display: inline-block;
}

/* --- テキストエリア --- */
.coming-soon-content h1 {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.coming-soon-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.cs-btn-area {
    margin-top: 20px;
}
/* =========================================
   事業内容ページ (Service Page)
   ========================================= */

/* --- 共通見出し --- */
.section-heading-center {
    text-align: center;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-family: "Zen Maru Gothic", sans-serif;
}

/* --- 3つの特徴 (Features) --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-num {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    text-align: left;
    line-height: 1.6;
}

/* --- サービス内容リスト --- */
.service-details {
    margin-bottom: 80px;
    padding: 60px;
    background: #f9f9f9;
    border-radius: 20px;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.service-box h5 {
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.service-box ul {
    margin: 0;
    padding-left: 20px;
    background: none; /* 既存CSSのリセット */
    border: none;
}
.service-box li {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #555;
}

/* --- 利用の流れ (Flow) --- */
.flow-section {
    margin-bottom: 60px;
}

.flow-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.flow-step {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    align-items: center;
    position: relative;
}

/* 下向き矢印 */
.flow-step:not(:last-child)::after {
    content: "▼";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #ddd;
}

.step-num {
    background: #f49898;
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-size: 1.2rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr; /* 1列に */
        gap: 20px;
    }
    
    .service-details {
        padding: 30px 20px;
    }
    .service-list-grid {
        grid-template-columns: 1fr;
    }

    .flow-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* =========================================
   追従採用バナー (Recruit Banner)
   ========================================= */
.recruit-banner {
    position: fixed;
    bottom: 20px;       /* 下から20px浮かす */
    left: 50%;
    transform: translateX(-50%); /* 左右中央揃え */
    width: 90%;         /* 幅は画面の90% */
    max-width: 800px;   /* PCで広がりすぎないように */
    z-index: 9999;      /* 他の要素より手前に表示 */
    
    /* ふわっと表示させるアニメーション */
    animation: slideUp 0.8s ease-out forwards;
}

.banner-content {
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
}

/* リンク部分 */
.banner-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    flex: 1; /* 余白を埋める */
    gap: 15px;
}

.banner-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite; /* アイコンを跳ねさせる */
}

.banner-text {
    font-size: 1rem;
    line-height: 1.4;
}

.banner-text strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 5px;
}

.banner-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap; /* ボタンの文字を折り返さない */
}

/* 閉じるボタン */
.banner-close {
    background: #eee;
    border: none;
    color: #888;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.banner-close:hover {
    background: #ddd;
    color: #333;
}

/* アニメーション定義 */
@keyframes slideUp {
    from { transform: translate(-50%, 100px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* スマホ対応 */
@media (max-width: 600px) {
    .recruit-banner {
        width: 95%;
        bottom: 10px;
    }
    .banner-content {
        padding: 10px 15px;
        border-radius: 12px; /* スマホでは角丸を少し四角く */
    }
    .banner-text {
        font-size: 0.85rem;
    }
    .banner-text strong {
        display: block; /* 「積極採用中！」を改行 */
    }
    .banner-btn {
        display: none; /* スマホではボタン文字を隠してシンプルに */
    }
    .banner-icon {
        font-size: 1.2rem;
    }
}

/* =========================================
   スクロールフェードイン・アニメーション
   ========================================= */

/* 初期状態：少し下にずらして透明にする */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 表示状態：元の位置に戻して不透明にする */
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   医療DX情報活用加算のお知らせ
   ========================================= */
.dx-info-box {
    max-width: 800px;
    margin: 60px auto 0; /* 上に余白を空ける */
    padding: 25px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
}

.dx-info-box h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    display: inline-block;
}

.dx-info-box p {
    margin: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .dx-info-box {
        margin-top: 40px;
        padding: 20px;
        font-size: 0.85rem;
    }
}

/* =========================================
   イベント情報ページ (Event Page)
   ========================================= */

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    text-decoration: none; /* リンクの下線を消す */
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* 画像エリア */
.event-img-wrap {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-img-wrap img {
    transform: scale(1.1);
}

/* 「受付中」などのバッジ */
.event-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

/* テキストエリア */
.event-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-date {
    font-family: sans-serif;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.event-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 5px 0 10px;
    line-height: 1.5;
    color: var(--text-color);
}

.event-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1; /* 余白を埋めてボタンを下に押しやる */
}

.event-meta {
    font-size: 0.85rem;
    color: #888;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.btn-event-detail {
    text-align: center;
    background: #555;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.event-card:hover .btn-event-detail {
    background: var(--primary-color);
}

/* --- 過去のイベント用スタイル（少し地味にする） --- */
.past-mode .event-card {
    opacity: 0.9;
    box-shadow: none;
    border: 1px solid #ddd;
}
.past-mode .event-status-badge {
    background: #999; /* グレーにする */
}
.past-mode .event-date {
    color: #666;
}
.past-mode .btn-event-detail {
    display: none; /* 申し込みボタンなどは消す */
}