/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo a {
    display: inline-block;
    text-decoration: none;
}

.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
}

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

.nav-list li {
    display: flex;
    align-items: center;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}

.nav-list li a:not(.btn-login):not(.btn-trial) {
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: #000;
}

/* ログインボタンのスタイル */
.btn-login {
    background-color: #333;
    color: #fff !important;
    padding: 8px 24px;
    border-radius: 25px;
    font-weight: 600 !important;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    will-change: transform;
}

.btn-login:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* 無料トライアルボタンのスタイル */
.btn-trial {
    background-color: #f39800;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600 !important;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
    display: inline-block;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(243, 152, 0, 0.3);
    will-change: transform;
}

.btn-trial:hover {
    background-color: #d88500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 152, 0, 0.4);
}

/* モバイルメニューのログインボタン */
.mobile-menu-list .btn-login {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
}

/* モバイルメニューのトライアルボタン */
.mobile-menu-list .btn-trial {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    position: relative;
    cursor: pointer;
    width: 32px;
    height: 24px;
    z-index: 1200;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 32px;
    height: 3px;
    background-color: #000;
    transition: 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

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

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(45deg);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    padding: 80px 20px 40px;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    box-sizing: border-box;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-list li {
    margin: 12px 0;
}

.mobile-menu-list li a {
    text-decoration: none;
    color: #093053;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-logo {
    margin-bottom: 15px;
}

.mobile-menu-logo img {
    height: 50px;
    width: auto;
}

/* メインビジュアル */
.hero {
    min-height: 100vh;
    padding: 120px 20px 80px;
    background: #000;
    display: flex;
    align-items: center;
}

/* センタリングヒーロー */
.hero-centered {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 140px 20px 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
    overflow: hidden;
}

.hero-background img {
    position: absolute;
    width: 325px;
    height: 105px;
    display: none;
}

/* タイル状の背景パターン */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/top.png');
    background-repeat: repeat;
    background-size: 320px 105px;
    background-position: 0 0;
    opacity: 0;
}

@keyframes fadeInBackground {
    to {
        opacity: 1;
    }
}

/* クロック・イン（出勤）アニメーション用のマスクレイヤー */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0.9;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hero-background.animate::after {
    animation: fadeOutMask 3s ease-out forwards;
}

@keyframes fadeOutMask {
    0% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
    }
}

/* 個別の画像アニメーション用 */

