/* ===== 基本設定 ===== */
:root {
    --bg-white: #FFFFFF;
    --bg-light-gray: #F8F9FA;
    --border-gray: #DEE2E6;
    --text-dark: #212529;
    --text-gray: #495057;
    --text-white: #FFFFFF;
    --main-blue: #005A9C; 
    --accent-orange: #FF6600;
    --accent-light-blue: #4A90E2; 
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-gray);
    background-color: var(--bg-white);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

main section:nth-of-type(odd) {
    background-color: var(--bg-white);
}
main section:nth-of-type(even) {
    background-color: var(--bg-light-gray);
}

h1, h2, h3, h4, h5 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

h2 {
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-light-blue), var(--main-blue));
    border-radius: 3px;
}

img { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 8px; }
.img.logo { width: auto; margin: 0; }

.btn {
    display: inline-block;
    padding: 20px 45px;
    background: linear-gradient(45deg, #FF8C00, var(--accent-orange));
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px var(--accent-orange);
}
.btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px var(--accent-orange);
}
.cta-area { 
    margin-top: 50px; 
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; 
}

/* ===== ヘッダー ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000; padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo img {
    width: 200px;
    height: auto;
    margin: 0;
}

.header-contact {
    display: flex;
    gap: 10px;
}
.header-cta { 
    padding: 0.8rem 1.6rem; 
    background: var(--main-blue); 
    box-shadow: 0 4px 10px rgba(0, 90, 156, 0.2);
    color: var(--text-white); font-weight: bold;
}
.header-cta:hover { background: var(--accent-light-blue); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(74, 144, 226, 0.3); }

/* ▼▼▼【FVエリア】▼▼▼ */
.fv {
    padding: 0;
    height: 700px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    position: relative;
}
.fv-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.fv-background img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.fv-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}
.fv .container {
    width: 100%;
}
.fv-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 3;
}
.fv-text-content {
    text-align: left;
}

.fv-catchcopy {
    font-weight: 900;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    line-height: 1.5;
    margin: 0;
}
.fv-catchcopy-sub {
    display: block;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--text-white);
}
.fv-catchcopy-main {
    display: block;
    font-size: clamp(42px, 5.5vw, 60px);
    color: var(--text-white);
    white-space: nowrap; 
}
.fv-catchcopy-main > span {
    color: #FFD700;
}
.fv-supplement {
    margin: 25px 0 40px;
}
.fv-supplement p {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    margin: 0;
    line-height: 1.7;
}
.fv-supplement p:first-child {
    margin-bottom: 8px;
}
.fv .cta-area {
    margin-top: 0;
}

.fv-image-content {
    perspective: 1500px;
}
.fv-image-content img {
    max-width: 500px;
    width: 100%;
    filter: drop-shadow(0 25px 30px rgba(0,0,0,0.4));
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: floatUp 1s ease-out forwards;
}
.fv-image-content img:hover {
    transform: rotateY(0) rotateX(0) scale(1.05);
}
@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(50px) rotateY(-15deg) rotateX(5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateY(-15deg) rotateX(5deg);
    }
}
/* ▲▲▲【FVエリア】▲▲▲ */

/* ===== 課題提起（共感） ===== */
.problem-section { background-color: var(--bg-light-gray); }
.checklist { list-style: none; padding: 0; max-width: 700px; margin: 40px auto; }
.checklist li { 
    background: var(--bg-white); 
    padding: 20px 25px 20px 65px; 
    margin-bottom: 20px; 
    border-radius: 10px; 
    position: relative; 
    box-shadow: 0 8px 25px -10px rgba(0,0,0,0.15);
    font-size: 1.1rem;
    border-left: 5px solid var(--main-blue);
    font-weight: bold;
    transition: transform 0.2s ease;
}
.checklist li:hover { transform: translateX(5px); }
.checklist li::before { 
    content: '✓'; 
    color: var(--text-white);
    background-color: var(--main-blue);
    position: absolute; left: 18px; top: 50%;
    transform: translateY(-50%);
    font-weight: 900; font-size: 1.8rem;
    width: 32px; height: 32px; line-height: 32px;
    text-align: center;
    border-radius: 50%;
}
.problem-conclusion { 
    text-align: center; font-size: 1.5rem; font-weight: 700; 
    color: var(--text-dark); margin-top: 60px; 
    padding: 25px; background: var(--bg-white); 
    border: 2px solid var(--accent-orange);
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(255,102,0,0.1);
}

