/* Critical CSS */

:root {
    --bg-color: #F7F7F8;
    --card-color: #FFF;
    --text-color: #344A50;
    --cta-color: #7CD31F;
    --accent-color: #7CD31F;
    --section-bg-1: #F7F7F8; /* デフォルトの背景色 */
    --section-bg-2: #E8F5D6; /* アクセントカラーの薄い色 */
    --section-bg-3: #EDF8FF; /* 水色系の薄い色 */
    --section-bg-4: #F0F4F5; /* テキストカラーの薄い色 */
}

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

body {
    background-color: var(--section-bg-1);
    color: var(--text-color);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.hero {
    align-items: center;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    padding: 80px 0 120px;
    position: relative;
}

.hero::before {
    background-blend-mode: overlay;
    background-color: rgb(255 255 255 / 75%);
    background-image: url('../image/hero.png');
    background-position: center;
    background-size: cover;
    content: '';
    filter: blur(6px) brightness(1.15);
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.hero-container {
    align-items: center;
    display: flex;
    gap: 80px;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 60px;
    position: relative;
    width: 100%;
}

.hero-content {
    flex: 1 1 50%;
    max-width: 720px;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

/* キャッチコピー部分の背景マスク */
.hero-content::before {
    backdrop-filter: blur(2px);
    background: linear-gradient(to right, rgb(255 255 255 / 85%) 0%, rgb(255 255 255 / 75%) 70%, rgb(255 255 255 / 20%) 100%);
    border-radius: 0 30px 30px 0;
    content: '';
    height: calc(100% + 40px);
    left: -40px;
    position: absolute;
    top: -20px;
    width: calc(100% + 60px);
    z-index: -1;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 3rem;
    position: relative;
}

.hero-title-wrapper {
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.hero-title-line {
    display: inline-block;
    margin-bottom: 0.2rem;
    overflow: hidden;
    position: relative;
    width: fit-content;
}

.hero-title-overlay {
    background-color: var(--text-color);
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.hero-title-line:nth-child(1) .hero-title-overlay {
    animation: slide-in-out 1.2s cubic-bezier(0.83, 0, 0.17, 1) 0.7s forwards;
}

.hero-title-line:nth-child(2) .hero-title-overlay {
    animation: slide-in-out 1.2s cubic-bezier(0.83, 0, 0.17, 1) 0.9s forwards;
}

.hero-title-text {
    opacity: 0;
}

.hero-title-line:nth-child(1) .hero-title-text {
    animation: text-appear 0.4s ease forwards;
    animation-delay: 1.1s;
}

.hero-title-line:nth-child(2) .hero-title-text {
    animation: text-appear 0.4s ease forwards;
    animation-delay: 1.3s;
}

@keyframes slide-in-out {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

@keyframes text-appear {
    0% { opacity: 0; }
    90% { opacity: 0.95; }
    100% { opacity: 1; }
}

.hero-title::after {
    display: none;
}

.hero-subtitle {
    animation: hero-content-appear 0.5s ease-out both 1.8s;
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.7;
    margin: 2.5rem 0 3rem;
    opacity: 0;
    transform: translateY(10px);
}

.hero-features {
    animation: hero-content-appear 0.5s ease-out both 1.9s;
    list-style: none;
    margin: 3rem 0 4rem;
    opacity: 0;
    padding: 0;
    transform: translateY(10px);
}

.hero-feature-item {
    align-items: flex-start;
    color: var(--text-color);
    display: flex;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    align-items: center;
    background-color: var(--cta-color);
    border-radius: 50%;
    color: white;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    height: 24px;
    justify-content: center;
    margin-right: 12px;
    margin-top: 2px;
    min-width: 24px;
    width: 24px;
}

.marker-container {
    animation: hero-content-appear 0.5s ease-out both 1.7s;
    background-color: transparent;
    display: block;
    margin-bottom: 2.5rem;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    transform: translateY(10px);
}

.marker-container p {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* マーカーラインがもはや不要なので削除 */
.marker-container::after {
    content: none;
}

/* 各マーカーライン用のスタイル */
.marker-line {
    color: #344A50;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 8px;
    margin-left: 0;
    position: relative;
}

.marker-line::after {
    animation: marker-line-reveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 2.3s;
    background: linear-gradient(90deg, #aeea3f 0%, #7CD31F 100%);
    border-radius: 3px;
    bottom: -2px;
    content: '';
    display: block;
    height: 6px;
    left: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
    z-index: 0;
}

@keyframes marker-line-reveal {
    0% { 
        opacity: 0; 
        width: 0; 
    }

    10% { 
        opacity: 1; 
    }

    100% { 
        opacity: 1; 
        width: 100%; 
    }
}

.marker-line.second::after {
    animation-delay: 2.5s; /* 5.サブコピー下線表示「もっとスマートに。」 */
}

/* ヒーローセクション箇条書きのマーカーアニメーション */
.hero-marker {
    display: inline-block;
    position: relative;
}

.hero-marker::after {
    background-color: rgb(124 211 31 / 30%);
    bottom: 0;
    content: '';
    height: 8px;
    left: 0;
    opacity: 0;
    position: absolute;
    transition: width 1s ease;
    width: 0;
    z-index: -1;
}

/* 「もっとスマートに。」の下線完了後に順番に表示 */
.hero-feature-item:nth-child(1) .hero-marker::after {
    animation: hero-marker-reveal 1s ease forwards;
    animation-delay: 3.3s; /* 「もっとスマートに。」下線完了後 */
}

.hero-feature-item:nth-child(2) .hero-marker::after {
    animation: hero-marker-reveal 1s ease forwards;
    animation-delay: 4.3s; /* 1つ目の1秒後 */
}

.hero-feature-item:nth-child(3) .hero-marker::after {
    animation: hero-marker-reveal 1s ease forwards;
    animation-delay: 5.3s; /* 2つ目の1秒後 */
}

@keyframes hero-marker-reveal {
    0% { 
        opacity: 0;
        width: 0; 
    }

    10% {
        opacity: 1;
    }

    100% { 
        opacity: 1;
        width: 100%; 
    }
}

.cta-button {
    animation: hero-content-appear 0.5s ease-out both 2.0s, button-pulse 2s ease-in-out infinite 2.5s;
    background-color: #FF8A65;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgb(255 138 101 / 30%);
    color: white;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0;
    overflow: hidden;
    padding: 18px 45px;
    position: relative;
    text-decoration: none;
    transform: translateY(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.cta-button::before {
    background-color: var(--text-color); /* #344A50 - トンマナに合わせた色 */
    content: '';
    height: 100%;
    left: -102%; /* より左に移動して完全に隠す */
    position: absolute;
    top: 0;
    transition: left 0.3s ease;
    width: 100%;
    z-index: -1;
}

.cta-button:hover::before, .cta-button:focus::before {
    left: 0;
}

.cta-button:hover, .cta-button:focus {
    box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
    transform: scale(1.05);
}

.cta-button:focus {
    outline: none;
}

@keyframes button-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgb(255 138 101 / 30%);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 10px 30px rgb(255 138 101 / 35%);
        transform: scale(1.04);
    }
}

.plane-icon {
    animation: plane-wave 3s ease-in-out infinite;
    display: inline-block;
    margin-left: 8px;
}

@keyframes plane-wave {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(3px) rotate(5deg);
    }

    75% {
        transform: translateX(-3px) rotate(-5deg);
    }
}

.hero-image {
    align-items: center;
    display: flex;
    flex: 1 1 50%;
    justify-content: flex-end;
    position: relative;
    z-index: 0;
}

.hero-image img {
    animation: hero-image-appear 0.6s ease-out both 0.1s;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgb(0 0 0 / 20%);
    height: auto;
    max-height: 90vh;
    max-width: 120%;
    opacity: 0;
    transform: translateX(20px) scale(0.95);
    width: 120%;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ヒーローセクション専用アニメーション */
@keyframes hero-image-appear {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes hero-title-appear {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-content-appear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-scroll-appear {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* アニメーション完了後の状態を保持 */
.hero-image img.animation-complete {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.scroll-down-container.animation-complete {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* PC表示での画像拡大スタイル */
@media (width >= 1201px) {
    .hero-container {
        gap: 80px;
    }
    
    .hero-content {
        flex: 1 1 55%;
        max-width: 800px;
    }
    
    .hero-image {
        flex: 1 1 45%;
        justify-content: flex-end;
        overflow: visible;
        padding-left: 20px;
        padding-right: 0;
    }
    
    .hero-image img {
        margin-right: -20%;
        max-height: 95vh;
        max-width: 130%;
        width: 130%;
    }
}

@media (width <= 1200px) {
    .hero-container {
        gap: 60px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 60px 0;
    }
}

@media (width <= 992px) {
    .hero {
        padding: 60px 0 100px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 60px;
        padding: 0 30px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 50px 0;
        text-align: center;
    }
    
    .hero-content::before {
        background: linear-gradient(to bottom, rgb(255 255 255 / 85%) 0%, rgb(255 255 255 / 75%) 70%, rgb(255 255 255 / 30%) 100%);
        border-radius: 25px;
        height: calc(100% + 20px);
        left: -30px;
        top: -10px;
        width: calc(100% + 60px);
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-height: 60vh;
        max-width: 100%;
    }
}

@media (width <= 768px) {
    .hero {
        padding: 40px 0 80px;
    }
    
    .hero-container {
        gap: 40px;
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.25;
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin: 2.5rem 0 3rem;
    }
    
    .hero-features {
        margin: 2.5rem 0 3rem;
    }
    
    .hero-feature-item {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-icon {
        height: 22px;
        margin-right: 10px;
        min-width: 22px;
        width: 22px;
    }
    
    .marker-container p {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .hero-content::before {
        height: calc(100% + 30px);
        left: -25px;
        top: -15px;
        width: calc(100% + 50px);
    }
    
    .cta-badge-container {
        gap: 30px;
        margin-top: 2.5rem;
    }
}

@media (width <= 480px) {
    .hero {
        padding: 30px 0 60px;
    }
    
    .hero-container {
        gap: 30px;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.4rem;
        line-height: 1.25;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin: 2rem 0 2.5rem;
    }
    
    .hero-features {
        margin: 2rem 0 2.5rem;
    }
    
    .hero-feature-item {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }
    
    .feature-icon {
        font-size: 0.8rem;
        height: 20px;
        margin-right: 8px;
        min-width: 20px;
        width: 20px;
    }
    
    .marker-container p {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .hero-content::before {
        background: linear-gradient(to bottom, rgb(255 255 255 / 85%) 0%, rgb(255 255 255 / 75%) 70%, rgb(255 255 255 / 30%) 100%);
        height: calc(100% + 25px);
        left: -20px;
        top: -12px;
        width: calc(100% + 40px);
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 15px 35px;
    }
    
    .cta-badge-container {
        align-items: center;
        flex-direction: column;
        gap: 25px;
        margin-top: 2rem;
    }
    
    .hero-badges {
        gap: 15px;
    }
    
    .hero-badge {
        height: 60px;
        max-width: 120px;
    }
}

/* Styles.css - 非クリティカルなCSSスタイル */

/* 共通のセクションスタイル */
.section {
    margin: 0 auto;
    max-width: 1200px;
    padding: 80px 20px;
}

/* コンテナの統一スタイル */
.container {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

/* セクションタイトルの統一スタイル */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    background-color: var(--cta-color);
    bottom: 0;
    content: '';
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 80px;
}

.section-subtitle {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    position: relative;
    text-align: center;
    width: 100%;
}

.subtitle-container {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

/* マーカー風アニメーション（サブコピー用） */
.marker-animation {
    display: inline-block;
    position: relative;
}

.marker-animation::after {
    background-color: rgb(124 211 31 / 30%);
    bottom: 0;
    content: '';
    height: 8px;
    left: 0;
    opacity: 0;
    position: absolute;
    transition: width 0.6s ease, opacity 0.3s ease;
    width: 0;
    z-index: -1;
}

.marker-animation.active::after {
    opacity: 1;
    width: 100%;
}

/* 課題提示セクション */
.problem-cards {
    margin-top: 50px;
}

.problem-card {
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
    transform: translateY(-10px);
}

.card-image {
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-image img {
    height: auto;
    transition: transform 0.5s ease;
    width: 100%;
}

.problem-card:hover .card-image img {
    transform: scale(1.05);
}

/* カードタイトルの統一スタイル */
.card-title {
    color: var(--text-color);
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.card-text {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* 汎用カード */
.card {
    background-color: var(--card-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    margin-bottom: 30px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
    transform: translateY(-10px);
}

/* フェードインアニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* スライドインアニメーション用クラス */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.slide-in-left.active,
.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* グリッドレイアウト */
.grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* フォーム要素の統一スタイル */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

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

.form-group input,
.form-group textarea {
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    padding: 14px 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--cta-color);
    box-shadow: 0 0 0 2px rgb(124 211 31 / 20%);
    outline: none;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--cta-color);
    outline: none;
}

.error-message {
    color: #e74c3c;
    display: none;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* フッター */
.footer {
    margin-top: 80px;
    width: 100%;
}

.footer-container {
    display: flex;
    width: 100%;
}

.footer-left {
    align-items: center;
    background-color: #FFF;
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    width: 30%;
}

.footer-logo {
    max-width: 240px;
}

.footer-logo img {
    height: auto;
    transition: opacity 0.3s ease;
    width: 100%;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-right {
    background-color: var(--text-color);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 20px;
    width: 70%;
}

.footer-nav {
    margin-bottom: 25px;
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-end;
    list-style: none;
}

.primary-nav li a {
    color: white;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.primary-nav li a::after {
    background-color: var(--cta-color);
    bottom: -8px;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    transition: width 0.3s ease;
    width: 0;
}

.primary-nav li a:hover::after {
    width: 100%;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgb(255 255 255 / 10%);
    display: flex;
    justify-content: center;
    padding-top: 30px;
    width: 100%;
}

.privacy-policy-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy-link:hover {
    color: var(--cta-color);
}

.copyright {
    color: rgb(255 255 255 / 70%);
    font-size: 14px;
    text-align: center;
}

@media (width <= 992px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-left, .footer-right {
        padding: 20px 15px;
        width: 100%;
    }
    
    .footer-left {
        padding: 20px 15px;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
}

@media (width <= 768px) {
    .primary-nav {
        gap: 20px;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (width <= 480px) {
    .primary-nav {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }
    
    .footer-nav {
        margin-bottom: 15px;
    }
    
    .footer-left, .footer-right {
        padding: 15px 10px;
    }
}

/* レスポンシブ対応 */
@media (width <= 992px) {
    .section {
        padding: 60px 20px;
    }
    
    #problems, #features, #partner, #support {
        padding: 60px 20px;
    }
    
    #solution, #clients, #faq, #contact {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problem-cards {
        margin-top: 30px;
    }
}

@media (width <= 768px) {
    #problems, #features, #partner, #support {
        margin: 0 -15px;
        padding: 60px 15px;
    }
    
    #solution, #clients, #faq, #contact {
        margin: 0 -15px;
        padding: 60px 15px;
    }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-nav {
        flex-basis: 50%;
        margin-bottom: 20px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

@media (width <= 480px) {
    .section {
        padding: 40px 15px;
    }
    
    #problems, #features, #partner, #support {
        margin: 0 -10px;
        padding: 40px 10px;
    }
    
    #solution, #clients, #faq, #contact {
        margin: 0 -10px;
        padding: 40px 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-basis: 100%;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

/* 課題解決カードグリッド */
.solution-cards-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(4, 1fr);
    margin: 50px 0 0;
}

.solution-card-item {
    background-color: var(--card-color);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #aeea3f, #7CD31F, #5ba518) 1;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgb(0 0 0 / 8%);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card-item:hover {
    box-shadow: 0 15px 40px rgb(0 0 0 / 15%);
    transform: translateY(-8px);
}

.solution-card-image {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 30px 0 15px;
    position: relative;
}

.solution-card-image img {
    border-radius: 8px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
    width: 120px;
}

.solution-card-item:hover .solution-card-image img {
    transform: scale(1.1);
}

.solution-card-content {
    padding: 10px 25px 30px;
}

.solution-card-title {
    align-items: flex-start;
    color: var(--text-color);
    display: flex;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    min-height: 3.38rem; /* 2行分の高さを確保 (1.3rem × 1.3 × 2) */
}

.solution-card-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
}

/* レスポンシブ対応 */
@media (width <= 1200px) {
    .solution-cards-grid {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-card-content {
        padding: 10px 20px 25px;
    }
    
    .solution-card-title {
        font-size: 1.3rem;
        min-height: 3.38rem; /* 1.3rem × 1.3 × 2 */
    }
}

@media (width <= 992px) {
    .solution-cards-grid {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-card-content {
        padding: 10px 20px 25px;
    }
    
    .solution-card-title {
        font-size: 1.3rem;
        min-height: 3.38rem; /* 1.3rem × 1.3 × 2 */
    }
}

@media (width <= 768px) {
    .solution-cards-grid {
        gap: 18px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-card-image {
        padding: 25px 0 12px;
    }
    
    .solution-card-image img {
        height: 100px;
        width: 100px;
    }
    
    .solution-card-content {
        padding: 8px 18px 20px;
    }
    
    .solution-card-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
        min-height: 3.12rem; /* 1.2rem × 1.3 × 2 */
    }
    
    .solution-card-description {
        font-size: 0.95rem;
    }
}

@media (width <= 480px) {
    .solution-cards-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }
    
    .solution-card-image {
        padding: 20px 0 10px;
    }
    
    .solution-card-image img {
        height: 80px;
        width: 80px;
    }
    
    .solution-card-content {
        padding: 5px 15px 18px;
    }
    
    .solution-card-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
        min-height: 2.86rem; /* 1.1rem × 1.3 × 2 */
    }
    
    .solution-card-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ソリューション訴求セクション */
.solution-list {
    counter-reset: solution-counter;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    list-style: none;
    margin: 50px 0 0;
    padding: 0;
}

.solution-card {
    align-items: center;
    background: var(--card-color);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 32px 24px 24px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    box-shadow: 0 15px 30px rgb(0 0 0 / 12%);
    transform: translateY(-8px) scale(1.03);
}

.solution-card::before {
    display: none; /* ナンバーを非表示にする */
}

.solution-icon {
    align-items: center;
    display: flex;
    height: 160px;
    justify-content: center;
    margin-bottom: 18px;
    width: 160px;
}

.solution-icon img {
    background: #fff;
    border-radius: 16px;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.solution-content {
    text-align: center;
}

.solution-title {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-desc {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.solution-point {
    color: var(--cta-color);
    font-style: italic;
    font-weight: 700;
}

.solution-link {
    color: var(--accent-color);
    display: block;
    font-weight: 500;
    margin-top: 12px;
    text-align: right;
    text-decoration: none;
    transition: color 0.2s ease;
}

.solution-link:hover, .solution-link:focus {
    color: #63a819; /* アクセントカラーより少し暗い色 */
    text-decoration: underline;
}

@media (width <= 992px) {
    .solution-list {
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }

    .solution-card {
        min-height: 280px;
        padding: 28px 16px 20px;
    }

    .solution-icon {
        height: 120px;
        width: 120px;
    }
}

@media (width <= 768px) {
    .solution-list {
        grid-template-columns: 1fr 1fr;
    }

    .solution-card {
        min-height: 220px;
        padding: 20px 8px 16px;
    }

    .solution-title {
        font-size: 1.1rem;
    }
}

@media (width <= 480px) {
    .solution-list {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: 180px;
        padding: 16px 4px 12px;
    }

    .solution-title {
        font-size: 1rem;
    }
}

/* Pleasanterの主な機能（タブ形式） */
.features-tabs {
    margin-top: 40px;
}

.tab-list {
    display: flex;
    gap: 16px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tab-item {
    background: #fff;
    border: 2px solid var(--cta-color);
    border-radius: 30px 30px 0 0;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    outline: none;
    padding: 12px 32px;
    position: relative;
    transition: background 0.3s, color 0.3s, border 0.3s;
    z-index: 1;
}

.tab-item.active,
.tab-item:focus {
    background: var(--cta-color);
    border-bottom: 2px solid #fff;
    color: #fff;
}

.tab-item:hover:not(.active) {
    background: #f0f8e6;
    color: var(--cta-color);
}

.tab-panels {
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    margin: 0 auto;
    max-width: 1000px;
    min-height: 440px;
    padding: 40px 32px;
}

.tab-panel {
    animation: fade-in-tab 0.4s;
    display: none;
}

.tab-panel.active {
    display: block;
}

@keyframes fade-in-tab {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }

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

.feature-flex {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 0;
}

.feature-image {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgb(0 0 0 / 8%);
    cursor: pointer;
    flex: 1 1 350px;
    height: 350px;
    min-width: 280px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.feature-image::after {
    align-items: center;
    background-color: rgb(255 255 255 / 80%);
    border-radius: 50%;
    bottom: 10px;
    color: var(--text-color);
    content: '\f00e';
    display: flex;
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-size: 18px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 10px;
    transition: all 0.3s ease;
    width: 36px;
}

.feature-image:hover::after {
    background-color: var(--cta-color);
    color: white;
}

.feature-image img {
    border-radius: 12px;
    height: 100%;
    left: 0;
    max-height: none;
    max-width: none;
    object-fit: contain;
    position: absolute;
    top: 0;
    transition: transform 0.3s ease;
    width: 100%;
}

.feature-image:hover img {
    transform: none; /* 拡大アニメーションを無効化 */
}

.feature-desc {
    flex: 1 1 320px;
    min-width: 220px;
    padding: 20px 0;
}

.feature-desc h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-desc p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (width <= 992px) {
    .tab-panels {
        padding: 24px 8px;
    }

    .feature-flex {
        gap: 20px;
    }

    .feature-image {
        height: 280px;
    }
}

@media (width <= 768px) {
    .tab-list {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tab-item {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .feature-flex {
        flex-direction: column;
        gap: 16px;
    }

    .feature-image {
        height: 250px;
        margin: 0 auto;
        max-width: 600px;
    }
}

@media (width <= 480px) {
    .tab-panels {
        padding: 12px 2px;
    }

    .feature-desc h3 {
        font-size: 1.1rem;
    }

    .feature-desc p {
        font-size: 0.95rem;
    }

    .feature-image {
        height: 200px;
    }
}

/* お客様の声（1カード・顔アイコン付き） */
.voice-card {
    align-items: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 8%);
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 48px auto 0;
    max-width: 700px;
    padding: 40px 36px 32px;
}

.voice-header {
    align-items: center;
    display: flex;
    gap: 18px;
    margin-bottom: 8px;
}

.voice-avatar {
    background: #f7f7f8;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
    height: 80px;
    object-fit: cover;
    width: 80px;
}

.voice-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.voice-card .section-title {
    font-size: 1.3rem;
    margin: 0;
    padding-bottom: 0;
    text-align: left;
}

.voice-company {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 5px;
}

.voice-rating {
    color: #FFB900;
    font-size: 1rem;
    margin-top: 5px;
}

.voice-quote {
    background: none;
    border: none;
    box-shadow: none;
    color: var(--text-color);
    font-size: 1.15rem;
    font-style: italic;
    margin: 0 0 12px;
    max-width: 100%;
    padding: 0;
    text-align: center;
}

.voice-quote p {
    line-height: 1.8;
    margin: 0;
}

.voice-stats {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 400px;
}

.voice-stat-card {
    align-items: center;
    background: #f7f7f8;
    border-radius: 10px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 8px;
    text-align: center;
}

.voice-stat-label {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.voice-stat-value {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.voice-stat-value.highlight {
    color: var(--cta-color);
    font-size: 1.18rem;
}

@media (width <= 768px) {
    .voice-card {
        max-width: 98vw;
        padding: 20px 8px 16px;
    }

    .voice-header {
        gap: 10px;
    }

    .voice-avatar {
        height: 56px;
        width: 56px;
    }

    .voice-card .section-title {
        font-size: 1.1rem;
    }

    .voice-stats {
        gap: 12px;
        grid-template-columns: 1fr;
    }
}

/* お客様の声スライダー */
.voice-slider {
    margin: 0 auto;
    max-width: 700px;
    position: relative;
}

.voice-slide {
    animation: fade-in 0.4s ease forwards;
    display: none;
}

.voice-slide.active {
    display: block;
}

.voice-slider-nav {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    align-items: center;
    background: var(--card-color);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    font-size: 1rem;
    height: 40px;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    width: 40px;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--cta-color);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    background: #ddd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    height: 12px;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
    width: 12px;
}

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

@keyframes fade-in {
    from { 
        opacity: 0; 
    }

    to { 
        opacity: 1; 
    }
}

@media (width <= 768px) {
    .slider-prev,
    .slider-next {
        font-size: 0.9rem;
        height: 36px;
        width: 36px;
    }
    
    .slider-dot {
        height: 10px;
        width: 10px;
    }
}

@media (width <= 480px) {
    .voice-slider-nav {
        margin-top: 20px;
    }
    
    .slider-prev,
    .slider-next {
        font-size: 0.8rem;
        height: 32px;
        width: 32px;
    }
    
    .slider-dot {
        height: 8px;
        width: 8px;
    }
}

/* パートナーサポート体制セクション */
.partner-flex {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.partner-image {
    flex: 1 1 350px;
    min-width: 300px;
    position: relative;
}

.partner-image > img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
    height: auto;
    transition: transform 0.3s ease;
    width: 100%;
}

.partner-image:hover img {
    transform: scale(1.03);
}

.partner-badge {
    background: transparent;
    position: absolute;
    right: -30px;
    top: -30px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.partner-badge img {
    box-shadow: none;
    height: auto;
    width: 120px;
}

.partner-image:hover .partner-badge {
    transform: scale(1.05);
}

.partner-content {
    flex: 1 1 550px;
    min-width: 300px;
}

.support-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.support-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgb(0 0 0 / 5%);
    display: flex;
    gap: 20px;
    overflow: hidden;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-item:hover {
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
    transform: translateY(-5px);
}

.support-item::before {
    color: rgb(124 211 31 / 20%);
    content: attr(data-step);
    font-size: 5rem;
    font-weight: 900;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.support-icon {
    flex-shrink: 0;
    height: 60px;
    position: relative;
    width: 60px;
    z-index: 2;
}

.support-icon img {
    background: #f7f7f8;
    border-radius: 50%;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.support-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.support-text h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.support-text p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

@media (width <= 768px) {
    .support-item {
        align-items: center;
        flex-direction: column;
        padding: 20px 10px;
        text-align: center;
    }
    
    .support-icon {
        margin-bottom: 10px;
    }

    .support-item::before {
        font-size: 5rem;
    }
}

@media (width <= 480px) {
    .support-item::before {
        font-size: 3.5rem;
    }
}

@media (width <= 992px) {
    .partner-flex {
        gap: 30px;
    }
    
    .partner-image {
        flex: 1 1 100%;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .support-item {
        padding: 16px;
    }
}

@media (width <= 768px) {
    .support-item {
        align-items: center;
        flex-direction: column;
        padding: 20px 10px;
        text-align: center;
    }
    
    .support-icon {
        margin-bottom: 10px;
    }
}

@media (width <= 480px) {
    .partner-flex {
        gap: 20px;
    }
    
    .partner-badge {
        right: -20px;
        top: -20px;
    }
    
    .partner-badge img {
        width: 80px;
    }
    
    .support-list {
        gap: 15px;
    }
    
    .support-text h3 {
        font-size: 1.1rem;
    }
    
    .support-text p {
        font-size: 0.9rem;
    }
}

/* 導入実績ロゴカルーセル */
.logo-carousel-wrapper {
    margin: 50px 0;
    padding: 10px 0;
    position: relative;
}

.logo-carousel {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    justify-content: center;
}

/* ロゴの間隔調整（マルキー/カルーセル共通） */

/* .logo-marquee, .logo-carousel {
    gap: 40px;
} */

@media (width <= 768px) {
    .logo-item {
        margin: 0 16px;
    }

    .logo-marquee, .logo-carousel {
        gap: 20px;
    }
}

@media (width <= 480px) {
    .logo-item {
        margin: 0 8px;
    }

    .logo-marquee, .logo-carousel {
        gap: 10px;
    }
}

/* FAQ セクション */
.faq-container {
    margin: 50px auto 0;
    max-width: 800px;
}

.faq-item {
    background-color: var(--card-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgb(0 0 0 / 10%);
}

.question-part {
    align-items: center;
    background-color: #f0f8e6;  /* 薄い緑色の背景 */
    border-bottom: 1px solid rgb(124 211 31 / 20%);
    display: flex;
    padding: 20px;
}

.answer-part {
    align-items: flex-start;
    background-color: var(--card-color);
    display: flex;
    padding: 20px;
}

.question-icon {
    align-items: center;
    background-color: var(--text-color);
    border-radius: 50%;
    color: white;
    display: flex;
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    margin-right: 15px;
    width: 36px;
}

.question-text {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.answer-icon {
    align-items: center;
    background-color: white;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    color: var(--text-color);
    display: flex;
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    margin-right: 15px;
    width: 36px;
}

.answer-text {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

@media (width <= 768px) {
    .faq-container {
        margin-top: 30px;
    }
    
    .question-part,
    .answer-part {
        padding: 15px;
    }
    
    .question-icon,
    .answer-icon {
        font-size: 1rem;
        height: 30px;
        margin-right: 10px;
        width: 30px;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .answer-text {
        font-size: 0.95rem;
    }
}

@media (width <= 480px) {
    .faq-container {
        padding: 0 10px;
    }
    
    .question-part,
    .answer-part {
        padding: 12px;
    }
    
    .question-icon,
    .answer-icon {
        font-size: 14px;
        height: 25px;
        line-height: 25px;
        width: 25px;
    }
    
    .question-text {
        font-size: 14px;
    }
    
    .answer-text {
        font-size: 13px;
    }
}

/* 問い合わせフォームスタイル */
.contact-form-wrapper {
    background-color: var(--card-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgb(0 0 0 / 5%);
    margin: 0 auto;
    max-width: 800px;
    padding: 40px;
}

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

.required {
    color: #e74c3c;
    margin-left: 4px;
}

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

.contact-submit {
    border: none;
    cursor: pointer;
    margin-top: 20px;
    min-width: 200px;
}

@media (width <= 992px) {
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (width <= 768px) {
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 15px;
        padding: 12px 14px;
    }
    
    .contact-submit {
        min-width: 180px;
    }
}

@media (width <= 480px) {
    .contact-form-wrapper {
        box-shadow: 0 3px 10px rgb(0 0 0 / 5%);
        padding: 20px 15px;
    }
    
    /* メディアクエリ内のフォームグループスタイルはメディアクエリセクションに移動済み */
    
    .contact-submit {
        min-width: 100%;
        padding: 12px 20px;
    }
}

/* 新しいフォームスタイル */
.required-badge,
.optional-badge {
    border-radius: 4px;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    margin-left: 6px;
    padding: 2px 8px;
    vertical-align: middle;
}

.required-badge {
    background-color: #FF6B6B;
    color: #FFF;
}

.optional-badge {
    background-color: #E0E0E0;
    color: #666;
}

.note {
    color: #666;
    font-size: 12px;
    margin-left: 6px;
}

.privacy-consent {
    align-items: flex-start;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    margin: 25px 0;
    padding: 15px;
}

.privacy-consent input[type="checkbox"] {
    height: 18px;
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
}

.privacy-consent label {
    font-size: 14px;
    line-height: 1.5;
}

.privacy-link {
    color: #08c;
    text-decoration: underline;
    transition: color 0.2s;
}

.privacy-link:hover {
    color: var(--cta-color);
}

.send-icon {
    animation: plane-wave 3s ease-in-out infinite;
    display: inline-block;
    font-size: 18px;
    margin-left: 8px;
}

@media (width <= 768px) {
    .privacy-consent {
        padding: 12px;
    }
    
    .privacy-consent label {
        font-size: 13px;
    }
}

@media (width <= 480px) {
    .required-badge,
    .optional-badge {
        font-size: 11px;
        padding: 1px 6px;
    }
    
    .privacy-consent {
        flex-direction: column;
        padding: 10px;
    }
    
    .privacy-consent input[type="checkbox"] {
        margin-bottom: 8px;
    }
    
    .privacy-consent label {
        font-size: 12px;
    }
}

/* モーダル */
.modal {
    align-items: center;
    background-color: rgb(0 0 0 / 50%);
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.modal.show {
    animation: fade-in 0.3s ease-out forwards;
    display: flex;
}

.modal-content {
    animation: modal-pop 0.4s ease-out 0.1s forwards;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
    max-width: 500px;
    opacity: 0;
    padding: 40px 30px;
    text-align: center;
    transform: scale(0.9);
    width: 90%;
}

.success-icon {
    align-items: center;
    animation: circle-pop 0.5s ease-out 0.3s forwards;
    background-color: var(--cta-color);
    border-radius: 50%;
    display: flex;
    height: 80px;
    justify-content: center;
    margin: 0 auto 20px;
    opacity: 0;
    transform: scale(0);
    width: 80px;
}

.success-icon i {
    animation: checkmark-pop 0.5s ease-out 0.7s forwards;
    color: white;
    font-size: 40px;
    opacity: 0;
    transform: scale(0.5);
}

@keyframes circle-pop {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    70% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmark-pop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    70% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-title {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.modal-message {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-button {
    background-color: var(--cta-color);
    border: none;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 36px;
    transition: background-color 0.3s, transform 0.3s;
}

.modal-button:hover {
    background-color: var(--text-color);
    transform: scale(1.05);
}

@keyframes modal-pop {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (width <= 600px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .success-icon {
        height: 60px;
        width: 60px;
    }
    
    .success-icon i {
        font-size: 30px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-button {
        font-size: 16px;
        padding: 10px 30px;
    }
}

/* セクションごとの背景色を設定 */
#problems {
    background-color: #E8F5D6;
    margin: 0 -20px;
    max-width: none;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

#problems .container {
    margin: 0 auto;
    max-width: 1200px;
}

#solution {
    background-color: #FFF;
    margin: 0 -20px;
    max-width: none;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

#solution .container {
    margin: 0 auto;
    max-width: 1200px;
}

#features {
    background-color: #E8F5D6;
    margin: 0 -20px;
    max-width: none;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

#features .container {
    margin: 0 auto;
    max-width: 1200px;
}

#voice {
    background-color: var(--section-bg-1);
    position: relative;
    z-index: 1;
}

#partner, #support {
    background-color: #E8F5D6;
    margin: 0 -20px;
    max-width: none;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

#partner .container {
    margin: 0 auto;
    max-width: 1200px;
}

#clients {
    background-color: #FFF;
    margin: 0 -20px;
    max-width: none;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

#clients .container {
    margin: 0 auto;
    max-width: 1200px;
}

#faq {
    background-color: #FFF;
    margin: 0 -20px;
    max-width: none;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

#faq .container {
    margin: 0 auto;
    max-width: 1200px;
}

#contact {
    background-color: #D4E8B8;
    margin: 0 -20px;
    max-width: none;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

#contact .container {
    margin: 0 auto;
    max-width: 1200px;
}

/* レスポンシブ対応 */
@media (width <= 992px) {
    .section {
        padding: 60px 20px;
    }
    
    #problems, #features, #partner, #support {
        padding: 60px 20px;
    }
    
    #solution, #clients, #faq, #contact {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problem-cards {
        margin-top: 30px;
    }
}

@media (width <= 768px) {
    #problems, #features, #partner, #support {
        margin: 0 -15px;
        padding: 60px 15px;
    }
    
    #solution, #clients, #faq, #contact {
        margin: 0 -15px;
        padding: 60px 15px;
    }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-nav {
        flex-basis: 50%;
        margin-bottom: 20px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

@media (width <= 480px) {
    .section {
        padding: 40px 15px;
    }
    
    #problems, #features, #partner, #support {
        margin: 0 -10px;
        padding: 40px 10px;
    }
    
    #solution, #clients, #faq, #contact {
        margin: 0 -10px;
        padding: 40px 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-basis: 100%;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

/* 画像モーダル用スタイル */
.modal-image-content {
    animation: modal-pop 0.4s ease-out forwards;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
    display: flex;
    flex-direction: column;
    margin: auto;
    max-height: 90vh;
    max-width: 90%;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.close-modal {
    align-items: center;
    background-color: rgb(0 0 0 / 50%);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 28px;
    font-weight: bold;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 15px;
    transition: background-color 0.3s;
    width: 36px;
    z-index: 10;
}

.close-modal:hover {
    background-color: rgb(0 0 0 / 80%);
}

#modal-image {
    height: auto;
    margin: 0 auto;
    max-height: 80vh;
    max-width: 1200px;
    object-fit: contain;
    width: 100%;
}

.modal-image-caption {
    color: var(--text-color);
    display: none; /* キャプションを非表示にする */
    font-weight: 500;
    padding: 15px;
    text-align: center;
}

@media (width <= 768px) {
    .modal-image-content {
        max-width: 95%;
    }
    
    .close-modal {
        font-size: 24px;
        height: 30px;
        right: 10px;
        top: 10px;
        width: 30px;
    }
}

.highlight-point {
    border-bottom: 4px solid #344A50;
    border-radius: 4px;
    color: var(--cta-color);
    font-size: 1.15em;
    font-weight: 900;
    letter-spacing: 0.03em;
    padding: 0 4px;
}

.marker-text {
    color: #344A50;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.first-phrase {
    display: inline-block;
    margin-right: 0;
}

.marker-first {
    display: inline-block;
    text-align: left;
    width: 100%;
}

.marker-space {
    display: inline-block;
    width: 10.35em;  /* キャッチコピーの幅に合わせて調整 */
}

.marker-align {
    display: block;
    text-align: right;
}



.marker-second {
    display: inline-block;
    margin-top: 0.2em;
}

.logo-marquee-wrapper {
    background: #fff; /* 背景を白色に戻す */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
    margin: 30px auto 10px; /* 下部マージンを30pxから10pxに減らす */
    max-width: 1160px;
    overflow: hidden;
    padding: 30px;
    width: 100%;
}

.logo-marquee {
    align-items: center;
    animation: marquee 90s linear infinite;
    display: flex;
    width: max-content;
}

.logo-item {
    align-items: center;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    list-style: none;
    margin: 0 32px;
}

.logo-item img {
    display: block;
    filter: none;
    margin: 0;
    max-height: 40px;
    max-width: 200px;
    object-fit: contain;
    opacity: 1;
    padding: 0;
    transition: none;
    width: auto;
}

.logo-item img:hover {
    filter: none;
    opacity: 1;
    transition: none;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* メディアクエリの整理 */
@media (width <= 992px) {
    .hero-container,
    .footer-container,
    .section,
    .solution-list,
    .partner-flex,
    .contact-form-wrapper {
        padding: 0 20px;
    }

    .hero-content,
    .footer-left,
    .footer-right,
    .solution-card,
    .partner-image {
        padding: 40px 0;
    }

    .section-title,
    .problem-cards {
        margin-bottom: 2rem;
    }

    .tab-panels,
    .feature-flex {
        margin-top: 2rem;
    }
}

@media (width <= 768px) {
    .hero-title,
    .hero-subtitle,
    .marker-container p,
    .card-title,
    .feature-desc h3,
    .feature-desc p,
    .voice-card .section-title,
    .support-text h3,
    .support-text p,
    .question-text,
    .answer-text {
        font-size: 1.2rem;
    }

    .grid,
    .footer-nav,
    .support-item,
    .logo-carousel-wrapper,
    .faq-container,
    .contact-form-wrapper {
        flex-direction: column;
    }

    .slider-prev,
    .slider-next,
    .slick-prev,
    .slick-next {
        display: none;
    }

    .privacy-consent {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (width <= 480px) {
    .hero-title,
    .section-title {
        font-size: 1.8rem;
    }

    .hero-subtitle,
    .section-subtitle {
        font-size: 1rem;
    }

    .marker-container p,
    .grid,
    .footer-nav,
    .card-title {
        font-size: 1rem;
    }

    .cta-button,
    .contact-submit {
        padding: 12px 20px;
        width: 100%;
    }
}

/* ロゴ関連のスタイルを統合 */

/* フォーム関連のスタイルを統合 */

/* 重複したフォーム定義は統一済み */

/* ヒーローセクションバッジスタイル */
.hero-badges {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-badge {
    border-radius: 8px;
    filter: drop-shadow(0 6px 12px rgb(0 0 0 / 15%));
    height: 70px;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
    width: auto;
}

.hero-badge:hover {
    transform: translateY(-3px);
}

@media (width <= 768px) {
    .hero-badges {
        justify-content: center;
        margin-top: 15px;
    }
    
    .hero-badge {
        height: 60px;
        max-width: 120px;
    }
}

@media (width <= 480px) {
    .hero-badges {
        gap: 10px;
    }
    
    .hero-badge {
        height: 40px;
    }
}

/* CTAボタンとバッジの水平配置 */
.cta-badge-container {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: flex-start;
    margin-top: 3.5rem;
}

.hero-badges-wrapper {
    align-items: center;
    animation: hero-content-appear 0.5s ease-out both 2.1s;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
}

.badge-caption {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 10px;
    opacity: 0.9;
    text-align: center;
}

@media (width <= 768px) {
    .cta-badge-container {
        align-items: center;
        flex-direction: column;
        gap: 25px;
    }
    
    .hero-badges-wrapper {
        align-items: center;
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        width: 100%;
    }
    
    .badge-caption {
        font-size: 0.8rem;
    }
}

/* 下向き矢印ボタンのスタイル */
.scroll-down-container {
    animation: hero-scroll-appear 0.5s ease-out both 2.2s;
    bottom: 80px;
    left: 50%;
    opacity: 0;
    position: absolute;
    text-align: center;
    transform: translateX(-50%) translateY(10px);
    z-index: 5;
}

.scroll-down-button {
    align-items: center;
    animation: bounce-up-down 2s ease-in-out infinite;
    background-color: #FF8A65;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgb(255 138 101 / 30%);
    color: white;
    display: flex;
    font-size: 2rem;
    height: 70px;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    width: 70px;
}

.scroll-down-button:hover, .scroll-down-button:focus {
    animation-play-state: paused;
    background-color: var(--text-color);
    box-shadow: 0 12px 35px rgb(52 74 80 / 40%);
    transform: translateY(-8px) scale(1.1);
}

@keyframes bounce-up-down {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (width <= 768px) {
    .scroll-down-container {
        bottom: 40px;
    }
    
    .scroll-down-button {
        font-size: 1.5rem;
        height: 50px;
        width: 50px;
    }
}

@media (width <= 480px) {
    .scroll-down-button {
        font-size: 1.3rem;
        height: 45px;
        width: 45px;
    }
}

/* 引用元情報のスタイル */
.source-info {
    color: var(--text-color);
    font-size: 0.85rem;
    margin: 0 auto 20px;
    max-width: 1160px;
    opacity: 0.8;
    padding: 5px 0 0;
    text-align: right;
}

.source-info a {
    color: var(--text-color);
    text-decoration: underline;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.source-info a:hover {
    color: var(--cta-color);
    opacity: 1;
}

/* フローティングCTAボタン */
.floating-cta {
    align-items: center;
    background-color: #FF8A65;
    border-radius: 50%;
    bottom: 30px;
    box-shadow: 0 4px 15px rgb(0 0 0 / 20%);
    color: white;
    display: flex;
    height: 60px;
    justify-content: center;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    right: 30px;
    text-decoration: none;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    width: 60px;
    z-index: 100;
}

.floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.floating-cta:hover {
    background-color: var(--text-color);
    border-radius: 30px;
    width: 200px;
}

.floating-cta-icon {
    align-items: center;
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.floating-cta:hover .floating-cta-icon {
    left: 25px;
    transform: translateX(0);
}

.floating-cta-text {
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0;
    position: absolute;
    right: 20px;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-cta:hover .floating-cta-text {
    opacity: 1;
    transform: translateX(0);
}

@media (width <= 768px) {
    .floating-cta {
        bottom: 20px;
        height: 50px;
        right: 20px;
        width: 50px;
    }
    
    .floating-cta:hover {
        width: 180px;
    }
    
    .floating-cta-icon {
        font-size: 1.2rem;
    }
    
    .floating-cta:hover .floating-cta-icon {
        left: 22px;
    }
    
    .floating-cta-text {
        font-size: 0.8rem;
        right: 15px;
    }
}

/* お客様の声セクションのCTAボタン */
.voice-cta {
    margin-top: 40px;
    text-align: center;
}

.voice-cta .cta-button {
    display: inline-block;
    min-width: 240px;
} 

/* 新しいセカンダリコンテンツ用のスタイル */
.hero-content-secondary {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.test {
    display: block;
    margin: 0;
}