/* ==============================================
   共通・ベーススタイル
============================================== */

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* スマホ専用改行 */
.sp-only {
    display: none;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通CTAボタン */
.cta-button {
    display: inline-block;
    background: #FF6F59;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #e55a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 111, 89, 0.3);
}

/* セクション共通スタイル */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    color: #FF6F59;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.8rem;
    color: #6c757d;
    margin: 0 auto;
}

/* カード共通スタイル */
.feature-card,
.strength-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover,
.strength-card:hover {
    transform: translateY(-5px);
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ==============================================
   ヘッダー
============================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* ロゴ */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    background: #FF6F59;
    border-radius: 4px;
    position: relative;
}

.logo-icon::after {
    content: '🌸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
}

/* ===== ハンバーガーメニューとナビゲーションの修正 ===== */

/* デスクトップでのナビゲーション */
@media (min-width: 769px) {
    .nav {
        display: block;
    }
    
    .nav-list {
        display: flex;
        list-style: none;
        gap: 32px;
        margin: 0;
        padding: 0;
        flex-direction: row;
    }
    
    .nav-list li {
        display: block;
    }
    
    /* PCサイズでTOPと問い合わせメニューを非表示 */
    .nav-list li:first-child,
    .nav-list li:last-child {
        display: none;
    }
    
    .nav-link {
        text-decoration: none;
        color: #2C3E50;
        font-weight: 500;
        font-size: 16px;
        transition: color 0.3s ease;
        display: inline-block;
    }
    
    .nav-link:hover {
        color: #FF6F59;
    }
    
    .hamburger-menu {
        display: none !important;
    }
}

/* ヘッダーCTA */
.header-cta {
    font-size: 14px;
    padding: 8px 16px;
}

/* モバイルでのナビゲーション */
@media (max-width: 768px) {
    /* ハンバーガーメニューボタン */
    .hamburger-menu {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
        position: relative;
    }
    
    .hamburger-line {
        width: 100%;
        height: 3px;
        background: #2C3E50;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* ナビゲーションメニュー本体 */
    .nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 280px !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        z-index: 1001 !important;
        padding: 100px 30px 30px 30px !important;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1) !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease-out !important;
        

    }
    
    .nav.active {
        transform: translateX(0) !important;

    }
    
    /* ナビリスト */
    .nav .nav-list {
        display: flex !important;
        flex-direction: column !important;
        list-style: none !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        

    }
    
    /* li要素 */
    .nav .nav-list li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        

    }
    
    /* ナビリンク */
    .nav .nav-link {
        display: block !important;
        font-size: 20px !important;
        font-weight: 500 !important;
        padding: 20px 10px !important;
        border-bottom: 1px solid #e9ecef !important;
        color: #2C3E50 !important;
        text-decoration: none !important;
        width: 100% !important;
        text-align: center !important;
        white-space: nowrap !important;
        

    }
    
    .nav .nav-link:hover {
        color: #FF6F59 !important;
        background: rgba(255, 111, 89, 0.1) !important;
    }
    
    /* CTAボタンを非表示 */
    .header-cta {
        display: none !important;
    }
    
    /* ソーシャルメディアリンク - ハンバーガーメニュー内のみ非表示 */
    .nav .social-links {
        display: none !important;
    }
    
    .nav .social-link {
        display: none !important;
    }
    
    .nav .social-link:hover {
        display: none !important;
    }
    
    .nav .social-icon {
        display: none !important;
    }
}

/* PCではソーシャルメディアリンクを非表示 */
@media (min-width: 769px) {
    .social-links {
        display: none !important;
    }
}



/* ==============================================
   ヒーローセクション
============================================== */

.hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: 4.4rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    font-size: 1.8rem;
    padding: 16px 32px;
    border-radius: 28px;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==============================================
   Aboutセクション
============================================== */

.about {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-icon {
    margin-bottom: 16px;
    text-align: center;
}

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

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 16px;
}

.feature-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 16px;
}

/* ==============================================
   Solutionセクション
============================================== */

.solution {
    padding: 80px 0;
    background: #f8f9fa;
}

/* タブ */
.problem-tabs {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 48px;
    width: 100%;
}

.problem-tab {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 24px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.problem-tab:hover {
    border-color: #FF6F59;
    color: white;
    background: #FF6F59;
}

.problem-tab.active {
    background: #FF6F59;
    border-color: #FF6F59;
    color: white;
    position: relative;
}

.problem-tab.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #FF6F59;
}

