/* --- 基本設定 & リセットCSS --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'LINE Seed JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fdfdfd;
    /* padding-bottom: 100px; */
     /* フローティングCTAの高さ分 */
    
    /* 固定背景画像（MV背景） */
    background-image: url('img/mv-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 横スクロール防止 */
    overflow-x: hidden;
}

img {
    max-width: 640px;
    height: auto;
    vertical-align: middle;
}

.responsive{
    max-width: 100%;
    height: auto;
    min-width: 100px;
    min-height: 50px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 共通コンポーネント --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    text-align: center;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.8;
}

/* --- MVボタン（デモ動画）リデザイン --- */
.btn-demo {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    background-size: 200% 200%;
    color: #08A599;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 6px 20px rgba(255, 255, 255, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.btn-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(8, 165, 153, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-demo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(255, 255, 255, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(8, 165, 153, 0.3);
    color: #08A599;
}

.btn-demo:hover::before {
    left: 100%;
}

.btn-demo .btn-cta-icon {
    width: 28px;
    height: 28px;
    background: rgba(8, 165, 153, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-demo .btn-cta-icon i {
    font-size: 0.75rem;
    color: #08A599;
    margin-left: 2px;
}

.btn-demo:hover .btn-cta-icon {
    background: rgba(8, 165, 153, 0.25);
    transform: scale(1.1);
}

.btn-demo:hover .btn-cta-icon i {
    animation: playPulse 0.8s ease infinite;
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* --- MVボタン（資料請求）リデザイン --- */
.btn-request {
    background: linear-gradient(135deg, #FFC935 0%, #FFD966 50%, #FFC935 100%);
    background-size: 200% 200%;
    color: #000000;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 6px 20px rgba(255, 201, 53, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-request::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-request:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(255, 201, 53, 0.5),
        0 6px 15px rgba(0, 0, 0, 0.15);
    background-position: 100% 100%;
}

.btn-request:hover::before {
    left: 100%;
}

.btn-request .btn-cta-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-request .btn-cta-icon i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.btn-request:hover .btn-cta-icon {
    background: rgba(0, 0, 0, 0.15);
    transform: translateX(3px);
}

.btn-request:hover .btn-cta-icon i {
    animation: arrowBounce 0.6s ease infinite;
}

/* 改行 */
.sp {
    display: none;
}

/* --- ヘッダー --- */
.header {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 14px 0;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
    border-radius: 100px;
}

.header .header-container {
    max-width: 1400px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto; /* 高さに合わせて幅を自動調整 */
    filter: brightness(0) invert(1); /* 初期状態は白ロゴ */
    transition: filter 0.4s ease;
}

.header.scrolled .logo img {
    filter: none; /* スクロール時はオリジナルのグリーンロゴ */
}

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

.header-nav a {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.4s ease, opacity 0.3s;
}

.header.scrolled .header-nav a {
    color: #007F75 !important;
}

.header-nav a:hover {
    opacity: 0.7;
}

/* --- ヘッダーCTAボタン リデザイン --- */
.btn-header-cta {
    background: linear-gradient(135deg, #FFC935 0%, #FFD966 50%, #FFC935 100%);
    background-size: 200% 200%;
    color: #000;
    padding: 10px 24px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 4px 15px rgba(255, 201, 53, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-header-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(255, 201, 53, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15);
    background-position: 100% 100%;
}

.btn-header-cta:hover::before {
    left: 100%;
}

.btn-header-cta .btn-cta-icon {
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-header-cta .btn-cta-icon i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.btn-header-cta:hover .btn-cta-icon {
    background: rgba(0, 0, 0, 0.15);
    transform: translateX(3px);
}

.btn-header-cta:hover .btn-cta-icon i {
    animation: arrowBounce 0.6s ease infinite;
}

/* --- ヒーローセクション --- */
.hero {
    position: relative;
    background: #09a599;
    height: 100vh;
    max-height: 950px;
    display: flex;
    align-items: center;
    padding-top: 78px; /* 固定ヘッダーの高さ分 */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/mv-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.2;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'M PLUS 1', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 24px;
}

/* ヒーロータイトル 一文字ずつふわっと出現するアニメーション */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: charFadeIn 0.5s ease-out forwards;
    animation-delay: calc(0.4s + var(--char-index) * 0.05s);
}

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

.hero-description {
    font-family: 'LINE Seed JP', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 0px;
    gap: 20px;
}

.hero-buttons {
    display: flex;
    gap: 10px;
}

.hero-buttons .btn {
    width: 300px;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    font-weight: 700;
}

/* --- 提案セクション --- */
.proposal-section {
    background-image: url('img/background-proposal.webp');
    background-color: #fff;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 160px 0;
}

.proposal-content {
    display: flex;
    align-items: end;
    gap: 0px;
    max-width: 900px;
    margin: auto;
}

.proposal-text-area {
    flex: 0 0 80%;
    max-width: 80%;
    width: 100%;
}

.proposal-text-area img {
    width: 100%;
    height: auto;
}

.proposal-character-area {
    flex: 0 0 20%;
    max-width: 20%;
}

.proposal-character-area img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}

.proposal-image {
    max-height: 200px;
    object-fit: contain;
}

.proposal-title {
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 700;
    color: #007F75;
    margin-bottom: 60px !important;
}

.proposal-description {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.proposal-subtitle {
    font-family: 'M PLUS 1', sans-serif;
    font-size: 2.45rem;
    font-weight: 700;
    color: #007F75;
}

.proposal-box {
    width: 900px;
    max-width: 100%;
    margin: 0px auto 0;
    padding: 60px;
    background-color: #E6F6F5;
    border-radius: 16px;
    color: #333;
}

.proposal-box-title {
    color: #007F75;
    font-family: 'M PLUS 1', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.proposal-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.proposal-list li {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.proposal-list-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.proposal-list-icon img {
    width: 100%;
    height: auto;
}

.proposal-list-text {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    color: #333;
    margin: 0;
}

/* --- 問題解決セクション リデザイン --- */
#problem-solution {
    background-image: url('img/backgroud-problem.webp');
    background-color: #fff;
    background-size: cover;
    background-position: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

/* ヘッダー部分 */
.problem-header {
    text-align: center;
    margin-bottom: 60px;
}

.problem-lead {
    font-size: 1.1rem;
    color: #08A599;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.problem-lead::before,
.problem-lead::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #08A599);
}

.problem-lead::before {
    right: calc(100% + 15px);
    background: linear-gradient(90deg, transparent, #08A599);
}

.problem-lead::after {
    left: calc(100% + 15px);
    background: linear-gradient(90deg, #08A599, transparent);
}

.problem-logo {
    width: 360px;
    height: auto;
    vertical-align: text-bottom;
}

.problem-container {
    max-width: 1100px;
    margin: 0 auto;
}

.problem-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px !important;
    line-height: 1.4;
}

/* サブタイトルボックス - 5つの理想 */
.problem-subtitle-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: linear-gradient(135deg, rgba(8, 165, 153, 0.08) 0%, rgba(0, 127, 117, 0.05) 100%);
    border-radius: 20px;
    padding: 30px 50px;
    margin: 0 auto 80px;
    max-width: 700px;
    border: 2px solid rgba(8, 165, 153, 0.15);
    position: relative;
    overflow: hidden;
}



.problem-subtitle-number {
    font-family: 'M PLUS 1', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #08A599 0%, #ffd253 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.problem-subtitle-text {
    text-align: left;
}

.problem-subtitle-small {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.problem-subtitle-main {
    font-family: 'M PLUS 1', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #007F75;
    margin: 0;
}

/* 問題リスト */
.problem-list {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

/* 縦のコネクトライン - PC幅では非表示 */
.problem-list::before {
    display: none;
}

/* 各アイテム */
.problem-item {
    display: flex;
    align-items: center;
    text-align: left;
    position: relative;
    padding: 20px 0;
}

.problem-item--right {
    flex-direction: row-reverse;
}

/* ナンバリング */
.problem-item-number {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.problem-item--left .problem-item-number {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.problem-item--right .problem-item-number {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.number-main {
    font-family: 'M PLUS 1', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #08A599 0%, #007F75 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(8, 165, 153, 0.35);
    position: relative;
}

.number-main::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(8, 165, 153, 0.2);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.number-line {
    display: none;
}

/* コンテンツエリア */
.problem-item-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 50px;
    width: calc(88% - 60px);
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(8, 165, 153, 0.1);
}




.problem-item--left .problem-item-content {
    margin-right: auto;
    margin-left: 120px;
}

.problem-item--right .problem-item-content {
    margin-left: auto;
    margin-right: 120px;
}

/* 画像部分 */
.problem-item-left {
    flex-shrink: 0;
}

.problem-item-left img {
    width: 220px;
    height: auto;
    transition: transform 0.4s ease;
}


/* テキスト部分 */
.problem-item-right {
    flex: 1;
    min-width: 0;
}

.problem-item-title {
    font-family: 'M PLUS 1', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.5;
}

.title-highlight {
    color: #007F75;
    position: relative;
}

.problem-item-desc {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
    letter-spacing: 0.02em;
}

.problem-item-desc strong {
    color: #007F75;
    font-weight: 600;
    background: linear-gradient(transparent 60%, rgba(8, 165, 153, 0.15) 60%);
}

.problem-item-note {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(8, 165, 153, 0.06);
}

/* 結論ボックス */
.problem-conclusion {
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.problem-conclusion::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.problem-conclusion::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.problem-conclusion-text {
    font-family: 'M PLUS 1', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.conclusion-highlight {
    display: inline-block;
    position: relative;
}

/* 結論テキストのアニメーション */
.text-line {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: calc(var(--line-index) * 0.3s);
}

.problem-conclusion.animated .text-line {
    opacity: 1;
    transform: translateY(0);
}

/* 下線アニメーション */
.problem-conclusion .conclusion-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 200, 50, 0.6), rgba(255, 220, 100, 0.4));
    z-index: -1;
    transition: width 0.6s ease;
    transition-delay: calc(var(--line-index) * 0.3s + 0.5s);
}

.problem-conclusion.animated .conclusion-highlight::after {
    width: 100%;
}

/* ロゴのバウンスアニメーション */
.conclusion-logo-animate {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 1.4s;
}

.problem-conclusion.animated .conclusion-logo-animate {
    opacity: 1;
    transform: scale(1);
}

.problem-conclusion-sub {
    font-size: 1.3rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.conclusion-logo {
    height: 50px;
    width: auto;
}

/* --- 説明コンテンツセクション --- */
.explanation-section {
    padding: 160px 0; /* 上下の余白 */
    background-image: url('img/background_img.webp');
    background-size: cover;
    background-position: center;
}

.explanation-section .container {
   max-width: 980px;
}

.content-block {
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    margin-bottom: 80px; /* ブロック間の下余白 */
    gap: 60px; /* 画像とテキスト間のスペース */
}

.content-block:last-child {
    margin-bottom: 140px; /* 最後のブロックには下余白なし */
}

.content-block .content-image {
    flex: 1; /* 利用可能なスペースを均等に分配 */
    text-align: center; /* 画像を中央揃え */
}

.content-block .content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* 角丸 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 影 */
}

.content-block .content-text {
    flex: 1; /* 利用可能なスペースを均等に分配 */
    text-align: left; /* テキストを左揃え */
}

.content-block .content-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #016837; /* メインカラー */
    font-weight: 700;
}

.content-block .content-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #000;
}

/* コンテンツブロック2: デスクトップで左にテキスト、右に画像 */
.content-block-reverse {
    flex-direction: row-reverse;
}

/* --- ギフト紹介セクション --- */
.gift-intro-section {
    background-color: #fdfdfd;
    padding-top: 180px;
    padding-bottom: 100px;
}

.gift-intro-section h2 {
    margin-bottom: 60px;
    font-size: 2rem;;
}

.gift-features {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 60px;
}

.feature-item {
    text-align: center;
    width: 420px;
}

.feature-item img {
    border-radius: 4px; /* 角を少し丸くすると、影が自然に見えます */
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.feature-item h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 20px;
    line-height: 1.6;
}

.note-box {
    display: inline-block;
    width: 920px; /* 上の要素の合計幅 (420px + 80px + 420px) */
    border: 1px solid #c00;
    color: #c00;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.4rem;
    border-radius: 5px;
    margin-top: 40px; /* 上の要素との余白を調整 */
    text-align: center;
}

/* --- お客様の声セクション --- */
#voice {
    background:#fff;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 160px 0;
}

.voice-title {
    display: inline-block;
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 60px;
    color: #007F75;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

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

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

.voice-card {
    background-color: #ffffff;
    padding: 0px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 300px; /* コンテンツが入るまでの仮の高さ */
}

.voice-top-img {
    width: 100%;
    height: auto;
}

.voice-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 6px 0;
    color: #ffffff;
    text-align: center;
    background-color: #007F75;
}

.voice-description {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
}

/* お客様の声 コンテンツエリア */
.voice-content-area {
    padding: 0 20px 20px;
}

.voice-step-box {
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.voice-step-problem {
    background-color: #E6F6F5;
}

.voice-step-solution {
    background-color: #ffffff;
    border: 2px solid #007F75;
}

.voice-step-result {
    background-color: #007F75;
    color: #ffffff;
}

.voice-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    justify-content: center;
}

.voice-step-icon {
    width: 26px;
    height: auto;
    flex-shrink: 0;
}

.voice-step-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.voice-step-arrow {
    text-align: center;
}

.voice-step-arrow img {
    width: 40px;
    height: auto;
}

.voice-block {
    text-align: center;
    margin: 10px;
    background-color: #E6F6F5;
    border-radius: 8px;
    padding: 10px;
}

.voice-block-result {
    text-align: center;
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 2px solid #007F75;
}

.voice-sub-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0px;
    padding: 8px 10px;
    border-radius: 4px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.voice-icon {
    width: 24px;
    height: auto;
}

.voice-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.voice-list {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 0 50px ;
    list-style: disc;
}

.voice-arrow {
    text-align: center;
    margin: 0px;
}

.voice-arrow img {
    width: 40px;
    height: auto;
}

.voice-result-img-wrapper {
    margin: 0 10px 10px;
}

.voice-result-img {
    width: 100%;
    height: auto;
}

/* --- CTAセクション --- */
#cta {
    background-color: rgba(8, 165, 153, 0.85);
    position: relative;
}

#cta h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.5;
}

#cta .responsive {
    max-width: 250px;
    margin-top: 40px;
    margin-bottom: 15px;
}

/* --- CTAボタン リデザイン --- */
.btn-cta {
    background: linear-gradient(135deg, #FFC935 0%, #FFD966 50%, #FFC935 100%);
    background-size: 200% 200%;
    color: #000000;
    width: 320px;
    max-width: 100%;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 60px;
    box-shadow: 
        0 8px 25px rgba(255, 201, 53, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.08em;
    border: 2px solid transparent;
}

/* テキスト部分 */
.btn-cta-text {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* アイコン部分 */
.btn-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-cta-icon i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* シャイン効果 */
.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

/* リップル効果用 */
.btn-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

/* ホバー状態 */
.btn-cta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(255, 201, 53, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background-position: 100% 100%;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover::after {
    width: 300px;
    height: 300px;
}

.btn-cta:hover .btn-cta-icon {
    background: rgba(0, 0, 0, 0.2);
    transform: translateX(5px);
}

.btn-cta:hover .btn-cta-icon i {
    transform: translateX(3px);
    animation: arrowBounce 0.6s ease infinite;
}

/* クリック状態 */
.btn-cta:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        0 5px 15px rgba(255, 201, 53, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 矢印バウンスアニメーション */
@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* グロー効果アニメーション */
@keyframes ctaGlow {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(255, 201, 53, 0.4),
            0 4px 10px rgba(0, 0, 0, 0.1),
            0 0 20px rgba(255, 201, 53, 0.2);
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(255, 201, 53, 0.6),
            0 4px 15px rgba(0, 0, 0, 0.15),
            0 0 40px rgba(255, 201, 53, 0.4);
    }
}

/* --- フッター --- */
.footer {
    padding: 16px 0;
    text-align: center;
    background-color: #08A599;
    color: #fff;
}

.footer-container {
    padding-top: 40px;
    padding-bottom: 10px;
}

.footer-company {
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 60px;
}

.footer-copyright {
    font-size: 0.9rem;
    font-weight: 400;

}

/* --- フローティングCTA --- */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* 背景を少し透過 */
    padding: 15px 0;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    height: 80px; /* ヘッダーの高さに合わせる */
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-cta .cta-button {
    display: inline-block;
    background-color: #016837;
    color: #ffffff;
    padding: 15px 120px;
    font-weight: bold;
    border-radius: 5px;
    transition: opacity 0.3s;
    font-size: 1.2rem;
}

.floating-cta .cta-button:hover {
    opacity: 0.8;
}

/* --- 回答セクション --- */
#answer {
    background-color: #ffffff;
    padding: 160px 0 0;
}

.answer-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.4;
}

.answer-title .problem-logo {
    width: auto;
    height: 50px; /* 文中のロゴサイズ調整 */
    margin: 0;
}

.answer-description {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2;
}

.answer-image {
    width: 200px;
    display: block;
    margin: 20px auto 0;
}

/* --- システム紹介セクション --- */
.system-intro-section {
    background-image: url('img/background-system-introduction.webp');
    background-color: #e6f6f5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0;
}

.system-intro-title {
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.system-intro-title .highlight-text {
    background-color: #007F75;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 127, 117, 0.2);
    display: inline-block;
}

.system-intro-title .highlight-text-white {
    background-color: #ffffff;
    color: #007F75;
    padding: 30px 40px;
    border-radius: 12px;
    border: 3px solid #007F75;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 127, 117, 0.15);
    font-size: 2.2rem;
    line-height: 1.5;
    position: relative;
    margin: 10px 0;
}

.system-intro-title .highlight-text-white::before,
.system-intro-title .highlight-text-white::after {
    font-family: serif;
    position: absolute;
    color: rgba(0, 127, 117, 0.2);
    font-size: 5rem;
    line-height: 1;
}

.system-intro-title .highlight-text-white::before {
    content: '“';
    top: 0px;
    left: 10px;
}

.system-intro-title .highlight-text-white::after {
    content: '”';
    bottom: -30px;
    right: 10px;
}

.system-intro-image {
    max-width: 1200px;
    width: 100%;
    margin-top: 60px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.intro-text-small {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.8;
    color: #333;
}

.intro-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 0;
}

.intro-row:last-child {
    margin-bottom: 0;
}

.intro-logo {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* --- システム機能紹介セクション --- */
#system-features {
    background-color: #ffffff;
    padding: 160px 0;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #007F75;;
}

.features-description {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 20px;
    font-weight: 500;
}

.features-subtitle-container {
    text-align: center;
    margin-bottom: 60px;
}

.features-subtitle {
    font-size: 1.6rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    padding: 5px 20px;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 127, 117, 1);
}

.features-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #007F75;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    border-radius: 12px;
    border: none;
    padding: 30px 24px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 127, 117, 0.15);
    z-index: 2;
}

.feature-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007F75 0%, #00A896 100%);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15);
    font-family: 'M PLUS 1', sans-serif;
    border: 3px solid #ffffff;
}

.feature-card-image {
    width: 100%;
    margin-bottom: 24px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

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

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

/* 拡大アイコン */
.feature-card-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: rgba(0, 127, 117, 0.85);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

.feature-card-image:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(0, 127, 117, 0.95);
}

.feature-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #007F75;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.feature-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #FFC935;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.feature-card:hover .feature-card-title::after {
    width: 100%;
}

.feature-card-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
    color: #555;
    width: 100%;
}

/* --- 料金プランセクション --- */
.plan-section {
    background-image: url('img/background-plan.webp');
    background-color: #fff;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 160px 0;
}

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

.plan-title {
    display: inline-block;
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #007F75;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.plan-description {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.plan-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    margin-top: 60px;
}

.plan-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-card h3 {
    background: #007F75;
    color: #ffffff;
    padding: 20px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    border: 2px solid #007F75;
    text-align: center;
}

.plan-card-body {
    background: #ffffff;
    color: #333;
    padding: 20px;
    border: 2px solid #007F75;
    border-top: none;
    border-radius: 0 0 8px 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #007F75;
}

.plan-price .unit {
    font-size: 1.2rem;
    margin-left: 5px;
}

.plan-text {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.plan-benefit {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.plan-benefit h3 {
    background: #007F75;
    color: #ffffff;
    padding: 20px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    border: 2px solid #007F75;
    font-size: 16px;
}

.plan-benefit-body {
    background: #ffffff;
    color: #000000;
    padding: 15px;
    border: 2px solid #007F75;
    border-top: none;
    border-radius: 0 0 8px 8px;
    font-size: 14px;
}

/* プラン内「〇〇プランの全機能 ＋」テキスト */
.plan-includes {
    font-size: 0.9rem;
    color: #007F75;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 0;
    padding: 15px 12px 10px;
    background: transparent;
    border-radius: 0;
    text-align: center;
    border-top: 2px solid #007F75;
}

/* プラン機能のサブテキスト */
.plan-list-sub {
    display: block;
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    margin-top: 3px;
}

/* 初期費用セクション */
.plan-initial {
    max-width: 1400px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8ECEF 100%);
    border-radius: 12px;
    padding: 30px;
}

.plan-initial h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-initial h3 i {
    color: #D4A300;
}

.plan-initial-note {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    margin-left: 10px;
}

.plan-initial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.plan-initial-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    border: 1px solid #E0E0E0;
}

.plan-initial-label {
    display: inline-block;
    background: #007F75;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.plan-initial-price {
    font-family: 'M PLUS 1', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.plan-initial-price .unit {
    font-size: 1rem;
    font-weight: 400;
}

.plan-initial-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
}

.plan-initial-desc i {
    color: #007F75;
    margin-right: 5px;
}

/* ベーシックプラン */
.plan-basic h3 {
    background: #374151;
    border-color: #374151;
}

.plan-basic .plan-card-body {
    border-color: #374151;
}

.plan-basic .plan-price {
    color: #374151;
}

.plan-basic .plan-list {
    border-top-color: #374151;
}

/* 無料プラン - グレー系 */
.plan-free h3 {
    background: #6B7280;
    border-color: #6B7280;
}

.plan-free .plan-card-body {
    border-color: #6B7280;
}

.plan-free .plan-price {
    color: #6B7280;
}

.plan-free .plan-list {
    border-top-color: #6B7280;
}

.plan-free .plan-initial-cost {
    background-color: #6B7280;
}

/* 取扱説明書プラン - 通常緑 */
.plan-standard h3 {
    background: #007F75;
    border-color: #007F75;
}

.plan-standard .plan-card-body {
    border-color: #007F75;
}

.plan-standard .plan-price {
    color: #007F75;
}

.plan-standard .plan-list {
    border-top-color: #007F75;
}

.plan-standard .plan-initial-cost {
    background-color: #007F75;
}

/* 手放しプラン - ゴールド系（おすすめ強調） */
.plan-premium {
    position: relative;
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(212, 163, 0, 0.3);
}

.plan-premium h3 {
    background: linear-gradient(135deg, #D4A300 0%, #B8860B 100%);
    border-color: #D4A300;
}

.plan-premium .plan-card-body {
    border-color: #D4A300;
}

.plan-premium .plan-price {
    color: #D4A300;
}

.plan-premium .plan-list {
    border-top-color: #D4A300;
}

.plan-premium .plan-includes {
    border-top-color: #D4A300;
    background: unset;
    color: #D4A300;
}

.plan-premium .plan-initial-cost {
    background: linear-gradient(135deg, #D4A300 0%, #B8860B 100%);
}

/* おすすめバッジ */
.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    letter-spacing: 0.05em;
}

.plan-list {
    margin-top: 30px;
    text-align: left;
    padding: 30px 20px 0;
    border-top: 2px solid #007F75;
    margin-bottom: 30px;
}

/* plan-includesがある場合、plan-listのボーダーを消す */
.plan-includes + .plan-list {
    border-top: none;
    margin-top: 10px;
    padding-top: 10px;
}

.plan-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.plan-list li img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.plan-initial-cost {
    background-color: #007F75;
    color: #ffffff;
    font-weight: 500;
    padding: 10px;
    margin-top: auto;
    border-radius: 4px;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.plan-note {
    background-color: #ffffff;
    color: #000000;
    font-size: 12px;
    margin-top: 10px;
    font-weight: 400;
}

/* 導入案内セクション用スタイル */
.introduction-flow-section {
    background-image: url('img/background-flow.webp');
    background-color:#e6f6f5;
    background-size: cover;
    background-position: center;
    padding: 160px 0;
}

.intro-flow-title {
    display: inline-block;
    border-bottom: none;
    padding-bottom: 5px;
    margin-bottom: 0.5em;
    color: #007F75;
    font-weight: 700;
    margin-bottom: 15px !important;
    position: relative;
    overflow: hidden;
}

.intro-flow-note {
    text-align: center;
    margin-bottom: 2em;
    font-size: 16px;
    margin-bottom: 80px;
    font-weight: 500;
}

.intro-flow-content {
    background-color: #ffffff;
    padding: 40px;
    display: flex;
    gap: 40px;
    border-radius: 8px;
    justify-content: center;
}

.intro-flow-left {
}
.intro-flow-right {
    flex: 0 0 700px;
}

.intro-flow-right h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #007F75;
    text-align: left;
    line-height: 1.4;
}

.intro-flow-right p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
    margin-bottom: 20px;
}


.intro-flow-table {
    width: 100%;
    border-collapse: collapse;
}

.intro-flow-table th {
    border-bottom: 1px solid #fff;
    padding: 14px;
    background-color: #007F75;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    text-align: left;
}

.intro-flow-table td {
    border-bottom: 1px solid #007F75;
    padding: 14px;
    text-align: left;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
}


/* --- よくある質問セクション --- */
.faq-section {
    background-color: #fdfdfd;
    padding: 160px 0 20px;
}

.faq-title {
    display: inline-block;
    border-bottom: none;
    padding-bottom: 4px;
    margin-bottom: 60px;
    color: #007F75;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: #08A599;
    border: 1px solid #08A599;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.faq-item[open] {
    border-color: #08A599;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 60px 20px 20px; /* 右側にアイコン用の余白 */
    font-weight: 500;
    cursor: pointer;
    position: relative;
    list-style: none;
    font-size: 1.1rem;
    color: #ffffff;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 400;
    transition: transform 0.3s;
}

details[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 50px 20px;
    color: #333;
    background-color: #ffffff;
    line-height: 1.8;
    font-size: 1rem;
    border-top: 1px solid transparent;
}

details[open] .faq-answer {
    border-top-color: #eee;
    padding-top: 20px;
    border-radius: 0 0 6px 6px;
}

.faq-q-mark {
    color: #ffffff;
    margin-right: 10px;
    font-size: 1.2rem;
    font-family: 'M PLUS 1', sans-serif;
}

/* --- 実績紹介セクション --- */
.achievement-section {
    background-color: #ffffff;
    padding: 160px 0;
}

.achievement-title {
    display: inline-block;
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 60px;
    color: #007F75;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.achievement-card {
    background-color: #F4F4F4;
    padding: 0px;
    border-radius: 0 0 8px 8px;
    padding-bottom: 20px;
}

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

.achievement-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.achievement-store-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 0 20px;
}

.achievement-store-logo {
    width: 30px;
    height: auto;
}

.achievement-store-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #007F75;
}

