/* Critical CSS */

:root {
    --bg-color: #F7F7F8;
    --card-color: #FFFFFF;
    --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; /* テキストカラーの薄い色 */
}

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

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

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

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/hero.png');
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(1.1);
    opacity: 0.6;
    z-index: -1;
}

.hero-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

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

/* キャッチコピー部分の背景マスク */
.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: calc(100% + 20px);
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 80%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    border-radius: 0 20px 20px 0;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

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

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

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

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

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

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

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

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

@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 {
    font-size: 1.2rem;
    margin: 2rem 0 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    /* animation: fadeInUp 1s ease forwards 1.4s; */
}

.marker-container {
    display: inline-block;
    background-color: transparent;
    padding: 0 8px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

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

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

/* 各マーカーライン用のスタイル */
.marker-line {
    display: inline-block;
    position: relative;
    margin-bottom: 6px;
}

.marker-line::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: #aeea3f;
    position: absolute;
    left: 0;
    bottom: -4px;
    z-index: 0;
    animation: marker-line-reveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 3.0s; /* 4.サブコピー下線表示「もっと効率的に。」 */
    opacity: 0;
}

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

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

.cta-button {
    display: inline-block;
    background-color: var(--cta-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.6s, buttonPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.cta-button:hover, .cta-button:focus {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03) perspective(200px) translateZ(5px);
    }
}

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

@keyframes planeWave {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(3px) rotate(5deg);
    }
    75% {
        transform: translateX(-3px) rotate(-5deg);
    }
}

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

