@charset "UTF-8";

/* =========================================================================
   Variables & Fonts
   ========================================================================= */
:root {
    --primary: #1D4ED8;
    /* Trust Blue */
    --primary-hover: #1E40AF;
    --secondary: #0EA5E9;
    --text-main: #1E293B;
    /* Slate 800 */
    --text-mutated: #64748B;
    /* Slate 500 */
    --bg-color: #F8FAFC;
    /* Light Slate */
    --white: #FFFFFF;
    --black: #0F172A;
    --border: #E2E8F0;

    --font-ja: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   Reset
   ========================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ja);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   Utility Components
   ========================================================================= */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-large {
    font-size: 1.1rem;
    padding: 18px 48px;
}

.text-highlight {
    color: var(--primary);
}

.text-white {
    color: var(--white) !important;
}

.sp-only {
    display: none;
}

.br-pc {
    display: inline;
}

.br-sp {
    display: none;
}

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

    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }
}

/* Section Common */
[id] {
    scroll-margin-top: 100px;
}

section {
    padding: 100px 0;
}

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

.section-en {
    display: block;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
}

/* =========================================================================
   Header
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo img {
    height: 65px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav ul {
    display: flex;
    gap: 30px;
}

.header-nav a {
    font-size: 0.95rem;
    font-weight: 500;
}

.header-nav a:hover {
    color: var(--primary);
}

.header-nav a.header-btn:hover {
    color: var(--white);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1000;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--black);
    left: 0;
    transition: var(--transition);
}

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

.hamburger span:nth-child(2) {
    top: 11px;
}

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

.hamburger.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

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

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 992px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .header-nav.is-active {
        right: 0;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .header-nav a {
        font-size: 1.25rem;
    }

    .header-btn {
        margin-top: 20px;
    }

    .hamburger {
        display: block;
    }
}

/* =========================================================================
   1. Main Visual (MV)
   ========================================================================= */
.mv {
    position: relative;
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 50%),
        radial-gradient(circle at bottom left, rgba(29, 78, 216, 0.05), transparent 50%);
    z-index: -1;
}

.mv-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mv-text {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeUp 1s ease forwards;
}

.mv-logo {
    margin-bottom: 24px;
}

.mv-logo img {
    height: 120px;
    margin: 0 auto;
}

.mv-copy {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--black);
}

.mv-subcopy {
    font-size: 1.15rem;
    color: var(--text-mutated);
    margin-bottom: 40px;
}

/* MV Dashboard Element Removed */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .mv-content {
        flex-direction: column;
        text-align: center;
    }

    .mv-logo img {
        height: 80px;
    }

    .mv-copy {
        font-size: 2.5rem;
    }
}

/* =========================================================================
   2. Issues (課題)
   ========================================================================= */
.issues {
    background: var(--white);
}

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

.issue-card {
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}



.issue-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.issue-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--black);
}

.issue-desc {
    color: var(--text-mutated);
    font-size: 0.95rem;
}

/* =========================================================================
   3. Service (サービス)
   ========================================================================= */
.service {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(29, 78, 216, 0.03) 100%);
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.service-text {
    text-align: center;
    max-width: 800px;
}

.service-text .lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-text p {
    font-size: 1.1rem;
}

.service-video {
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
}

.service-video video {
    width: 100%;
    display: block;
}

/* =========================================================================
   4. Features (機能紹介)
   ========================================================================= */
.features {
    background: var(--white);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.feature-desc {
    color: var(--black);
}

@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        gap: 15px;
    }

    .feature-item:hover {
        transform: translateY(-5px);
    }
}

/* =========================================================================
   5. Benefits (導入メリット)
   ========================================================================= */
.benefits {
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(29, 78, 216, 0.2), transparent 60%);
    z-index: 0;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.benefit-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.benefit-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* =========================================================================
   6. Scenes / 7. Flow 
   ========================================================================= */
.scenes,
.flow {
    background: var(--bg-color);
}

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

.scene-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.scene-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: var(--border);
    position: relative;
}

.scene-1 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.scene-2 {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.scene-3 {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.scene-content {
    padding: 30px;
}

.scene-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.scene-desc {
    color: var(--text-mutated);
    font-size: 0.95rem;
}

.flow {
    background: var(--white);
}

.flow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.flow-step {
    flex: 1;
    min-width: 250px;
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    border: 1px solid var(--border);
}

.step-num {
    color: var(--primary);
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 12px;
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.step-desc {
    color: var(--text-mutated);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .scenes-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   8. FAQ (よくある質問)
   ========================================================================= */
.faq {
    background: var(--bg-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-q {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-weight: 700;
    color: var(--black);
    position: relative;
    padding-right: 70px;
}

.faq-q::after {
    content: '+';
    position: absolute;
    right: 30px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.is-active .faq-q::after {
    transform: rotate(45deg);
}

.q-icon {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
}

.faq-a {
    padding: 0 30px 24px;
    display: none;
    align-items: flex-start;
    gap: 20px;
    border-top: 1px dashed var(--border);
    margin-top: -10px;
    padding-top: 24px;
}

.faq-item.is-active .faq-a {
    display: flex;
}

.a-icon {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
}

.a-text {
    flex: 1;
    color: var(--text-mutated);
}

/* =========================================================================
   9. Contact (問い合わせ)
   ========================================================================= */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--black) 100%);
    color: var(--white);
    padding: 120px 0;
}

.contact-card {
    background: var(--white);
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-xl);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 16px;
}

.contact-lead {
    color: var(--text-mutated);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group label {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.required {
    background: #E11D48;
    /* Rose 600 */
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.optional {
    background: var(--border);
    color: var(--text-mutated);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
    background: var(--white);
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.btn-submit {
    width: 100%;
    max-width: 300px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 40px 20px;
    }
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 90px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 15px 20px;
        justify-content: center;
        text-align: center;
    }
}

/* =========================================================================
   Modal (確認・完了画面)
   ========================================================================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.is-active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.confirm-details dl {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.confirm-details dt {
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 5px;
    text-align: left;
}

.confirm-details dd {
    color: var(--text-main);
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
    margin-left: 0;
    padding-bottom: 10px;
}

.modal-actions {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}

.modal-actions button {
    flex: 1;
    max-width: 300px;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.modal-actions .btn-secondary {
    background: #E2E8F0;
    color: var(--text-main);
}

.modal-actions .btn-secondary:hover {
    background: #CBD5E1;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
    .modal-actions {
        flex-direction: column-reverse;
        gap: 15px;
        align-items: center;
    }
    .modal-actions button {
        width: 100%;
        max-width: none;
    }
}