.tab-number {
    font-size: 18px;
    font-weight: 600;
}

.tab-description {
    font-size: 14px;
    line-height: 1.3;
}

/* タブコンテンツ */
.problem-content {
    margin-bottom: 48px;
}

.problem-detail {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.problem-detail.active {
    display: block !important;
}

.problem-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.problem-detail-image {
    order: 1;
}

.problem-detail-text {
    order: 2;
}

.problem-detail-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 16px;
}

.problem-list {
    list-style: none;
}

.problem-list li {
    padding: 4px 0;
    color: #6c757d;
    position: relative;
    padding-left: 24px;
    font-size: 16px;
}

.problem-list li::before {
    content: '•';
    color: #FF6F59;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.problem-detail-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

/* ソリューションハイライト */
.arrow-down {
    text-align: center;
    margin: 32px 0;
}

.arrow-down img {
    width: 80px;
    height: auto;
}

.solution-content {
    margin-top: 32px;
}

.solution-highlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.solution-highlight-image {
    order: 1;
}

.solution-highlight-text {
    order: 2;
}

.solution-highlight-text h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 16px;
}

.solution-highlight-text p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 16px;
}

.solution-highlight-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

/* ==============================================
   Strengthセクション
============================================== */

.strength {
    padding: 80px 0;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.strength-number {
    font-size: 48px;
    font-weight: 700;
    color: #FF6F59;
    margin-bottom: 16px;
    opacity: 0.3;
}

.strength-title {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 16px;
}

.strength-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 16px;
}

/* ==============================================
   Examplesセクション
============================================== */

.examples {
    padding: 80px 0;
    background: #f8f9fa;
}

.examples-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 48px;
}

.examples-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
}

