/* ============================================
   就労継続支援B型事業所オーシャン
   メインカラー: ブルー (#0077b6)
   差し色: オレンジ (#ff8c42) - ブルーの補色
   ============================================ */

/* ============================================
   アニメーション
   ============================================ */

/* ヒーローテキスト - 左からスライドイン */
.hero-animate {
    position: relative;
    opacity: 0;
}

.hero-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
    transform: scaleX(1);
    transform-origin: right;
}

.hero-animate.animate {
    opacity: 1;
}

.hero-animate.animate::before {
    animation: revealSlide 0.8s ease forwards;
}

@keyframes revealSlide {
    0% {
        transform: scaleX(1);
        transform-origin: left;
    }
    50% {
        transform: scaleX(1);
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

/* フェードアップ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* フェードイン */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.animate {
    opacity: 1;
}

/* スクロールフェードアップ */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ヘッダースクロール効果 */
header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    padding: 10px 0;
}

header {
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* ページトップボタン */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,119,182,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,119,182,0.5);
}

.page-top svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

@media (max-width: 768px) {
    .page-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .page-top svg {
        width: 20px;
        height: 20px;
    }
}

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: inherit;
}

/* スマホのみ表示 */
.sp-only {
    display: none;
}

/* ============================================
   ヘッダー
   ============================================ */
header {
    background: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,119,182,0.3);
}

.logo-icon svg {
    width: 42px;
    height: 42px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0077b6;
    line-height: 1;
}

.logo-sub {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8c42;
    transition: width 0.3s;
}

nav a:hover {
    color: #0077b6;
}

nav a:hover::after {
    width: 100%;
}

.header-contact {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,140,66,0.4);
}

.header-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,140,66,0.5);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #0077b6;
    border-radius: 3px;
    transition: 0.3s;
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero {
    background: #C4E4FB;
    padding: 160px 20px 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,140,66,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' d='M0,40 C200,10 400,90 600,60 C800,30 1000,80 1200,50 C1320,30 1380,20 1440,30 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-catch {
    font-size: 48px;
    font-weight: 700;
    color: #0a2540;
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero-catch span {
    color: #0077b6;
    position: relative;
}

.hero-catch span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255,140,66,0.3);
    z-index: -1;
}

.hero-text {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    line-height: 2;
}

.hero-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    background: #fff;
    border: 3px solid #ff8c42;
    color: #333;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255,140,66,0.15);
}

.badge-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.badge-amount {
    font-size: 40px;
    font-weight: 700;
    color: #ff6b35;
    line-height: 1;
}

.badge-amount small {
    font-size: 20px;
    font-weight: 600;
}

.badge-unit {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    height: 380px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,119,182,0.25);
    border: 5px solid #fff;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #fff;
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(255,140,66,0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,140,66,0.5);
}

.cta-button::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s;
}

.cta-button:hover::after {
    transform: translateX(5px);
}

/* ============================================
   セクション共通
   ============================================ */
section {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #0a2540;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0077b6, #00b4d8);
    border-radius: 2px;
}