.hero-image img {
    max-width: 130%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards 0.3s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1200px) {
    .hero-container {
        margin: 0 auto;
    }
    
    .hero-image {
        margin-left: 30px;
    }
    
    .hero-image img {
        max-width: 120%;
    }
    
    .hero-content {
        padding: 60px 30px 60px 0;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        margin: 0 auto;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 60px 0 40px;
        text-align: center;
    }
    
    .hero-content::before {
        left: -50px;
        width: calc(100% + 100px);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 70%, rgba(255, 255, 255, 0.3) 100%);
        border-radius: 20px;
    }
    
    .hero-image {
        margin-top: 20px;
        margin-left: 0;
    }
    
    .hero-image img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .marker-container p {
        font-size: 1.4rem;
    }
    
    .hero-content::before {
        left: -20px;
        width: calc(100% + 40px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .marker-container p {
        font-size: 1.2rem;
    }
    
    .hero-content::before {
        left: -15px;
        width: calc(100% + 30px);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 70%, rgba(255, 255, 255, 0.3) 100%);
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

/* フェードインアニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

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

/* スライドインアニメーション用クラス */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s 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;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    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 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

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

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

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

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

@media (max-width: 768px) {
    #comparison, #partner, #contact, #clients, #solution {
        padding: 60px 15px;
        margin: 0 -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 (max-width: 480px) {
    .section {
        padding: 40px 15px;
    }
    
    #comparison, #partner, #contact, #clients, #solution {
        padding: 40px 10px;
        margin: 0 -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;
    }
}

/* Before/After比較テーブル */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-color);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table thead th {
    background-color: var(--text-color);
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 15px 20px;
}

.comparison-table tbody th {
    background-color: rgba(0, 0, 0, 0.02);
    font-weight: 500;
    width: 33%;
}

.comparison-table td {
    vertical-align: middle;
    width: 33%;
}

.comparison-table td.highlight {
    color: var(--text-color);
    font-weight: 500;
    background-color: rgba(124, 211, 31, 0.1);
}

.before-label,
.after-label {
    display: inline-block;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.after-label {
    color: var(--cta-color);
}

.comparison-point {
    display: flex;
    align-items: center;
}

.comparison-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.comparison-icon img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 15px;
    }
    
    .comparison-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .before-label,
    .after-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .comparison-table thead th {
        padding: 10px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .comparison-icon {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
    
    .before-label,
    .after-label {
        font-size: 1rem;
    }
}

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

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

.solution-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

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

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

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

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

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

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

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

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

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

@media (max-width: 992px) {
    .solution-list {
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }
    .solution-card {
        min-height: 280px;
        padding: 28px 16px 20px 16px;
    }
    .solution-icon {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .solution-list {
        grid-template-columns: 1fr 1fr;
    }
    .solution-card {
        min-height: 220px;
        padding: 20px 8px 16px 8px;
    }
    .solution-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .solution-list {
        grid-template-columns: 1fr;
    }
    .solution-card {
        min-height: 180px;
        padding: 16px 4px 12px 4px;
    }
    .solution-title {
        font-size: 1rem;
    }
}

/* Pleasanterの主な機能（タブ形式） */
.features-tabs {
    margin-top: 40px;
}
.tab-list {
    display: flex;
    justify-content: center;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0 0 0 0;
}
.tab-item {
    background: #fff;
    color: var(--text-color);
    border: 2px solid var(--cta-color);
    border-radius: 30px 30px 0 0;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border 0.3s;
    outline: none;
    position: relative;
    z-index: 1;
}
.tab-item.active,
.tab-item:focus {
    background: var(--cta-color);
    color: #fff;
    border-bottom: 2px solid #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 rgba(0,0,0,0.05);
    padding: 40px 32px;
    min-height: 440px;
    max-width: 1000px;
    margin: 0 auto;
}
.tab-panel {
    display: none;
    animation: fadeInTab 0.7s;
}
.tab-panel.active {
    display: block;
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.feature-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px 0;
}
.feature-image {
    flex: 1 1 350px;
    min-width: 280px;
    text-align: center;
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    cursor: pointer;
}

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

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

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

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

.feature-desc {
    flex: 1 1 320px;
    min-width: 220px;
    padding: 20px 0;
}
.feature-desc h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}
.feature-desc p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
}
@media (max-width: 992px) {
    .tab-panels {
        padding: 24px 8px;
    }
    .feature-flex {
        gap: 20px;
    }
    .feature-image {
        height: 280px;
    }
}
@media (max-width: 768px) {
    .tab-list {
        flex-wrap: wrap;
        gap: 8px;
    }
    .tab-item {
        padding: 10px 18px;
        font-size: 1rem;
    }
    .feature-flex {
        flex-direction: column;
        gap: 16px;
    }
    .feature-image {
        height: 250px;
        max-width: 600px;
        margin: 0 auto;
    }
}
@media (max-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 {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 40px 36px 32px 36px;
    max-width: 700px;
    margin: 48px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.voice-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
}
.voice-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #f7f7f8;
}
.voice-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.voice-card .section-title {
    font-size: 1.3rem;
    margin: 0;
    text-align: left;
    padding-bottom: 0;
}
.voice-company {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--text-color);
}
.voice-rating {
    font-size: 1rem;
    color: #FFB900;
    margin-top: 5px;
}
.voice-quote {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 12px 0;
    max-width: 100%;
    font-size: 1.15rem;
    color: var(--text-color);
    font-style: italic;
    text-align: center;
}
.voice-quote p {
    margin: 0;
    line-height: 1.8;
}
.voice-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 400px;
    margin: 0 auto;
}
.voice-stat-card {
    background: #f7f7f8;
    border-radius: 10px;
    box-shadow: none;
    padding: 18px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.voice-stat-label {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 500;
}
.voice-stat-value {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 700;
}
.voice-stat-value.highlight {
    color: var(--cta-color);
    font-size: 1.18rem;
}
@media (max-width: 768px) {
    .voice-card {
        padding: 20px 8px 16px 8px;
        max-width: 98vw;
    }
    .voice-header {
        gap: 10px;
    }
    .voice-avatar {
        width: 56px;
        height: 56px;
    }
    .voice-card .section-title {
        font-size: 1.1rem;
    }
    .voice-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

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

.voice-slide {
    display: none;
    animation: fadeIn 0.6s ease forwards;
}

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

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

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

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

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

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

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

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

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

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

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

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

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

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

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

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 480px) {
    .partner-flex {
        gap: 20px;
    }
    
    .partner-badge {
        top: -20px;
        right: -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 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 40px;
}

/* ロゴの間隔調整（マルキー/カルーセル共通） */
/* .logo-marquee, .logo-carousel {
    gap: 40px;
} */

@media (max-width: 768px) {
    .logo-item {
        margin: 0 16px;
    }
    .logo-marquee, .logo-carousel {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo-item {
        margin: 0 8px;
    }
    .logo-marquee, .logo-carousel {
        gap: 10px;
    }
}

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

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

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

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

/* 問い合わせフォームスタイル */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    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 {
    min-width: 200px;
    margin-top: 20px;
    cursor: pointer;
    border: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@keyframes circlePop {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    70% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmarkPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    70% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

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

@keyframes modalPop {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* セクションごとの背景色を設定 */
#problems {
    background-color: var(--section-bg-1);
    position: relative;
    z-index: 1;
}

#comparison {
    background-color: var(--section-bg-2);
    position: relative;
    z-index: 1;
    margin: 0 -20px;
    padding: 80px 40px;
    max-width: none;
}
#comparison .container {
    max-width: 1200px;
    margin: 0 auto;
}

#solution {
    background-color: var(--section-bg-2); /* セクション背景を緑色に変更 */
    position: relative;
    z-index: 1;
    margin: 0 -20px;
    padding: 80px 40px;
    max-width: none;
}

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

#features {
    background-color: var(--section-bg-1);
    position: relative;
    z-index: 1;
    margin: 0 -20px;
    padding: 80px 40px;
    max-width: none;
}
#features .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

#partner, #support {
    background-color: var(--section-bg-2);
    position: relative;
    z-index: 1;
    margin: 0 -20px;
    padding: 80px 40px;
    max-width: none;
}
#partner .container {
    max-width: 1200px;
    margin: 0 auto;
}

