/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans JP', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* レスポンシブ用ユーティリティ */
.pc-only {
    display: inline;
}

@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.company-name {
    margin-left: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ヒーロー+ニュースコンテナ */
.hero-news-container {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-news-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ヒーローセクション */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 180px 10% 40px 10%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    z-index: 3;
    animation: fadeInUp 1s ease;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.hero-image {
    position: relative;
    height: 200px;
    width: 100%;
    max-width: 900px;
    margin-top: 1rem;
    z-index: 3;
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    width: 200px;
    height: 250px;
    background: var(--gradient-1);
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.card-2 {
    width: 180px;
    height: 220px;
    background: var(--gradient-2);
    bottom: 10%;
    left: 15%;
    animation-delay: 2s;
}

.card-3 {
    width: 160px;
    height: 200px;
    background: var(--gradient-3);
    top: 35%;
    left: 50%;
    animation: floatCenter 6s ease-in-out infinite;
    animation-delay: 4s;
    box-shadow: var(--shadow-xl);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatCenter {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-20px) rotate(5deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* サービスセクション */
.services {
    padding: 100px 20px;
    background: white;
}

.section-header {
    text-align: center;
/*    margin-bottom: 4rem; */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f3f4f6;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

/* サービスページ - ジグザグレイアウト */
.services-intro {
    padding: 80px 20px;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-dark);
    font-weight: 400;
}

.services-list {
    padding: 60px 20px 120px;
    background: white;
}

.services-list .container {
    max-width: 900px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.service-number {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    user-select: none;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.service-item:hover .service-number {
    opacity: 0.35;
    transform: scale(1.05);
}

.service-text {
    max-width: 750px;
}

.service-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.service-item p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    font-weight: 400;
    text-align: left;
}

/* 特徴セクション */
.features {
    padding: 100px 20px;
    background: var(--bg-light);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

.features-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-1);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* 会社概要セクション */
.about {
    padding: 60px 20px;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-info {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.info-item {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    min-width: 150px;
    color: var(--text-dark);
}

.info-value {
    color: var(--text-light);
    flex: 1;
    font-weight: 400;
}

/* お問い合わせセクション */
.contact {
    padding: 100px 20px;
    background: var(--bg-light);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 20px;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 95px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;  /* モバイルでは左右均等に */
    }

    .hero-title {
        font-size: 2.5rem;
        white-space: normal;  /* タブレット・スマホでは改行を許可 */
    }

    .hero-subtitle {
        white-space: normal;  /* タブレット・スマホでは改行を許可 */
    }

    .hero-image {
        height: 300px;
        margin-top: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .about-info,
    .contact-form {
        padding: 2rem;
    }

    .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .floating-card {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        white-space: normal;  /* スマホでは改行を許可 */
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        white-space: normal;  /* スマホでは改行を許可 */
    }

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

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ページヘッダー */
.page-header {
    padding: 195px 20px 105px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.1rem;
    color: white;
    font-weight: 400;
    text-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.5);
}

/* サービス詳細セクション */
.service-details {
    padding: 80px 20px;
    background: white;
}

.detail-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.detail-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.detail-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

/* プロセスセクション */
.process-section {
    margin-top: 4rem;
}

.process-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    font-weight: 400;
}

/* CTAセクション */
.cta-section {
    padding: 80px 20px;
    background: var(--gradient-1);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ミッションセクション */
.mission-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mission-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mission-item h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.mission-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

/* 沿革セクション */
.history-section {
    padding: 80px 20px;
    background: white;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    font-weight: 400;
}

/* コンタクト情報セクション */
.contact-info-section {
    padding: 80px 20px;
    background: white;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

/* フォームselect要素 */
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

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

    .mission-content {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .history-timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -1.65rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* 確認画面のスタイル */
.required {
    color: var(--accent-color);
    margin-left: 0.25rem;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-buttons .btn {
    min-width: 200px;
}

.confirm-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.confirm-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
    font-weight: 700;
}

.confirm-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.confirm-description strong {
    color: #ffd700;
    font-weight: 600;
}

.confirm-message {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.confirm-table {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.confirm-row {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.confirm-row:last-child {
    border-bottom: none;
}

.confirm-label {
    min-width: 180px;
    font-weight: 600;
    color: var(--text-dark);
}

.confirm-value {
    flex: 1;
    color: var(--text-light);
    word-break: break-word;
    white-space: pre-wrap;
    font-weight: 400;
}

/* 送信完了画面 */
.thanks-section {
    padding: 100px 20px;
    background: white;
    min-height: 60vh;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thanks-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.thanks-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.thanks-note {
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
}

.thanks-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .confirm-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .confirm-label {
        min-width: auto;
    }

    .form-buttons {
        flex-direction: column;
    }

    .form-buttons .btn {
        width: 100%;
    }

    .thanks-title {
        font-size: 2rem;
    }

    .thanks-message {
        font-size: 1rem;
    }

    .thanks-buttons {
        flex-direction: column;
    }

    .thanks-buttons .btn {
        width: 100%;
    }
}

/* ポリシーページ */
.policy-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.policy-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.policy-item {
    margin-bottom: 3rem;
}

.policy-item h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.policy-item p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.policy-item ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-item li {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.contact-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-left: 4px solid var(--accent-color);
}

.contact-box p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-box strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.policy-date {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
    text-align: right;
}

.policy-date p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* ポリシーページのレスポンシブ対応 */
@media (max-width: 768px) {
    .policy-content {
        padding: 2rem 1.5rem;
    }

    .policy-item h2 {
        font-size: 1.2rem;
    }

    .policy-intro {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .contact-box {
        padding: 1.5rem;
    }
}

/* フッターリンク */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 背景動画 */

.page-header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    object-position: center top;
}


/* 実験: 元の動画サイズで表示 */
/* 元のスタイル（引き延ばす） - すぐ戻せるようコメントアウト
.page-header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: none;
    z-index: -1;
}
*/
.page-header {
    position: relative;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
    /* ↓ 以下を追加 */
    min-height: 500px;  /* または height: 720px; */
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: white;
    font-weight: 400;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.5);
}

/* モバイル対応の追加 */
@media (max-width: 768px) {
    /* ロゴと会社名 */
    .logo img {
        height: 45px;
    }

    .company-name {
        font-size: 1.25rem;
        margin-left: 0.75rem;
    }

    /* ナビメニュー */
    .nav-menu a {
        font-size: 1rem;
    }

    /* ページヘッダー */
    .page-header {
        padding: 165px 20px 83px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    /* ナビゲーションバー */
    .navbar .container {
        padding: 1.2rem 15px;
    }

    /* サービスページ */
    .service-item {
        margin-bottom: 3.5rem;
    }

    .service-number {
        font-size: 4rem;
        margin-bottom: 0.8rem;
    }

    .service-item h3 {
        font-size: 1.5rem;
    }

    .service-item p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    /* より小さい画面用 */
    .logo img {
        height: 38px;
    }

    .company-name {
        font-size: 1.1rem;
    }

    .nav-menu a {
        font-size: 0.95rem;
    }

    .page-header {
        padding: 143px 15px 68px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    /* ナビゲーションバー */
    .navbar .container {
        padding: 1rem 15px;
    }

    /* フッターリンク */
    .footer-links {
        font-size: 0.85rem;
        gap: 0.8rem;
    }

    /* ポリシーページ */
    .policy-content {
        padding: 1.5rem 1rem;
    }

    .policy-item h2 {
        font-size: 1.1rem;
    }

    /* サービスページ */
    .intro-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .service-item {
        margin-bottom: 3rem;
    }

    .service-number {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .service-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .service-item p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}


/* ========================================
   ビジョンページ（共に創る未来）
======================================== */

/* ヒーローセクション */
.vision-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.vision-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.vision-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.vision-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 195px 20px 105px;
}

.vision-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5);
}

.vision-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    color: white;
    text-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.5);
}

/* ビジョンステートメント */
.vision-statement {
    padding: 80px 20px;
    background: white;
    margin-bottom: 40px;
}

.statement-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.statement-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.statement-text {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 2.2;
    color: var(--text-light);
    font-weight: 400;
}

/* ビジョンセクション */
.vision-section {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.vision-section:nth-child(odd) {
    background: white;
}

.vision-section:nth-child(even) {
    background: var(--bg-light);
}

.vision-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.vision-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.vision-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-number {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.vision-text {
    font-size: clamp(0.9rem, 1.7vw, 1.05rem);
    line-height: 2;
    color: var(--text-dark);
    font-weight: 400;
    text-align: left;
    max-width: 750px;
    margin: 0 auto;
}

/* トライアングルセクション */
.vision-triangle {
    position: relative;
    padding: 100px 20px;
    background: white;
    color: var(--text-dark);
    overflow: hidden;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.vision-triangle-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.vision-triangle .container {
    position: relative;
    z-index: 1;
}

.vision-triangle .vision-number {
    background: none !important;
    -webkit-text-fill-color: #4facfe !important;
    color: #4facfe !important;
    opacity: 0.6;
}

.triangle-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.triangle-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.triangle-text {
    font-size: clamp(0.9rem, 1.7vw, 1.05rem);
    line-height: 2;
    opacity: 0.95;
    text-align: left;
    max-width: 750px;
    margin: 0 auto 5rem auto;
}

.triangle-diagram {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
}

.triangle-point {
    flex: 1;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.triangle-point:hover {
    transform: translateY(-10px);
    border-color: #d1d5db;
    box-shadow: var(--shadow-lg);
}

.triangle-point:nth-child(1):hover {
    background: rgba(79, 172, 254, 0.15);
}

.triangle-point:nth-child(2):hover {
    background: rgba(110, 220, 212, 0.15);
}

.triangle-point:nth-child(3):hover {
    background: rgba(255, 169, 77, 0.15);
}

.triangle-label {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.triangle-point:nth-child(1) {
    background: rgba(79, 172, 254, 0.08);
}

.triangle-point:nth-child(1) .triangle-label {
    color: #4facfe;
}

.triangle-point:nth-child(2) {
    background: rgba(110, 220, 212, 0.08);
}

.triangle-point:nth-child(2) .triangle-label {
    color: #6edcd4;
}

.triangle-point:nth-child(3) {
    background: rgba(255, 169, 77, 0.08);
}

.triangle-point:nth-child(3) .triangle-label {
    color: #ffa94d;
}

.triangle-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .vision-hero {
        min-height: 500px;
        margin-bottom: 30px;
    }

    .vision-hero-content {
        padding: 165px 20px 83px;
    }

    .vision-hero-title {
        font-size: 2.2rem;
    }

    .vision-hero-subtitle {
        font-size: 1rem;
    }

    .vision-statement {
        padding: 80px 20px;
        margin-bottom: 30px;
    }

    .statement-title {
        font-size: 2rem;
    }

    .statement-text {
        font-size: 1.0rem;
        line-height: 1.9;
    }

    .vision-section {
        padding: 80px 20px;
        margin-bottom: 30px;
    }

    .vision-number {
        font-size: 3.5rem;
    }

    .vision-title {
        font-size: 1.8rem;
    }

    .vision-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .vision-triangle {
        padding: 80px 20px;
    }

    .triangle-title {
        font-size: 1.8rem;
    }

    .triangle-text {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 3rem;
    }

    .triangle-diagram {
        flex-direction: column;
        gap: 2rem;
    }

    .triangle-point {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .triangle-label {
        font-size: 1.5rem;
    }

    .triangle-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .vision-hero {
        margin-bottom: 20px;
    }

    .vision-hero-content {
        padding: 143px 15px 68px;
    }

    .vision-hero-title {
        font-size: 1.8rem;
    }

    .vision-hero-subtitle {
        font-size: 0.9rem;
    }

    .vision-statement {
        margin-bottom: 20px;
    }

    .statement-title {
        font-size: 1.6rem;
    }

    .statement-text {
        font-size: 0.95rem;
    }

    .vision-section {
        margin-bottom: 20px;
    }

    .vision-number {
        font-size: 2.5rem;
    }

    .vision-title {
        font-size: 1.5rem;
    }

    .vision-text {
        font-size: 0.9rem;
    }

    .triangle-title {
        font-size: 1.5rem;
    }

    .triangle-text {
        font-size: 0.9rem;
        line-height: 1.8;
    }
}


/* ========================================
   ニュースセクション（Bentoスタイル）
======================================== */

.news-section {
    padding: 40px 20px 80px;
    position: relative;
    z-index: 2;
}

.news-section .section-header {
    margin-bottom: 0;
}

.news-section .section-title {
    color: white;
    margin-bottom: 0.5rem;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5);
}

.news-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.5);
}

.news-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

/* Featured カード（左側大きめ） */
.bento-card.featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* 通常カード */
.bento-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid #f3f4f6;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.bento-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.bento-category {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.bento-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.bento-card.featured .bento-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.bento-summary {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.bento-card.featured .bento-summary {
    font-size: 1.05rem;
    line-height: 1.8;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.bento-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.bento-source {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #f3f4f6;
    font-style: italic;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .news-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-card.featured {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 20px;
    }

    .news-bento {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bento-card.featured {
        grid-column: 1;
        grid-row: auto;
    }

    .bento-card {
        padding: 1.5rem;
    }

    .bento-title {
        font-size: 1.1rem;
    }

    .bento-card.featured .bento-title {
        font-size: 1.3rem;
    }

    .bento-summary {
        font-size: 0.9rem;
    }

    .bento-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .bento-icon {
        font-size: 1.5rem;
    }

    .bento-title {
        font-size: 1rem;
    }

    .bento-card.featured .bento-title {
        font-size: 1.2rem;
    }

    .bento-summary {
        font-size: 0.85rem;
    }
}
