@charset "UTF-8";

/*============================================================================================================

                ai_index.css

=============================================================================================================*/
        :root {
            --gr-accent: #ed7391;
            --gr-accent-dark: #c65973;
        }
        
        /* === 修正1: bodyのデフォルトmargin:8pxを完全削除 + 横スクロール防止 === */
        html, body {
            margin: 0 !important;
            padding: 0 !important;
            overflow-x: hidden;
        }
        
        .gr-lp * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        .gr-lp {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            line-height: 1.6;
            color: #111827;
            background-color: #ffffff;
            overflow-x: hidden; /* 全体の横スクロールを強制防止 */
        }
        
        .gr-container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* HEADER */
        .gr-header {
            position: sticky;
            top: 0;
            z-index: 50;
            background-color: rgba(255,255,255,0.97);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #e5e7eb;
        }
        
        .gr-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
        }
        
        .gr-logo img {
            height: 48px;
            width: auto;
            display: block;
        }
        
        .gr-nav-pc {
            display: flex;
            align-items: center;
            gap: 24px;
        }
        
        .gr-nav-pc a {
            font-size: 0.95rem;
            font-weight: 500;
            color: #374151;
            text-decoration: none;
            white-space: nowrap;
            transition: color 0.3s ease;
        }
        
        .gr-nav-pc a:hover {
            color: var(--gr-accent);
        }
        
        .gr-cta-header {
            background-color: var(--gr-accent);
            color: white;
            padding: 12px 28px;
            border-radius: 9999px;
            font-weight: 600;
            font-size: 0.95rem;
            text-decoration: none;
            box-shadow: 0 10px 15px -3px rgba(185, 64, 94, 0.3);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
        }
        
        .gr-cta-header:hover {
            background-color: var(--gr-accent-dark);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 25px -5px rgba(185, 64, 94, 0.4);
        }
        
        .gr-hamburger {
            display: none;
            flex-direction: column;
            gap: 4px;
            cursor: pointer;
            z-index: 60;
        }
        
        .gr-hamburger span {
            width: 28px;
            height: 3px;
            background-color: #111827;
            transition: all 0.3s ease;
        }
        
        /* MOBILE NAV */
        .gr-mobile-nav {
            display: none;
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            background: white;
            padding: 30px 20px;
            box-shadow: 0 10px 15px rgba(0,0,0,0.1);
            transform: translateY(-120%);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
        }
        
        .gr-mobile-nav.active {
            display: block;
            transform: translateY(0);
            opacity: 1;
        }
        
        .gr-mobile-nav a {
            display: block;
            padding: 16px 0;
            font-size: 1.25rem;
            border-bottom: 1px solid #f3f4f6;
            color: #374151;
            text-decoration: none;
        }
        
        /* HERO */
        #gr-hero {
            position: relative;
            height: 100vh;
            min-height: 650px;
            background-image: url('/img/de1_hero.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            color: white;
        }
        
        #gr-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 25%, transparent 70%);
            z-index: 1;
        }
        
        .gr-hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            width: 100%;
            max-width: 960px;
            padding: 0 20px;
            margin-bottom: 15vh;
        }
        
        .gr-hero-main {
            font-size: clamp(2.75rem, 8vw, 5.5rem);
            font-weight: 900;
            line-height: 1.05;
            margin-bottom: 1rem;
            text-shadow: 0 4px 20px rgba(0,0,0,0.6);
        }
        
        .gr-hero-sub {
            font-size: clamp(1.35rem, 4.5vw, 2.25rem);
            font-weight: 500;
            opacity: 0.95;
            margin-bottom: 2.5rem;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }
        
        .gr-hero-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            background-color: var(--gr-accent);
            color: white;
            font-size: 1.25rem;
            font-weight: 700;
            padding: 18px 48px;
            border-radius: 9999px;
            text-decoration: none;
            box-shadow: 0 20px 25px -5px rgba(185, 64, 94, 0.4);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .gr-hero-cta:hover {
            transform: scale(1.08);
            box-shadow: 0 25px 35px -5px rgba(185, 64, 94, 0.5);
        }
        
        /* SECTIONS */
        .gr-section {
            padding: 100px 0;
        }
        
        .gr-section-title {
            font-size: 2.75rem;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }
        
        .gr-section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--gr-accent), #f9a3b8);
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 9999px;
        }
        
        /* INTRO */
        #gr-intro {
            background: #f8fafc;
        }
        
        .gr-intro-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        .gr-intro-image {
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }
        
        .gr-intro-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* 選ばれる5つの理由 */
        .gr-grid-5 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 28px;
        }
        
        .gr-reason-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
            transition: all 0.4s ease;
            border: 1px solid #f3f4f6;
        }
        
        .gr-reason-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 25px 50px -12px rgba(185, 64, 94, 0.15);
        }
        
        .gr-reason-photo {
            height: 220px;
            background-size: cover;
            background-position: center;
        }
        
        .gr-reason-content {
            padding: 32px;
        }
        
        /* PRODUCT */
        .gr-product-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        @media (max-width: 992px) {
            .gr-product-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }
        
        /* OEM開発の流れ */
        .gr-timeline {
            position: relative;
            max-width: 860px;
            margin: 0 auto;
        }
        
        .gr-timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 40px;
            bottom: 40px;
            width: 4px;
            background: #e5e7eb;
            transform: translateX(-50%);
        }
        
        .gr-timeline-step {
            position: relative;
            display: flex;
            margin-bottom: 80px;
            align-items: flex-start;
        }
        
        .gr-timeline-step:last-child {
            margin-bottom: 0;
        }
        
        .gr-timeline-step:nth-child(odd) { flex-direction: row; }
        .gr-timeline-step:nth-child(even) { flex-direction: row-reverse; }
        
        .gr-timeline-dot {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 28px;
            height: 28px;
            background: white;
            border: 6px solid var(--gr-accent);
            border-radius: 9999px;
            z-index: 2;
        }
        
        .gr-timeline-content {
            width: 45%;
            background: white;
            padding: 32px;
            border-radius: 20px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
        }
        
        /* SPECS */
        #gr-specs {
            position: relative;
            background-image: url('/img/de5_specs.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
        }
        
        #gr-specs::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.65);
        }
        
        .gr-specs-inner {
            position: relative;
            z-index: 2;
        }
        
        .gr-spec-card {
            background: rgba(255,255,255,0.92);
            color: #111827;
            border-radius: 24px;
            padding: 48px 40px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            text-align: center;
            backdrop-filter: blur(12px);
        }
        
        /* FAQ */
        .gr-faq-item {
            border-bottom: 1px solid #e5e7eb;
        }
        
        .gr-faq-question {
            width: 100%;
            text-align: left;
            padding: 32px 40px;
            background: none;
            border: none;
            font-size: 1.15rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .gr-faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            padding: 0 40px;
            color: #4b5563;
        }
        
        .gr-faq-answer.open {
            max-height: 300px;
            padding-bottom: 32px;
        }
        
        /* FORM */
        #gr-form-section {
            background: #f8fafc;
        }
        
        .gr-form-container {
            max-width: 680px;
            margin: 0 auto;
            background: white;
            padding: 60px 50px;
            border-radius: 24px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        }
        
        .gr-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }
        
        .gr-form-group {
            margin-bottom: 24px;
        }
        
        .gr-form-group.full {
            grid-column: 1 / -1;
        }
        
        .gr-form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            color: #374151;
        }
        
        .gr-form-group input, .gr-form-group textarea {
            width: 100%;
            padding: 16px 20px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-size: 1.05rem;
            transition: all 0.3s ease;
        }
        
        .gr-form-group input:focus, .gr-form-group textarea:focus {
            outline: none;
            border-color: var(--gr-accent);
            box-shadow: 0 0 0 4px rgba(185, 64, 94, 0.15);
        }
        
        .gr-required::after {
            content: " *";
            color: #ef4444;
        }
        
        .gr-submit-btn {
            width: 100%;
            background: var(--gr-accent);
            color: white;
            font-size: 1.35rem;
            font-weight: 700;
            padding: 22px;
            border: none;
            border-radius: 9999px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 15px 30px -8px rgba(185, 64, 94, 0.4);
        }
        
        .gr-submit-btn:hover {
            transform: translateY(-4px) scale(1.03);
            box-shadow: 0 25px 40px -10px rgba(185, 64, 94, 0.5);
        }
        
        /* FOOTER */
        .gr-footer {
            background: #271115;
            color: #af9c9f;
            padding: 80px 0 30px;
        }
        
        .gr-footer-top {
            display: flex;
            flex-wrap: wrap;
            gap: 60px;
            margin-bottom: 60px;
        }
        
        .gr-footer-logo {
            font-size: 1.75rem;
            font-weight: 800;
            color: white;
            letter-spacing: -2px;
        }
        
        .gr-footer-links a {
            color: #af9c9f;
            text-decoration: none;
            display: block;
            margin-bottom: 12px;
            transition: color 0.3s;
        }
        
        .gr-footer-links a:hover {
            color: white;
        }
        
        /* レスポンシブ */
        @media (max-width: 992px) {
            .gr-intro-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }
        
        @media (max-width: 768px) {
            .gr-nav-pc {
                display: none;
            }
            
            .gr-hamburger {
                display: flex;
            }
            
            .gr-mobile-nav {
                display: block;
            }
            
            .gr-timeline::before {
                left: 36px;
            }
            
            .gr-timeline-step {
                flex-direction: column !important;
            }
            
            .gr-timeline-dot {
                left: 36px;
                transform: none;
            }
            
            /* === 修正2: OEM開発の流れ（CBDグミ特化）のモバイル見切り完全修正 === */
            /* width:100% + margin-left:72px が原因で右側が見切れ・横スクロール発生していたため */
            /* calcで横幅を正確に調整（PC表示は一切変更なし） */
            .gr-timeline-content {
                width: calc(100% - 72px);
                margin-left: 72px;
                margin-top: 20px;
            }
            
            .gr-form-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .gr-form-container {
                padding: 40px 24px;
            }
        }


