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

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* ヘッダー */
.header {
    background-color: #1a202c;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* メインコンテンツ */
main {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

/* ヒーローセクション */
.hero-section {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.padding_box {
    padding: 0 1.5rem 0.5rem 1.5rem;
}

.hero-title {
    margin-bottom: 1rem;
}

.highlight {
    color: #f43f5e;
    font-weight: bold;
}

.update-date {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    margin-top: 0.75rem;
}

.update-date i {
    margin-right: 0.25rem;
}

.hero-image-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    /* height: 400px; */
    /* 画像を大きくする */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.hero-overlay-bottom {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

/* アプリランキング */
.ranking-section {
    margin-bottom: 3rem;
}

.app-card {
    position: relative;
    margin-bottom: 4rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.rank-1 {
    border: 2px solid #f59e0b;
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.3);
}

.rank-2 {
    border: 2px solid #9ca3af;
}

.rank-3 {
    border: 2px solid #b45309;
}

/* 王冠ランキングスタイル */
.crown-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.crown-badge svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.3));
}

.crown-gold {
    color: #ffd700;
}

.crown-silver {
    color: #c0c0c0;
}

.crown-bronze {
    color: #cd7f32;
}

.app-card-content {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom right, #fffbeb, white);
}

.rank-1 .app-card-content {
    background: linear-gradient(to bottom right, #fffbeb, white);
}

.rank-2 .app-card-content {
    background: linear-gradient(to bottom right, #f9fafb, white);
}

.rank-3 .app-card-content {
    background: linear-gradient(to bottom right, #fffbeb, white);
}

.app-image-container {
    position: relative;
    height: 250px;
}

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

.app-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(to right, #f59e0b, #fbbf24);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-details {
    padding: 1.5rem;
}

.app-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.rank-1 .app-title {
    font-size: 1.75rem;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
}

.iconbox img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
}



.crown-icon {
    color: #f59e0b;
    margin-left: 0.5rem;
}

.app-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #fbbf24;

}

.app-rating i {
    color: #fbbf24;
    margin-right: 0.125rem;
}

.app-rating span {
    margin-left: 0.5rem;
    color: #6b7280;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.app-tag {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #e5e7eb;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.rank-1 .app-tag {
    border-color: #fef3c7;
}

.app-description {
    color: #4b5563;
    margin-bottom: 1rem;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    color: #f43f5e;

}

.feature i {
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.feature span {
    font-size: 0.875rem;
}

.feature i {
    color: #f43f5e;
}

.feature-icon-2 {
    color: #f43f5e;
}

.feature-icon-3 {
    color: #f43f5e;
}

.app-footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.cta {
    margin: 0 auto;
}

/* .app-footer a {
    margin: 0 auto;
} */

.app-price {
    font-size: 0.875rem;
    color: #4b5563;
    white-space: pre-line;
}

.price-label {
    font-weight: bold;
}

.app-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #06c755, #06c755);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.5rem 3rem;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    /* display: block; */
    animation: pulse-scale 2s infinite ease-in-out;
}

.app-button img {
    width: 60px;
    height: 60px;
    margin: 0;
}


.app-button:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.05);
}

/* ユーザー体験談 */
.testimonials-section {
    margin-bottom: 3rem;
}

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-image-container {
    position: relative;
    height: 12rem;
}

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

.testimonial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.testimonial-rank-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rank-1-testimonial {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
}

