/* css/style.css */

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    line-height: inherit;
    vertical-align: baseline;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    margin: 0;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

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

/* ヘッダー */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
    max-width: -webkit-fill-available;
    margin: 0 40px;
    width: 100%;
}

.logo img {
    height: 30px;
}

/* ハンバーガーボタン（初期は非表示） */
.hamburger {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* ハンバーガーアクティブ时のアニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* デスクトップナビゲーション */
.nav ul {
    display: flex;
    list-style: none;
    align-items: center;
   gap: clamp(10px, 3vw, 30px);
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav a:hover {
    color: #1B3E99;
}

.contact-btn {
    background: #1B3E99;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #3c56a6;
}

/* メイン調整（ヘッダー固定分） */
main {
    margin-top: 70px;
}

.hero {
    background-color:#1B3E99;
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    margin: 0px 40px;
    border-radius: 10px;
}

.hero .container {
    margin-left: 70px;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-ellipse {
    position: absolute;
    border-radius: 50%;
    background-color: #2A51B8;
}

.hero-ellipse-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: 700px;
}

 .hero-ellipse-2 {
    width: 1400px;
    height: 1400px;
    bottom: -1002px;
    right: -800px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px 0 0;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero h1 .highlight {
    color: #ffffff;
    font-size: 3rem;
    line-height: 1.4;
}

/* チェックマーク付きリスト */
.hero-features {
    list-style: none;
    margin: 30px 0 0 0;
    padding: 15px 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    justify-content: space-between;
}

.hero-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(135, 206, 250, 0.6);
    box-shadow: 0 4px 0 rgba(135, 206, 250, 0.6);
}

.hero-features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(135, 206, 250, 0.6);
    box-shadow: 0 -4px 0 rgba(135, 206, 250, 0.6);
}

.hero-features li {
    position: relative;
    font-size: 1.1rem;
    margin-bottom: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    width: 20px;
    height: 20px;
}

.cost-decoration {
    width: 40px;
    height: 40px;
    opacity: 0.8;
}

.hero-features li::before {
    display: none;
}

/* ヒーローボタン */
.hero-btn {
    display: inline-block;
    background: #FFF264;
    color: black;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid black;
    box-shadow: 4px 4px 0px #2A51B8;
}

.hero-btn:hover {
    background: #FFF264;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px #2A51B8;
}

.hero-btn:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 0px #2A51B8;
}

/* 右側の画像 */
.hero-image {
    text-align: center;
    width:50%;
}

.hero-image img {
    height: auto;
    max-width: 100%;
}

.hero-img-mobile {
    display: none;
}

