/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ========================================
   基本スタイル
======================================== */
body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ========================================
   レイアウト
======================================== */
/* コンテナ */
.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    width: 100%;
    background-color: #fff;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   FV ラッパー
======================================== */
.fv-wrapper {
    position: relative;
    width: 100%;
}

/* ========================================
   ファーストビュー全体
======================================== */
.fv-all-section {
    width: 100%;
    position: relative;
    z-index: 1;
}

.fv-all-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.fv-all-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   FV CTAボタン
======================================== */
.fv-cta-button {
    width: 100%;
    padding: 0 20px;
    margin: -60px auto 0;
    max-width: 600px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fv-cta-button:hover {
    transform: scale(1.02);
}

.fv-cta-button-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

/* ========================================
   LINE友だち追加
======================================== */
.line-add-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.line-add-text {
    color: #0F766E;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.line-icon-img {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
}

.add-text {
    color: #0F766E;
    font-weight: bold;
}

.time-text {
    color: #ff6600;
    font-size: 20px;
    font-weight: bold;
}

/* ========================================
   利用条件説明セクション
======================================== */
.conditions-section {
    background-color: #FFF9E1;
    padding: 40px 20px;
    margin: 0;
}

.conditions-container {
    max-width: 600px;
    margin: 0 auto;
}

.conditions-content {
    background-color: #ffffff;
    border: 2px solid #ff6600;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}

.conditions-header {
    background-color: #ff6600;
    padding: 15px 20px;
    margin: 0;
}

.conditions-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.05em;
}

.conditions-items {
    padding: 0;
    margin: 0;
}

.condition-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.condition-item:last-child {
    border-bottom: none;
}

.check-icon {
    background-color: #ff6600;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.condition-text {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
}

.condition-note {
    padding: 10px 20px;
    background-color: #fff8f0;
    border-top: 1px solid #f0f0f0;
}

.condition-note p {
    color: #666;
    font-size: 13px;
    margin: 0;
    text-align: center;
}

/* ========================================
   受給ステップセクション
======================================== */
.flow-section {
    background-color: #FEF8E9;
    padding: 40px 20px;
    margin: 0;
}

.flow-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* タイトル部分 */
.flow-header {
    text-align: center;
    margin-bottom: 40px;
}

.flow-header-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}


/* ステップ部分 */
.flow-steps {
    position: relative;
}

.step-flow-image {
    max-width: 100%;
    height: auto;
}


/* ========================================
   CTAセクション
======================================== */
.cta-section {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    position: relative;
}

