/* ジョブタス鹿屋事業所 - メインスタイルシート（モダンデザイン） */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ブレークポイントの目安
   ~599px  : スマートフォン
   600-899 : 大きめスマホ／小型タブレット
   900-1199: タブレット・小型ノート
   1200px~ : デスクトップ
*/

html {
    /* 端末を横向きにしたときに文字だけ勝手に拡大されるのを防ぐ */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* 基本スタイル */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'Yu Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    /* 要素のはみ出しで横スクロールが出るのを防ぐ（sticky は維持される） */
    overflow-x: clip;
}

/* 画像・動画・地図などはすべて親幅に収める（レスポンシブの土台） */
img,
svg,
video,
iframe,
embed,
object {
    max-width: 100%;
}

img,
video {
    height: auto;
}

/* 長いURLや英単語で横スクロールが出ないようにする */
p,
li,
h1,
h2,
h3,
h4,
td,
th,
dd {
    overflow-wrap: break-word;
    word-break: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* 画面幅に応じて左右余白を可変にする（スマホで窮屈にならない） */
    padding: 0 clamp(16px, 4vw, 24px);
}

/* キーボード操作用スキップリンク */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 12px 20px;
    background: #ff6b9d;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* フォーカスリング（キーボード操作時のみ表示） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #ff6b9d;
    outline-offset: 2px;
}

/* ヘッダー */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: clamp(10px, 2vw, 20px) clamp(16px, 4vw, 24px);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    /* 画面幅に応じてロゴの高さを 52px〜100px で可変にする */
    height: clamp(52px, 8vw, 100px);
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 32px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
    /* 1200px 以下でも折り返さずに収まるよう間隔を可変にする */
    gap: clamp(14px, 2.2vw, 35px);
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: clamp(13px, 1.2vw, 15px);
    white-space: nowrap;
    transition: all 0.3s;
    position: relative;
}

/* 現在表示中のページを強調 */
.nav a[aria-current="page"] {
    color: #ff6b9d;
}

.nav a[aria-current="page"]::after {
    width: 100%;
}

/* ハンバーガーボタン（モバイルのみ表示） */
.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #333;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-overlay {
    display: none;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b9d, #ffa500);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #ff6b9d;
}

.nav-cta {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa500 100%);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