.example-image {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

        .example-image img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

/* ==============================================
   FAQセクション
============================================== */

.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

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

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

.faq-icon {
    background: #2C3E50;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 16px;
    font-size: 14px;
}

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

.faq-arrow {
    color: #6c757d;
    transition: transform 0.3s ease;
}

.faq-arrow img {
    width: 20px;
    height: auto;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow img {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 0;
    color: #6c757d;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    font-size: 16px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 24px 24px 24px;
}

/* ==============================================
   CTA・Contactセクション
============================================== */

.cta-section {
    background: #FF6F59;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: white;
    color: #FF6F59;
    font-size: 18px;
    padding: 16px 32px;
}

.cta-section .cta-button:hover {
    background: #f8f9fa;
    color: #e55a4a;
}

/* Contactセクション */
.contact {
    background: #FF6F59;
    padding: 80px 0;
    color: white;
}

.contact-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white; /* トップページのcontact-titleを白に */
}

.contact-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 48px;
    opacity: 0.9;
    color: white; /* トップページのcontact-subtitleを白に */
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form iframe {
    border: none;
    border-radius: 8px;
    background: white;
}

/* ==============================================
   フォームスタイル
============================================== */

.custom-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.required {
    color: #ff6b6b;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: #F8F9FA;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #E5E7EB;
    background: #F8F9FA;
}

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

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

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

.submit-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ローディング・メッセージ */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-size: 16px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.message {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
}

.success-message {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.error-message {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

.field-error {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 4px;
    font-weight: 500;
}

/* ==============================================
   Footer
============================================== */

.footer {
    background: #2C3E50;
    color: white;
    padding: 48px 0 16px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #FF6F59;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-social {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-social:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
}

.footer-divider {
    width: 66%;
    height: 1px;
    background: #6c757d;
    margin: 16px auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: left;
    width: 100%;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FF6F59;
}

/* ==============================================
   Company Page
============================================== */

.company-main {
    background: #f8f9fa;
}

/* ヒーローセクション */
.company-hero {
    background: url('/assets/images/about-banner.png') no-repeat center center;
    background-size: cover;
    padding: 160px 0 80px 0;
    color: white;
    position: relative;
}

.company-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.company-hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-message {
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 480px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

/* トップメッセージ */
.top-message {
    background: white;
    padding: 80px 0;
}

.message-header {
    margin-bottom: 48px;
}

.message-label {
    display: inline-block;
    color: #FF6F59;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-title {
    font-size: 36px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0;
}

.message-content {
    max-width: 800px;
}

.message-content p {
    color: #6c757d;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 24px;
}

/* ミッション・運営情報 */
.company-details {
    background: #f8f9fa;
    padding: 80px 0;
}

.details-content {
    max-width: 800px;
    margin: 0;
}

.operation-section {
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 24px;
}

.section-label {
    display: inline-block;
    color: #FF6F59;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-details .section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0;
}



.operation-info {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-label {
    font-weight: 600;
    color: #2C3E50;
    min-width: 100px;
}

.info-value {
    color: #6c757d;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-message {
        font-size: 20px;
    }
    
    .hero-img {
        max-width: 360px;
        height: 250px;
    }
    
    .company-hero-img {
        display: none; /* 代表者写真を非表示 */
    }
    
    .details-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .message-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .company-hero {
        padding: 120px 0 60px;
    }
    
    .top-message,
    .company-details {
        padding: 60px 0;
    }
    
    .hero-message {
        font-size: 18px;
    }
    
    .message-title {
        font-size: 24px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==============================================
   Media Page
============================================== */

.media-main {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.media-header {
    text-align: center;
    margin-bottom: 48px;
}

.media-title {
    font-size: 32px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 16px;
}

.media-subtitle {
    color: #6c757d;
    line-height: 1.6;
    font-size: 16px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    padding: 16px;
}

.article-text {
    color: #2C3E50;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* 記事リンク */
.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.article-link:hover {
    transform: translateY(-5px);
}

.article-card:hover .article-link {
    transform: translateY(-5px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }
    
    .article-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .media-title {
        font-size: 24px;
    }
}

/* ==============================================
   個別記事ページ
============================================== */

.article-main {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* パンくずリスト */
.breadcrumb {
    margin-bottom: 32px;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
    font-size: 14px;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: #6c757d;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #FF6F59;
}

.breadcrumb li:last-child {
    color: #2C3E50;
    font-weight: 500;
}

/* 記事ヘッダー */
.article-header {
    background: white;
    padding: 48px;
    margin-bottom: 32px;
    text-align: left;
}

.article-meta {
    margin-bottom: 24px;
}

.article-category {
    display: inline-block;
    background: #FF6F59;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-right: 16px;
}

.article-date {
    color: #6c757d;
    font-size: 14px;
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 24px;
    line-height: 1.4;
}

.article-excerpt {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
}

/* 記事本文 */
.article-content {
    background: white;
    padding: 48px;
    position: relative;
}

/* 目次 */
.article-toc {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
    max-width: 100%;
}

.toc-title {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FF6F59;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-list a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
    padding: 4px 0;
}

.toc-list a:hover {
    color: #FF6F59;
}

.toc-list a.active {
    color: #FF6F59;
    font-weight: 600;
}

.article-hero-image {
    margin-bottom: 32px;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    padding: 0;
    border-radius: 0;
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2C3E50;
    margin: 40px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #FF6F59;
}

.article-body .intro-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 32px 24px 24px 24px;
    margin: 32px 0;
    position: relative;
}

.article-body .intro-section h2 {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #495057;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    border: none;
}

.article-body .intro-section p {
    margin-bottom: 0;
    color: #495057;
    line-height: 1.6;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2C3E50;
    margin: 32px 0 16px 0;
}

.article-body p {
    color: #2C3E50;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-body ul {
    margin-bottom: 20px;
}

.article-body li {
    color: #2C3E50;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.article-body li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #FF6F59;
    font-weight: bold;
}

/* 記事タグ */
.article-tags {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e9ecef;
}

.article-tags .tag {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
}

/* 関連記事 */
.related-articles {
    background: white;
    padding: 48px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.related-title {
    font-size: 24px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 32px;
    text-align: center;
}

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

/* Media一覧ページの2カラムレイアウト */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

/* スマホでは1カラム表示 */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
        padding: 0 16px;
    }
}

.related-article {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-article:hover {
    transform: translateY(-3px);
}

/* Media一覧ページの記事カード */
.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-card .article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .article-content {
    padding: 20px;
}

.article-card .article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.article-card .article-date {
    color: #6c757d;
    font-size: 14px;
}

.article-card .article-category {
    background: #FF6F59;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.article-card .article-title {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    line-height: 1.4;
    margin: 0;
}

.related-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 16px;
}

.related-article-title {
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-article-excerpt {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 記事CTA */
.article-cta {
    background: linear-gradient(135deg, #FF6F59 0%, #e55a4a 100%);
    padding: 48px;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.article-cta .cta-button {
    display: inline-block;
    background: white;
    color: #FF6F59;
    padding: 16px 32px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-cta .cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* 個別記事のレスポンシブ対応 */
@media (max-width: 768px) {
    .article-header,
    .article-content,
    .related-articles,
    .article-cta {
        padding: 24px;
        margin-left: 16px;
        margin-right: 16px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .breadcrumb ol {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .article-header,
    .article-content,
    .related-articles,
    .article-cta {
        padding: 20px;
        margin-left: 12px;
        margin-right: 12px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-body h2 {
        font-size: 24px;
    }
    
    .article-body h3 {
        font-size: 20px;
    }
}

/* ==============================================
   Contact Page
============================================== */

.contact-page-main {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

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

.contact-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 16px;
}

.contact-page-subtitle {
    color: #6c757d;
    line-height: 1.6;
    font-size: 16px;
}

/* ==============================================
   Policy Page
============================================== */

.policy-main {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.policy-content {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.policy-title {
    font-size: 32px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
    text-align: center;
}

.policy-date {
    color: #6c757d;
    text-align: center;
    margin-bottom: 48px;
    font-size: 14px;
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 16px;
    border-left: 4px solid #FF6F59;
    padding-left: 16px;
}

.policy-section p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.policy-section ul {
    color: #6c757d;
    line-height: 1.6;
    margin-left: 20px;
}

.policy-section li {
    margin-bottom: 8px;
}

.policy-section a {
    color: #FF6F59;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-slogan {
    opacity: 0.8;
    font-size: 16px;
}

.footer-copyright {
    text-align: center;
    opacity: 0.6;
    font-size: 14px;
}

/* ==============================================
   レスポンシブデザイン
============================================== */

/* タブレット */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .problem-detail-content,
    .solution-highlight-content {
        gap: 32px;
        padding: 32px;
    }
}

/* === モバイル用スタイル（768px以下） === */
@media (max-width: 768px) {
    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: flex;
    }
    
    /* CTAボタンを非表示 */
    .header-cta {
        display: none;
    }
    
    /* ナビゲーションをモバイル用にスタイル */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1001;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-out;
    }
    
    /* アクティブ状態でメニューを表示 */
    .nav.active {
        transform: translateX(0);
    }
    
    /* ナビリストを縦並びに */
    .nav .nav-list {
        flex-direction: column !important;
        gap: 0 !important;
        text-align: center;
        width: 100%;
    }
    
    /* ナビリンクのモバイル用スタイル */
    .nav .nav-link {
        font-size: 20px !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid #e9ecef;
        display: block !important;
        color: #2C3E50 !important;
        width: 100%;
    }
    
    .nav .nav-link:hover {
        color: #FF6F59 !important;
        background: rgba(255, 111, 89, 0.1);
    }
    
    /* ヒーロー */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    /* セクション共通 */
    .section-title {
        font-size: 28px;
    }
    
    .examples-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .section-label {
        font-size: 16px;
    }
    
    .about, .solution, .strength, .examples, .faq, .contact {
        padding: 60px 0;
    }
    
    /* タブ */
    .problem-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .problem-tab {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 2px solid #e9ecef;
        background: white;
        color: #6c757d;
        font-size: 12px;
        position: relative;
    }
    
    .problem-tab.active {
        background: #FF6F59;
        border-color: #FF6F59;
        color: white;
    }
    
    .problem-tab.active::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #FF6F59;
    }
    
    .tab-number {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 2px;
    }
    
    .tab-description {
        display: none;
    }
    
    /* コンテンツ */
    .problem-detail-content,
    .solution-highlight-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    /* スマートフォンで画像を上、テキストを下に配置 */
    .problem-detail-image,
    .solution-highlight-image {
        order: 1;
    }
    
    .problem-detail-text,
    .solution-highlight-text {
        order: 2;
    }
    
    .problem-detail-text h3 {
        font-size: 1.8rem;
    }
    
    .solution-highlight-text h3 {
        font-size: 1.8rem;
    }
    
    /* スマホ用画像スタイル */
    .problem-detail-image img,
    .solution-highlight-image img {
        width: 80%;
        margin: 0 auto;
        display: block;
    }
    
    /* スマホ専用改行を表示 */
    .sp-only {
        display: inline;
    }

    /* ナビゲーション */
    .nav-list {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    /* その他 */
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .custom-form {
        padding: 24px 12px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .contact-title {
        font-size: 28px;
    }
}

/* 小さいスマートフォン */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .examples-title {
        font-size: 24px;
    }
    
    .hero-cta,
    .cta-button {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    .problem-tab {
        width: 60px;
        height: 60px;
    }
    
    .tab-number {
        font-size: 14px;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .example-image img {
        height: 250px;
    }
}