.achievement-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    padding: 0 20px;
    justify-content: center;
}

.achievement-stat-item {
    background-color: #ffffff;
    color: #007F75;
    padding: 5px 10px;
    border-radius: 4px;
    border: 2px solid #007F75;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.achievement-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 20px;
    margin-bottom: 10px;
}

/* --- お問い合わせセクション --- */
.contact-section {
    background-image: 
        linear-gradient(rgba(8, 165, 153, 0.7), rgba(8, 165, 153, 0.7)),
        url('img/20260126/05.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    padding: 300px 0 120px;
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
    text-align: left;
}

.contact-highlight {
    color: #09A599;
    background-color: #fff;
    margin-left: 5px;
    margin-right: 5px;
}

.contact-description {
    font-size: 14px;
    line-height: 30px;
    font-weight: 500;
    color: #fff;
    text-align: left;
    padding: 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    text-align: left;
    overflow: hidden;
}

.contact-left {
    width: 580px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-right {
    width: 780px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #eee; /* 画像がない場合のダミー背景 */
}

.contact-sub-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #007F75;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-title-icon {
    width: 30px;
    height: auto;
}

.contact-list {
    padding-left: 56px;
    margin-bottom: 60px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.contact-list li {
    margin-bottom: 10px;
}

.contact-text {
    font-size: 13px;
}

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

/* dl/dt/dd 構造のフォームスタイル */
.contact-form dl {
    margin: 0;
    padding: 0;
}

.contact-form dt {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-form dt i {
    position: relative;
}

.contact-form dt i span.required,
.contact-form dt i span.optional {
    position: relative;
    margin-right: 8px;
}

.contact-form dd {
    margin: 0 0 20px 0;
    padding: 0;
}

.contact-form dd span.error_blank,
.contact-form dd span.error_format,
.contact-form dd span.error_match {
    display: block;
    color: #c42210;
    font-size: 0.9em;
    margin-top: -15px;
    margin-bottom: 15px;
}

.required {
    color: #ffffff;
    margin-right: 8px;
    font-size: 0.9em;
    background-color: #c42210;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.optional {
    color: #ffffff;
    margin-right: 8px;
    font-size: 0.9em;
    background-color: #888888;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form select {
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.contact-form select:invalid {
    color: #999;
}

.contact-form select option {
    color: #333;
}

.contact-form select option[value=""] {
    color: #999;
}

.contact-form dd input,
.contact-form dd textarea,
.contact-form dd select {
    margin-bottom: 0;
}

/* ローディングレイヤー */
.loading-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #08A599;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* プライバシーポリシーエリア */
.privacy-area {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 4px;
}

.privacy-content {
    height: 200px;
    overflow-y: scroll;
    padding: 10px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.privacy-content h5 {
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 700;
}
.privacy-content h5:first-child {
    margin-top: 0;
}

.privacy-check {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 400;
}

.privacy-check input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.2);
}

/* --- フォーム送信ボタン リデザイン --- */
p#form_submit {
    margin: 20px 0 0 0;
    padding: 0;
}

.btn-submit {
    background: linear-gradient(135deg, #FFC935 0%, #FFD966 50%, #FFC935 100%);
    background-size: 200% 200%;
    color: #000;
    border: none;
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 6px 20px rgba(255, 201, 53, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.05em;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 
        0 12px 35px rgba(255, 201, 53, 0.5),
        0 6px 15px rgba(0, 0, 0, 0.15);
    background-position: 100% 100%;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-submit .btn-cta-icon {
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-submit .btn-cta-icon i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-cta-icon {
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-submit:hover .btn-cta-icon i {
    animation: downloadBounce 0.6s ease infinite;
}

@keyframes downloadBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

/* --- なぜ選ばれるのかセクション（新デザイン） --- */
.reason-section-new {
    background-color: #ffffff;
    padding: 80px 0 100px 0;
}

/* タブナビゲーション */
.reason-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.reason-tab {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: #ffffff;
    border: 3px solid #E6F6F5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    min-width: 280px;
}

.reason-tab:hover {
    border-color: #007F75;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 127, 117, 0.15);
}

.reason-tab.active {
    background: linear-gradient(135deg, #007F75 0%, #00A896 100%);
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(0, 127, 117, 0.25);
}

.reason-tab .tab-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #E6F6F5;
    color: #007F75;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.reason-tab.active .tab-number {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.reason-tab .tab-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.reason-tab.active .tab-text {
    color: #ffffff;
}

/* タブコンテンツ */
.reason-tab-contents {
    max-width: 1100px;
    margin: 0 auto 60px;
}

.reason-tab-content {
    display: none;
    animation: fadeInTab 0.4s ease;
}

.reason-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* タブコンテンツ内のビジュアルレイアウト */
.reason-visual-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 127, 117, 0.08);
    overflow: hidden;
}

.reason-image-area {
    flex: 0 0 400px;
    max-width: 400px;
}

.reason-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reason-content-area {
    flex: 1;
    padding: 40px 80px;
}

/* タブコンテンツ内のスタイル調整 */
.reason-tab-content .reason-item-body {
    padding: 0; /* リセット */
    background: transparent; /* リセット */
    box-shadow: none; /* リセット */
    margin: 0 auto;
}

/* 新しいコンテンツ整理用スタイル */
.reason-problem-box {
    background-color: #f8f9fa;
    padding: 20px 25px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.reason-problem-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.05em;
}

.reason-problem-label::before {
    content: 'PROBLEM';
    background: #ad0f0f;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: 'Roboto', sans-serif;
}

.reason-problem-text {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    color: #444;
    text-align: left;
}

.reason-solution-box {
    background-color: #f2fcfb;
    border: 2px solid #007F75;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.reason-solution-box::before {
    content: 'SOLUTION';
    position: absolute;
    top: -14px;
    left: 30px;
    background: #007F75;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    font-family: 'Roboto', sans-serif;
}

.reason-solution-title {
    font-size: 18px;
    font-weight: 700;
    color: #007F75;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    text-align: left;
}

.reason-logo-icon {
    width: 28px;
    height: auto;
}

.reason-solution-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.reason-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reason-point-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 127, 117, 0.08);
    font-weight: 700;
    color: #007F75;
    font-size: 15px;
    text-align: left;
    transition: transform 0.2s ease;
}


.reason-point-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007F75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

.reason-conclusion {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding: 20px;
    background: linear-gradient(to right, transparent, rgba(0, 127, 117, 0.08), transparent);
    margin-top: 10px;
}

.reason-conclusion strong {
    color: #007F75;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.reason-conclusion strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 201, 53, 0.4);
    transform: translateY(-2px);
    z-index: -1;
}

.reason-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.reason-feature-card {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.reason-feature-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
}

.reason-feature-card span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
    display: block;
    line-height: 1.4;
}

.reason-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reason-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.reason-check-item::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007F75'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .reason-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .reason-tab {
        width: 100%;
        max-width: 400px;
    }
    
    .reason-visual-layout {
        flex-direction: column;
    }
    
    .reason-image-area {
        flex: 0 0 auto;
        max-width: 100%;
        height: 250px;
    }
    
    .reason-content-area {
        padding: 30px;
    }
    
    .reason-conclusion {
        font-size: 1.5rem;
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .reason-tabs {
        gap: 12px;
    }
    
    .reason-tab {
        padding: 16px 20px;
        min-width: auto;
    }
    
    .reason-tab .tab-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reason-tab .tab-text {
        font-size: 0.95rem;
    }
    
    .reason-content-area {
        padding: 0px;
    }
    
    .reason-solution-box {
        padding: 40px 20px 20px;
    }
    
    .reason-point-item {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .reason-features-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-feature-card {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    
    .reason-feature-card img {
        width: 80px;
        margin-bottom: 0;
    }
}

/* 旧reason-sectionも維持（互換性のため） */
.reason-section {
    background-color: #ffffff;
    padding: 80px 0 160px 0;
}

.reason-title {
    display: inline-block;
    border-bottom: none;
    padding-bottom: 15px;
    margin-bottom: 80px;
    color: #007F75;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

/* 見出しアニメーション - グリーンの帯 */
.reason-title::before,
.voice-title::before,
.plan-title::before,
.intro-flow-title::before,
.faq-title::before,
.achievement-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #007F75;
    transform: translateX(-100%);
    z-index: 1;
}

/* アニメーション発火時 */
.reason-title.animated::before,
.voice-title.animated::before,
.plan-title.animated::before,
.intro-flow-title.animated::before,
.faq-title.animated::before,
.achievement-title.animated::before {
    animation: revealMask 1.2s ease-in-out forwards;
}

/* 文字を最初は透明に */
.reason-title.animate-on-scroll,
.voice-title.animate-on-scroll,
.plan-title.animate-on-scroll,
.intro-flow-title.animate-on-scroll,
.faq-title.animate-on-scroll,
.achievement-title.animate-on-scroll {
    color: transparent;
}

/* アニメーション後に文字を表示 */
.reason-title.animate-on-scroll.animated,
.voice-title.animate-on-scroll.animated,
.plan-title.animate-on-scroll.animated,
.intro-flow-title.animate-on-scroll.animated,
.faq-title.animate-on-scroll.animated,
.achievement-title.animate-on-scroll.animated {
    animation: revealText 0s 0.6s forwards;
}

@keyframes revealMask {
    0% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(0%);
    }
    60% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes revealText {
    to {
        color: #007F75;
    }
}

.reason-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.reason-item {
    margin-bottom: 80px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 127, 117, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 127, 117, 0.12);
}

.reason-item-header {
    background: linear-gradient(135deg, #007F75 0%, #00A896 100%);
    color: #ffffff;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.reason-item-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 特徴番号のスタイル */
.reason-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.reason-item-body {
    background-color: #F8FCFB;
    padding: 50px 40px;
}

/* 特徴1のコンテンツスタイル */
.reason-desc-top {
    text-align: center;
    font-weight: 500;
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 2;
    color: #333;
}

.reason-desc-bottom {
    text-align: center;
    font-weight: 700;
    font-size: 1.6rem;
    margin-top: 40px;
    line-height: 1.6;
    color: #007F75;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 127, 117, 0.08) 0%, rgba(0, 168, 150, 0.05) 100%);
    border-radius: 12px;
}

.reason-content-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: #ffffff;
    border: 2px solid #007F75;
    border-radius: 12px;
    gap: 0;
    overflow: hidden;
}

.reason-content-left,
.reason-content-right {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reason-content-left {
    background-color: #ffffff;
}

.reason-content-right {
    background-color: rgba(0, 127, 117, 0.03);
}

.reason-content-title {
    color: #007F75;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5;
}

.reason-content-text {
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    color: #444;
}

.reason-content-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 10px;
    background-color: #007F75;
}

.reason-content-arrow img {
    width: 50px;
    height: auto;
    filter: brightness(0) invert(1);
}

.reason-content-list {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.reason-content-list li {
    font-size: 1.15rem;
    font-weight: 700;
    color: #007F75;
    margin-bottom: 20px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
    text-align: left;
}

.reason-content-list li:last-child {
    margin-bottom: 0;
}

.reason-content-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #007F75;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

/* 特徴2のコンテンツスタイル */
.reason-sub-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #007F75;
    margin-bottom: 40px;
    line-height: 1.6;
    padding: 20px 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 127, 117, 0.08);
}

.reason-images-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.reason-images-row img {
    width: calc((100% - 48px) / 3);
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.reason-images-row img:hover {
    transform: scale(1.03);
}

.reason-desc-middle {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

/* 特徴3のコンテンツスタイル */
.reason-content-single-box {
    background-color: #ffffff;
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.reason-content-single-box .reason-content-title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.reason-content-single-box .reason-content-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.reason-arrow-center {
    text-align: center;
    margin-bottom: 24px;
}

.reason-arrow-center img {
    width: 50px;
    height: auto;
    opacity: 0.7;
}

.reason-highlight-box {
    background: linear-gradient(135deg, #ffffff 0%, #F8FCFB 100%);
    padding: 36px;
    border-radius: 12px;
    border: 3px solid #007F75;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 127, 117, 0.1);
}

.reason-text-normal {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #555;
}

.reason-text-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007F75;
    line-height: 1.5;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.reason-card {
    text-align: center;
}

.reason-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.reason-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #007F75;
    line-height: 1.4;
}

.reason-card-desc {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.achievement-ratio-box {
    background: linear-gradient(135deg, #E6F6F5 0%, #D4F1EE 100%);
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 20px auto 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 127, 117, 0.1);
    border: 1px solid rgba(0, 127, 117, 0.15);
}

.ratio-left {
    flex: 1.2;
    text-align: left;
}

.ratio-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #007F75;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ratio-title::before {
    content: '';
    width: 6px;
    height: 28px;
    background: linear-gradient(180deg, #007F75 0%, #00A896 100%);
    border-radius: 3px;
}

.ratio-desc {
    font-size: 14px;
    line-height: 2;
    color: #333;
}

.ratio-right {
    flex: 0 0 auto;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ratio-img {
    width: 280px;
    height: auto;
    border-radius: 8px;
}

/* ==========================================================================
   レスポンシブ設定
   ========================================================================== */

/* 1200px以下 */
@media (max-width: 1280px) {
    .section h2 {
        font-size: 2.2rem;
    }

    /* --- ヘッダー --- */
    .header {
        padding: 14px 20px;
    }
    .logo img {
        height: 40px;
    }
    .header-nav ul {
        display: flex;
        gap: 30px;
    }
    .header-nav a {
        color: #ffffff !important;
        font-weight: 500;
        font-size: 0.9rem;
        transition: color 0.4s ease, opacity 0.3s;
    }
    .header.scrolled .header-nav a {
        color: #007F75 !important;
    }
    .header-nav a:hover {
        opacity: 0.7;
    }
    .btn-header-cta {
        padding: 12px 40px;
        font-size: 0.8rem;
    }

    /* ヒーローセクション */
    .hero-flex {
        padding: 80px 40px;
        gap: 40px;
    }
    .hero-subtitle {
        font-size: 1.4rem;
    }
    .hero-title {
        font-size: 2.6rem;
        letter-spacing: 0.08em;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .hero-buttons {
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 260px;
        font-size: 0.9rem;
    }
    .hero-right {
        width: 45%;
    }
    .hero-right img {
        width: 100%;
        height: auto;
    }

    /* 提案セクション */
    .proposal-section {
        padding: 100px 0;
    }
    .proposal-description {
        font-size: 1.8rem;
    }
    .proposal-subtitle {
        font-size: 2.8rem;
    }
    .proposal-section img {
        width: 50%;
    }
    .proposal-box {
        width: 100%;
        max-width: 1000px;
    }
    .proposal-box-title {
        font-size: 2rem;
    }

    .proposal-list {
        gap: 20px;
    }
    .proposal-list li {
        padding: 24px 20px;
    }
    .proposal-list-text {
        font-size: 1rem;
    }

    /* 問題解決セクション */
    .problem-container {
        max-width: 1000px;
        margin: 0 auto 80px;
    }
    .problem-logo {
        width: 280px;
    }

    /* システム紹介セクション */
    .highlight-text-white {
        font-size: 1.8rem;
        padding: 24px 30px;
    }

    .highlight-text {
        font-size:1.8rem;
    }

    .intro-logo {
        height: 70px;
    }

    .system-intro-image {
        max-width: 1000px;
        width: 100%;
        margin-top: 40px;
    }

    /* システム機能紹介セクション */
    .features-grid {
        gap: 20px;
        max-width: 1000px;
        margin: 0 auto;
        /* Grid設定は継承 */
    }
    .feature-card {
        /* width設定削除 */
        padding: 24px 20px 30px;
    }
    .feature-card-image img {
        margin-bottom: 20px;
    }
    .feature-card-desc {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* CTAセクション */
    .btn-cta {
        width: 380px;
        max-width: 100%;
        padding: 18px 36px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 60px;
    }
    
    .btn-cta-icon {
        width: 28px;
        height: 28px;
    }
    
    .btn-cta-icon i {
        font-size: 0.85rem;
    }

    /* お客様の声セクション */
    .voice-container {
        max-width: 1000px;
    }
    .voice-grid {
        gap: 15px;
    }
    .voice-heading {
        font-size: 1.1rem;
    }
    .voice-sub-title {
        font-size: 1.1rem;
        gap: 6px;
    }
    .voice-list {
        font-size: 0.8rem;
        line-height: 1.6;
        margin-bottom: 10px;
        padding: 0 30px;
        list-style: disc;
    }

    /* なぜTEBANASHIが選ばれるのかセクション */
    .reason-section {
        margin: 0;
        padding: 60px 0 100px 0;
    }
    .reason-content-wrapper {
        padding: 0 20px;
    }
    .reason-item {
        margin-bottom: 60px;
    }
    .reason-item-header {
        padding: 24px 30px;
    }
    .reason-item-header h3 {
        font-size: 1.35rem;
    }
    .reason-item-body {
        padding: 40px 30px;
    }
    .reason-grid {
        gap: 20px;
    }
    .reason-card-title {
        font-size: 1.1rem;
    }
    .reason-card-desc {
        font-size: 0.9rem;
    }
    .achievement-ratio-box {
        padding: 40px;
        gap: 40px;
    }
    .ratio-title {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }
    .ratio-desc {
        font-size: 1rem;
        line-height: 1.8;
    }
    .ratio-img {
        width: 240px;
    }

    /* 料金プラン */
    .plan-section {
        padding: 100px 0;

        margin: 0;
    }
    .plan-grid {
        gap: 14px;
    }
    .plan-card-body {
        padding: 20px 6px 20px 6px;
    }
    .plan-text {
        font-size: 0.9rem;
    }
    .plan-list {
        margin-top: 20px;
        padding: 20px 10px;
    }
    .plan-list li {
        margin-bottom: 16px;
        font-size: 0.9rem;
    }

    /* 導入までの流れ */
    .introduction-flow-section {
        padding: 100px 0;
    }
    .intro-flow-note {
        margin-bottom: 40px;
    }
    .intro-flow-content {
        max-width: 1000px;
        padding: 40px;
        gap: 20px;
        margin: 0 auto;
    }
    .intro-flow-left {
        flex: 0 0 400px;
    }
    .intro-flow-right {
        flex: 0 0 500px;
    }
    .intro-flow-right h3 {
        font-size: 1.4rem;
    }
    .intro-flow-right p {
        font-size: 0.9rem;
    }
    .intro-flow-table th {
        padding: 10px;
        font-weight: 500;
        font-size: 0.9rem;
        width:120px;
    }
    .intro-flow-table td {
        padding: 10px;
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* 実績紹介セクション */
    .achievement-section {
        padding: 100px 0;
    }
    .achievement-grid {
        gap: 20px;
        max-width: 1000px;
        margin: 0 auto;
    }
    .achievement-store-info {
        gap: 4px;
        margin-bottom: 10px;
        padding: 0 10px;
    }
    .achievement-store-name {
        font-size: 1.2rem;
        font-weight: 600;
    }
    .achievement-stats {
        gap: 10px;
        padding: 0 10px;
    }
    .achievement-stat-item {
        padding: 5px 10px;
        font-size: 0.8rem;
        letter-spacing: 0.15em;
    }
    .achievement-desc {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* お問い合わせセクション */
    .contact-section {
        padding: 100px 0;
    }
    .contact-content {
        flex-direction: column;
        align-items: center;
    }
    .contact-left, .contact-right {
        width: 100%;
        max-width: 700px;
    }
}

/* 1024px以下 (タブレット横・PC小) */
@media (max-width: 1024px) {
    #cta h3 {
        font-size: 1.6rem;
    }

    /* ヘッダー */
    .header-nav, .btn-header-cta {
        display: none;
    }
    .header-container {
        justify-content: center;
    }

    /* ヒーローセクション */
    .hero-flex {
        padding: 80px 40px;
        gap: 30px;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-buttons {
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 240px;
        font-size: 0.8rem;
    }
    .hero-right {
        width: 45%;
    }

    /* 提案セクション */
    .proposal-section {
        padding: 100px 0;
    }
    .proposal-description {
        font-size: 1.6rem;
    }
    .proposal-subtitle {
        font-size: 2.4rem;
    }
    .proposal-box {
        width: 100%;
        max-width: 1000px;
        margin: 100px auto 0;
    }
    .proposal-box-title {
        font-size: 1.8rem;
    }


    /* 問題解決セクション */
    #problem-solution {
        padding: 100px 0 60px;
    }
    .problem-container {
        max-width: 880px;
        margin: 0 auto;
    }
    .problem-logo {
        width: 260px;
    }
    .section h2 {
        font-size: 2rem;
    }
    .problem-title {
        font-size: 2rem;
    }
    .problem-subtitle-box {
        padding: 25px 40px;
        gap: 25px;
    }
    .problem-subtitle-number {
        font-size: 5rem;
    }
    .problem-subtitle-main {
        font-size: 1.5rem;
    }
    .problem-item-number {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-bottom: 20px;
    }
    .problem-item {
        flex-direction: column;
        padding: 0 20px 40px;
        align-items: center;
    }
    .problem-item--right {
        flex-direction: column;
    }
    .problem-item-content {
        width: 100%;
        max-width: 800px;
        margin: 0 auto !important;
    }
    .problem-item--left .problem-item-content,
    .problem-item--right .problem-item-content {
        margin: 0 auto !important;
    }
    .problem-item-left img {
        width: 200px;
    }
    .problem-item-title {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }
    .problem-item-desc {
        font-size: 1rem;
        line-height: 1.8;
    }
    .problem-conclusion {
        margin-top: 40px;
        padding: 50px 30px;
    }
    .problem-conclusion-text {
        font-size: 1.6rem;
    }
    .problem-conclusion-sub {
        font-size: 1.4rem;
    }
    .conclusion-logo {
        height: 35px;
    }

    /* 回答セクション */
    #answer {
        padding: 100px 0;
    }
    .answer-description {
        font-size: 1.2rem;
    }

    /* システム紹介セクション */
    .system-intro-section {
        padding: 100px 0;
    }
    .intro-text-small {
        font-size: 1.1rem;
    }
    .system-intro-title .highlight-text {
        padding: 6px 16px;
        font-size: 1.4rem;
    }
    .highlight-text-white {
        font-size: 1.6rem;
        padding: 20px 24px;
    }
    .intro-logo {
        height: 50px;
    }
    .system-intro-image {
        max-width: 800px;
        margin-top: 30px;
    }

    /* システム機能紹介セクション */
    #system-features {
        padding: 100px 0;
    }
    .features-description {
        font-size: 1.2rem;
        margin-bottom: 80px;
    }
    .features-grid {
        gap: 24px;
        max-width: 800px;
        margin: 0 auto;
        grid-template-columns: repeat(2, 1fr); /* 2列に変更 */
    }
    .feature-card {
        /* width設定不要 */
        padding: 30px 20px;
    }

    /* お客様の声セクション */
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 880px;
        margin: 0 auto;
    }
    .voice-heading {
        font-size: 1.4rem;
    }
    .voice-sub-title {
        font-size: 1.4rem;
        gap: 6px;
    }
    .voice-list {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    /* なぜ選ばれるのかセクション */
    .reason-section {
        padding: 60px 0 100px 0;
    }
    .reason-content-wrapper {
        margin: 0 20px;
        padding: 0;
    }
    .reason-item-header {
        padding: 22px 24px;
    }
    .reason-item-header h3 {
        font-size: 1.25rem;
        gap: 12px;
    }
    .reason-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .reason-item-body {
        padding: 36px 24px;
    }
    .reason-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 880px;
        margin: 0 auto;
        gap: 30px;
    }
    .reason-content-row {
        flex-direction: column;
    }
    .reason-content-arrow {
        padding: 12px 0;
        background-color: transparent;
    }
    .reason-content-arrow img {
        filter: none;
        transform: rotate(90deg);
    }
    .reason-card-title {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    .reason-card-desc {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    .achievement-ratio-box {
        flex-direction: column;
        padding: 40px;
        max-width: 880px;
        margin: 20px auto 0;
        gap: 30px;
    }
    .ratio-right {
        width: 100%;
    }
    .ratio-img {
        width: 100%;
        max-width: 300px;
        display: block;
        margin: 0 auto;
    }

    /* 料金プラン */
    .plan-grid {
        gap: 14px;
        max-width: 880px;
        margin: 20px auto;
    }
    .plan-benefit {
        max-width: 880px;
        margin: 0 auto;
        text-align: center;
    }

    /* 導入の流れ */
    .intro-flow-content {
        max-width: 880px;
    }
    .intro-flow-left {
        flex: 0 0 380px;
    }
    .intro-flow-right {
        flex: 0 0 400px;
    }

    /* 実績紹介セクション */
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 880px;
        margin: 0 auto;
    }

    /* お問い合わせセクション */
    .contact-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .contact-description {
        font-size: 1rem;
    }
}


/* 840px以下 (タブレット) */
@media (max-width: 840px) {
    .section h2 {
        font-size: 1.8rem;
    }

    /* 改行 */
    .sp {
        display: block;
        width: 100%;
        height: 0;
    }
    .pc {
        display:none;
    }

    /* ヒーローセクション */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    .hero-flex {
        flex-direction: column;
        padding: 80px 20px;
        gap: 40px;
        min-height: auto;
        justify-content: flex-start;
    }
    .hero-subtitle {
        font-size: 1.6rem;
        text-align: center;
    }
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 0.08em;
        text-align: center;
        line-height: 1.4;
    }
    .hero-description {
        font-size: 1.4rem;
        text-align: center;
    }
    .hero-buttons {
        gap: 20px;
        justify-content: center
    }
    .hero-buttons .btn {
        width: 280px;
        font-size: 0.9rem;
    }
    .hero-right {
        width: 80%;
    }
    .hero-right img {
        width: 100%;
        height: auto;
    } 

     /* 提案セクション */
    .proposal-section {
        padding: 100px 0;
    }
    .proposal-description {
        font-size: 1.8rem;
    }
    .proposal-subtitle {
        font-size: 2.8rem;
    }
    .proposal-box {
        width: 90%;
        max-width: 1000px;
        padding: 40px;
    }
    .proposal-box-title {
        font-size: 1.8rem;
    }
    .proposal-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .proposal-list li {
        padding: 24px 16px;
    }
    .proposal-list-icon {
        width: 56px;
        height: 56px;
    }
    .proposal-list-text {
        font-size: 1rem;
    }

    /* 問題解決セクション */
    .problem-container {
        max-width: 100%;
        margin: 0 auto;
    }
    .problem-logo {
        width: 200px;
    }
    .problem-lead::before,
    .problem-lead::after {
        width: 25px;
    }
    .problem-subtitle-box {
        padding: 20px 30px;
        gap: 20px;
        max-width: 90%;
    }
    .problem-subtitle-number {
        font-size: 4rem;
    }
    .problem-subtitle-main {
        font-size: 1.3rem;
    }
    .problem-item-content {
        flex-direction: row;
        text-align: left;
        padding: 30px;
        gap: 25px;
    }
    .problem-item-content::before {
        width: 5px;
    }
    .problem-item-left img {
        width: 180px;
    }
    .problem-item-right {
        text-align: left;
    }
    .number-main {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    /* システム紹介セクション */
    .highlight-text-white {
        font-size: 1.6rem;
        letter-spacing: 0.1rem;
        padding: 20px;
    }
    .highlight-text {
        font-size:1.4rem;
    }
    .intro-text-small {
        font-size: 1.2rem;
        font-weight: 600;
    }
    .system-intro-title .highlight-text {
        padding: 6px 16px;
        font-size: 1.4rem;
    }
    .intro-logo {
        height: 70px;
    }
    .system-intro-image {
        max-width: 900px;
        width: 90%;
        margin-top: 40px;
    }

    /* システム機能紹介セクション */
    .features-grid {
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
        justify-content: flex-start;
    }
    .feature-card {
        width: calc((100% - 50px) / 2);
        padding: 14px;
    }
    .feature-card-image img {
        margin-bottom: 10px;
    }
    .feature-card-desc {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* お客様の声セクション */
    .voice-container {
        max-width: 800px;
    }
    .voice-grid {
        gap: 15px;
        max-width: 780px;
    }
    .voice-sub-title {
        font-size: 1.2rem;
        gap: 6px;
    }
    .voice-list {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 10px;
        margin-left: 20px;
        padding: 0 10px;
        list-style: disc;
    }

    /* なぜTEBANASHIが選ばれるのかセクション */
    .reason-section {
        margin: 0;
        padding: 60px 0 80px 0;
    }
    .reason-title {
        font-size: 1.8rem;
        margin-bottom: 60px;
    }
    .reason-item {
        margin-bottom: 50px;
    }
    .reason-item-header {
        padding: 20px;
    }
    .reason-item-header h3 {
        font-size: 1.2rem;
    }
    .reason-item-body {
        padding: 30px 20px;
    }
    .reason-desc-top {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    .reason-desc-bottom {
        font-size: 1.4rem;
        padding: 20px;
        margin-top: 30px;
    }
    .reason-sub-title {
        font-size: 1.2rem;
        padding: 16px 20px;
        margin-bottom: 30px;
    }
    .reason-images-row {
        gap: 16px;
        margin-bottom: 30px;
    }
    .reason-grid {
        gap: 20px;
        max-width: 780px;
    }
    .reason-card-title {
        font-size: 1.4rem;
    }
    .reason-card-desc {
        font-size: 1rem;
    }
    .achievement-ratio-box {
        padding: 30px;
        gap: 24px;
    }
    .ratio-title {
        font-size: 1.4rem;
        margin-bottom: 16px;
        text-align: center;
        justify-content: center;
    }
    .ratio-desc {
        font-size: 1rem;
        line-height: 1.8;
    }

    /* 料金プラン */
    .plan-section {
        padding: 80px 0;
        margin: 0;
    }
    .plan-grid {
        gap: 30px;
        max-width: 780px;
        flex-direction: column;
    }
    .plan-card-body {
        padding: 20px 6px 20px 6px;
    }
    .plan-card h3 {
        font-size: 1.4rem;
    }
    .plan-text {
        font-size: 1.2rem;
    }
    .plan-list {
        margin-top: 30px;
        padding: 30px 20px 20px;
        margin-bottom: 0px;
    }
    .plan-list li {
        margin-bottom: 16px;
        font-size: 1.2rem;
    }
    .plan-initial-cost {
        font-size: 1.4rem;
    }
    .plan-note {
        font-size: 1.2rem;
    }
    .plan-benefit {
        max-width: 780px;
    }

    /* 導入プランセクション */
    .intro-flow-content {
        max-width: 760px;
        flex-direction: column;
    }
    .intro-flow-left {
        flex: 1;
        margin: 0 auto;
    }
    .intro-flow-right {
        flex: 1;
        margin: 0 auto;
    }
    .intro-flow-right h3 {
        font-size: 1.5rem;
        text-align: left;
        margin-bottom: 20px;
    }
    .intro-flow-right p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .intro-flow-table th {
        padding: 10px;
        font-weight: 500;
        font-size: 14px;
        width: 160px;
        text-align: left;
    }
    .intro-flow-table td {
        font-size: 14px;
    }

    /* よくある質問セクション */
    .faq-list {
        max-width: 740px;
    }

    /* 実績紹介セクション */
    .achievement-grid {
        max-width: 760px;
    }

    /* お問い合わせセクション */
    .contact-section {
        padding: 80px 0;
    }
    .contact-img {
        margin-bottom: 40px;
    }
    .contact-description {
        font-size: 1.2rem;
    }
    .contact-content {
        gap: 40px;
    }
    .contact-sub-title {
        font-size: 1.4rem;
        justify-content: center;
    }
    .contact-list {
        padding: 20px;
        margin-bottom: 20px;
        font-weight: 500;
        font-size: 1.1rem;
        line-height: 1.4;
    }
}


/* 768px以下 (スマホ大) */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    .section h2 {
        font-size: 1.8rem;
    }

    /* 改行 */
    .sp {
        display: block;
        width: 100%;
        height: 0;
    }
    .pc {
        display:none;
    }

    /* CTA */
    #cta h3 {
        font-size: 4.4vw;
    }
    
    /* CTAボタンレスポンシブ */
    .btn-cta {
        width: 100%;
        max-width: 340px;
        padding: 18px 30px;
        font-size: 1rem;
        gap: 10px;
    }
    
    .btn-cta-icon {
        width: 26px;
        height: 26px;
    }
    
    .btn-cta-icon i {
        font-size: 0.8rem;
    }

    /* ヒーローセクション */
    .hero-flex {
        flex-direction: column;
        padding: 40px 0px;
        gap: 40px;
    }
    .hero-subtitle {
        font-size: 4vw;
        margin-bottom: 10px;
    }
    .hero-title {
        font-size: 6.5vw;
        letter-spacing: 0.08em;
        text-align: center;
        line-height: 1.4;
    }
    .hero-description {
        font-size: 3vw;
        margin-bottom: 40px;
    }
    .hero-buttons {
        gap: 20px;
        justify-content: center;
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        font-size: 1rem;
    }
    .hero-right {
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    .hero-right img {
        width: 100%;
        height: auto;
    } 

     /* 提案セクション */
    .proposal-section {
        padding: 80px 0;
    }
    .proposal-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .proposal-text-area,
    .proposal-character-area {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .proposal-description {
        font-size: 6vw;
    }
    .proposal-subtitle {
        font-size: 7vw;
    }
    .proposal-box {
        width: 94%;
        max-width: 800px;
        padding: 20px;
        margin: 0px auto 0;
    }
    .proposal-box-title {
        font-size: 5vw;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .proposal-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .proposal-list li {
        padding: 16px 12px;
        border-radius: 8px;
    }
    .proposal-list-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }
    .proposal-list-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    .proposal-list-text br {
        display: none;
    }

    /* 問題解決セクション */
    #problem-solution {
        padding: 60px 10px;
    }
    .problem-header {
        margin-bottom: 40px;
    }
    .problem-lead {
        font-size: 20px;
        letter-spacing: 1px;
    }
    .problem-lead::before,
    .problem-lead::after {
        display: none;
    }
    #problem-solution .problem-title{
        font-size: 5.5vw;
        font-weight: 600;
    }
    .problem-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .problem-list {
        padding: 0;
    }
    .problem-logo {
        width: 45vw;
        max-width: 200px;
    }
    .problem-subtitle-box {
        flex-direction: column;
        gap: 10px;
        padding: 25px 20px;
        margin-bottom: 50px;
    }
    .problem-subtitle-number {
        font-size: 6rem;
    }
    .problem-subtitle-text {
        text-align: center;
    }
    .problem-subtitle-small {
        font-size: 1rem;
        font-weight: 600;
    }
    .problem-subtitle-main {
        font-size: 1.5rem;
    }
    .problem-item {
        padding: 0 0 30px;
    }
    .problem-item-number {
        margin-bottom: 15px;
    }
    .number-main {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    .number-main::after {
        display: none;
    }
    .problem-item-content {
        flex-direction: column;
        padding: 25px 20px;
        gap: 20px;
        text-align: center;
    }
    .problem-item-content::before {
        width: 100%;
        height: 4px;
        border-radius: 20px 20px 0 0;
    }
    .problem-item-left img {
        width: 160px;
    }
    .problem-item-right {
        padding: 0;
        text-align: left;
    }
    .problem-item-title {
        text-align: center;
        font-size: 20px;
    }
    .problem-item-desc {
        font-size: 14px;
        line-height: 1.8;
    }
    .problem-item-note {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    .problem-conclusion {
        margin-top: 30px;
        padding: 40px 0;
    }
    .problem-conclusion-text {
        font-size: 1.8rem;
        line-height: 1.8;
    }
    .conclusion-highlight::after {
        height: 6px;
    }
    .problem-conclusion-sub {
        font-size: 18px;
        font-weight: 700;
        flex-wrap: wrap;
        justify-content: center;
    }
    .conclusion-logo {
        height: 28px;
    }

    /* 回答セクション */
    #answer {
        padding: 80px 0;
    }
    .answer-description {
        font-size: 14px;
        padding: 0;
        text-align: left;
    }

    /* システム紹介セクション */
    .system-intro-section {
        padding: 80px 0;
    }
    .system-intro-title .highlight-text-white {
        font-size: 20px;
        letter-spacing: 0.05rem;
        padding: 30px 15px;
        width: 100%;
        display: block;
        text-align: center;
    }
    .highlight-text {
        font-size:1.8rem;
    }
    .intro-text-small {
        font-size: 1.2rem;
        font-weight: 600;
    }
    .system-intro-title .highlight-text {
        padding: 5px 14px;
        font-size: 4vw;
    }
    .intro-logo {
        height: 60px;
    }
    .system-intro-image {
        max-width: 900px;
        width: 100%;
        margin-top: 40px;
    }
    #system-introduction picture {
        width: 100px;
    }

    /* システム機能紹介セクション */
    #system-features .features-title {
        font-size: 23px;
    }
    .features-description{
        text-align: left;
        font-size: 14px;
        padding: 0;
    }
    .features-subtitle {
        font-size: 20px;
        padding-bottom: 10px;
    }
    .features-grid {
        gap: 30px;
        max-width: 400px; /* カードが広がりすぎないように */
        margin: 0 auto;
        padding: 0;
        grid-template-columns: 1fr; /* 1列 */
    }
    .feature-card {
        width: 100%;
        padding: 40px 24px; /* スマホでもタップしやすい余白 */
    }
    .feature-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        top: -12px;
        left: -12px;
    }
    .feature-card-image img {
        margin-bottom: 20px;
    }
    .feature-card-title {
        font-size: 20px;
    }
    .feature-card-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    /* お客様の声セクション */
    .voice-container {
        max-width: 800px;
    }
    .voice-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }
    .voice-sub-title {
        font-size: 1.2rem;
        gap: 6px;
    }
    .voice-list {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 10px;
        margin-left: 20px;
        padding: 0 10px;
        list-style: disc;
    }

    /* なぜTEBANASHIが選ばれるのかセクション */
    .reason-section {
        max-width: 100%;
        margin: 0;
        padding: 60px 0 80px 0;
    }
    .reason-title {
        font-size: 1.6rem;
        margin-bottom: 50px;
        padding-bottom: 12px;
    }
    .reason-content-wrapper {
        margin: 0;
        padding: 0 16px;
    }
    .reason-item {
        margin-bottom: 40px;
        border-radius: 12px;
    }
    .reason-item-header {
        padding: 18px 20px;
        flex-direction: row;
        gap: 12px;
    }
    .reason-item-header h3 {
        font-size: 1.1rem;
        flex-direction: row;
        gap: 10px;
    }
    .reason-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .reason-item-body {
        padding: 24px 20px;
    }
    .reason-desc-top {
        text-align: left;
        font-size: 1rem;
        margin-bottom: 24px;
        line-height: 1.9;
    }
    .reason-desc-bottom {
        font-size: 1.2rem;
        padding: 16px;
        margin-top: 24px;
        text-align: left;
    }
    .reason-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        padding: 0 20px;
    }
    .reason-card-title {
        font-size: 1.4rem;
    }
    .reason-card-desc {
        font-size: 1rem;
    }
    .achievement-ratio-box {
        padding: 24px 20px;
        gap: 24px;
        margin: 20px 16px 0;
        border-radius: 16px;
    }
    .ratio-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
        text-align: center;
        justify-content: center;
    }
    .ratio-title::before {
        display: none;
    }
    .ratio-desc {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    .ratio-right {
        flex-direction: column;
        width: 100%;
        padding: 16px;
    }
    .ratio-img {
        width: 100%;
        max-width: 280px;
        display: block;
        margin: 0 auto;
    }
    
    /* 特徴1のレスポンシブ */
    .reason-content-row {
        flex-direction: column;
        align-items: stretch;
        border-radius: 10px;
    }
    .reason-content-left,
    .reason-content-right {
        width: 100%;
        padding: 20px;
    }
    .reason-content-right {
        border-top: 1px solid rgba(0, 127, 117, 0.1);
    }
    .reason-content-title {
        font-size: 1.2rem;
    }
    .reason-content-arrow {
        padding: 10px 0;
        background-color: transparent;
    }
    .reason-content-arrow img {
        width: 40px;
        filter: none;
        transform: rotate(90deg);
    }
    .reason-content-list {
        padding: 0 10px;
    }
    .reason-content-list li {
        font-size: 1.05rem;
        padding-left: 24px;
        margin-bottom: 14px;
    }
    .reason-content-list li::before {
        width: 8px;
        height: 8px;
        top: 7px;
    }
    
    /* 特徴2のレスポンシブ */
    .reason-sub-title {
        font-size: 1.1rem;
        padding: 14px 16px;
        margin-bottom: 24px;
        text-align: left;
    }
    .reason-images-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 24px;
    }
    .reason-images-row img {
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
    }
    .reason-desc-middle {
        font-size: 1rem;
        text-align: left;
    }
    
    /* 特徴3のレスポンシブ */
    .reason-content-single-box {
        padding: 24px 20px;
        margin-bottom: 16px;
    }
    .reason-content-single-box .reason-content-title {
        font-size: 1.2rem;
        text-align: left;
    }
    .reason-content-single-box .reason-content-text {
        text-align: left;
    }
    .reason-arrow-center {
        margin-bottom: 16px;
    }
    .reason-arrow-center img {
        width: 40px;
    }
    .reason-highlight-box {
        padding: 24px 20px;
    }
    .reason-text-normal {
        font-size: 1rem;
    }
    .reason-text-highlight {
        font-size: 1.15rem;
        text-align: left;
    }

    /* 料金プラン */
    .plan-section {
        padding: 80px 0;
        margin: 0;
    }
    .plan-grid {
        gap: 40px;
        max-width: 100%;
        flex-direction: column;
        padding: 0;
    }
    .plan-card-body {
        padding: 30px 20px;
    }
    .plan-card h3 {
        font-size: 1.4rem;
    }
    .plan-text {
        font-size: 1rem;
    }
    .plan-list {
        margin-top: 20px;
        padding: 20px 10px;
        margin-bottom: 20px;
    }
    .plan-list li {
        margin-bottom: 10px;
        font-size: 1rem;
        font-weight: 700;
    }
    .plan-initial-cost {
        font-size: 1.1rem;
    }
    .plan-note {
        font-size: 0.9rem;
    }
    .plan-benefit {
        max-width: 100%;
        padding: 0;
        margin-top: 40px;
    }
    .plan-initial {
        padding: 20px 15px;
        margin-top: 30px;
    }
    .plan-initial h3 {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }
    .plan-initial-note {
        margin-left: 0;
        display: block;
        margin-top: 5px;
    }
    .plan-initial-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .plan-initial-item {
        padding: 20px 15px;
    }
    .plan-initial-price {
        font-size: 2rem;
    }
    .plan-includes {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    .plan-list-sub {
        font-size: 0.75rem;
    }

    /* 導入プランセクション */
    .intro-flow-content {
        max-width: 100%;
        flex-direction: column;
        padding: 30px 20px;
    }
    .intro-flow-left {
        flex: 1;
        margin: 0 auto;
        width: 100%;
    }
    .intro-flow-right {
        flex: 1;
        margin: 0 auto;
        width: 100%;
    }
    .intro-flow-right h3 {
        font-size: 1.5rem;
        text-align: left;
        margin-bottom: 20px;
    }
    .intro-flow-right p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .intro-flow-table th {
        padding: 10px;
        font-weight: 500;
        font-size: 14px;
        width: 120px;
        text-align: left;
    }
    .intro-flow-table td {
        font-size: 14px;
    }

    /* よくある質問セクション */
    .faq-section {
        padding: 80px 0;
    }
    .faq-list {
        max-width: 100%;
        padding: 0;
    }
    .faq-question {
        padding: 15px 50px 15px 15px;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 20px 20px;
    }

    /* 実績紹介セクション */
    .achievement-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        padding: 0;
    }
    .achievement-store-name {
        font-size: 1.2rem;
    }
    .achievement-stat-item {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }

    /* お問い合わせセクション */
    .contact-section {
        padding: 300px 0 80px;
    }
    .contact-title {
        font-size: 20px;
        margin-bottom: 30px;
        text-align: left;
    }
    .contact-description {
        font-size: 14px;
        padding: 0;
        text-align: left;
    }
    .contact-content {
        gap: 30px;
        margin-top: 40px;
        padding: 0;
    }
    .contact-left, .contact-right {
        padding: 30px 20px;
        width: 100%;
    }
    .contact-img {
        margin-bottom: 20px;
    }
    .contact-sub-title {
        font-size: 1.2rem;
        justify-content: center;
    }
    .contact-list {
        padding-left: 20px;
        margin-bottom: 20px;
        font-size: 1rem;
        width: 100%;
    }
    .contact-list li {
        font-size: 0.95rem;
    }
    .btn-submit {
        font-size: 1.1rem;
    }
}

/* 520px以下 (スマホ) */
@media (max-width: 520px) {
    .hide-sp{
        display: none;
    }
    /* ヒーローセクション */
    .hero {
        min-height: 90vh;
    }
    /* 提案セクション */
    .proposal-section img {
        width: 100%;
    }
    .proposal-section {
        padding: 60px 0;
    }

    /* システム紹介セクション */
    .intro-logo {
        height: 50px;
    }

    /* なぜ選ばれるのかセクション */
    .reason-section {
        padding: 50px 0 60px 0;
    }
    .reason-title {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }
    .reason-item {
        margin-bottom: 30px;
    }
    .reason-item-header {
        padding: 14px 16px;
    }
    .reason-item-header h3 {
        font-size: 1rem;
        gap: 8px;
    }
    .reason-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .reason-item-body {
        padding: 20px 16px;
    }
    .reason-desc-top {
        text-align: left;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .reason-content-left, .reason-content-right {
        padding: 16px;
    }
    .reason-content-title {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    .reason-content-text {
        font-size: 0.95rem;
    }
    .reason-content-list {
        padding: 0 8px;
        margin: 0;
    }
    .reason-content-list li {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-left: 22px;
    }
    .reason-desc-bottom {
        text-align: left;
        font-size: 1.1rem;
        margin-top: 20px;
        padding: 14px;
    }
    .reason-sub-title {
        font-size: 1rem;
        padding: 12px 14px;
    }
    .reason-content-single-box {
        padding: 18px 16px;
        margin-bottom: 12px;
    }
    .reason-content-single-box .reason-content-title {
        font-size: 1.1rem;
    }
    .reason-highlight-box {
        padding: 20px 16px;
    }
    .reason-text-highlight {
        font-size: 1.05rem;
    }
    .achievement-ratio-box {
        padding: 20px 16px;
        margin: 16px 12px 0;
    }
    .ratio-title {
        font-size: 1.2rem;
    }
    .ratio-desc {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* 料金プランセクション */
    .plan-text {
        text-align: left;
    }
    .plan-benefit-body {
        text-align: left;
    }
    
}






/* ==========================================================================
   アニメーション設定
   ========================================================================== */

/* --- キーフレーム定義 --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* --- スクロールアニメーション用クラス --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.animate-fade-in.animated {
    opacity: 1;
}

.animate-from-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-from-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-from-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-from-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* 問題解決セクション用アニメーション */
.animate-problem {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-problem.problem-item--right {
    transform: translateX(60px);
}

.animate-problem.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* --- ディレイクラス --- */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* --- ヒーローセクションの初期アニメーション --- */
.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* .hero-title は一文字ずつアニメーションするため、全体のfadeInUpは無効化 */

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-right {
    animation: fadeInRight 1s ease-out 0.6s both;
}

/* --- ボタンのホバーアニメーション強化 --- */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 201, 53, 0.4);
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 201, 53, 0.3);
}

/* --- FAQアコーディオンのアニメーション --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

details[open] .faq-answer {
    max-height: 500px;
}

.faq-question::after {
    transition: transform 0.3s ease;
}

/* --- ロゴのホバーアニメーション --- */
.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* --- フッターリンクのアニメーション --- */
.footer-company a {
    position: relative;
    transition: color 0.3s ease;
}

.footer-company a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.footer-company a:hover::after {
    width: 100%;
}


/* --- コンタクトフォームのアニメーション --- */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #08A599;
    box-shadow: 0 0 0 3px rgba(8, 165, 153, 0.1);
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- スクロールダウンインジケーター（オプション） --- */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* --- 連続アニメーション用のスタガー効果 --- */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-animation.animated > *:nth-child(1) { animation: fadeInUp 0.5s ease forwards 0.1s; }
.stagger-animation.animated > *:nth-child(2) { animation: fadeInUp 0.5s ease forwards 0.2s; }
.stagger-animation.animated > *:nth-child(3) { animation: fadeInUp 0.5s ease forwards 0.3s; }
.stagger-animation.animated > *:nth-child(4) { animation: fadeInUp 0.5s ease forwards 0.4s; }
.stagger-animation.animated > *:nth-child(5) { animation: fadeInUp 0.5s ease forwards 0.5s; }
.stagger-animation.animated > *:nth-child(6) { animation: fadeInUp 0.5s ease forwards 0.6s; }
.stagger-animation.animated > *:nth-child(7) { animation: fadeInUp 0.5s ease forwards 0.7s; }
.stagger-animation.animated > *:nth-child(8) { animation: fadeInUp 0.5s ease forwards 0.8s; }
.stagger-animation.animated > *:nth-child(9) { animation: fadeInUp 0.5s ease forwards 0.9s; }

/* --- ヘッダーのスクロール時のアニメーション（グラスモーフィズム） --- */
.header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 127, 117, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- CTA セクションのパルスアニメーション --- */
.btn-cta {
    animation: ctaGlow 3s ease-in-out infinite, ctaPulse 2s ease-in-out infinite;
}

.btn-cta:hover {
    animation: none;
}

/* CTAパルスアニメーション */
@keyframes ctaPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.01);
    }
}


/* --- スムーズスクロール --- */
html {
    scroll-behavior: smooth;
}

/* --- アニメーション無効化（アクセシビリティ対応） --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-on-scroll,
    .animate-fade-in,
    .animate-from-left,
    .animate-from-right,
    .animate-scale {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- ライトボックス（画像拡大表示） --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
}

.lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ライトボックス開いている時のbodyスクロール無効 */
body.lightbox-open {
    overflow: hidden;
}

/* --- サンクスページ --- */
.thanks-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: 
        linear-gradient(rgba(8, 165, 153, 0.75), rgba(8, 165, 153, 0.75)),
        url('img/20260126/05.jpg');
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    padding-top: 78px; /* ヘッダーの高さ分を考慮 */
}

