/* ベーススタイル */
:root {
    --primary-color: rgb(75, 153, 255);
    --primary-light: rgb(107, 166, 255);
    --primary-dark: rgb(255, 255, 255);
    --secondary-color: #4A90E2;
    --text-color: #333333;
    --light-text: #666666;
    --white: #fff;
    --light-bg: #F5F5F5;
    --border-color: #DDDDDD;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    /* font-family: "Noto Serif JP", serif; */
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
    position: relative;
}

.main_content img{
    display: block;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.first_view  img{
    display: block;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 6px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 3px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color:black;
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.3);
    font-size: 1.2rem;
    padding: 15px 40px;
    font-weight: 700;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 75, 75, 0.4);
}

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

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

/* プレースホルダー画像スタイル */
.placeholder-image {
    background-color: var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    height: 200px;
    text-align: center;
    box-shadow: var(--shadow);
}

.placeholder-icon {
    background-color: var(--primary-light);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    margin: 0 auto 20px;
}

.placeholder-avatar {
    background-color: var(--primary-light);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

/* 波形のセクション区切り */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%234a90e2'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%234a90e2'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%234a90e2'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.8rem;
    margin-bottom: 40px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-highlights {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.highlight-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image {
    width: 100%;
    overflow: hidden;
    /* position: relative; */
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    z-index: 99;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.hero .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero .primary-btn {
    background: var(--secondary-color);
    font-size: 1.3rem;
    padding: 18px 45px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.hero .primary-btn:hover {
    background: #ff5252;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.hero .secondary-btn {
    border-color: var(--white);
    color: var(--white);
    font-size: 1.3rem;
    padding: 18px 45px;
    border-radius: 50px;
}

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

/* コンセプトセクション */
.concept {
    /* background-color: var(--light-bg); */
    background-image: url(../img/read2-bg.webp);
    padding: 80px 0;
    text-align: center;
    max-width: 100vw;
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.concept-content p {
    font-size: 1.5rem;
    line-height: 2;
    margin: 0 auto;
    max-width: 800px;
}

/* メカニズムセクション */
.mechanism {
    padding: 80px 0;
    background-color: var(--white);
}

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

.mechanism-intro {
    text-align: center;
    margin-bottom: 60px;
}

.mechanism-intro h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mechanism-intro p {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-color);
}

.mechanism-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.mechanism-item {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.mechanism-item-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.mechanism-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.mechanism-item-header h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1.4;
}

.mechanism-item-content {
    display: flex;
    /* grid-template-columns: 1fr 1fr; */
    justify-items: space-between;
    align-items: center;
    gap: 40px;
    align-items: center;
}

.mechanism-image img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.mechanism-text {
    .mechanism-description {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 20px;
        color: var(--text-color);
    }

    .mechanism-points {
        list-style: none;
        padding: 0;
    }

    .mechanism-points li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 15px;
        font-size: 1.1rem;
        color: var(--text-color);
    }

    .mechanism-points li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 12px;
        height: 12px;
        background-color: var(--primary-color);
        border-radius: 50%;
    }

    .mechanism-diagram {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        padding: 60px 40px;
        border-radius: 20px;
        color: var(--white);
    }

    .mechanism-diagram h3 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .flow-steps {
        display: flex;
        /* grid-template-columns: repeat(4, 1fr); */
        justify-content: space-between;
        align-items: center;
        /* gap: 30px; */
        padding: 0 20px;
    }

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

    .flow-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: rgba(255, 255, 255, 0.5);
    }

    .step-number {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 15px;
    }

    .flow-step h5 {
        font-size: 1.3rem;
        list-style: 2;
        margin-bottom: 40px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .flow-step p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
    }

    .mechanism-diagram {
        width: 100%;
        height: auto;
    }

    .mechanism-diagram img{
        width: 100%;
        height: auto;
    }

    @media (max-width: 1024px) {
        .mechanism-item-content {
            grid-template-columns: 1fr;
            gap: 30px;
        }

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

        .flow-step:not(:last-child)::after {
            content: '↓';
            right: 50%;
            top: auto;
            bottom: -35px;
            transform: translateX(50%);
        }
    }

    @media (max-width: 768px) {
        .mechanism-intro h3 {
            font-size: 2rem;
        }

        .mechanism-item {
            padding: 25px;
        }

        .mechanism-item-header h4 {
            font-size: 1.5rem;
        }
    }
}

/* 導入メリットセクション */
.benefits {
    /* background-color: var(--light-bg); */
    background-image: url(../img/point2-bg-blue.webp);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefit-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
}

/* 製品仕様セクション */
.specs {
    padding: 80px 0;
    background-color: var(--white);
}

.specs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.specs-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    width: 30%;
    color: var(--primary-color);
    font-weight: bold;
    text-align: left;
}

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

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 特徴セクション */
.features {
    background-color: var(--white);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    transform: translateY(0);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 75, 75, 0.3);
    border-color: var(--primary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 20px 0;
    text-align: center;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 25px;
}