#clients {
    background-color: var(--section-bg-2); /* セクション背景を緑色に変更 */
    position: relative;
    z-index: 1;
    margin: 0 -20px;
    padding: 80px 40px;
    max-width: none;
}

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

#faq {
    background-color: var(--section-bg-1);
    position: relative;
    z-index: 1;
    margin: 0 -20px;
    padding: 80px 40px;
    max-width: none;
}
#faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

#contact {
    background-color: var(--section-bg-2);
    position: relative;
    z-index: 1;
    margin: 0 -20px;
    padding: 80px 40px;
    max-width: none;
}
#contact .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    #comparison, #partner, #contact, #clients, #solution {
        padding: 60px 15px;
        margin: 0 -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 (max-width: 480px) {
    .section {
        padding: 40px 15px;
    }
    
    #comparison, #partner, #contact, #clients, #solution {
        padding: 40px 10px;
        margin: 0 -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 {
    background-color: white;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    position: relative;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalPop 0.4s ease-out forwards;
}

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

.close-modal:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

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

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

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

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

.marker-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: #344A50;
    line-height: 1.4;
    text-align: right;
}
.first-phrase {
    display: inline-block;
    margin-right: 0;
}
.marker-first {
    display: inline-block;
    width: 100%;
    text-align: left;
}
.marker-line {
    display: inline-block;
    position: relative;
    color: #344A50;
    margin-left: 0;
}
.marker-space {
    display: inline-block;
    width: 10.35em;  /* "プリザンターで印刷業務を、"の幅に合わせて調整 */
}
.marker-align {
    display: block;
    text-align: right;
}
.marker-line::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: #aeea3f;
    position: absolute;
    left: 0;
    bottom: -4px;
    z-index: 0;
    animation: marker-line-reveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 3.0s; /* 4.サブコピー下線表示「もっと効率的に。」 */
    opacity: 0;
}

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

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

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

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

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

.logo-item {
    flex: 0 0 auto;
    margin: 0 32px;
    list-style: none;
}

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

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

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

/* メディアクエリの整理 */
@media (max-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 (max-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 {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-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 {
        width: 100%;
        padding: 12px 20px;
    }
}

/* ロゴ関連のスタイルを統合 */
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 16px;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.logo-item:hover img {
    transform: scale(1.1);
}

/* フォーム関連のスタイルを統合 */
/* 重複したフォーム定義は統一済み */

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

.hero-badge {
    height: 65px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

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

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

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

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

.hero-badges-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.badge-caption {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 6px;
    text-align: center;
    line-height: 1.4;
}

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

/* 下向き矢印ボタンのスタイル */
.scroll-down-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    opacity: 0;
}

.scroll-down-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--cta-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: bounceUpDown 2s ease-in-out infinite;
}

.scroll-down-button:hover, .scroll-down-button:focus {
    background-color: var(--text-color);
    transform: translateY(-5px);
    animation-play-state: paused;
}

@keyframes bounceUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

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

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

.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 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--cta-color);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 100;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
}

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

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

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

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

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

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

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 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 {
    text-align: center;
    margin-top: 40px;
}

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