/* 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: 5px 20px;
}

.logo {
    display: inline-block;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero-section {
    width: 100%;
    position: relative;
    background-image: url('../image/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 20px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}

/* .hero-image はCSS背景画像に置き換えたため削除 */

/* ヒーローCTAボタン */
.hero-cta-button {
    width: 100%;
    max-width: 340px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

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

/* ========================================
   緊急注意喚起（ヒーロー内要素）
======================================== */
.urgent-notice-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.urgent-notice {
    background-color: #dc3545;  /* 赤背景 */
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    width: 100%;
    max-width: 480px;
}

.caution-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.notice-text {
    display: inline-block;
    line-height: 1.4;
}

/* ========================================
   申請実績（ヒーロー内要素）
======================================== */
.achievement-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: -30px;
}

.achievement-badge {
    background-color: #0964EF;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(9, 100, 239, 0.3);
    position: relative;
    display: inline-block;
}

/* 吹き出しの矢印部分 */
.achievement-badge::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 10px solid white;
}

.achievement-badge::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 8px solid #0964EF;
    z-index: 1;
}

.achievement-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.achievement-label {
    font-size: 18px;
    line-height: 1.2;
}

.achievement-number {
    color: #FDF151;
    font-size: 42px;
    font-weight: 900;
    font-style: italic;
}

.achievement-unit {
    font-size: 20px;
}

.achievement-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

/* ========================================
   メインコピー
======================================== */
.main-copy-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: -30px;
}

.main-copy-image {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* ========================================
   人物画像
======================================== */
.character-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.character-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}


/* ========================================
   平均受給額
======================================== */
.average-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.average-image {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* ========================================
   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の余白部分は白背景 */
    }

    .hero-content {
        gap: 15px;
        padding: 0 20px;
    }

    .achievement-image {
        max-width: 400px;
    }

    .main-copy-image {
        max-width: 500px;
    }

    .character-image {
        max-width: 450px;
    }

    .average-image {
        max-width: 450px;
    }

    .hero-cta-button {
        max-width: 400px;
    }

    .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) {
    .hero-content {
        gap: 8px;
    }

    .urgent-notice {
        font-size: 14px;
        padding: 12px 15px;
        width: 90%;
    }

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

    .achievement-image {
        max-width: 400px;
    }

    .main-copy-image {
        width: 90%;
        max-width: 380px;
    }

    .character-image {
        max-width: 350px;
    }

    .average-image {
        max-width: 350px;
    }

    .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: 12px 15px;
    }

    .logo-image {
        height: 35px;
    }

    .hero-content {
        gap: 6px;
        padding: 0 10px;
    }

    .hero-cta-button {
        max-width: 320px;
    }

    .urgent-notice {
        font-size: 13px;
        padding: 10px 12px;
        gap: 8px;
        width: 95%;
    }

    .caution-icon {
        width: 18px;
        height: 18px;
    }

    .achievement-image {
        max-width: 400px;
    }

    .main-copy-image {
        width: 95%;
        max-width: 320px;
    }

    .character-image {
        max-width: 300px;
    }

    .average-image {
        max-width: 300px;
    }

    .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-container {
        padding: 30px 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;
    }
}