/* 上部要素：オレンジ三角形 */
.cta-triangle {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.triangle-down {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 25px solid #ff6600;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 中央要素：メインコンテンツ */
.cta-main-content {
    text-align: center;
    margin-bottom: 30px;
}

.cta-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.amount-highlight {
    color: #dc3545;
    font-weight: 900;
}

/* 下部要素：CTAボタン */
.cta-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* LINE友だち追加 */
.cta-line-add {
    display: flex;
    justify-content: center;
}

.cta-line-text {
    color: #0F766E;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-line-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
}

.cta-add-text {
    color: #0F766E;
    font-weight: bold;
}

.cta-time-text {
    color: #ff6600;
    font-size: 20px;
    font-weight: bold;
}

/* CTAボタン */
.cta-button-wrapper {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button-wrapper:hover {
    transform: scale(1.02);
}

.cta-button-gif {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

/* ========================================
   失業保険とは？セクション
======================================== */
.whatis-section {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
}

.whatis-container {
    max-width: 600px;
    margin: 0 auto;
}

.whatis-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   サービス特徴セクション
======================================== */
.service-section {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
}

.service-container {
    max-width: 600px;
    margin: 0 auto;
}

.service-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   お客様の声セクション
======================================== */
.voice-section {
    padding: 0;
    background-color: #ffffff;
}

.voice-header {
    background: linear-gradient(135deg, #00C2BA 0%, #3D81E2 100%);
    border-radius: 0 0 50% 50%;
    padding: 40px 20px 60px;
    text-align: center;
    margin-bottom: 30px;
}

.voice-title {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.1em;
}

.voice-container {
    padding: 0 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* スライダー本体 */
.voice-slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 0 20px;
}

.voice-slider {
    display: flex;
    gap: 20px;
    width: max-content;
}

.voice-slide {
    scroll-snap-align: center;
    flex: 0 0 calc(100vw - 40px);
    max-width: 560px;
}

.voice-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* インジケーター */
.voice-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #3D81E2;
}

/* スクロールヒント */
.scroll-hint {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 12px;
    font-weight: bold;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* スクロールバー非表示 */
.voice-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.voice-slider-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========================================
   FAQセクション
======================================== */
.faq-section {
    background-color: #ffffff;
    padding: 40px 20px;
    margin: 0;
}

.faq-container {
    max-width: 600px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.faq-highlight {
    background-color: #ff6600;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

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

.faq-toggle {
    margin-left: 15px;
    flex-shrink: 0;
}

.faq-close,
.faq-open {
    font-size: 24px;
    color: #999;
    font-weight: bold;
}

.faq-close {
    display: none;
}

.faq-open {
    display: inline;
}

.faq-answer {
    display: none;
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.faq-answer.active {
    display: flex;
}

.faq-answer-icon {
    background-color: #0F766E;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-answer-content {
    flex: 1;
}

.faq-answer-content p {
    margin: 0 0 10px 0;
    line-height: 1.6;
    color: #333;
}

.faq-answer-content ul {
    margin: 10px 0;
    padding-left: 0;
    list-style: none;
}

.faq-answer-content li {
    margin: 5px 0;
    color: #333;
    line-height: 1.6;
}

/* アクティブ状態のスタイル */
.faq-item.active .faq-close {
    display: inline;
}

.faq-item.active .faq-open {
    display: none;
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: #3D81E2;
    color: white;
    padding: 40px 0;
    margin-top: 0;
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ========================================
   コンテンツセクション
======================================== */
.content-section {
    margin-bottom: 30px;
    margin-top: 50px;
}

.content-section:first-of-type {
    margin-top: 30px;  /* CTAボタンがセクション内に収まるため間隔を調整 */
}

.content-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    border-radius: 8px;
}

.content-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* ========================================
   CTAボタン（汎用）
======================================== */
.cta-button {
    display: block;
    width: 100%;
    margin: 25px 0;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.02);
}

.cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

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

/* タブレット・PC対応 (768px以上) */
@media (min-width: 768px) {
    .container {
        max-width: 600px; /* 参考LPと同じサイズ */
        margin: 0 auto;
    }

    body {
        background-color: #fff; /* PCの余白部分は白背景 */
    }

    .fv-all-image {
        max-width: 600px;
    }

    .fv-cta-button {
        max-width: 600px;
    }


    .line-icon-img {
        width: 36px;
        height: 36px;
    }

    .line-add-text {
        font-size: 20px;
    }

    .time-text {
        font-size: 22px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-button-gif {
        max-width: 420px;
    }

    .cta-line-icon {
        width: 36px;
        height: 36px;
    }

    .cta-line-text {
        font-size: 20px;
    }

    .cta-time-text {
        font-size: 22px;
    }

    .faq-title {
        font-size: 32px;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }

    .conditions-title {
        font-size: 20px;
    }

    .condition-text {
        font-size: 16px;
    }

    .condition-note p {
        font-size: 14px;
    }

}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
    .fv-cta-button {
        padding: 0 15px;
        margin-top: -40px;
    }

    .conditions-section {
        padding: 10px 20px 0 20px;
    }

    .line-add-text {
        font-size: 16px;
    }

    .time-text {
        font-size: 18px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-button-gif {
        max-width: 340px;
    }

    .cta-line-text {
        font-size: 16px;
    }

    .cta-time-text {
        font-size: 18px;
    }

    .faq-title {
        font-size: 24px;
    }

    .faq-text {
        font-size: 15px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-link {
        font-size: 15px;
    }

    .conditions-title {
        font-size: 16px;
    }

    .conditions-header {
        padding: 12px 15px;
    }

    .condition-item {
        padding: 12px 15px;
    }

    .condition-text {
        font-size: 14px;
    }

    .condition-note {
        padding: 8px 15px;
    }

    .condition-note p {
        font-size: 12px;
    }
}

/* 小型スマホ対応 (390px以下) */
@media (max-width: 390px) {
    .container {
        max-width: 100%;
    }

    .header {
        padding: 0;
    }

    .fv-cta-button {
        padding: 0 10px;
        margin-top: -40px;
    }

    .line-add-text {
        font-size: 14px;
    }

    .line-icon-img {
        width: 28px;
        height: 28px;
    }

    .time-text {
        font-size: 16px;
    }

    .triangle-down {
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-top: 20px solid #ff6600;
    }

    .cta-title {
        font-size: 20px;
    }

    .cta-button-gif {
        max-width: 300px;
    }

    .cta-line-text {
        font-size: 14px;
    }

    .cta-line-icon {
        width: 28px;
        height: 28px;
    }

    .cta-time-text {
        font-size: 16px;
    }

    .faq-title {
        font-size: 20px;
    }

    .faq-text {
        font-size: 14px;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-answer {
        padding: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-link {
        font-size: 14px;
    }

    .company-name {
        font-size: 16px;
    }

    .company-ceo {
        font-size: 13px;
    }

    .conditions-section {
        padding: 10px 10px 0 10px;
    }

    .conditions-container {
        padding: 10px 10px;
    }

    .conditions-title {
        font-size: 15px;
    }

    .conditions-header {
        padding: 10px 12px;
    }

    .condition-item {
        padding: 10px 12px;
        gap: 10px;
    }

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

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

    .condition-note {
        padding: 6px 12px;
    }

    .condition-note p {
        font-size: 11px;
    }
}

/* ========================================
   CTAリンク
======================================== */
.cta-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cta-link:hover {
    transform: scale(1.02);
}

.cta-button-image,
.cta-button-gif {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}