.thanks-title {
    color: #ffffff;
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 700;
    margin-top: 200px;
    margin-bottom: 40px;
}

.thanks-text {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 40px;
    font-weight: 500;
    color: #ffffff;
}

.thanks-note {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 60px;
}

.thanks-note strong {
    color: #c00;
    display: block;
    margin-bottom: 10px;
}

/* ====================================
   一文字ずつ出現するアニメーション
   ==================================== */

/* 一文字ずつ出現するアニメーション用スタイル */
.char-animate {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transition-delay: calc(var(--char-index) * 0.04s);
}

/* アニメーション発火時 */
.char-animated .char-animate {
    opacity: 1;
    transform: translateY(0);
}

/* 見出し内の画像（ロゴ）もアニメーション対象 */
.char-animated img.char-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   アイコンフォント関連スタイル
   ==================================== */

/* 機能カードのアイコン */
.feature-icon {
    margin-right: 8px;
    font-size: 0.9em;
    color: #007F75;
}

/* 料金プランのアイコン */
.plan-card h3 i {
    margin-right: 10px;
    font-size: 0.9em;
}

.plan-badge i {
    margin-right: 6px;
}

/* 導入フローテーブルのアイコン */
.intro-flow-table th i {
    margin-right: 8px;
    font-size: 0.9em;
    opacity: 0.9;
}

