@charset "UTF-8";

/* =========================================================
   基本設定・デザイン変数定義
   ========================================================= */
:root {
    /* ブランドのメインカラー（信頼感を与える落ち着いたネイビー） */
    --primary-color: #003366;
    /* アクセントカラー（親しみやすさと活気を演出するオレンジ） */
    --accent-color: #f7941d;
    /* 強調用赤色 */
    --hero-accent-red: #d3381c;
    /* ページの全体背景色（白） */
    --bg-color: #ffffff;
    /* 基本テキストカラー（視認性を保つダークグレー） */
    --text-color: #333333;
    /* 補助テキストカラー（説明文などの薄いグレー） */
    --text-muted: #666666;
    /* セクションの背景を区切るための淡いグレー背景 */
    --light-bg: #f8f9fa;
    /* 境界線・区切り線に使用するライトグレー */
    --border-color: #e5e7eb;
    /* ページ全体の丸ゴシック体フォント（Kosugi Maru） */
    --font-family: "Kosugi Maru", sans-serif;
}

/* すべての要素の余白リセットとサイズ計算基準の統一 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* フォーム要素を含めたフォントの統一 */
body, button, input, select, textarea {
    font-family: var(--font-family);
}

/* ページ全体の基本スタイル・文字間・行間設定 */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    word-wrap: break-word;
}

/* =========================================================
   レイアウト共通クラス
   ========================================================= */
/* コンテンツの最大横幅を制限し、左右中央に寄せるコンテナ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクションごとの上下余白 */
.section {
    padding: 80px 0;
}

/* セクションの見出し共通デザイン */
.section-title {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

/* 見出し下部に配置するアクセントの下線 */
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* テキストを中央寄せにするユーティリティ */
.text-center {
    text-align: center;
}

/* 問い合わせやアクションを促す汎用ボタン */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--accent-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.25s ease;
}

/* ボタンのホバー時（マウス乗せ時）の暗転処理 */
.btn:hover {
    background-color: #d67c13;
}

/* =========================================================
   ヘッダー（左端ロゴ・右端メニュー・上下中央配置）
   ========================================================= */
header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    max-width: 100%;
    width: 100%;
}

.brand-box {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    display: block;
    transform: translateY(-8px);
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: #555555;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-top: 4px;
    line-height: 1.3;
}