/* ===== 解決策の提示 ===== */
.solution-intro-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}
.solution-intro-image {
    flex: 1 1 40%;
    min-width: 280px;
}
.solution-intro-image img {
    box-shadow: 0 15px 40px -15px rgba(0,0,0,0.2);
}
.solution-intro-text {
    flex: 1 1 60%;
    text-align: left;
}
.solution-intro-text h4 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.solution-intro-text .product-model {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-gray);
    margin-bottom: 15px;
}
.solution-intro-text p:not(.product-model) {
    font-size: 1.1rem;
    margin: 0;
    white-space: pre-wrap;
}
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 60px;
    overflow: visible;
}
.carousel-track-wrapper {
     overflow: hidden;
     border-radius: 8px;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--main-blue);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.carousel-button:hover {
    background-color: var(--accent-light-blue);
    transform: translateY(-50%) scale(1.1);
}
.carousel-button svg {
    width: 28px;
    height: 28px;
}
.carousel-button--left { left: -25px; }
.carousel-button--right { right: -25px; }

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: rgba(0,0,0,0.2);
    margin: 0 8px;
    cursor: pointer;
}
.carousel-indicator.current-slide { background: var(--main-blue); }
.solution-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; text-align: center; }
.benefit-item { 
    background: var(--bg-white); padding: 40px 30px; border-radius: 12px; 
    transition: all 0.3s ease; 
    border-top: 5px solid var(--main-blue);
    box-shadow: 0 15px 40px -15px rgba(0,0,0,0.15);
}
.benefit-item:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 25px 50px -15px rgba(0,90,156,0.25);
}
.benefit-item img { width: 80px; height: 80px; margin-bottom: 25px; }
.benefit-item h3 { font-size: 1.5rem; color: var(--main-blue); margin-bottom: 15px; font-weight: 900; }

/* ===== 製品の特長（選ばれる理由） ===== */
.feature-item { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; margin-bottom: 100px; }
.feature-item:last-child { margin-bottom: 0; }
.feature-item:nth-of-type(even) { grid-template-columns: 1.1fr 1fr; }
.feature-item:nth-of-type(even) .feature-text { grid-column: 2; grid-row: 1; }
.feature-item:nth-of-type(even) .feature-image { grid-column: 1; grid-row: 1; }
.feature-item h3 { font-size: 1.8rem; font-weight: 900; color: var(--text-dark); margin-bottom: 20px; line-height: 1.5; }
.feature-item h3 > span { 
    display: block; font-size: 1.1rem; color: var(--main-blue); 
    font-weight: bold; margin-bottom: 5px;
}
.feature-image img { box-shadow: 0 20px 50px -15px rgba(0,0,0,0.25); }