/* フッターのスタイル改善 */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 15px 0 40px;
}

.footer-link {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-link i {
    font-size: 0.9em;
}

.footer-copyright i {
    margin-right: 4px;
}

.footer-company {
    display: none; /* footer-linksに統合したため非表示 */
}

/* フォームラベルのアイコン */
.form-icon {
    margin-left: 6px;
    margin-right: 4px;
    font-size: 0.9em;
    color: #007F75;
    opacity: 0.8;
}

/* ====================================
   トンマナ統一 - 見出し装飾スタイル
   ==================================== */

/* セクションタイトル共通スタイル */
.voice-title,
.reason-title,
.plan-title,
.intro-flow-title,
.faq-title,
.achievement-title {
    position: relative;
}

.voice-title::after,
.reason-title::after,
.plan-title::after,
.intro-flow-title::after,
.faq-title::after,
.achievement-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007F75, #00A896);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ====================================
   トンマナ統一 - カードスタイル
   ==================================== */

/* 料金プランカード */
.plan-card {
    /* ホバー効果削除済み */
}

/* 実績カード */
.achievement-card {
    /* ホバー効果削除済み */
}

/* お客様の声カード */
.voice-card {
    /* ホバー効果削除済み */
}

/* FAQアイテムの微調整 */
.faq-item {
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
}

/* ====================================
   トンマナ統一 - 背景装飾
   ==================================== */

/* CTA セクション背景の一貫性 */
#cta {
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

#cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

/* ====================================
   レスポンシブ対応 - アイコン
   ==================================== */

@media (max-width: 768px) {
    .feature-icon {
        display: none; /* モバイルでは機能カードのアイコン非表示 */
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-icon {
        display: none; /* モバイルではフォームアイコン非表示 */
    }
}

/* ====================================
   動画モーダル
   ==================================== */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    max-height: 85vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-content video {
    max-height: 85vh;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -45px;
        right: 5px;
    }
}

/* ====================================
   右下追従サムネイル
   ==================================== */

.video-thumbnail {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 150px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-thumbnail.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.video-thumbnail-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-thumbnail-close:hover {
    background: #555;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-thumbnail:hover .video-thumbnail-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-thumbnail-overlay i {
    color: #fff;
    font-size: 18px;
    width: 50px;
    height: 36px;
    background: #FF0000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-thumbnail:hover .video-thumbnail-overlay i {
    transform: scale(1.1);
    background: #CC0000;
}

.video-thumbnail-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 20px 8px 10px;
}

@media (max-width: 768px) {
    .video-thumbnail {
        bottom: 20px;
        right: 20px;
        width: 90px;
        height: 150px;
    }
    
    .video-thumbnail-overlay i {
        font-size: 24px;
    }
    
    .video-thumbnail-label {
        font-size: 10px;
        padding: 15px 6px 8px;
    }
}

