/* ==========================================
   モバイルファースト Apple風デザイン
   ========================================== */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 - モバイル優先 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1d1d1f;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* コンテナ - モバイル優先 */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   ヘッダー - モバイル優先
   ========================================== */
.header {
    text-align: center;
    padding: 60px 20px 40px;
    background: #000000;
    position: relative;
}

.main-title {
    font-size: 2rem;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 12px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1rem;
    color: #a1a1a6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ==========================================
   セクション - モバイル優先
   ========================================== */
.section {
    padding: 40px 0;
}

.content-box {
    background: #fbfbfd;
    padding: 32px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ==========================================
   イントロ
   ========================================== */
.intro {
    background: #f5f5f7;
}

.intro p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #1d1d1f;
    line-height: 1.6;
}

.intro p:last-of-type {
    margin-bottom: 0;
}

.intro strong {
    color: #0071e3;
    font-weight: 600;
}

/* ==========================================
   確認パート
   ========================================== */
.check {
    background: #ffffff;
}

.highlight-box {
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.check-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.check-list li {
    padding: 16px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9375rem;
    color: #1d1d1f;
    position: relative;
    padding-left: 40px;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #0071e3;
    border-radius: 50%;
}

.check-list li::after {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
}

.check-note {
    margin-top: 20px;
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
    font-weight: 500;
    color: #0071e3;
    border: 1px solid rgba(0, 113, 227, 0.2);
    font-size: 0.9375rem;
}

/* ==========================================
   オファー
   ========================================== */
.offer {
    background: #f5f5f7;
}

.offer p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.project-image {
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 12px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 16px;
    flex-shrink: 0;
    line-height: 1;
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.feature-content p {
    color: #6e6e73;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.emphasis-text {
    margin-top: 24px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #0071e3;
    font-size: 1rem;
    color: #1d1d1f;
    line-height: 1.6;
}

.emphasis-text strong {
    color: #0071e3;
    font-weight: 600;
}

/* ==========================================
   正直なスタンス
   ========================================== */
.honest {
    background: #ffffff;
}

.honest-box {
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.honest p {
    margin-bottom: 16px;
}

.honest-point {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.honest-point strong {
    color: #1d1d1f;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.honest-detail {
    color: #6e6e73;
    margin-top: 8px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* ==========================================
   料金
   ========================================== */
.pricing {
    background: #f5f5f7;
}

.pricing-box {
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card.special {
    background: #000000;
    border: none;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0071e3;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.pricing-card.special .pricing-header h3 {
    color: #f5f5f7;
}

.pricing-body {
    text-align: center;
    padding: 16px 0;
}

.price-amount {
    font-size: 2rem;
    font-weight: 600;
    color: #1d1d1f;
    display: block;
    margin: 12px 0;
    letter-spacing: -0.02em;
}

.pricing-card.special .price-amount {
    color: #ffffff;
}

.price-note {
    font-size: 0.875rem;
    color: #86868b;
    margin-top: 8px;
    line-height: 1.5;
}

.pricing-card.special .price-note {
    color: #a1a1a6;
}

.pricing-rules {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-rules h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.pricing-rules ul {
    list-style: none;
    padding: 0;
}

.pricing-rules li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #1d1d1f;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.pricing-rules li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: 600;
    font-size: 1.25rem;
}

.pricing-rules li strong {
    font-weight: 600;
}

.pricing-summary {
    margin-top: 20px;
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1d1d1f;
    border: 2px solid #0071e3;
    text-align: center;
    line-height: 1.5;
}

.pricing-summary strong {
    color: #0071e3;
    font-weight: 600;
}

/* ==========================================
   フロー
   ========================================== */
.flow {
    background: #ffffff;
}

.flow-intro {
    margin-bottom: 24px;
    font-size: 1rem;
}

.flow-steps {
    margin: 24px 0;
}

.flow-step {
    margin-bottom: 16px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.step-number {
    background: #000000;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-content p {
    color: #6e6e73;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.flow-note {
    margin-top: 24px;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.flow-note strong {
    color: #1d1d1f;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.flow-note p {
    color: #6e6e73;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.flow-note p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   締切
   ========================================== */
.deadline {
    background: #f5f5f7;
}

.deadline-box {
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.deadline-box p {
    font-size: 1rem;
    color: #1d1d1f;
    line-height: 1.6;
    margin-bottom: 12px;
}

.deadline-box p:last-of-type {
    margin-bottom: 0;
}

.deadline-note {
    margin: 16px 0;
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
    font-weight: 500;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9375rem;
}

/* ==========================================
   CTA - モバイル優先
   ========================================== */
.cta {
    background: #000000;
    padding: 0;
}

.cta-box {
    background: #000000;
    text-align: center;
    padding: 60px 20px;
}

.cta-box .section-title {
    color: #f5f5f7;
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.cta-text strong {
    color: #0071e3;
}

.cta-subtext {
    font-size: 0.9375rem;
    color: #a1a1a6;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    background: #0071e3;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 16px 0;
}

.cta-button:active {
    transform: scale(0.96);
    background: #0077ed;
}

.cta-note {
    font-size: 0.8125rem;
    color: #86868b;
    margin-top: 16px;
}

/* ==========================================
   クロージング
   ========================================== */
.closing {
    background: #ffffff;
}

.closing-box {
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.closing-box p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #1d1d1f;
    line-height: 1.6;
}

.closing-box p:last-of-type {
    margin-bottom: 0;
}

.closing-final {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 24px !important;
    letter-spacing: -0.01em;
}

/* ==========================================
   フッター
   ========================================== */
.footer {
    text-align: center;
    padding: 32px 20px;
    color: #6e6e73;
    font-size: 0.8125rem;
    background: #f5f5f7;
}

/* ==========================================
   タブレット対応 (min-width: 734px)
   ========================================== */
@media (min-width: 734px) {
    .container {
        padding: 0 32px;
    }

    .header {
        padding: 80px 32px 60px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .section {
        padding: 60px 0;
    }

    .content-box {
        padding: 40px 32px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* 画像とリストを横並びに */
    .feature-container {
        flex-direction: row;
        gap: 24px;
        align-items: flex-start;
    }

    .project-image {
        width: 45%;
        max-width: 320px;
    }

    .feature-list {
        flex: 1;
    }

    .feature-item {
        padding: 24px;
    }

    .flow-step {
        padding: 24px;
    }

    .cta-box {
        padding: 80px 32px;
    }

    .cta-box .section-title {
        font-size: 2.5rem;
    }

    .cta-text {
        font-size: 1.25rem;
    }

    .cta-button {
        font-size: 1.0625rem;
        padding: 14px 40px;
    }
}

/* ==========================================
   デスクトップ対応 (min-width: 1068px)
   ========================================== */
@media (min-width: 1068px) {
    .container {
        max-width: 980px;
        padding: 0 22px;
    }

    .header {
        padding: 100px 22px 80px;
    }

    .main-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .section {
        padding: 80px 0;
    }

    .content-box {
        padding: 50px 60px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .feature-item {
        padding: 28px;
    }

    .feature-item:hover {
        border-color: rgba(0, 0, 0, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .flow-step {
        padding: 28px;
        display: flex;
        align-items: flex-start;
    }

    .step-number {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .cta-box {
        padding: 100px 60px;
    }

    .cta-box .section-title {
        font-size: 3rem;
    }

    .cta-text {
        font-size: 1.375rem;
    }

    .cta-button {
        font-size: 1.0625rem;
        padding: 14px 48px;
    }

    .cta-button:hover {
        background: #0077ed;
        box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
    }
}

/* ==========================================
   アニメーション
   ========================================== */

/* フェードインアップ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スライドイン(左から) */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* スライドイン(右から) */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* スケールアップ */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* バウンス */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* パルス */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ロテート */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* シェイク */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* セクションにフェードイン */
.section {
    animation: fadeInUp 0.8s ease-out;
}

/* チェックリストアイテムのアニメーション */
.check-list li {
    animation: slideInLeft 0.5s ease-out;
    animation-fill-mode: both;
}

.check-list li:nth-child(1) { animation-delay: 0.1s; }
.check-list li:nth-child(2) { animation-delay: 0.2s; }
.check-list li:nth-child(3) { animation-delay: 0.3s; }
.check-list li:nth-child(4) { animation-delay: 0.4s; }
.check-list li:nth-child(5) { animation-delay: 0.5s; }

/* 特徴リストのアニメーション */
.feature-item {
    animation: scaleUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.3s; }
.feature-item:nth-child(3) { animation-delay: 0.4s; }

/* プロジェクト画像のアニメーション */
.project-image {
    animation: slideInLeft 0.8s ease-out;
}

/* アイコンの回転アニメーション(ホバー時) */
.feature-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    animation: bounce 0.6s ease;
}

/* CTAボタンのアニメーション */
.cta-button {
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    animation: none;
}

/* ステップ番号のアニメーション */
.step-number {
    animation: scaleUp 0.5s ease-out;
    animation-fill-mode: both;
}

.flow-step:nth-child(1) .step-number { animation-delay: 0.1s; }
.flow-step:nth-child(2) .step-number { animation-delay: 0.2s; }
.flow-step:nth-child(3) .step-number { animation-delay: 0.3s; }

/* 料金カードのアニメーション */
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }

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

/* 特別料金カードのバッジアニメーション */
.pricing-badge {
    animation: shake 0.5s ease-out 1s;
}

/* ヘッダータイトルのアニメーション */
.main-title {
    animation: fadeInUp 0.8s ease-out;
}

.subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
}

/* セクションタイトルのアニメーション */
.section-title {
    animation: slideInLeft 0.6s ease-out;
}

/* emphasis-textのアニメーション */
.emphasis-text {
    animation: scaleUp 0.6s ease-out 0.5s;
    animation-fill-mode: both;
}

/* チェックマークのアニメーション */
.check-list li::before {
    animation: scaleUp 0.4s ease-out;
    animation-fill-mode: both;
}

/* ホバー時のインタラクティブアニメーション */
.content-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 1068px) {
    .content-box:hover {
        transform: translateY(-3px);
    }
}

/* スクロール時のアニメーション用クラス */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   印刷対応
   ========================================== */
@media print {
    body {
        background: white;
    }

    .content-box {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .cta-button {
        border: 2px solid #0071e3;
        color: #0071e3;
        background: white;
    }

    .header {
        background: white;
    }

    .main-title,
    .subtitle {
        color: black;
    }
}