.section-title p {
    color: #0077b6;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 15px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   当事業所について
   ============================================ */
.about {
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    border-radius: 20px;
    z-index: 0;
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: #0077b6;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #ff8c42, #ff6b35);
    border-radius: 3px;
}

.about-text p {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-philosophy {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    padding: 25px 30px;
    border-radius: 15px;
    border-left: 5px solid #ff8c42;
    margin-top: 25px;
    box-shadow: 0 5px 20px rgba(255,140,66,0.1);
}

.about-philosophy strong {
    color: #0077b6;
    font-size: 17px;
}

/* ============================================
   ご利用対象
   ============================================ */
.target {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
}

.target::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0077b6, #00b4d8, #0077b6);
}

.target-content {
    text-align: center;
}

.target-lead {
    font-size: 26px;
    color: #0a2540;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.6;
}

.target-lead br + br {
    display: none;
}

.target-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.target-item {
    background: #fff;
    padding: 30px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,119,182,0.1);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.target-item:hover {
    border-color: #0077b6;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,119,182,0.15);
}

.target-item span {
    font-size: 18px;
    font-weight: 600;
    color: #0077b6;
}

.target-note {
    color: #666;
    font-size: 15px;
    background: #fff;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* ============================================
   特徴
   ============================================ */
.features {
    background: #fff;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230077b6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.features .section-inner {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0077b6, #00b4d8);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,119,182,0.15);
    border-color: #0077b6;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(0,119,182,0.3);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: #fff;
}

.feature-card h3 {
    font-size: 18px;
    color: #0a2540;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* ============================================
   作業内容
   ============================================ */
.work {
    background: linear-gradient(180deg, #fff5eb 0%, #ffedd5 100%);
    position: relative;
}

.work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff8c42, #ff6b35, #ff8c42);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.work-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.work-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255,140,66,0.2);
}

.work-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.work-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-item h4 {
    padding: 25px 20px;
    text-align: center;
    color: #0a2540;
    font-size: 17px;
    font-weight: 600;
    background: #fff;
}

.work-note {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 14px;
    background: #fff;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.work .section-inner {
    text-align: center;
}

/* ============================================
   1日の流れ
   ============================================ */
.schedule {
    background: linear-gradient(135deg, #0077b6 0%, #005f92 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.schedule::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.schedule::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,140,66,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.schedule .section-inner {
    position: relative;
    z-index: 1;
}

.schedule .section-title h2 {
    color: #fff;
}

.schedule .section-title h2::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.8), #fff);
}

.schedule .section-title p {
    color: rgba(255,255,255,0.8);
}

/* 1日の流れ - テーブル形式 */
.schedule-table {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-row {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 18px 25px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.schedule-row:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(10px);
}

.schedule-row .schedule-time {
    min-width: 100px;
    background: #fff;
    color: #0077b6;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.schedule-activity {
    min-width: 150px;
    font-weight: 700;
    font-size: 16px;
    margin-left: 25px;
}

.schedule-desc {
    flex: 1;
    font-size: 14px;
    opacity: 0.9;
    margin-left: 25px;
}

.schedule-note {
    text-align: center;
    margin-top: 30px;
    opacity: 0.8;
    font-size: 14px;
}

/* ============================================
   ご利用の流れ
   ============================================ */
.flow {
    background: #fff;
}

.flow-steps {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.flow-step {
    text-align: center;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 40px;
    font-size: 24px;
    color: #ccc;
}

.flow-step:nth-child(3)::after {
    display: none;
}

.flow-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0,119,182,0.3);
}

.flow-content h4 {
    font-size: 20px;
    color: #0a2540;
    margin-bottom: 12px;
    font-weight: 700;
}

.flow-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.flow-content small {
    color: #ff8c42;
    font-weight: 500;
}

/* ============================================
   会社概要
   ============================================ */
.company {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.company-table {
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.company-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th,
.company-table td {
    padding: 22px 30px;
    text-align: left;
}

.company-table th {
    background: linear-gradient(135deg, #0077b6 0%, #0088cc 100%);
    color: #fff;
    font-weight: 600;
    width: 180px;
    font-size: 15px;
}

.company-table td {
    color: #555;
    font-size: 15px;
}

.company-table a {
    color: #0077b6;
    font-weight: 600;
}

.company-table a:hover {
    color: #ff8c42;
}

.company-table small {
    color: #888;
    font-size: 13px;
}

/* ============================================
   お問い合わせ
   ============================================ */
.contact {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0077b6, #00b4d8, #0077b6);
}

.contact-box {
    background: #fff;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,119,182,0.15);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #0077b6, #00b4d8, #0077b6);
}

.contact-box h3 {
    font-size: 26px;
    color: #0a2540;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-box > p {
    color: #666;
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 1.8;
}

.contact-tel {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-tel a {
    color: #0077b6;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-tel a svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.contact-tel a:hover {
    color: #ff8c42;
}

.contact-staff {
    color: #0077b6;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-note {
    color: #888;
    font-size: 14px;
}

.contact-email {
    margin-top: 25px;
    font-size: 18px;
}

.contact-email a {
    color: #0077b6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-email a svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-email a:hover {
    color: #ff8c42;
}

/* ============================================
   フッター
   ============================================ */
footer {
    background:
        linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(13, 51, 86, 0.85) 100%),
        url('images/footer-navi-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 70px 20px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 2;
}

.footer-company {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-nav h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 30px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-nav a:hover {
    color: #ff8c42;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ============================================
   レスポンシブ - タブレット
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        padding: 100px 0 120px;
    }

    .hero-inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-image {
        width: 100%;
        position: relative;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        height: 30vh;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .hero-image::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 100px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23C4E4FB' d='M0,70 C180,100 360,20 540,50 C720,80 900,10 1080,40 C1260,70 1350,90 1440,60 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom;
        background-size: cover;
    }

    .hero-cta-wrap {
        align-items: center;
    }

    .hero-catch {
        font-size: 47px;
    }

    .about-content {
        flex-direction: column;
        gap: 50px;
    }

    .about-image::before {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid,
    .work-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .target-list {
        flex-wrap: wrap;
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-step:nth-child(2)::after,
    .flow-step:nth-child(4)::after,
    .flow-step:nth-child(6)::after {
        display: none;
    }

    .schedule-row {
        flex-wrap: wrap;
    }

    .schedule-activity {
        min-width: auto;
        margin-left: 15px;
    }

    .schedule-desc {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
        padding-left: 118px;
    }
}

/* ============================================
   レスポンシブ - スマートフォン
   ============================================ */
@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
        border-radius: 0 0 20px 20px;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 18px 15px;
        font-size: 16px;
    }

    nav a::after {
        display: none;
    }

    .header-contact {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    section {
        padding: 70px 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .hero {
        padding: 90px 0 80px;
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .hero-cta-wrap {
        align-items: center;
    }

    .hero-catch {
        font-size: 39px;
    }

    .hero-catch span::after {
        height: 8px;
        bottom: 3px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-badge {
        padding: 12px 20px;
    }

    .badge-amount {
        font-size: 32px;
    }

    .badge-amount small {
        font-size: 16px;
    }

    .hero-image img {
        height: 30vh;
    }

    .sp-only {
        display: block;
    }

    .about-text h3 {
        font-size: 22px;
    }

    .target-lead {
        font-size: 20px;
    }

    .target-list {
        flex-direction: column;
        gap: 15px;
    }

    .target-item {
        padding: 20px 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .work-grid,
    .work-grid-3 {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .flow-step::after {
        display: none !important;
    }

    .flow-step {
        display: flex;
        text-align: left;
        gap: 20px;
    }

    .flow-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        flex-shrink: 0;
        margin: 0;
    }

    .flow-content h4 {
        font-size: 18px;
    }

    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .schedule-row .schedule-time {
        margin-bottom: 12px;
    }

    .schedule-activity {
        margin-left: 0;
        margin-bottom: 8px;
        font-size: 17px;
    }

    .schedule-desc {
        padding-left: 0;
        margin-left: 0;
        font-size: 13px;
    }

    .contact-box {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .contact-box h3 {
        font-size: 22px;
    }

    .contact-tel {
        font-size: 32px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav ul {
        grid-template-columns: 1fr;
    }

    .company-table th {
        width: 100px;
        padding: 18px 15px;
        font-size: 13px;
    }

    .company-table td {
        padding: 18px 15px;
        font-size: 14px;
    }

    .company-table small {
        display: block;
        margin-top: 5px;
    }

    .cta-button {
        padding: 18px 35px;
        font-size: 16px;
    }
}