/* コスト削減部分 */
.cost-reduction {
    border-radius: 50px;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.cost-decoration {
    font-size: 1.2rem;
    opacity: 0.8;
}

.cost-label {
    font-size: 0.9rem;
}

.cost-main {
    font-size: 1rem;
    font-weight: 500;
}

.cost-percent {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFD700;
    margin: 0 5px;
}

.cost-text {
    font-size: 1rem;
}

/* ビューアサンプル */
.viewer-sample {
    position: relative;
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.viewer-sample .container {
    position: relative;
    z-index: 2;
}

.viewer-sample h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.viewer-sample p {
    text-align: center;
    font-size: 1.1rem;
    color:black;
    margin-bottom: 40px;
    line-height: 1.6;
}

.sample-images-pc {
    display: flex;
    display: block;
    justify-content: center;
    margin-top: 40px;
}
.sample-img-mobile {
    display: none;
}

.sample-images img {
    width: 100%;
    max-width: 2000px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 利用シーン */
.use-cases {
    position: relative;
    padding: 80px 0;
    background: #EEF4F7;
    overflow: hidden;
}
.use-cases p {
    text-align: center;
    color: black;
    margin-bottom: 40px;
    line-height: 1.6;
}

.use-cases .container {
    position: relative;
    z-index: 2;
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: black;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1500px;
    margin: 0 100px;
}

.case-item {
    position: relative;
    text-align: center;
    padding: 40px 20px 30px 20px;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.case-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    margin: 0;
    background: #1B3E99;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(74, 105, 189, 0.3);
    z-index: 2;
}

.case-icon img {
    display: none;
}

.case-label {
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2px;
}

.case-number {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.case-image {
    margin: 20px 0 5px 0;
    padding: 20px 20px 40px 20px;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F6F6F6;
    border-radius: 10px;
}

.case-image img {
    max-width:100%;
    max-height: 100%;
    object-fit: contain;
}

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

.case-subtitle {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px !important;
}

.case-item h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #1B3E99;
    font-weight: bold;
    line-height: 1.4;
}

.case-item p {
    color: black;
    line-height: 1.6;
}

/* 機能比較 */
.features-comparison {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    margin: 20px;
}

.features-comparison .container {
    position: relative;
    z-index: 2;
}

.features-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}
/* SP版のみ表示するスタイル */
.sp-scroll-notice {
    display: none; /* デフォルトは非表示 */
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.sp-scroll-notice img {
    max-width: 100%;
    height: auto;
}


.comparison-table {
    text-align: center;
}

.comparison-table img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ */
.faq-section {
    position: relative;
    padding: 80px 0;
    background-color: #1B3E99;
    color: #fff;
    overflow: hidden;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

.faq-list {
    max-width: 90%;
    margin: 100px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-q {
    color: #001c9a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 30px;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.faq-toggle {
    color: #1B3E99;
    font-size: 16px;
    transition: transform 0.3s;
}
.faq-item.active {
    height: auto;
    min-height: auto;
}
.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 25px 25px;
    background: #fff;
    height: auto;
}

.faq-item.active .faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-a {
    color: #FF6B6B;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size:30px;
    margin-right: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-answer-content {
    flex: 1;
    color: #555;
    line-height: 1.6;
}

.faq-answer-content p {
    margin: 0;
}

.highlight-box {
    background: #E3F2FD;
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 10px 0;
    font-weight: bold;
    color: #1976D2;
    display: inline-block;
}

/* お問い合わせフォーム */
.contact-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

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

.contact-label {
    display: inline-block;
    color:#001c9a;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    line-height: 1.4;
    padding: 0 70px;

}

.contact-form {
    max-width: 80%;
    margin: 100px auto 0;
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1B3E99;
    box-shadow: 0 0 0 3px rgba(74, 105, 189, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 14px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path fill='%23666' d='M6 7L0 1l1.4-1.4L6 4.2l4.6-4.6L12 1z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.privacy-agreement {
    margin: 30px 0;
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.privacy-agreement p {
    margin-bottom: 15px;
    text-align: center;
}

.checkbox-center {
    display: flex;
    justify-content: center;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    cursor: pointer;
}

.checkbox-wrapper label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
    flex: 1;
}

.submit-btn {
    width: 30%;
    background: #1B2371;
    color: #fff;
    padding: 18px 15px;
    border-radius: 3px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin: 20px auto 0 auto;
    display: block;
}

.submit-btn:hover {
    background: #3c56a6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 105, 189, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* フッター */
.footer {
    background: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e1e5e9;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-certifications {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-certifications img {
    height: 40px;
}

.footer-copyright {
    color: black;
    font-size: 14px;
}

/* サンクスページ */
.thanks-section {
    position: relative;
    padding: 100px 0 0 0;
    overflow: hidden;
    min-height: 80vh;
}

.thanks-section .container {
    position: relative;
    z-index: 2;
}

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

.thanks-header .contact-label {
    display: inline-block;
    color: #1B3E99;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;

    letter-spacing: 1px;
    line-height: 1.4;
}

.thanks-header h1 {
    font-size: 3rem;
    color: #333;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

.thanks-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px 0 40px;
}
.thanks-content p{
    text-align: left;
}

.thanks-main-message {
    color: #000000;
    line-height: 1.8;
    margin-bottom: 40px;
}

.thanks-detail-text {
    color: black;
    line-height: 1.8;
}

.thanks-details {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.thanks-details p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.thanks-details p:last-child {
    margin-bottom: 0;
}

.top-btn {
    display: inline-block;
    background: #1B3E99;
    color: #fff;
    padding: 18px 60px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-top: 40px;
}

.top-btn:hover {
    background: #3c56a6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 105, 189, 0.3);
}

/* 背景文字共通スタイル */
.bg-text {
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(3rem, 10vw, 10rem) !important;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.1em;
    user-select: none;
}
.viewer-sample .bg-text {
    color: #EEF4F7;
}
.use-cases .bg-text {
    color: rgb(255, 255, 255);
}
.features-comparison .bg-text {
    color: #EEF4F7;
}
.faq-section .bg-text {
    color: rgba(255, 255, 255, 0.05);
}
.contact-section .bg-text {
    color: #EEF4F7;
}
.thanks-section .bg-text {
    color: #EEF4F7;
    top: 4%;
}

.viewer-sample,
.use-cases,
.features-comparison,
.faq-section,
.contact-section {
    position: relative;
    overflow: hidden;
}

.viewer-sample .container,
.use-cases .container,
.features-comparison .container,
.faq-section .container,
.contact-section .container {
    position: relative;
    z-index: 2;
}

/* 統一されたセクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}



.section-label {
    display: inline-block;
    color: #001c9a;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* FAQセクション用（白い背景） */
.faq-label {

    color: white;
}

.section-header h2 {
    line-height: 1.4;
    margin: 0;
}
@media (max-width: 768px) {
    /* ヘッダーをコンパクトに */
    .header .container {
        padding: 10px 0;
        margin: 0 20px;
    }
    
    .logo img {
        height: 25px;
    }
    
    /* ハンバーガーボタンを表示 */
    .hamburger {
        display: flex;
        width: 24px;
        height: 24px;
    }
    
    .hamburger span {
        height: 2px;
        margin: 2px 0;
    }
    
    /* ナビゲーションメニューを上からスライドに変更 */
    .nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: auto;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: top 0.3s ease;
        z-index: 999;
        padding-top: 60px;
    }
    
    .nav.active {
        top: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        height: auto;

    }
    
    .nav li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav a {
        display: block;
        padding: 18px 25px;
        color: #333;
        font-size: 15px;
    }
    
    .nav a:hover {
        background: #f8f9fa;
        color: #1B3E99;
    }
    
    .contact-btn {
        background: #1B3E99 !important;
        color:  white!important;
        padding: 18px 25px !important;
        font-weight: 600;
    }
    
    .contact-btn:hover {
        background: #1B3E99 !important;
        color: #fff !important;
    }
    
    /* メインコンテンツの調整 */
    main {
        margin-top: 50px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* ヒーロー */
    .hero {
        padding: 60px 0;
        margin: 0 20px;
    }
    
    .hero .container {
        margin-left: 20px;
    }
    
    /* ヒーローの水玉調整 */
    .hero-ellipse-1 {
        width: 150px;
        height: 150px;
        top: 350px;
        left: -50px;
    }
    
    .hero-ellipse-2 {
        width: 1000px;
        height: 1000px;
        bottom: -600px;
        right: -500px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero h1 .highlight {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-text {
        max-width: 100%;
        width: 100%;
        text-align: left;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .hero-img-pc {
        display: none;
    }
    
    .hero-img-mobile {
        display: block;
    }
    
    /* サンプル画像の切り替え */
    .sample-img-pc {
        display: none;
    }
    
    .sample-img-mobile {
        display: block;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    
    .cost-reduction {
        padding: 10px 90px 0 0;
        gap: 5px;
    }
    
    .cost-percent {
        font-size: 2rem;
    }
    
    .cost-decoration {
        display: none;
    }

    /* セクション */
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .section-label {
        line-height: 1.3 !important;
    }
    
    .contact-label {
        line-height: 1.3 !important;
    }
    
    /* 背景文字の基本設定 */
    .bg-text {
        font-size: clamp(2rem, 10vw, 6rem);
        z-index: 1;
    }
    
    /* セクションヘッダーを前面に */
    .section-header {
        position: relative;
        z-index: 3;
    }
    
    .contact-header {
        position: relative;
        z-index: 3;
    }
    
    /* 各セクションの背景文字を個別位置調整 */
    .viewer-sample .bg-text {
        top: 5%;
    }
    
    .use-cases .bg-text {
        top: 5%;
    }
    
    .features-comparison .bg-text {
        top: 13%;
    }
    
    .faq-section .bg-text {
        top: 11%;
    }
    
    .contact-section .bg-text {
        top: 8%;
    }
    .thanks-section .bg-text {
     top: 10%;
}
    /* その他 */
    .sample-images {
        flex-direction: column;
        align-items: center;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        margin: 0 10px;
    }
    
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
    }
    
    .comparison-table img {
        max-width: 600px;
        width: auto;
        height: auto;
    }
    
    /* FAQ */
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-text {
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    /* フォーム */
    .contact-form {
        max-width: 100%;
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .contact-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .privacy-agreement {
        padding: 15px;
        font-size: 13px;
    }
    
    /* フッター */
    .footer-certifications {
        flex-direction: row;
        align-items: center;
    }
    .footer-logo img{
        width: 200px;
    }
    
    /* サンクス */
    .thanks-section {
        padding: 80px 0;
    }
    
    .thanks-content {
        padding: 0px 20px;
    }
    
    .thanks-header h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .thanks-header .contact-label {
        font-size: 12px;
        padding: 6px 16px;
        line-height: 1.3;
    }
    
    .thanks-details {
        padding: 30px 20px;
        margin: 0 20px 30px 20px;
    }
    
    .thanks-details p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

}

/* 480px以下でさらにコンパクトに */
@media (max-width: 480px) {
    .header .container {
        padding: 8px 0;
        margin: 0 15px;
    }
    
    .logo img {
        height: 22px;
    }
    
    .hamburger {
        width: 20px;
        height: 20px;
    }
    
    main {
        margin-top: 45px;
    }
    
    .hero {
        padding: 40px 0;
        margin: 0 15px;
    }
    
    .hero .container {
        margin-left: 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 10px;
        text-align: left;
        letter-spacing: 1.5px;
    }
    
    .hero h1 .highlight {
        font-size: 1.7rem;
        line-height: 1.2;
    }
    
    .hero-features {
        gap: 15px;
        text-align: center;
        justify-content: left;
    }
    
    .hero-features li {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 12px 50px;
        font-size: 0.9rem;
    }
    
    .cost-percent {
        font-size: 1.8rem;
    }
    
    /* サンプル画像をさらに小さく */
    .sample-img-mobile {
        max-width: 400px;
    }
    
    /* ヒーローの水玉調整 */
    .hero-ellipse-1 {
        width: 130px;
        height: 130px;
        top: 350px;
        left: -50px;
    }
    
    .hero-ellipse-2 {
        width: 600px;
        height: 600px;
        bottom: -350px;
        right: -350px;
    }
    
    /* 全体調整 */
    section {
        padding: 40px 0;
    }
    
    h2 {
        font-size: 1.7rem !important;
        margin-bottom: 30px !important;
        line-height: 1.2 !important;
    }
    
    .section-label {
        line-height: 1.2 !important;
    }
    
    .faq-answer-content p {
    margin: 0;
    font-size:small;
    }
    
    .contact-label {
        line-height: 1.2 !important;
    }
    
    .thanks-header .contact-label {
        line-height: 1.2 !important;
    }
    
    .thanks-header h1 {
        font-size: 2rem;
        line-height: 1.2 !important;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* 背景文字の基本設定 */
    .bg-text {
        font-size: clamp(1.5rem, 8vw, 4rem);
        z-index: 1;
    }
    
    /* 480px以下での各セクション背景文字位置調整 */
    .viewer-sample .bg-text {
        top: 8%;

    }
    
    .use-cases .bg-text {
        top: 5%;
    }
    
    .features-comparison .bg-text {
        top: 15%;
    }
    
    .faq-section .bg-text {
        top: 10%;
    }
    
    .contact-section .bg-text {
        top: 9%;
    }
    .thanks-section .bg-text {
     top: 8%;
}
        .sp-scroll-notice {
        display: block; /* SP版では表示 */
    }
    /* フォーム調整 */
    .contact-form {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .submit-btn {
        width: 50%;
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    /* サンクス調整 */
    .thanks-section {
        padding: 60px 0;
    }
    
    .thanks-header {
        margin-bottom: 40px;
    }
    

    
    .thanks-details {
        padding: 25px 15px;
        margin: 0 10px 25px 10px;
    }
    
    .thanks-details p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
}