.rank-2-testimonial {
    background: linear-gradient(to right, #9ca3af, #d1d5db);
}

.testimonial-user {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 2px solid white;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.testimonial-user-info {
    margin-left: 0.75rem;
    color: white;
}

.testimonial-user-name {
    font-weight: 500;
    font-size: 1.125rem;
}

.testimonial-user-details {
    font-size: 0.875rem;
}

.testimonial-content {
    padding: 1.5rem;
    background: linear-gradient(to bottom right, #f9fafb, white);
}

.testimonial-rating {
    display: flex;
    margin-bottom: 0.75rem;
}

.testimonial-rating i {
    color: #fbbf24;
    margin-right: 0.125rem;
}

.testimonial-text {
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    color: #e5e7eb;
    font-size: 2rem;
    transform: translateX(-0.5rem) translateY(-0.5rem);
}

.testimonial-text p {
    padding-left: 1.5rem;
    color: #4b5563;
    font-size: 0.875rem;
}

/* 機能比較表 */
.comparison-section {
    margin-bottom: 3rem;
}

.table-container {
    overflow-x: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: none;
}

.comparison-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tr:last-child {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.feature-column {
    width: 25%;
    text-align: left;
    font-weight: 500;
    border-right: 1px solid #e5e7eb;
}

.app-column {
    width: 25%;
}

.rank-1-column {
    background: linear-gradient(to bottom, #fffbeb, white);
}

.rank-2-column {
    background: linear-gradient(to bottom, #f9fafb, white);
}

.rank-3-column {
    background: linear-gradient(to bottom, #fffbeb, white);
}

.column-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rank-1-icon {
    background: linear-gradient(to right, #f59e0b, #fbbf24);
}

.rank-2-icon {
    background: linear-gradient(to right, #9ca3af, #d1d5db);
}

.rank-3-icon {
    background: linear-gradient(to right, #b45309, #92400e);
}

.column-rank {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.rank-1-column .column-rank {
    color: #b45309;
}

.rank-2-column .column-rank {
    color: #6b7280;
}

.rank-3-column .column-rank {
    color: #92400e;
}

.column-name {
    font-weight: 500;
}

.rank-1-cell {
    background-color: rgba(254, 243, 199, 0.3);
}

.check-icon {
    color: #10b981;
}

.x-icon {
    color: #ef4444;
}

/* CTA */
.cta-section {
    background: linear-gradient(to right, #f43f5e, #ec4899);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: white;
    color: #f43f5e;
    border: none;
    border-radius: 9999px;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #f9fafb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* フッター */
.footer {
    background: #2e2e2e;
    padding: 30px;
    text-align: center;
}

.contact_box {
    border: 1px solid #fff;
    background: #ffffff;
    border-radius: 15px;
}

.contact_box a {
    display: block;
    padding: 5px;
    border-radius: 15px;
    font-weight: bold;
    transition: 0.2s;
    text-decoration: none;
    color: #333333;
}

.contact_box a:hover {
    background: #333333;
    color: #fff;
}

.copy {
    display: block;
    margin-top: 20px;
    color: #ffffff;
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
    .app-card-content {
        flex-direction: row;
    }

    .app-image-container {
        width: 33.333%;
        height: auto;
    }

    .app-details {
        width: 66.667%;
    }

    .app-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* アニメーション */

/* 口コミスタイル */
.app-reviews {
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.review-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.review-title i {
    color: #f43f5e;
    margin-right: 0.5rem;
}

.review-item {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.reviewer-info {
    font-size: 0.875rem;
    font-weight: 500;
}

.review-rating {
    display: flex;
    color: #fbbf24;

}

.review-rating i {
    color: #fbbf24;
    font-size: 0.875rem;
    margin-right: 0.125rem;
}

.review-text {
    font-size: 0.875rem;
    color: #4b5563;
}

/* ボタンアニメーション */
.app-button {
    animation: pulse-scale 2s infinite ease-in-out;
}

@keyframes pulse-scale {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 15px rgba(244, 63, 94, 0.3);
    }
}

/* アニメーション用クラス */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 利用者の声のスタイル */
.user-reviews {
    width: 100%;
    margin-top: 1.5rem;
}

.reviews-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.review-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.reviewer-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    overflow: hidden;
    margin-right: 0.75rem;
    border: 1px solid #e5e7eb;
}

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

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-weight: 500;
    font-size: 0.875rem;
}

.reviewer-meta {
    font-size: 0.75rem;
    color: #6b7280;
}

.review-rating {
    display: flex;
    margin-bottom: 0.5rem;
}

.review-rating i {
    color: #fbbf24;
    font-size: 0.875rem;
    margin-right: 0.125rem;
}

.review-text {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

/* ボタンのスタイル調整 */
.app-button {
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
}

/* レスポンシブ調整 */
@media (min-width: 768px) {
    .app-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .review-container {
        flex-direction: row;
    }

    .app-button {
        align-self: center;
        width: auto;
        min-width: 200px;
        text-align: center;
    }

    /* FV画像をさらに大きく */
    .hero-image-container {
        height: 500px;
    }

    /* 王冠バッジを大きく */
    .crown-badge {
        width: 50px;
        height: 50px;
    }
}

/* 王冠アニメーション */
.crown-badge svg {
    transform-origin: center bottom;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-3px) rotate(3deg);
    }
}