.hero-background .clock-in-tile {
    position: absolute;
    background-image: url('image/top.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(-100px);
    z-index: 1;
    pointer-events: none;
}

/* クロック・イン アニメーション */
@keyframes clockIn {
    0% {
        opacity: 0;
        transform: translateX(-150px) translateY(0);
    }
    30% {
        opacity: 0.6;
        transform: translateX(20px) translateY(0);
    }
    50% {
        transform: translateX(-10px) translateY(0);
    }
    70% {
        transform: translateX(5px) translateY(0);
    }
    100% {
        opacity: 0.6;
        transform: translateX(0) translateY(0);
    }
}

/* 遅刻気味の急いだアニメーション */
@keyframes rushIn {
    0% {
        opacity: 0;
        transform: translateX(-200px) translateY(-20px) rotate(-5deg);
    }
    40% {
        opacity: 0.6;
        transform: translateX(30px) translateY(10px) rotate(3deg);
    }
    60% {
        transform: translateX(-15px) translateY(-5px) rotate(-2deg);
    }
    80% {
        transform: translateX(8px) translateY(3px) rotate(1deg);
    }
    100% {
        opacity: 0.6;
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

.hero-centered .container {
    position: relative;
    z-index: 10;
}

.hero-centered .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding-top: 20px;
}

.hero-highlight {
    display: inline-block;
    position: relative;
    font-size: 1.2em;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 35px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    line-height: 1.3;
    white-space: nowrap;
}

.hero-centered .hero-title {
    font-size: 56px;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #000;
    white-space: normal;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    white-space: nowrap;
}

.hero-centered .hero-subtitle {
    font-size: 20px;
    line-height: 1.8;
    color: #222;
    max-width: 900px;
    margin: 0 auto 30px;
    white-space: normal;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-centered .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
}

.btn-hero {
    min-width: 300px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-centered .btn-primary.btn-hero {
    background: #000;
    color: #fff;
    border: none;
}

.hero-centered .btn-primary.btn-hero:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero-centered .btn-secondary.btn-hero {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.hero-centered .btn-secondary.btn-hero:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    width: 240px;
}

.btn-primary {
    background: #333;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* オレンジ色のトライアルボタン */
.btn-trial-orange {
    background: #f39800 !important;
    box-shadow: 0 4px 15px rgba(243, 152, 0, 0.3) !important;
}

.btn-trial-orange:hover {
    background: #d88500 !important;
    box-shadow: 0 6px 20px rgba(243, 152, 0, 0.4) !important;
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    width: 240px;
}

.btn-secondary:hover {
    background: #f0f0f0;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.section:nth-child(even) {
    background-color: #f8f9fa;
}

.section-number {
    display: inline-block;
    background: #000;
    color: white;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
    vertical-align: middle;
    position: relative;
    clip-path: polygon(
        10px 0,
        100% 0,
        100% calc(100% - 10px),
        calc(100% - 10px) 100%,
        0 100%,
        0 10px
    );
}

.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 40px;
    line-height: 1.3;
    text-align: center;
}

/* 下線を削除 */
.section h2::after {
    display: none;
}

.section-content {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-content p {
    margin-bottom: 30px;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: normal;
    color: #2c3e50;
    margin: 50px 0 30px;
    line-height: 1.4;
}

.subsection-title strong {
    font-weight: bold;
}

.mobile-break {
    display: none;
}

.highlight {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #000;
    margin: 40px 0;
}

/* セクション01 */
.section-01 {
    text-align: center;
    background: #f9f9f9;
    position: relative;
    z-index: 1;
    padding: 100px 0;
}


.section-01 .container {
    max-width: 1300px;
}

.section-01 .section-content {
    max-width: 100%;
}

.problem-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px auto;
}

.problem-item {
    width: 280px;
}

.problem-item img {
    width: 95%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* セクション02 */
.section-02 {
    text-align: center;
    position: relative;
    z-index: 0;
}

.section-02 .container {
    max-width: 1400px;
}

.section-02 .section-content {
    max-width: 100%;
}

.service-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px auto;
}

.service-item {
    width: 350px;
}

.service-item img {
    width: 100%;
    height: auto;
}

.before-after {
    margin: 60px auto;
    max-width: 850px;
}

.before-after img {
    width: 100%;
    height: auto;
}

.case-image {
    margin: 60px auto;
    max-width: 850px;
}

.case-image img {
    width: 100%;
    height: auto;
}

/* セクション03 - 導入メリット */
.section-03 {
    background: white;
    color: #333;
    text-align: center;
}

.section-03 .section-title {
    color: #2c3e50;
}

.section-03 .section-number {
    color: white;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 800px;
    max-width: 100%;
}

.benefit-item h3 {
    display: inline-block;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: bold;
    border: none;
    padding: 0;
    border-bottom: 3px solid #ffc53f;
}

.benefit-item p {
    text-align: left;
    margin: 0;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* セクション04 */
.section-04 {
    text-align: center;
}

.section-04 .container {
    max-width: 1200px;
}

.section-04 .section-content p {
    white-space: nowrap;
    font-size: 1.1rem;
}

.section-04 .subsection-title {
    white-space: nowrap;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    border-left: 4px solid #2c3e50;
    padding-left: 0.75em;
    margin-top: 2em;
    margin-bottom: 1em;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

/* セクション05 */
.section-05 {
    text-align: center;
}

.section-05 .container {
    max-width: 1200px;
}

.section-05 .section-title {
    white-space: nowrap;
}

.section-05 .section-content {
    max-width: 1200px;
}

.section-05 h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: 3px solid #444;
    display: inline-block;
}

.flow-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px auto;
    padding: 1%;
}

.flow {
    display: flex;
    justify-content: center;
    width: auto;
}

.flow img {
    width: 200px;
    height: auto;
}

.course-note {
    font-size: 18px;
    color: #666;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.course-note p {
    white-space: nowrap;
    display: block;
    text-align: center;
    padding: 10px;
    background-color: white;
    max-width: 700px;
    border: 1px solid #000;
}

/* セクション06 - 機能一覧 */
.section-06 {
    text-align: center;
}

.section-06 .container {
    max-width: 1200px;
}

.pricing-table {
    margin-top: 0;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: #000;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.pricing-table td {
    font-size: 16px;
}

.pricing-table td:first-child {
    font-weight: bold;
}

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

/* セクション08 - FAQ */
.section-08 {
    text-align: center;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* タブボタンエリア */
.faq-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.faq-tab {
    background: #fff;
    border: 2px solid #000;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.faq-tab:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.faq-tab.active {
    background: #000;
    color: #fff;
}

.tab-number {
    font-weight: bold;
    font-size: 18px;
}

.tab-text {
    font-size: 12px;
    line-height: 1.3;
}

/* コンテンツエリア */
.faq-content-area {
    background: #fff;
    border: 3px solid #000;
    border-radius: 0;
    padding: 40px;
    min-height: 100px;
}

.faq-content {
    display: none;
}

.faq-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-question {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left;
    position: relative;
    padding-left: 35px;
}

.faq-question::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.faq-answer {
    text-align: left;
    line-height: 1.8;
    position: relative;
    padding-left: 35px;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.faq-answer::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* お問い合わせセクション */
.contact-section {
    background: #364db5 !important;
    color: white;
    text-align: center;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: white;
    white-space: nowrap;
}

.contact-section h2::after {
    background: white;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-section .btn-primary {
    background: white;
    color: #000;
}

.contact-section .btn-primary:hover {
    background: #f8f9fa;
    color: #333;
}

.contact-section .btn-secondary {
    background: #fff;
    color: #000;
    border: none;
}

.contact-section .btn-secondary:hover {
    background: #f0f0f0;
    color: #000;
}

/* フッター */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

/* 管理者リンク */
.admin-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.admin-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* 新しいセクションのスタイル */
@media (min-width: 1200px) {
    .achievement-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-item {
    position: relative;
    text-align: center;
    padding: 10px 0;
    background: #fff;
    border: 4px solid #000;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: #f8f8f8;
}

.achievement-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.achievement-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.achievement-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    font-weight: 500;
}

.challenges-list {
    margin-top: 40px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #ddd;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.challenges-list h3 {
    margin: 0;
    padding: 20px;
    font-size: 20px;
    background: #000;
    color: #fff;
    text-align: center;
}

.challenges-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.challenges-list li {
    padding: 20px 30px;
    margin: 0;
    position: relative;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.challenges-list li:last-child {
    border-bottom: none;
}

.challenges-list li:nth-child(odd) {
    background: #fff;
}

.challenges-list li:nth-child(even) {
    background: #f5f5f5;
}


.before-after-comparison {
    margin-top: 60px;
}

.before-after-comparison h3 {
    margin-bottom: 40px;
    text-align: center;
    font-size: 24px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.before-after-comparison h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: #000;
}

.comparison-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.comparison-header h4 {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.comparison-header h4:first-child {
    color: #666;
}

.comparison-header h4:last-child {
    color: #000;
}

.header-arrow {
    width: 50px;
}

.comparison-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.before-card,
.after-card {
    flex: 1;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.before-card {
    background: #f5f5f5;
    border: 2px solid #ddd;
}

.after-card {
    background: #fff;
    border: 3px solid #000;
}

.before-card:hover,
.after-card:hover {
    transform: translateY(-5px);
}

.before-card p,
.after-card p {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.arrow-icon {
    font-size: 36px;
    color: #000;
    font-weight: bold;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

.benefits-content {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.benefit-section {
    padding: 40px 30px;
}

.benefit-section:first-child {
    background: #e8e8e8;
    border-right: 2px solid #000;
}

.benefit-section:last-child {
    background: #fff;
}

.benefit-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #000;
    text-align: center;
}

.benefit-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-section:last-child .benefit-item {
    background: rgba(248, 248, 248, 0.8);
}

.benefit-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
    position: relative;
    padding-left: 20px;
}

.benefit-item h4::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #000;
    font-size: 12px;
}

.benefit-item p {
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    padding-left: 20px;
    font-weight: 500;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 50px;
    width: 100%;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border: 3px solid #000;
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.industry-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #000;
}

.industry-item:hover {
    background: #000;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.industry-item:hover h4,
.industry-item:hover p {
    color: #fff;
}

.industry-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.industry-item p {
    font-size: 12.5px;
    color: #444;
    line-height: 1.5;
    font-weight: 800;
    white-space: nowrap;
    margin: 0;
    width: 100%;
    text-align: center;
}

.features-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.feature-section {
    padding: 40px 30px;
}

.feature-section:first-child {
    background: #e8e8e8;
    border-right: 2px solid #000;
}

.feature-section:last-child {
    background: #fff;
}

.feature-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #000;
    text-align: center;
}

.feature-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-section:last-child .feature-item {
    background: rgba(248, 248, 248, 0.8);
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
    position: relative;
    padding-left: 20px;
}

.feature-item h4::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #000;
    font-size: 12px;
}

.feature-item p {
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    padding-left: 20px;
    font-weight: 500;
}

.pricing-content {
    margin-top: 40px;
}

.pricing-tables-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-table,
.pricing-details {
    margin-bottom: 0;
    width: 100%;
}

.pricing-details {
    margin-left: auto;
    margin-right: auto;
}

.pricing-table table,
.pricing-details table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-details table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-table th,
.pricing-table td,
.pricing-details th,
.pricing-details td {
    padding: 15px 20px;
    border: 1px solid #ddd;
    text-align: left;
    width: 50%;
    white-space: nowrap;
}

.pricing-table th,
.pricing-details th {
    background: #000;
    color: #fff;
    font-weight: bold;
}

.pricing-table td:first-child,
.pricing-details td:first-child {
    background: #f8f8f8;
}

.pricing-table td:last-child,
.pricing-details td:last-child {
    background: #fff;
}

.synergy-effect {
    padding: 40px;
    background: #f8f8f8;
    border-radius: 10px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.synergy-effect h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.synergy-effect ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.synergy-effect li {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.cta-lead {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.btn-large {
    padding: 18px 35px;
    font-size: 15px;
    white-space: nowrap;
    min-width: 280px;
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info,
.company-info {
    padding: 30px;
    background: #f8f8f8;
    border-radius: 10px;
}

.contact-info h3,
.company-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-info p,
.company-info p {
    margin-bottom: 10px;
}

/* 新しい連絡先カードレイアウト */
.contact-info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: #fff;
    border: 2px solid #000;
    border-radius: 15px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 15px;
}

.contact-details h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.contact-main {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.contact-sub {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* Contact CTA section */
.contact-cta {
    text-align: center;
    padding: 30px 40px;
    background: #f8f8f8;
    border-radius: 15px;
    border: 2px solid #000;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-cta h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.contact-cta p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-cta .btn {
    font-size: 16px;
    padding: 15px 35px;
}

.contact-form {
    padding: 40px;
    background: #f8f8f8;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.modal-content h2 {
    background: #000;
    color: white;
    padding: 20px 60px 20px 20px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    position: relative;
    font-size: 1.3rem;
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body h3 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 1rem;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.close {
    color: white;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.close:hover,
.close:focus {
    color: #f1f1f1;
    text-decoration: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* モバイルでの背景画像サイズ調整 */
    .hero-background::before {
        background-size: 188px 62px;
    }
    
    /* モバイルでのクロック・インアニメーション調整 */
    @keyframes clockIn {
        0% {
            opacity: 0;
            transform: translateX(-100px) translateY(0);
        }
        40% {
            opacity: 0.6;
            transform: translateX(10px) translateY(0);
        }
        70% {
            transform: translateX(-5px) translateY(0);
        }
        100% {
            opacity: 0.6;
            transform: translateX(0) translateY(0);
        }
    }
    
    @keyframes rushIn {
        0% {
            opacity: 0;
            transform: translateX(-120px) translateY(-10px) rotate(-3deg);
        }
        50% {
            opacity: 0.6;
            transform: translateX(15px) translateY(5px) rotate(2deg);
        }
        100% {
            opacity: 0.6;
            transform: translateX(0) translateY(0) rotate(0deg);
        }
    }
    
    /* モバイルでの背景完了後の表示 */
    .hero-background.animation-complete::before {
        background-size: 188px 62px;
    }
    
    /* セクション05のテキスト改行修正 */
    .section-05 .section-content p span[style*="white-space: nowrap"] {
        white-space: normal !important;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-list {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 200px 0 80px 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 20px;
        order: 1;
    }
    
    .hero-image {
        order: 2;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    /* ヒーローセクションのテキスト調整 */
    .hero-centered {
        padding: 200px 20px 60px;
        min-height: auto;
    }
    
    .hero-centered .hero-content {
        padding-top: 0;
    }

    .hero-centered .hero-subtitle .no-wrap {
        white-space: nowrap;
    }
    
    .hero-centered .hero-title {
        font-size: 2rem;
        margin-bottom: 30px;
        line-height: 1.3;
        text-align: center;  /* ← 追加 */
        transform: translateX(-10px);  /* ← 左に10px移動 */
    }
    
    .hero-centered .hero-highlight {
        font-size: 2.3rem;
        white-space: nowrap;
        display: inline-block;
        text-align: center;  /* ← 追加 */
    }
    
    .hero-centered .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 40px;
        line-height: 1.6;
    }
    
    .hero-centered .hero-buttons {
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 1.3rem;
        white-space: normal;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        white-space: normal;
    }
    
    .section-title {
        font-size: 1.3rem;
    }

    .subsection-title {
        font-size: 1.2rem;
        font-weight: normal;
        color: #2c3e50;
        margin: 50px 0 30px;
        line-height: 1.4;
    }
    
    /* セクション03のサブタイトルをさらに小さく */
    .section-03 .subsection-title {
        font-size: 1rem;
        margin: 40px 0 20px;
    }
    
    .section-number {
        display: inline-block;
        margin-right: 10px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.1rem;
    }
    
    .section-04 .section-content p {
        white-space: nowrap;
        font-size: 1rem;
    }
    
    .section-04 .subsection-title {
        white-space: normal;
        font-size: 1.25rem;
    }
    
    .section-05 .section-title {
        white-space: normal;
    }
    
    
    .course-note p {
        white-space: normal;
        font-size: 0.8rem;
    }
    
    .problem-images {
        flex-direction: column;
        align-items: center;
    }
    
    .problem-item {
        width: 100%;
        max-width: 400px;
    }
    
    .problem-item img {
        width: 100%;
    }
    
    .service-images {
        flex-direction: column;
        align-items: center;
    }
    
    .service-item {
        width: 100%;
        max-width: 400px;
    }
    
    .mobile-break {
        display: inline;
    }
    
    .flow-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
    }
    
    .flow {
        width: 100%;
    }
    
    .flow img {
        width: 90%;
    }
    
    .section-content {
        font-size: 0.9rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-list li a {
        font-size: 14px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .benefit-section {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .benefit-section:first-child {
        border-right: none;
    }
    
    /* セクション04のbenefit-itemをモバイル対応 */
    .benefit-section .benefit-item {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* デバッグ：セクション04の横幅問題を修正 */
    .section-04 {
        overflow-x: hidden;
    }
    
    .section-04 .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .section-04 .benefits-content {
        margin: 0;
        padding: 0;
    }
    
    .section-04 .benefit-section {
        max-width: 100%;
        overflow: hidden;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-section {
        padding: 30px;
    }
    
    .feature-section:first-child {
        border-right: none;
    }
    
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .industry-item {
        padding: 20px 15px;
        min-width: auto;
    }
    
    .industry-item h4 {
        font-size: 16px;
    }
    
    .industry-item p {
        white-space: normal;
        font-size: 12px;
    }
    
    /* 比較テーブルのヘッダーテキストを折り返さない */
    .comparison-header h4 {
        font-size: 16px;
        white-space: nowrap;
    }
    
    /* before/afterカードのテキスト調整 */
    .before-card,
    .after-card {
        padding: 15px 10px;
    }
    
    .before-card p,
    .after-card p {
        font-size: 14px;
        line-height: 1.4;
        white-space: nowrap;
    }
    
    /* 矢印アイコンのサイズ調整 */
    .arrow-icon {
        font-size: 24px;
    }
    
    /* 相乗効果の数式をモバイルで見やすく表示 */
    .synergy-formula {
        text-align: center;
        margin: 20px 0;
    }
    
    .synergy-formula .formula-item:first-child,
    .synergy-formula .formula-operator:first-of-type,
    .synergy-formula .formula-item:nth-child(3) {
        display: inline;
        margin: 0 5px;
    }
    
    .synergy-formula .formula-operator:nth-child(4),
    .synergy-formula .formula-result {
        display: block;
        margin: 10px 0;
    }
    
    .synergy-formula .formula-item {
        font-size: 12px;
    }
    
    .synergy-formula .formula-operator {
        font-size: 16px;
        color: #666;
    }
    
    .synergy-formula .formula-operator:nth-child(4) {
        transform: rotate(90deg);
        display: inline-block;
        margin: 8px 0 3px;
        font-size: 20px;
    }
    
    .synergy-formula .formula-result {
        font-size: 16px;
        color: #000;
        margin-top: 0;
    }
    
    /* synergy-effectのリスト項目をモバイルで調整 */
    .synergy-effect {
        padding: 25px 20px;
    }
    
    .synergy-effect h3 {
        font-size: 18px;
        margin-bottom: 15px;
        white-space: nowrap;
    }
    
    .synergy-effect ul {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 15px;
    }
    
    .synergy-effect li {
        padding: 15px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .synergy-effect li strong {
        display: inline;
        margin-bottom: 2px;
        font-size: 15px;
    }
    
    .synergy-effect li br {
        display: block;
        content: "";
        margin-top: 2px;
    }
    
    /* セクション09のリードテキストを小さく */
    .cta-lead {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    /* contact-ctaのテキストサイズ調整 */
    .contact-cta h3 {
        font-size: 20px;
    }
    
    .contact-cta p {
        font-size: 13px;
    }
    
    .contact-cta .btn {
        font-size: 14px;
    }
    
    /* セクション01のachievement-itemを小さく */
    .achievement-item {
        padding: 8px 10px;
        border-width: 3px;
    }
    
    .achievement-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .achievement-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .achievement-item p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .pricing-tables-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-table th,
    .pricing-table td,
    .pricing-details th,
    .pricing-details td {
        white-space: normal;
        padding: 15px;
    }
    
    /* セクション03のbenefit-itemの横幅修正 */
    .section-03 .benefit-item {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }
    
    .benefit-item h3 {
        font-size: 1.1rem;
    }
    
    .faq-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .faq-tab {
        padding: 12px 8px;
    }
    
    .tab-number {
        font-size: 16px;
    }
    
    .tab-text {
        font-size: 11px;
    }
    
    .faq-content-area {
        padding: 25px 20px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    /* セクション04と06のテキストサイズを統一 */
    .benefit-item p,
    .feature-item p {
        font-size: 13px;
    }
    
    .btn-large {
        font-size: 14px;
        padding: 16px 25px;
        min-width: 250px;
    }
    
    .hero-buttons,
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        display: block;
        width: 100%;
        max-width: 300px;
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 20px 15px;
        font-size: 14px;
    }
    
    .pricing-details th,
    .pricing-details td {
        font-size: 14px;
    }
    
    .contact-title {
        font-size: 1.3rem;
        white-space: normal;
    }
    
    .contact-subtitle {
        font-size: 1rem;
        white-space: normal;
    }
    
    .faq dt,
    .faq dd {
        font-size: 0.8rem;
    }
    
    /* Contact cards responsive */
    .contact-info-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* セクション10のコンテナ幅を制限 */
    .section-10 .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .section-10 .contact-content {
        width: 100%;
        overflow-x: hidden;
    }
    
    .contact-card {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .contact-icon {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .contact-details h4 {
        font-size: 18px;
    }
    
    .contact-main {
        font-size: 16px;
    }
    
    .contact-sub {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .section-02 {
        padding-top: 100px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 15px 10px;
        font-size: 13px;
    }
    
    .pricing-details th,
    .pricing-details td {
        font-size: 13px;
    }
    
    .problem-item img {
        width: 90%;
    }
    
    
    .flow-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
    }
}