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


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style:normal;
	font-weight: normal;
	vertical-align: baseline;
}

a {
    font-family: 'Noto Sans Japanese', serif;
    font-weight: 300;
    color: #555;
    font-size: 14px;
}


.drawer-nav{
    z-index:999;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
        word-wrap: break-word;
}

h1{
        font-family: 'Noto Sans Japanese', serif;
        font-weight: 100;
        font-size: 22px;
        text-align: center;
        padding: 10px;
        color: #fff;
        /* background: #333; */
        padding-left: 50px;
}


.section {
    min-height: 100vh;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* --- Hero Section --- */
.hero-title {
    text-align: center;
    margin-bottom: 40px; /* 間隔調整 */
    animation: fadeInUp 0.8s ease-out;
}

.hero-title h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-title .subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

/* --- [AIO対策 追加] Problem Section --- */
.problem-section {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 40px;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.problem-section h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 500;
}
.problem-section ul {
    list-style: none;
    margin-bottom: 25px;
}
.problem-section li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.solution-lead {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
}
.sp-only { display: none; }


.hero-video {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-video video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.hero-video video:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.4);
}

/* --- Content & Feature Section --- */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.visual-section {
    position: relative;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.content-section {
    color: white;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.content-section h2 {
    font-size: 2.1rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
}
/* [AIO対策 修正] h3スタイル追加 */
.content-section h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #ff6b6b;
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-left: 0;
}

.feature-list li::before {
    content: '✦';
    color: #ff6b6b;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list li span {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* --- Function Grid --- */
.function-grid {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.function-grid h3 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-weight: 400;
}

.function-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.function-item {
    text-align: center;
    padding: 20px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.function-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.function-item .icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.function-item .label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.catchphrase {
    text-align: center;
    color: rgba(255,255,255,0.8);
    margin-top: 15px;
}

/* --- Benefits Section --- */
.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.benefit-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-10px);
}

.benefit-item h4 {
    color: #ff6b6b;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-item p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- [AIO対策 追加] Case Study Section --- */
.case-study-section {
    color: white;
    margin: 80px 0;
    animation: fadeInUp 1s ease-out both;
}
.case-study-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 50px;
}
.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.case-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
}
.case-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.case-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    padding: 5px;
}
.case-header h4 {
    font-size: 1.1rem;
    margin: 0;
}
.case-body {
     flex-grow: 1;
}
.case-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 15px;
    padding-left: 70px;
}
.case-body p strong {
    color: #ffc107; /*ハイライトカラー変更*/
    font-weight: bold;
}
.case-problem, .case-solution {
    padding-left: 2em;
    position: relative;
}
.case-problem::before, .case-solution::before {
    position: absolute;
    left: 0;
    font-weight: bold;
}
.case-problem::before { content: "【課題】"; color: #f89b9b; }
.case-solution::before { content: "【成果】"; color: #a2f2a2; }


/* --- [AIO対策 追加] FAQ Section --- */
.faq-section {
    color: white;
    margin: 80px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 50px;
}
.faq-item {
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.faq-question {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ff6b6b;
    position: relative;
    padding-left: 30px;
}
.faq-question::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    font-weight: bold;
}
.faq-answer {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    position: relative;
    padding-left: 30px;
}
.faq-answer::before {
    content: 'A.';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #a0a0a0;
}

/* --- [AIO対策 修正] CTA Section --- */
.cta-section-wrapper {
    text-align: center;
    color: white;
    margin: 80px 0;
    padding: 50px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    animation: fadeInUp 1s ease-out 1s both;
}
.cta-section-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.cta-section-wrapper p {
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 280px;
}
.cta-button.primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 10px 30px rgba(255,107,107,0.4);
}
.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,107,0.5);
}
.cta-button.secondary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 0px;
    }
    .case-study-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .hero-title h1 {
        font-size: 1.8rem;
        padding:0;
    }
    .hero-title .subtitle {
        font-size: 1.1rem;
    }
    .problem-section {
        padding: 20px;
    }
    .problem-section h3 {
        font-size: 1.3rem;
    }
    .problem-section li {
        font-size: 1rem;
    }
    .sp-only { display: block; }
    .hero-video {
        margin: 60px auto;
    }
    .content-section h2 {
        font-size: 1.8rem;
    }
     .content-section h3 {
        font-size: 1.3rem;
    }
    .function-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
     .case-study-section h2, .faq-section h2 {
        font-size: 1.8rem;
    }
}