/* ヒーローセクション */
.hero {
    position: relative;
    background-image: url('../images/office-front.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    /* 画面高に合わせつつ、低い端末でも潰れないようにする */
    min-height: clamp(360px, 62vh, 550px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(40px, 8vw, 60px) clamp(16px, 4vw, 20px);
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: clamp(15px, 3.2vw, 24px);
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-title {
    margin-bottom: 40px;
}

.hero-title-small {
    font-size: clamp(14px, 2.5vw, 20px);
    font-weight: 400;
    display: block;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-title-main {
    font-size: clamp(26px, 6.5vw, 56px);
    font-weight: 900;
    display: block;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 20px);
    justify-content: center;
    margin-top: clamp(24px, 5vw, 40px);
}

.btn-hero {
    padding: clamp(14px, 2.4vw, 18px) clamp(28px, 6vw, 45px);
    min-height: 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-hero-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid #fff;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* セクション共通 */
section {
    /* スマホでは 56px、デスクトップでは 100px の余白になるよう可変にする */
    padding: clamp(56px, 9vw, 100px) clamp(16px, 4vw, 20px);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(32px, 6vw, 60px);
}

.section-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ff6b9d;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title-main {
    font-size: clamp(24px, 4.6vw, 42px);
    font-weight: 900;
    color: #333;
    position: relative;
    display: inline-block;
}

.section-title-main::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b9d, #ffa500);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-link {
    text-align: center;
    margin-top: 50px;
}

.btn-link {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-link:hover {
    transform: translateX(5px);
}

/* お知らせセクション */
.news-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-date {
    font-size: 14px;
    color: #999;
    font-weight: 600;
    min-width: 110px;
}

.news-category {
    background: linear-gradient(135deg, #ff6b9d, #ffa500);
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    min-width: 90px;
    text-align: center;
}

.news-item a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    flex: 1;
    transition: color 0.3s;
}

.news-item a:hover {
    color: #ff6b9d;
}

/* スコア表セクション */
.score-section {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    padding: 80px 0;
}

.score-content {
    max-width: 900px;
    margin: 0 auto;
}

.score-description {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.score-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.score-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.score-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.score-link {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    text-decoration: none;
    color: #333;
    gap: 20px;
    transition: all 0.3s;
}

.score-link:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05), rgba(255, 165, 0, 0.05));
}

.score-icon {
    font-size: 32px;
    min-width: 40px;
    text-align: center;
}

.score-title {
    flex: 1;
    font-weight: 600;
    font-size: 18px;
}

.score-action {
    color: #ff6b9d;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* 事業所紹介カード */
.about-intro {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.about-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
}

.about-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff6b9d, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card h3 {
    font-size: 22px;
    font-weight: 900;
    color: #333;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* 動画セクション */
.video-section {
    background: linear-gradient(180deg, #fff 0%, #fef5f0 100%);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.video-description p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.9;
}

/* ギャラリー */
.gallery-section {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 30px 25px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* CTA（お問い合わせ） */
.cta {
    position: relative;
    background-image: url('../images/office-front.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(22px, 4.4vw, 42px);
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.cta-content > p {
    font-size: 18px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.cta-info {
    margin-bottom: 50px;
}

.cta-phone {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    display: inline-block;
    min-width: 400px;
}

.cta-phone-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.cta-phone-number {
    font-size: clamp(18px, 4.6vw, 48px);
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.cta-phone-number a {
    color: inherit;
    text-decoration: none;
    word-break: break-all;
}

.cta-phone-hours {
    font-size: 14px;
    opacity: 0.85;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* フッター */
.footer {
    background: #2d3436;
    color: #dfe6e9;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #4a5568;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b9d, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.footer-company {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-info a {
    color: #dfe6e9;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-info a:hover {
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-nav-group h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-nav-group ul {
    list-style: none;
}

.footer-nav-group li {
    margin-bottom: 12px;
}

.footer-nav-group a {
    color: #dfe6e9;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-nav-group a:hover {
    color: #ff6b9d;
    transform: translateX(5px);
}

/* 関連会社バナー */
.footer-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin: 0;
    border-top: 1px solid #dee2e6;
}

.banner-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 45px;
    color: #2d3436;
    position: relative;
    padding-bottom: 15px;
}

.banner-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d 0%, #ffa500 100%);
    border-radius: 3px;
}

.banner-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}

.banner-list li {
    flex: 1;
    max-width: 260px;
    min-width: 200px;
}

.banner-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.banner-list a:hover {
    border-color: #ff6b9d;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
    transform: translateY(-5px);
}

.banner-list img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

@media (max-width: 992px) {
    .banner-list {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .banner-list li {
        flex: 0 0 calc(50% - 10px);
        max-width: none;
    }
}

@media (max-width: 576px) {
    .banner-list {
        gap: 15px;
    }
    
    .banner-list li {
        flex: 0 0 100%;
        width: 100%;
        min-width: auto;
    }
    
    .banner-title {
        font-size: 20px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.copyright {
    font-size: 13px;
    color: #b2bec3;
}

/* レスポンシブデザイン
   ※ ヘッダーのモバイル対応はファイル末尾の「ナビゲーション」ブロックで行う */
@media (max-width: 768px) {
    .hero {
        min-height: clamp(360px, 60vh, 460px);
        padding: 48px 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-hero {
        width: 100%;
        max-width: 300px;
    }

    .about-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-phone {
        min-width: auto;
        width: 100%;
    }

    .cta-phone-number {
        font-size: clamp(18px, 5vw, 32px);
        word-break: break-all;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .score-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .score-title {
        font-size: 16px;
    }

    .score-action {
        align-self: flex-end;
    }
}

/* お問い合わせフォーム */
.contact {
    padding: 80px 20px;
    background: #f8f9fa;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
    font-size: 15px;
}

.form-group .required {
    color: #ff6b9d;
    margin-left: 5px;
    font-weight: 900;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b9d;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-submit button {
    background: linear-gradient(135deg, #ff6b9d, #ffa500);
    color: #fff;
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

.form-submit button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.4);
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 600;
}

.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #28a745;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

/* 管理画面スタイル */
.admin-login {
    max-width: 400px;
    margin: 100px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header {
    background-color: #ff6600;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-table {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.admin-table tr:hover {
    background-color: #f9f9f9;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
}

.btn-view {
    background-color: #007bff;
    color: #fff;
}

.btn-delete {
    background-color: #dc3545;
    color: #fff;
}

.btn-view:hover {
    background-color: #0056b3;
}

.btn-delete:hover {
    background-color: #c82333;
}

.logout-btn {
    background-color: #6c757d;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

.logout-btn:hover {
    background-color: #5a6268;
}

/* ページ共通スタイル */
.page-header {
    position: relative;
    background-image: url('../images/office-front.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    padding: clamp(40px, 7vw, 60px) clamp(16px, 4vw, 20px);
    text-align: center;
    color: #fff;
    overflow: hidden;
    min-height: clamp(180px, 32vw, 280px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header .page-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-size: clamp(26px, 5.6vw, 48px);
}

.page-header .page-label {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.page-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.page-title {
    font-size: clamp(26px, 5.6vw, 48px);
    font-weight: 900;
    margin: 0;
}

/* お知らせページ */
.news-page {
    padding: 80px 20px;
    background: #f8f9fa;
}

.news-list-page {
    max-width: 900px;
    margin: 0 auto;
}

.news-article {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.news-article-date {
    font-size: 14px;
    color: #999;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-article-content h2 {
    font-size: 24px;
    font-weight: 900;
    color: #333;
    margin: 15px 0 20px;
}

.news-image {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.02);
}

.news-article-content p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 15px;
}

.news-article-content strong {
    color: #333;
    font-weight: 700;
}

/* ジョブタスとはページ */
.about-detail {
    padding: 80px 20px;
}

.about-intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-intro-text h2 {
    font-size: clamp(20px, 4.2vw, 32px);
    font-weight: 900;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.about-intro-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.15);
}

.feature-box h3 {
    font-size: 22px;
    font-weight: 900;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid;
    border-image: linear-gradient(135deg, #ff6b9d, #ffa500) 1;
}

.feature-box p {
    color: #666;
    line-height: 1.8;
}

.score-section {
    background: linear-gradient(135deg, #fef5f0 0%, #fff8e6 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.score-section h3 {
    font-size: 28px;
    font-weight: 900;
    color: #333;
    margin-bottom: 20px;
}

.score-section p {
    color: #666;
    margin-bottom: 30px;
}

.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d, #ffa500);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

/* 作業内容ページ */
.work-detail {
    padding: 80px 20px;
}

.work-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.work-intro p {
    font-size: 16px;
    color: #666;
    line-height: 1.9;
}

.work-list {
    max-width: 1100px;
    margin: 0 auto;
}

.work-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.work-detail-item.reverse {
    direction: rtl;
}

.work-detail-item.reverse > * {
    direction: ltr;
}

.work-detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.work-detail-content h2 {
    font-size: 28px;
    font-weight: 900;
    color: #333;
    margin-bottom: 10px;
}

.work-subtitle {
    font-size: 16px;
    color: #ff6b9d;
    font-weight: 700;
    margin-bottom: 20px;
}

.work-detail-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.work-points {
    list-style: none;
    margin-top: 25px;
}

.work-points li {
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
    color: #333;
    font-weight: 600;
}

.work-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b9d;
    font-weight: 900;
    font-size: 18px;
}

/* アクセスページ */
.access-page {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: stretch;
}

.access-info {
}

.access-info h2 {
    font-size: clamp(21px, 4.2vw, 32px);
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.info-table {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table th,
.info-table td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
}

.info-table th {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa500 100%);
    color: #fff;
    font-weight: 700;
    width: 38%;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
}

.info-table th::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
}

.info-table td {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 500;
}

.info-table td a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    display: inline-block;
}

.info-table td a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s;
}

.info-table td a:hover::after {
    width: 100%;
}

.info-table td a:hover {
    color: #764ba2;
}

.info-table td a[href^="mailto:"] {
    font-size: 16px;
    letter-spacing: 0.2px;
    word-break: break-all;
}

.small-text {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.access-hours {
    position: relative;
    background-image: url('../images/office-front.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    min-height: 200px;
}

.access-hours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 0;
}

.access-hours h3,
.access-hours p {
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}
    content: '';
    position: absolute;
    font-size: 120px;
    right: -20px;
    bottom: -30px;
    opacity: 0.15;
}

.access-hours h3 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.access-hours p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 2.0;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.access-map {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 67px;
}

.access-map iframe {
    width: 100%;
    flex: 1;
    min-height: 350px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 25px;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.25);
}

.map-info-box .map-icon {
    font-size: 32px;
    animation: none;
    margin-bottom: 0;
}

.map-info-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.map-info-box .map-note {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 5px;
}

.map-placeholder {
    height: 560px;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.map-placeholder::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05) 0px,
        rgba(255, 255, 255, 0.05) 15px,
        transparent 15px,
        transparent 30px
    );
    animation: slide 30s linear infinite;
}

.map-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-info {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 50px;
    max-width: 600px;
}

.map-icon {
    font-size: 80px;
    display: block;
    margin-bottom: 25px;
    animation: bounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.map-info h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.map-info p {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.map-details {
    margin-top: 40px;
    padding-top: 35px;
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
}

.map-details p {
    font-size: 17px;
    line-height: 2.0;
    margin-bottom: 8px;
}

.map-details strong {
    font-weight: 900;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.map-link {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa500 100%);
    color: white !important;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.35);
    border: 2px solid transparent;
}

.btn-map:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 107, 157, 0.45);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-map-route {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.btn-map-route:hover {
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.45);
}

.btn-map span {
    margin-right: 10px;
    font-size: 20px;
}

.access-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 70px 50px;
    border-radius: 25px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.access-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.access-cta h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.access-cta p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.access-cta .cta-buttons {
    position: relative;
    z-index: 2;
}

.map-info p {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.map-details {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.map-details p {
    font-size: 16px;
    line-height: 1.8;
}

.map-details strong {
    font-weight: 900;
}

.map-link {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-map {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa500 100%);
    color: white !important;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.btn-map-route {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-map:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.btn-map-route:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-map span {
    margin-right: 8px;
}

.access-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
}

.access-cta h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.access-cta p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* レスポンシブ - ページ用 */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .work-detail-item,
    .work-detail-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .access-page {
        padding: 60px 0;
    }

    .access-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .access-info h2 {
        font-size: 26px;
    }

    .info-table th,
    .info-table td {
        padding: 15px 18px;
        font-size: 14px;
    }

    .info-table th {
        width: 40%;
    }

    .access-hours {
        padding: 25px 20px;
    }

    .access-hours::before {
        font-size: 80px;
        right: -10px;
        bottom: -20px;
    }

    .map-placeholder {
        height: 420px;
        border-radius: 16px;
    }

    .map-info {
        padding: 35px 25px;
    }

    .map-icon {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .map-info h3 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .map-info p {
        font-size: 17px;
    }

    .map-details {
        margin-top: 30px;
        padding: 20px;
    }

    .map-details p {
        font-size: 15px;
    }

    .map-link {
        flex-direction: column;
        gap: 15px;
    }

    .btn-map {
        width: 100%;
        padding: 16px 30px;
        font-size: 15px;
    }

    .access-cta {
        padding: 50px 30px;
        border-radius: 20px;
    }

    .access-cta h3 {
        font-size: 28px;
    }

    .access-cta p {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

/* モーダルスタイル */
.info-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 60px 0;
}

.info-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.info-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.info-btn .btn-icon {
    font-size: 40px;
}

.info-btn .btn-text {
    font-size: 18px;
    font-weight: 700;
}

/* モーダル本体 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-wide {
    max-width: 1000px;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #333;
}

/* CTAセクション */
.contact-cta {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa500 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.cta-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-phone {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
}

.contact-cta .cta-phone a {
    color: #fff;
    text-decoration: none;
    word-break: break-all;
    letter-spacing: 1px;
}

/* フローステップ */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.flow-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
}

.flow-step h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.flow-step p {
    color: #666;
    line-height: 1.8;
}

/* 作業内容 */
.work-category {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.work-category h3 {
    margin-top: 0;
}

.work-category ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.work-category ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.work-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 900;
    font-size: 18px;
}

/* タイムライン */
.schedule-timeline {
    position: relative;
    padding-left: 50px;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-time {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 11px;
    color: #667eea;
    z-index: 1;
}

.timeline-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 20px;
    color: #667eea;
}

.timeline-content p {
    color: #666;
    margin: 10px 0 0 0;
    line-height: 1.8;
}

/* 会社概要テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.company-table th,
.company-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th {
    width: 180px;
    background: #f8f9fa;
    font-weight: 700;
    color: #555;
}

.company-table td {
    color: #666;
    line-height: 1.8;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* FAQ */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.faq-question {
    padding: 25px 60px 25px 25px;
    background: #f8f9fa;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
    font-size: 16px;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: block;
}

.faq-question::after {
    content: '＋';
    position: absolute;
    right: 20px;
    top: 25px;
    font-size: 24px;
    color: #667eea;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
    color: #555;
    line-height: 2.0;
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.faq-question.active + .faq-answer {
    padding: 25px;
    padding-top: 20px;
    padding-bottom: 25px;
    max-height: 2000px;
    overflow: visible;
}

/* レスポンシブ - モーダル */
@media (max-width: 768px) {
    .info-buttons {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }
    
    .flow-step {
        flex-direction: column;
    }
    
    .schedule-timeline {
        padding-left: 30px;
    }
    
    .timeline-time {
        left: -30px;
        width: 35px;
        height: 35px;
        font-size: 10px;
    }
    
    .company-table th {
        width: 120px;
    }
    
    .cta-phone {
        font-size: 28px;
    }
}

/* ====================================
   ハンドメイド製品ページのスタイル
   ==================================== */

/* 製品紹介セクション */
.products-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-content p {
    font-size: 18px;
    line-height: 2.0;
    color: #555;
    margin-bottom: 20px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 製品一覧セクション */
.products-list {
    padding: 80px 0;
    background: #fff;
}

.products-list h2 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-image-placeholder {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    color: #999;
    font-size: 16px;
    font-weight: 600;
}

.product-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.product-description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    font-weight: 900;
    color: #ff6b9d;
    margin-bottom: 20px;
}

.price-note {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-left: 8px;
}

.product-features {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.product-features h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    font-size: 14px;
    color: #666;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 900;
}

.no-products {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 18px;
}

/* 製品お問い合わせCTA */
.products-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(22px, 4.4vw, 36px);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* レスポンシブ - 製品ページ */
@media (max-width: 768px) {
    .intro-content h2 {
        font-size: 28px;
    }
    
    .intro-content p {
        font-size: 16px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-list h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-name {
        font-size: 20px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}


/* ====================================================================
   レスポンシブ強化レイヤー
   （ここが最後に読み込まれるので、上のスタイルを上書きする）
   ==================================================================== */

/* --------------------------------------------------------------------
   1. ナビゲーション（ハンバーガーメニュー）
   PCは横並び、900px以下では右からスライドインするドロワーに切り替える
   -------------------------------------------------------------------- */
@media (max-width: 900px) {

    .js .nav-toggle {
        display: flex;
    }

    .js .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(78vw, 320px);
        height: 100%;
        height: 100dvh;
        background: #fff;
        /* 閉じているときは影も出さない（画面の右端に灰色の帯が出るため） */
        box-shadow: none;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.3s ease, box-shadow 0.3s ease, visibility 0s linear 0.3s;
        z-index: 1100;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 88px 24px 40px;
    }

    .js body.nav-open .nav {
        transform: translateX(0);
        visibility: visible;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease, visibility 0s;
    }

    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav a {
        display: block;
        /* 指で押しやすいサイズ（最低44px）を確保する */
        padding: 16px 8px;
        font-size: 16px;
        white-space: normal;
    }

    .nav a::after {
        display: none;
    }

    .nav a[aria-current="page"] {
        color: #ff6b9d;
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        padding: 16px 24px;
    }

    /* メニューを開いている間、背面を覆う */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1050;
    }

    .nav-overlay[hidden] {
        display: none;
    }

    /* メニューを開いている間は背面のスクロールを止める */
    body.nav-open {
        overflow: hidden;
    }

    /* ハンバーガー → ×印 */
    body.nav-open .nav-toggle {
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 1200;
    }

    body.nav-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    body.nav-open .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* JavaScriptが無効な場合はドロワーにせず、リンクを縦に並べて常時表示する */
    html:not(.js) .header .container {
        flex-wrap: wrap;
    }

    html:not(.js) .nav {
        width: 100%;
        padding-bottom: 12px;
    }
}

/* --------------------------------------------------------------------
   2. タブレット（769px〜1199px）
   768px以下は1列、1200px以上は3列。その間は2列にして
   カード1枚あたりの幅が狭くなりすぎないようにする。
   -------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1199px) {

    .about-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .access-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        gap: 40px;
    }
}

/* --------------------------------------------------------------------
   3. 表（テーブル）— スマホでは縦積みにして横スクロールを無くす
   -------------------------------------------------------------------- */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {

    .info-table,
    .company-table {
        display: block;
        width: 100%;
    }

    .info-table tbody,
    .info-table tr,
    .info-table th,
    .info-table td,
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td {
        display: block;
        width: 100% !important;
    }

    .info-table tr,
    .company-table tr {
        margin-bottom: 14px;
        border: 1px solid #eee;
        border-radius: 10px;
        overflow: hidden;
    }

    .info-table th,
    .company-table th {
        /* 見出し帯はそのままの配色（白文字）を保つ */
        padding: 10px 14px;
        font-size: 13px;
        border: none;
    }

    .info-table th::after,
    .company-table th::after {
        display: none;
    }

    .info-table td,
    .company-table td {
        padding: 12px 14px;
        font-size: 15px;
        border: none;
    }
}

/* --------------------------------------------------------------------
   4. 地図（Googleマップ埋め込み）
   固定 height をやめ、縦横比で高さを決める
   -------------------------------------------------------------------- */
.access-map iframe,
.map-placeholder iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 260px;
    border: 0;
    border-radius: 12px;
}

@media (min-width: 901px) {

    .access-map iframe,
    .map-placeholder iframe {
        aspect-ratio: 16 / 10;
        min-height: 380px;
    }
}

/* 地図下の住所ボックスは、狭い画面では横並びをやめて縦に積む */
@media (max-width: 600px) {

    .map-info-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 18px;
    }

    .map-info-box .map-icon {
        font-size: 26px;
    }

    .map-placeholder {
        height: auto;
    }
}

/* --------------------------------------------------------------------
   5. お問い合わせフォーム
   -------------------------------------------------------------------- */
.contact {
    padding: clamp(48px, 8vw, 80px) clamp(16px, 4vw, 20px);
}

.contact-form {
    padding: clamp(24px, 5vw, 50px);
    border-radius: clamp(12px, 2vw, 20px);
}

.form-group {
    margin-bottom: clamp(20px, 3vw, 30px);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    /* 16px未満にすると iOS で入力時に画面が勝手に拡大されるため 16px を死守する */
    font-size: 16px;
    padding: 14px 16px;
    min-height: 48px;
}

.form-group textarea {
    min-height: clamp(140px, 30vw, 180px);
}

.form-submit button {
    width: 100%;
    max-width: 360px;
    min-height: 52px;
    padding: 16px 32px;
    font-size: clamp(16px, 2.4vw, 18px);
}

/* CTA内のメールアドレスは、狭い画面では字間を詰めて1行に収める */
@media (max-width: 600px) {

    /* 単独行になっているメールリンクは、指で押しやすい高さを確保する */
    .cta-phone-number a,
    .info-table td > a[href^="mailto:"] {
        display: inline-block;
        padding: 10px 4px;
        min-height: 44px;
    }

    /* 押しやすさのための余白は残しつつ、文字の位置はほかの行とそろえる */
    .info-table td > a[href^="mailto:"] {
        margin: -10px -4px;
        font-size: inherit;
    }

    .cta-phone-number {
        letter-spacing: 0;
    }

    .cta-phone-number a {
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .cta-phone {
        padding: 20px 16px;
    }
}

/* フォーム下のメール案内（長いアドレスがはみ出さないよう可変サイズにする） */
.contact-mail-block {
    text-align: center;
    margin-top: clamp(28px, 5vw, 40px);
}

.contact-mail-block h3 {
    font-size: clamp(17px, 3.2vw, 24px);
    font-weight: 900;
    margin-bottom: 15px;
}

.contact-mail-address {
    font-size: clamp(18px, 5.2vw, 32px);
    color: #ff6b9d;
    font-weight: 900;
    margin: 20px 0;
    line-height: 1.4;
}

.contact-mail-address a {
    color: inherit;
    text-decoration: none;
    word-break: break-all;
}

.contact-mail-note {
    font-size: clamp(14px, 2vw, 16px);
    color: #666;
}

/* --------------------------------------------------------------------
   6. ボタン・リンクのタップ領域を確保（最低44×44px）
   -------------------------------------------------------------------- */
.btn,
.btn-link,
.btn-map,
.btn-hero,
.nav-cta,
.score-link {
    min-height: 44px;
}

@media (max-width: 768px) {

    .hero-buttons {
        align-items: center;
    }

    .cta-buttons,
    .map-link {
        align-items: stretch;
    }

    .btn,
    .btn-map {
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
        text-align: center;
    }
}

/* --------------------------------------------------------------------
   7. 各セクションの細かい調整（スマホ）
   -------------------------------------------------------------------- */
@media (max-width: 600px) {

    .section-link {
        margin-top: 32px;
    }

    /* お知らせ */
    .news-article {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .news-article h2 {
        font-size: clamp(18px, 4.6vw, 22px);
    }

    /* ギャラリーは1列、画像の高さを抑える */
    .gallery-item img {
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    /* 製品カード */
    .product-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 関連会社バナー */
    .banner-list img {
        max-height: 64px;
    }

    /* フッター */
    .footer-content {
        text-align: center;
    }

    .footer-nav-group ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 16px;
        text-align: left;
    }

    .footer-nav-group a {
        display: inline-block;
        padding: 8px 0;
    }
}

/* 極小画面（〜360px）でも崩れないようにする */
@media (max-width: 360px) {

    .container {
        padding-inline: 14px;
    }

    .logo-img {
        height: 46px;
    }

    .footer-nav-group ul {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------
   8. 横向き（ランドスケープ）の低い画面
   -------------------------------------------------------------------- */
@media (max-height: 480px) and (orientation: landscape) {

    .hero {
        min-height: 320px;
    }

    .nav {
        padding-top: 64px;
    }
}

/* --------------------------------------------------------------------
   9. アニメーションを減らす設定をしている利用者への配慮
   -------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------
   10. 印刷用（お問い合わせ内容などを紙に出すとき）
   -------------------------------------------------------------------- */
@media print {

    .header,
    .nav,
    .nav-toggle,
    .nav-overlay,
    .skip-link,
    .footer-banner,
    .cta,
    .access-cta {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    section {
        padding: 12px 0;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 11px;
    }
}

/* トップページ h1 の補足行（サイト名・所在地をテキストで持たせSEOを補強） */
.hero-title-sub {
    display: block;
    margin-top: 12px;
    font-size: clamp(14px, 3vw, 20px);
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.95;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* ---- 日本語の改行を整える（「新た／な価値」のような単語の途中での改行を防ぐ）----
   word-break: auto-phrase は対応ブラウザ（Chrome / Edge）で文節ごとに折り返す。未対応のブラウザでは今までどおり */
h1, h2, h3, h4,
.section-title, .page-title, .hero-title, .hero-subtitle,
.lead, .section-lead, .page-subtitle {
    word-break: auto-phrase;
    text-wrap: balance;
}

p, li, dd, td {
    text-wrap: pretty;
}

/* ---- 線のアイコン（絵文字の代わり）: 文字の大きさ・色に合わせる ---- */
.icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: -0.14em;
}

.btn-map,
.error-btn {
    gap: 8px;
}

.score-icon,
.map-info-box .map-icon {
    color: #667eea;
    line-height: 1;
}

.map-info-box .map-icon {
    color: #fff;
}

.error-icon {
    color: #667eea;
    line-height: 1;
}

.info-btn .btn-icon {
    line-height: 1;
}

.feature-item h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 22px;
}

/* 営業時間の飾り（以前は絵文字の時計）*/
.access-hours::after {
    width: 140px;
    height: 140px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- 上の画像（看板の写真）----
   看板の写真は横長で小さい（768×179）ため、背景いっぱいに広げると拡大・切り取りでぼやける。
   背景はグラデーションにして、看板は切らずにそのまま見せる */
.hero,
.page-header,
.cta,
.access-hours {
    background-image: none;
    background-color: #5b5fc7;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero::before,
.page-header::before,
.cta::before,
.access-hours::before {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) 38%),
        radial-gradient(circle at 88% 85%, rgba(255, 107, 157, 0.30) 0, rgba(255, 107, 157, 0) 45%);
}

.hero {
    min-height: 0;
    padding: clamp(8px, 2vw, 24px) 0;
}

.hero-subtitle,
.hero-title,
.page-header .page-title,
.page-header .page-label,
.cta-content h2,
.cta-content > p,
.access-hours h3,
.access-hours p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.hero-sign {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: clamp(32px, 6vw, 48px) auto 0;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(20, 16, 60, 0.35);
}

.page-header {
    min-height: 0;
    padding: clamp(44px, 8vw, 72px) 16px;
}

/* ---- トップの看板（背景）----
   看板の写真は横長（768×179）。
   PC: 写真を背景いっぱいに敷き、高さを写真の縦横比に合わせて「ジョブタス」が切れずに見えるようにする。
       文字が読めるよう、上に暗いグラデーションを重ねる。
   スマホ・タブレット（1100px 未満）: 狭い画面で背景いっぱいにすると数文字しか写らないので、文字はグラデーションの上に置き、
           看板は下端に横幅いっぱいで丸ごと見せる。 */
.hero {
    background:
        linear-gradient(180deg, rgba(20, 16, 60, 0.58) 0%, rgba(20, 16, 60, 0.72) 100%),
        url('../images/office-front.jpeg') center 45% / cover no-repeat,
        #5b5fc7;
    /* 横幅 × 179/768（写真と同じ縦横比）。文字が収まるよう 440px 以上、大きすぎないよう 640px まで */
    height: clamp(440px, calc(100vw * 179 / 768), 640px);
    min-height: 0;
    padding: 0;
}

.hero::before {
    display: none;
}

.hero-sign {
    display: none;
}

@media (max-width: 1100px) {
    /* 上端に看板を横幅いっぱい・切らずに見せ、その下の文字の背景には同じ看板をぼかして敷く。
       看板とその下が同じ色合いでつながり、一枚の絵に見える */
    .hero {
        position: relative;
        overflow: hidden;
        height: auto;
        min-height: 0;
        background: url('../images/office-front.jpeg') center top / 100% auto no-repeat, #1f2a5e;
        /* 上の看板（横幅 × 179/768）の分だけ文字を下げる */
        padding: calc(100vw * 179 / 768) 0 0;
    }

    /* ぼかした看板（文字の背景） */
    .hero::before {
        display: block;
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100vw * 179 / 768);
        bottom: 0;
        background: url('../images/office-front.jpeg') center / cover no-repeat;
        filter: blur(10px) saturate(1.1);
        transform: scale(1.15);
        z-index: 0;
    }

    /* 文字を読みやすくする暗い膜。看板の下端から自然につながるよう上を少し薄くする */
    .hero-overlay {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100vw * 179 / 768);
        bottom: 0;
        background: linear-gradient(180deg, rgba(20, 24, 70, 0.55) 0%, rgba(20, 24, 70, 0.78) 100%);
        box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.25);
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        padding-top: clamp(28px, 7vw, 44px);
        padding-bottom: clamp(32px, 8vw, 48px);
    }
}