/*============================================================================================================

                追加ページ仕様

=============================================================================================================*/

        body.sb-lp {
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", sans-serif;
            background: var(--sb-bg);
            color: var(--sb-text);
            line-height: 1.75;
        }
        .sb-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

        .sb-section-title {
            font-family: 'Hiragino Mincho Pro', 'Noto Serif JP', serif; /* 明朝体 */
            font-size: 3rem;
            font-weight: 900;
            text-align: center;
            margin-bottom: 4rem;
			padding: 40px 0 0 0;
        }

        /* セクション下スペース */
        .sb-section {
            padding: 0 20px 120px 20px;
        }

        /* セクション上下スペース */
        .sb-section2 {
            padding: 120px 20px 120px 20px;
        }

        /* フォーム */
        .sb-form-box {
            max-width: 760px;
            margin: 0 auto;
            background: #fff;
            padding: 65px 50px;
            border-radius: 28px;
            box-shadow: 0 25px 70px rgba(0,0,0,0.1);
            border: 1px solid #e0f2fe;
        }
        .sb-form-box label {
            display: block;
            margin-bottom: 8px;
            margin-top: 1.8rem;
            font-weight: 700;
            color: var(--sb-primary);
        }
        .sb-form-box .sb-required {
            color: #ef4444;
            font-weight: 400;
        }
        .sb-form-box input,
        .sb-form-box textarea {
            width: 100%;
            background: #f8fafc;
            border: 2px solid #cbd5e1;
            color: var(--sb-text);
            padding: 18px 24px;
            border-radius: 14px;
            font-size: 1.15rem;
        }
        .sb-form-box input:focus,
        .sb-form-box textarea:focus {
            outline: none;
            border-color: var(--sb-accent);
        }


        /* プライバシーポリシー専用スタイル */
        /* プライバシーポリシー */
        .sb-privacy-wrapper {
            max-width: 860px;
            margin: 0 auto;
            padding: 0 20px;
            font-size: 1.05rem;
            line-height: 1.85;
        }
        .sb-privacy-wrapper h2 {
            font-family: 'Hiragino Mincho Pro', 'Noto Serif JP', serif;
            font-size: 1.65rem;
            margin: 3rem 0 1.2rem;
            color: var(--sb-primary);
            border-bottom: 2px solid var(--sb-accent);
            padding-bottom: 0.6rem;
        }
        .sb-privacy-wrapper h3 {
            font-size: 1.25rem;
            margin: 2rem 0 0.8rem;
            color: var(--sb-primary);
        }
        .sb-privacy-wrapper p, .sb-privacy-wrapper li {
            margin-bottom: 1.1rem;
            color: #444;
        }
        .sb-privacy-wrapper ul {
            padding-left: 1.8rem;
            margin-bottom: 1.8rem;
        }
        .sb-privacy-wrapper .last-updated {
            text-align: right;
            font-size: 0.95rem;
            color: #888;
            margin-top: 4rem;
        }

        @media (max-width: 768px) {
        .sb-container { padding: 0 0; }
            .sb-section-title { font-size: 2.35rem; }
            .sb-privacy-wrapper h2 { font-size: 1.45rem; }
        .sb-form-box {
            padding: 50px 20px;
        }
        }


  /* 会社概要専用スタイル */
        /* 会社概要 */
        .sb-company-wrapper {
            max-width: 860px;
            margin: 0 auto;
            padding: 0 20px;
            font-size: 1.05rem;
            line-height: 1.85;
        }
        .sb-company-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2.5rem 0 4rem;
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.06);
        }
        .sb-company-table th,
        .sb-company-table td {
            padding: 20px 30px;
            border-bottom: 1px solid #e2e8f0;
            text-align: left;
            vertical-align: top;
        }
        .sb-company-table th {
            width: 32%;
            background: #f8fafc;
            font-weight: 700;
            color: var(--sb-primary);
        }
        .sb-company-wrapper h2 {
            font-family: 'Hiragino Mincho Pro', 'Noto Serif JP', serif;
            font-size: 1.7rem;
            margin: 3.5rem 0 1.5rem;
            border-bottom: 3px solid #ed7391;
            padding-bottom: 0.8rem;
        }
        .sb-company-wrapper p {
            margin-bottom: 1.6rem;
            color: #444;
        }
        .sb-company-wrapper .mission {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--sb-primary);
            margin: 3rem 0 2rem;
            text-align: center;
        }

        @media (max-width: 768px) {
            .sb-section-title { font-size: 2.35rem; }
            .sb-company-table th, .sb-company-table td { padding: 16px 18px; font-size: 1rem; }
        }

        /* お問い合わせ確認専用スタイル */
        /* お問い合わせ確認 */
        .sb-confirm-wrapper {
            max-width: 760px;
            margin: 0 auto;
            padding: 0 20px;
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.08);
            padding: 60px 50px;
        }
        .sb-confirm-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0 3rem;
        }
        .sb-confirm-table th,
        .sb-confirm-table td {
            padding: 18px 24px;
            border-bottom: 1px solid #e2e8f0;
            text-align: left;
            vertical-align: top;
        }
        .sb-confirm-table th {
            width: 35%;
            background: #f8fafc;
            font-weight: 700;
            color: var(--sb-primary);
        }
        .sb-confirm-table td {
            color: #333;
        }
        .sb-confirm-note {
            font-size: 1.05rem;
            color: #555;
            margin: 2rem 0 3rem;
            line-height: 1.8;
        }
        .sb-confirm-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .sb-btn-back {
            background: #f1f5f9;
            color: #334155;
            font-size: 1.35rem;
            font-weight: 700;
            padding: 20px 48px;
            border-radius: 12px;
            text-decoration: none;
            border: 2px solid #cbd5e1;
            transition: all 0.3s;
        }
        .sb-btn-back:hover {
            background: #e2e8f0;
        }
        .sb-btn-submit {
            background: linear-gradient(90deg, #0071e3, #00a2ff);
            color: #fff;
            font-size: 1.35rem;
            font-weight: 800;
            padding: 20px 52px;
            border-radius: 12px;
            text-decoration: none;
            box-shadow: 0 12px 30px rgba(0,113,227,0.4);
            transition: all 0.3s;
        }
        .sb-btn-submit:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 40px rgba(0,113,227,0.55);
        }

        @media (max-width: 768px) {
            .sb-section-title { font-size: 2.35rem; }
            .sb-confirm-wrapper { padding: 40px 30px; }
            .sb-confirm-buttons { flex-direction: column; align-items: center; }
        }


        /* お問い合わせ完了専用スタイル */
        /* お問い合わせ完了 */
        .sb-complete-wrapper {
            max-width: 720px;
            margin: 0 auto;
            text-align: center;
            padding: 60px 40px;
            background: #fff;
            border-radius: 28px;
            box-shadow: 0 25px 70px rgba(0,0,0,0.08);
        }
        .sb-check-icon {
            font-size: 110px;
            color: var(--sb-accent);
            margin-bottom: 2rem;
            display: block;
        }
        .sb-complete-wrapper h2 {
            font-family: 'Hiragino Mincho Pro', 'Noto Serif JP', serif;
            font-size: 2.6rem;
            margin-bottom: 1.2rem;
            color: var(--sb-primary);
        }
        .sb-complete-wrapper p {
            font-size: 1.2rem;
            line-height: 1.85;
            color: #444;
            margin-bottom: 2.5rem;
        }
        .sb-home-btn {
            background: linear-gradient(90deg, #0071e3, #00a2ff);
            color: #fff;
            font-size: 1.4rem;
            font-weight: 800;
            padding: 22px 56px;
            border-radius: 12px;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 15px 35px rgba(0,113,227,0.4);
            transition: all 0.3s;
        }
        .sb-home-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 45px rgba(0,113,227,0.55);
        }

        @media (max-width: 768px) {
            .sb-section-title { font-size: 2.35rem; }
            .sb-complete-wrapper { padding: 50px 30px; }
            .sb-check-icon { font-size: 90px; }
        }

/* =================================
base要素追加
================================= */

@media screen and (max-width: 767px) {
    .br-pc { display:none; }
}

@media screen and (min-width: 768px) {
    .br-sp { display:none; }
}