.feature-highlight {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.original-gradient {
    height: auto;
    width: 30%;
    background-image: linear-gradient(90deg, rgba(247, 93, 139, 1), rgba(254, 220, 64, 1));
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.highlight-value {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* 会社概要セクション */
.about {
    background-color: var(--light-bg);
    position: relative;
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
}

.about-text h2::after {
    margin-left: 0;
}

.about-image {
    flex: 1;
}

.about-image .placeholder-image {
    height: 350px;
}

/* 導入事例セクション */
.before-after {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.case-study:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-study .placeholder-image {
    height: 250px;
    border-radius: 15px 15px 0 0;
}

.case-study h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.case-study p {
    padding: 0 20px 20px;
    color: var(--light-text);
    font-weight: 500;
}

/* お客様の声セクション */
.testimonials {
    background-color: var(--light-bg);
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -15px;
}

.author {
    display: flex;
    align-items: center;
}

.author-info {
    margin-left: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.8rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links-column h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: #b3b3b3;
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.before-after-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.before-side,
.after-side {
    text-align: center;
}

.before-side h3,
.after-side h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.modal-footer {
    text-align: center;
    margin-top: 30px;
}

/* アニメーション */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

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

    .about-content {
        flex-direction: column;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        margin-bottom: 30px;
    }

    .about-text h2,
    .about-text h2::after {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .footer-logo {
        text-align: center;
        margin-bottom: 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        margin-top: 20px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

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

    .before-after-comparison {
        grid-template-columns: 1fr;
    }

    .before-side {
        margin-bottom: 30px;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: var(--transition);
        z-index: 1000;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }

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

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .cta-button, .benefit-box, .mechanism-box, .mainvisiual {
        display: inline-block;
        width: auto ;
        white-space: nowrap;
        padding: 10px 20px;
    }
    .hero-image img{
        display: block;
        width: 100%;
        height: auto;
        text-align: center;
    }
}

.specs {
    background-color: var(--white);
    padding: 100px 0;
}

.specs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.specs-image .placeholder-image {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.specs-table th {
    color: var(--primary-color);
    font-weight: 700;
    width: 30%;
}

/* お問い合わせページ */
.contact-page {
    padding: 120px 0 80px;
    background-color: var(--light-bg);
}

.contact-page-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-page .contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.required {
    color: #ff4b4b;
    margin-left: 3px;
}

.form-notice {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.contact-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.business-hours {
    color: var(--light-text);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-page-content {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-form {
        padding: 25px;
    }
}

/* 施術動画セクション */
.treatment-video {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-description {
    padding: 30px;
    text-align: center;
}

.video-description h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.video-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .video-description {
        padding: 20px;
    }
    
    .video-description h3 {
        font-size: 1.5rem;
    }
    
    .video-description p {
        font-size: 1rem;
    }
}
  
  