header nav {
    margin-left: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-list a {
    text-decoration: none;
    color: #222222;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.nav-home-link {
    background-color: #f0f4f8;
    padding: 6px 14px;
    border-radius: 4px;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.nav-home-link:hover {
    background-color: #e2eaf1;
}

/* =========================================================
   ヒーローセクション（メインビジュアルとキャッチコピー）
   ========================================================= */
.hero {
    position: relative;
    background-color: #2a333c;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6)), url('../img/top.jpg');
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 130px 0 110px;
    text-align: center;
}

.hero-welcome-badge {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-catch-main {
    font-size: 2.7rem;
    line-height: 1.4;
    font-weight: 800;
    color: #ff6b52;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
}

.hero-catch-sub {
    font-size: 2.1rem;
    line-height: 1.4;
    font-weight: 800;
    color: #ff6b52;
    margin-bottom: 28px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
}

.hero-message {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 36px;
    color: #f3f4f6;
    font-weight: 500;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* =========================================================
   カード・グリッドスタイル
   ========================================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.feature-card {
    background-color: #ffffff;
    padding: 36px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.feature-num-badge {
    display: inline-block;
    font-size: 0.85rem;
    color: #ffffff;
    background-color: var(--accent-color);
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 14px;
    font-weight: 700;
}

.feature-desc {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ５つの誇りセクションスタイル */
.pride-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pride-card {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--accent-color);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pride-card:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.pride-number {
    background: linear-gradient(135deg, var(--accent-color), #ffaa44);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(247, 148, 29, 0.35);
}

.pride-text {
    font-size: 1.12rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 640px) {
    .pride-card {
        padding: 18px 20px;
        gap: 16px;
    }
    .pride-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .pride-text {
        font-size: 1rem;
    }
}

/* 一日のご様子（フォトギャラリー）スタイル */
.daily-gallery-wrap {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gallery-block {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.gallery-block-header {
    margin-bottom: 24px;
    text-align: left;
}

.gallery-subtitle {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.gallery-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.gallery-lead-text {
    font-size: 1.02rem;
    color: var(--text-color);
    line-height: 1.9;
    margin: 0;
    text-align: left;
}

.gallery-sub-lead {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px dashed var(--border-color);
}

.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .gallery-photos-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-photo-item {
    display: flex;
    flex-direction: column;
    background-color: #fafbfc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.gallery-photo-img-wrap {
    width: 100%;
    height: 220px;
    background-color: #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.gallery-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-photo-placeholder {
    color: var(--text-muted);
    font-size: 0.92rem;
    text-align: center;
    padding: 20px;
}

.gallery-photo-caption {
    padding: 14px 16px;
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    text-align: left;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
}

.gallery-photo-caption:empty {
    display: none;
}

.gallery-photos-grid.grid-4col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .gallery-photos-grid.grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-photos-grid.grid-4col {
        grid-template-columns: 1fr;
    }
}

/* ご利用の流れ・ステップリスト */
.flow-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flow-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-color);
    border-radius: 6px;
    padding: 24px 28px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.flow-step-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.flow-body {
    flex: 1;
}

.flow-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.flow-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* よくある質問スタイル */
.qa-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qa-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.qa-q {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.qa-q-mark {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 800;
}

.qa-a {
    font-size: 0.96rem;
    color: var(--text-color);
    line-height: 1.8;
    padding-left: 28px;
    border-left: 2px solid var(--border-color);
    margin-left: 6px;
}

/* 費用案内カード */
.cost-box {
    max-width: 860px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(247, 148, 29, 0.1);
}

.cost-box-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.cost-highlight {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d3381c;
    margin-bottom: 14px;
}

.cost-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: left;
}

/* =========================================================
   事業所概要・アクセス
   ========================================================= */
.company-access-section {
    background-color: var(--light-bg);
}

.company-access-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 36px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.company-info-col {
    flex: 1 1 54%;
    min-width: 0;
    color: #222222;
}

.company-title {
    color: #e60012;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 0.08em;
}

.company-corporate-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 22px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.company-corporate-name .label {
    font-weight: 700;
}

.company-details-list {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1rem;
}

.detail-row {
    display: flex;
    align-items: baseline;
}

.detail-row dt {
    width: 140px;
    flex-shrink: 0;
    color: #333333;
    font-weight: 700;
}

.detail-row dd {
    margin: 0;
    color: #222222;
}

.company-map-col {
    flex: 1 1 44%;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.map-img-container {
    width: 100%;
    max-width: 500px;
}

.google-map-iframe {
    width: 100%;
    height: 380px;
    display: block;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.map-open-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.92rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.map-open-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 事業所への経路案内 */
.access-route-block {
    margin-top: 24px;
    font-size: 0.98rem;
    line-height: 1.8;
}

.route-heading {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #333333;
    font-weight: 700;
}

.route-subheading {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #333333;
}

.route-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.route-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.route-step-num {
    font-weight: 700;
    flex-shrink: 0;
}

.route-step-desc p {
    margin: 0;
}

/* =========================================================
   フッター
   ========================================================= */
footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 45px 0 30px;
    text-align: center;
    font-size: 0.88rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    margin-top: 16px;
}

/* =========================================================
   レスポンシブ対応
   ========================================================= */
@media (max-width: 1100px) {
    .nav-list {
        gap: 14px;
    }
    .nav-list a {
        font-size: 0.84rem;
    }
}

@media (max-width: 880px) {
    .company-access-wrapper {
        flex-direction: column;
        padding: 24px 18px;
        gap: 32px;
    }
    .company-info-col,
    .company-map-col {
        width: 100%;
        flex: auto;
    }
    .map-img-container {
        max-width: 100%;
    }
}

@media (max-width: 860px) {
    header {
        position: static;
        box-shadow: none;
    }
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 12px 20px;
    }
    header nav {
        margin-left: 0;
        width: 100%;
    }
    .nav-list {
        flex-wrap: wrap;
        gap: 12px 16px;
        width: 100%;
    }
    .hero {
        padding: 90px 0 80px;
    }
    .hero-welcome-badge {
        font-size: 1.1rem;
    }
    .hero-catch-main {
        font-size: 1.75rem;
    }
    .hero-catch-sub {
        font-size: 1.45rem;
    }
    .hero-message {
        font-size: 0.98rem;
    }
    .flow-card {
        flex-direction: column;
        gap: 12px;
    }
}