/* ===== 導入事例 ===== */
.cases-section { background: linear-gradient(135deg, #004e89, #002952); color: var(--text-white); }
.cases-section h2 { color: var(--text-white); }
.cases-section h2::before { background: var(--accent-orange); }
.case-item { 
    background-color: var(--bg-white); color: var(--text-dark); 
    padding: 40px; border-radius: 12px; margin-bottom: 30px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.2); 
    border-left: 8px solid var(--accent-orange);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 40px;
}
.case-item:hover { transform: scale(1.02); }
.case-image {
    flex: 1 1 35%;
    max-width: 300px;
    margin: 0;
}
.case-image img {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.case-details {
    flex: 1 1 65%;
}
.case-logo { font-weight: 900; color: var(--text-dark); margin-bottom: 15px; font-size: 1.2rem; }
.case-item h4 { font-size: 1.6rem; color: var(--main-blue); margin-bottom: 25px; font-weight: 900; }
.case-content h5 { color: var(--text-dark); margin-bottom: 10px; border-bottom: 2px solid var(--border-gray); padding-bottom: 8px; font-size: 1.1rem; }
.case-content h5::before { content: '■'; color: var(--main-blue); margin-right: 8px; }

/* ===== 導入までの流れ ＆ よくあるご質問 ===== */
.flow-faq-section img { margin-bottom: 80px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.faq-list details { background-color: var(--bg-white); margin-bottom: 15px; border-radius: 8px; border: 1px solid var(--border-gray); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.faq-list summary { padding: 20px 25px; font-weight: 700; color: var(--text-dark); cursor: pointer; list-style: none; position: relative; font-size: 1.1rem; }
.faq-list details[open] summary { color: var(--main-blue); }
.faq-list summary::after { content: '+'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 2rem; color: var(--main-blue); transition: transform 0.3s ease-out; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent-orange); }
.faq-list details .faq-answer { padding: 0 25px 25px; margin: 0; border-top: 1px solid var(--border-gray); padding-top: 20px; display: flex;  align-items: baseline; gap: 10px; }
.faq-answer span:first-child { font-weight: bold; color: var(--accent-orange); }
.faq-answer p { margin: 0; }

/* ===== クロージング ＆ CTA ===== */
.closing-section { background-color: var(--bg-light-gray); text-align: center; }

/* ▼▼▼【最下部CTAデザイン】▼▼▼ */
.cta-box {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 20px 60px -20px rgba(0, 90, 156, 0.3);
    border-top: 6px solid var(--main-blue);
}
.cta-box h3 {
    color: var(--main-blue);
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 900;
    line-height: 1.6;
    margin: 0;
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.cta-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-light-blue), var(--main-blue));
    border-radius: 2px;
}
.cta-box .cta-area {
    margin-top: 0;
}
.cta-box .cta-note {
     margin: 20px 0 0;
     color: var(--text-gray);
}
/* ▲▲▲【最下部CTAデザイン】▲▲▲ */

/* ===== フッター ===== */
.site-footer { padding: 40px 0; text-align: center; background-color: #1a1a1a; color: #aaa; }
.footer-nav a { color: #aaa; margin: 0 10px; text-decoration: none; }
.footer-nav a:hover { color: var(--text-white); }

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .fv-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .fv-text-content {
        text-align: center;
    }
    .fv-supplement {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
        text-align: center;
    }
    .fv-image-content {
        display: none;
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    h2 { font-size: 26px; }
    
   /* ▼▼▼【スマホカルーセルボタン位置調整 ▼▼▼ */
   .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-400%);
    background-color: var(--main-blue);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
	
	
   /* ▼▼▼【スマホヘッダー内要素サイズ調整 ▼▼▼ */
    .logo img {
        width: 120px; /* スマホでのロゴサイズを指定 */
        padding-right:0.6rem;
    }
    .header-inner { 
        flex-direction: row; 
        flex-wrap: nowrap; 
        align-items: center; 
    }
    .header-contact {
        gap: 5px; 
    }
    .header-cta {
        padding: 0.4rem 0.5rem; 
        font-size: 10px;       
        white-space: nowrap;
    }


    .fv { height: auto; padding: 100px 0; }
    
    /* ▼▼▼FVレイアウト中央揃え ▼▼▼ */
    .fv-layout { 
        display: block; /* グリッドレイアウトを解除 */
        text-align: center;
    }
    .fv-text-content { 
        order: 1; 
        text-align: center;
    }
    .fv-image-content {
        display: block;
        margin: 20px auto 0; /* マージン自動調整で中央へ */
        order: 2;
    }
    .fv-catchcopy-main { 
        font-size: clamp(34px, 9.5vw, 38px);
        white-space: nowrap;
    }
    .fv-catchcopy-sub { font-size: 20px; }
    .fv-supplement p { font-size: 1rem; }
    .fv-image-content img { transform: rotateY(0) rotateX(0); }
    .fv-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);}
    
    .fv .cta-area {
        justify-content: center;
    }
    .fv .cta-area .btn {
        padding: 12px 18px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .feature-item, .feature-item:nth-of-type(even) { display: flex; flex-direction: column; gap: 40px; grid-template-columns: 1fr; }
    .feature-item:nth-of-type(even) .feature-text { order: 0; }
    .feature-item .feature-text, .feature-item .feature-image { grid-column: auto; grid-row: auto; }
    
    .flow-faq-section h2 {
        font-size: 22px;
    }
    .flow-faq-section img {
        width: calc(100% + 50px);
        margin-left: -25px;
        max-width: none;
    }

    .cta-box { padding: 40px 25px; }
    .cta-box h3 { 
        font-size: 1.5rem;
    }
    .cta-box .cta-area {
        flex-direction: column;
        gap: 15px;
    }
    .cta-box .cta-area .btn {
        white-space: nowrap;
    }
    .cta-note small {
        font-size: 13px;
    }

    .solution-intro-layout { flex-direction: column; gap: 30px; }
    .solution-intro-text { text-align: left; }
    .carousel-button--left { left: 10px; }
    .carousel-button--right { right: 10px; }
    .case-item { flex-direction: column; gap: 30px; }
    .case-image { max-width: 100%; }

}