/* ========================================
   繝ｪ繧ｻ繝�ヨ & 繝吶�繧ｹ繧ｹ繧ｿ繧､繝ｫ
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 閭梧勹濶ｲ繧定埋縺�ヱ繧ｹ繝�Ν繝悶Ν繝ｼ縺ｫ螟画峩 */
    --bg-primary: #f0f4f8;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f3f5;

    /* 繝代せ繝�Ν繧ｫ繝ｩ繝ｼ */
    --pastel-blue: #6ea8fe;
    --pastel-pink: #f687b3;
    --pastel-purple: #b197fc;
    --pastel-cyan: #66d9e8;
    --pastel-yellow: #ffd43b;
    --pastel-green: #8ce99a;

    /* 繧｢繧ｯ繧ｻ繝ｳ繝医き繝ｩ繝ｼ */
    --accent-primary: #6ea8fe;
    --accent-secondary: #f687b3;
    --accent-success: #8ce99a;
    --accent-warning: #ffd43b;
    --accent-danger: #ff8787;

    /* RGB values for translucent colors */
    --primary-rgb: 110, 168, 254;
    --secondary-rgb: 246, 135, 179;

    /* 繝�く繧ｹ繝医き繝ｩ繝ｼ - 譛ｬ譁�ｒ逵溘▲鮟偵↓霑代＞繧ｰ繝ｬ繝ｼ縺ｫ */
    --text-primary: #1a202c;
    --text-secondary: #2d3748;
    --text-muted: #4a5568;
    --text-white: #ffffff;

    /* 繧ｰ繝ｩ繝��繧ｷ繝ｧ繝ｳ */
    --gradient-main: linear-gradient(135deg, #6ea8fe 0%, #b197fc 100%);
    --gradient-pink: linear-gradient(135deg, #f687b3 0%, #ffa8cc 100%);
    --gradient-success: linear-gradient(135deg, #8ce99a 0%, #66d9e8 100%);

    /* 繧ｷ繝｣繝峨え - 蟆代＠縺励▲縺九ｊ縺ｨ縺励◆蠖ｱ縺ｫ螟画峩 */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 10px 30px rgba(var(--primary-rgb), 0.25);

    /* 繝輔か繝ｳ繝� */
    --font-main: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-accent: "Poppins", "Helvetica Neue", Arial, sans-serif;

    /* 繝医Λ繝ｳ繧ｸ繧ｷ繝ｧ繝ｳ */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}


body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   閭梧勹陬�｣ｾ
   ======================================== */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.background-decoration::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.background-decoration::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
}


/* ========================================
   霑ｽ蜉��夂ｶ壹″繧定ｪｭ繧繝ｻ謌ｻ繧九�繧ｿ繝ｳ
   ======================================== */
.read-more-wrapper {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.btn-read-more,
.back-to-calc .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #4A90E2;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-read-more:hover,
.back-to-calc .btn-primary:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

.back-to-calc {
    margin-top: 3rem;
    text-align: center;
    border-top: 1px dashed rgba(var(--primary-rgb), 0.2);
    padding-top: 2rem;
}

/* 蛟句挨險倅ｺ九繝ｼ繧ｸ逕ｨ隱ｿ謨ｴ */
.article-page {
    line-height: 1.8;
    padding: 3rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .layout-wrapper {
        padding: 0 0.2rem;
    }

    .article-page {
        padding: 1.5rem 0.8rem;
    }

    .article-content {
        padding: 0 0.2rem;
    }

    .article-content p,
    .article-intro,
    .zzz-intro,
    .info-list li {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .info-table th,
    .info-table td {
        padding: 0.6rem 0.5rem;
        font-size: 0.95rem;
        min-width: 9rem;
        /* 5rem -> 9rem to enforce wider cells (2-3 lines max width) */
        word-break: normal;
        overflow-wrap: break-word;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -0.8rem;
        padding: 0 0.8rem;
    }
}

.article-content {
    margin-top: 2rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.article-content strong {
    color: var(--accent-primary);
}


.formula {
    background: rgba(var(--primary-rgb), 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: var(--accent-primary);
}


/* 縺翫☆縺吶ａ繧ｰ繝�ぜ繝ｻ邏ｹ莉九さ繝ｼ繝翫�鬚ｨ繝�じ繧､繝ｳ */
.rakuten-banner-sidebar a {
    display: block;
    padding: 1.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
    border-radius: 16px;
    border: 2px solid #fff5db;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.rakuten-banner-sidebar a::before {
    content: 'RECOMMEND';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--pastel-yellow);
    color: #856404;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 8px;
    border-bottom-right-radius: 8px;
    letter-spacing: 0.5px;
}

.rakuten-banner-sidebar a:hover {
    transform: translateY(-3px);
    border-color: var(--pastel-yellow);
    box-shadow: 0 10px 20px rgba(255, 212, 59, 0.15);
}

.rakuten-banner-sidebar img,
.rakuten-banner-center img {
    width: 128px !important;
    height: 128px !important;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.rakuten-banner-sidebar a,
.rakuten-banner-center a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    display: block;
    word-break: break-all;
}

.rakuten-banner-sidebar a:hover img,
.rakuten-banner-center a:hover img {
    transform: scale(1.05);
}

/* ========================================
   霑ｽ蜉��夐未騾｣險倅ｺ九Μ繧ｹ繝茨ｼ医す繝ｳ繝励Ν迚茨ｼ�
   ======================================== */
.simple-article-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.article-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(var(--primary-rgb), 0.03);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.article-list-item:hover {
    background: rgba(var(--primary-rgb), 0.08);
    transform: translateX(5px);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.item-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.item-text {
    font-weight: 600;
    font-size: 1rem;
}


/* 蛟句挨繝壹�繧ｸ譛荳企Κ繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ */
.top-nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.back-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
    color: var(--accent-secondary);
}


/* ========================================
   繝ｬ繧ｹ繝昴Φ繧ｷ繝�
   ======================================== */
/* ========================================
   繧ｳ繝ｳ繝�リ
   ======================================== */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* ========================================
   繝倥ャ繝繝ｼ
   ======================================== */
.header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.title {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.2));
}


.sparkle {
    display: inline-block;
    animation: sparkleRotate 3s linear infinite;
}

@keyframes sparkleRotate {

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

    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* 繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ繝｡繝九Η繝ｼ */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.nav-link:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(var(--primary-rgb), 0.05);
}

/* 繝繝ｼ繧ｯ繝｢繝ｼ繝牙�譖ｿ繝懊ち繝ｳ */
.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--pastel-blue);
    color: var(--pastel-blue);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-hover);
}


@media (max-width: 480px) {
    .site-header {
        padding: 0.3rem 0.5rem;
    }

    .header-logo {
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .header-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end;
        gap: 0.2rem !important;
        flex: 1;
        min-width: 0;
    }

    .header-nav a {
        font-size: 0.75rem !important;
        white-space: nowrap;
        padding: 0.5rem 0.2rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ========================================
   繝｢繝ｼ繝牙�繧頑崛縺医ヨ繧ｰ繝ｫ
   ======================================== */
.toggle-container {
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.toggle-switch {
    display: flex;
    position: relative;
    background: var(--bg-secondary);
    padding: 0.4rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    gap: 0;
}

.toggle-switch input[type="radio"] {
    display: none;
}

.toggle-label {
    flex: 1;
    padding: 1rem 1.5rem;
    text-align: center;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.toggle-icon {
    font-size: 1.2rem;
}

.toggle-switch input[type="radio"]:checked+.toggle-label {
    color: var(--text-white);
}

.toggle-slider {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    width: calc(50% - 0.4rem);
    height: calc(100% - 0.8rem);
    background: var(--gradient-main);
    border-radius: 12px;
    transition: transform var(--transition-normal);
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.toggle-switch input[type="radio"]:nth-of-type(2):checked~.toggle-slider {
    transform: translateX(calc(100% + 0.4rem));
}


/* ========================================
   繧ｿ繧､繝昴げ繝ｩ繝輔ぅ縺ｮ隱ｿ謨ｴ
   ======================================== */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    /* 謾ｻ逡･繧ｵ繧､繝磯｢ｨ */
    font-size: 16px;
    /* 謾ｻ逡･繧ｵ繧､繝磯｢ｨ */
    word-break: break-all;
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    line-height: 1.4;
}

/* ========================================
   蜈ｱ騾壹�繝�ム繝ｼ
   ======================================== */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-primary);
    padding: 0.8rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.header-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.header-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--accent-primary);
}

/* ========================================
   2繧ｫ繝ｩ繝�繝ｬ繧､繧｢繧ｦ繝�
   ======================================== */
.layout-wrapper {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.sidebar {
    position: sticky;
    top: 5rem;
    height: fit-content;
}

@media (max-width: 1024px) {
    .layout-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* ========================================
   險育ｮ玲ｩ溘そ繧ｯ繧ｷ繝ｧ繝ｳ縺ｮ繧ｳ繝ｳ繝代け繝亥喧
   ======================================== */
.calculator-card {
    padding: 1.5rem !important;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.input-group {
    margin-bottom: 0.8rem;
}

.input-label {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* ========================================
   縺翫☆縺吶ａ隗｣隱ｬ險倅ｺ� (繝ｪ繧ｹ繝亥ｽ｢蠑�)
   ======================================== */
.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.recommend-item {
    display: flex;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}


.recommend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    border-color: var(--accent-primary);
}

.recommend-info {
    flex: 1;
}

.recommend-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: var(--accent-primary);
}

.recommend-summary {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}


/* ========================================
   繧ｫ繝ｼ繝�
   ======================================== */
.card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* 繝�ヵ繧ｩ繝ｫ繝医〒蟆代＠逋ｽ縺ｿ繧貞ｸｯ縺ｳ縺溷｢�阜 */
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    animation: fadeInUp 0.6s ease;
}

#resultCard {
    margin-bottom: 10px !important;
    padding-bottom: 0px !important;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   繝輔か繝ｼ繝�
   ======================================== */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.highlight-group {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--secondary-rgb), 0.08) 100%);
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 0.8rem 0;
}


.form-group.highlight-group label {
    font-size: 1.1rem;
    color: var(--accent-primary);
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.input-with-quick {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.input-with-quick input {
    flex: 1;
}

.quick-buttons {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 0.5rem 0.8rem;
    border: 2px solid var(--pastel-blue);
    background: transparent;
    color: var(--pastel-blue);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-main);
    white-space: nowrap;
}

.quick-btn:hover {
    background: var(--pastel-blue);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* 逶ｮ讓咎∈謚槭�繧ｿ繝ｳ */
.goal-selection-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.goal-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.goal-btn {
    padding: 1rem 0.5rem;
    border: 3px solid var(--pastel-pink);
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.goal-btn:hover {
    background: rgba(var(--secondary-rgb), 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.goal-btn.active {
    background: var(--gradient-pink);
    border-color: var(--pastel-pink);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.goal-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--pastel-pink);
    font-family: var(--font-accent);
}

.goal-btn.active .goal-number {
    color: var(--text-white);
}

.goal-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.goal-btn.active .goal-label {
    color: var(--text-white);
}

/* 繧ｫ繧ｹ繧ｿ繝�蜈･蜉� */
.custom-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(var(--primary-rgb), 0.05);
    border: 2px dashed var(--pastel-blue);
    border-radius: 12px;
}

.custom-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.custom-input {
    flex: 1;
    min-width: 0;
}

.form-group input,
.form-group select {
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: all var(--transition-fast);
    outline: none;
}

/* 繝励Ξ繝ｼ繧ｹ繝帙Ν繝繝ｼ縺ｮ濶ｲ */
.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.form-group input:focus,
.form-group select:focus,
.preset-select:focus {
    border-color: var(--accent-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
}


.preset-select {
    width: 100%;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236ea8fe' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C2.185 5.355 2.403 5 2.808 5h9.384c.405 0 .623.355.357.658l-4.796 5.482a.5.5 0 0 1-.748 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1.2rem) center;
    padding-right: 3rem !important;
}

/* ========================================
   繝懊ち繝ｳ
   ======================================== */
.btn-primary {
    background: var(--gradient-main);
    border: none;
    border-radius: 16px;
    padding: 1.3rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    font-family: var(--font-main);
    margin-top: 1.5rem;
    width: 100%;
}

.btn-calculate {
    background: linear-gradient(135deg, #6ea8fe 0%, #66d9e8 100%);
    font-size: 1.3rem;
    padding: 1.5rem 2.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   邨先棡陦ｨ遉ｺ
   ======================================== */
.result-main-message {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
    border: 3px solid var(--pastel-pink);
    border-radius: 20px;
    padding: 1.2rem;
    margin-bottom: 0.5rem !important;
    text-align: center;
}

.main-message-text {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.main-message-value {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diagnosis-message {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    font-weight: 700;
    color: #1a202c;
    font-size: 0.95rem;
}


.result-basic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(177, 151, 252, 0.1) 100%);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.stat-box-compact {
    padding: 1rem;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: var(--font-accent);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value-compact {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* 繧｢繝ｩ繝ｼ繝� */
.alert {
    background: rgba(255, 135, 135, 0.1);
    border: 2px solid var(--accent-danger);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.alert-message {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
}

.alert.level-victory {
    background: rgba(140, 228, 154, 0.1);
    border-color: var(--accent-success);
}

.alert.level-hopeful {
    background: rgba(177, 151, 252, 0.1);
    border-color: var(--pastel-purple);
}

.alert.level-risky {
    background: rgba(255, 212, 59, 0.1);
    border-color: var(--accent-warning);
}

/* 繝��繝悶Ν */
.stats-table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
}

.stats-table thead {
    background: var(--gradient-main);
    color: var(--text-white);
}

.stats-table th,
.stats-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.prob-cell {
    font-weight: 700;
    color: var(--accent-primary);
}

/* 蠎�相 & 繧ｷ繧ｧ繧｢ */
.ad-placeholder {
    margin: 1.5rem auto;
    max-width: 336px;
    min-width: 300px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.share-section {
    margin-top: 2rem;
    text-align: center;
}

.share-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-share {
    flex: 1;
    min-width: 160px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-share-twitter {
    background: #000000;
}

.btn-share-line {
    background: #06C755;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

.copy-feedback {
    text-align: center;
    margin-top: 1rem;
    padding: 0.8rem;
    background: var(--accent-success);
    color: var(--text-white);
    border-radius: 8px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* 繧ｰ繝ｩ繝� & 縺昴�莉� */
.chart-container {
    position: relative;
    height: 400px !important;
    /* Force height to prevent squashing */
    margin-bottom: 1.5rem;
}

.chart-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.marker-current {
    color: var(--accent-secondary);
    font-size: 1.2rem;
}

.footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.privacy-policy {
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.6;
}

.privacy-policy h3 {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.privacy-content p {
    margin-bottom: 0.8rem;
}

.footer-copy {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.hidden {
    display: none !important;
}

/* 繧｢繝輔ぅ繝ｪ繧ｨ繧､繝� - 繧ｯ繝ｪ繝ｼ繝ｳ縺ｪ蜈ｬ蠑上せ繝医い鬚ｨ繝�じ繧､繝ｳ */
.affiliate-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.affiliate-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.affiliate-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--accent-primary);
    border-radius: 2px;
}

.affiliate-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.affiliate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.affiliate-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: translateX(4px);
}

.affiliate-store-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.store-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.store-logo img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* トップページ専用：縦並びのシンプルなカードリスト */
.top-affiliate-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.top-affiliate-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.top-affiliate-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: translateX(4px);
}

.top-store-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px;
    flex-shrink: 0;
}

.top-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.top-store-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 驕句霧閠�ュ蝣ｱ & 縺雁撫縺�粋繧上○ */
.about-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.contact-area {
    padding-top: 1.5rem;
    border-top: 1px dashed #e2e8f0;
    margin-top: 1rem;
    text-align: left;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.contact-buttons-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-normal);
}

.btn-contact:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-1px);
}

.btn-contact span,
.btn-contact .x-icon {
    margin-right: 5px;
    /* 繧｢繧､繧ｳ繝ｳ縺ｨ譁�ｭ励�髢薙↓5px縺ｮ髫咎俣 */
}

@media (min-width: 768px) {
    .about-section {
        padding: 2rem;
    }
}

/* 隗｣隱ｬ繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ蜈ｨ菴� */
.info-section {
    background: transparent;
    border: none;
    padding: 2rem 0;
    margin-top: 2rem;
    box-shadow: none;
}

/* 險倅ｺ九き繝ｼ繝牙腰菴� */
.info-group,
.article-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.info-group:hover,
.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-group h3,
.article-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
    border-left: 6px solid var(--pastel-blue);
    line-height: 1.4;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* 隱ｭ縺ｿ繧�☆縺輔�蜷台ｸ� */
.info-group p,
.article-card p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.info-group p strong,
.article-card p strong {
    color: var(--accent-primary);
}

.info-list {
    list-style: none;
    padding-left: 0;
}

.info-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.info-list li::before {
    content: '繝ｻ';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.formula {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.2rem 0;
    text-align: center;
    font-family: monospace;
    font-size: 1.3rem;
    font-weight: 700;
}


/* 繝ｬ繧ｹ繝昴Φ繧ｷ繝� */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .affiliate-buttons {
        flex-direction: column;
    }

    .card {
        padding: 1.2rem;
        margin: 0 0.2rem 1.5rem 0.2rem;
    }

    .recommend-card {
        margin-bottom: 0.5rem !important;
    }

    .info-group,
    .article-card {
        padding: 1.5rem 1.2rem;
        margin: 0 0.2rem 1.5rem 0.2rem;
    }

    .title {
        font-size: 2rem;
    }

    .result-basic {
        grid-template-columns: 1fr;
    }

    .ad-placeholder-footer {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 50px;
        margin: 1rem 0;
    }

    .quick-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   縺薙％縺九ｉ霑ｽ蜉��壹げ繝ｩ繝輔→LINE縺ｮ菫ｮ豁｣
   ======================================== */

/* 繧ｰ繝ｩ繝輔′貎ｰ繧後ｋ繝舌げ繧貞ｼｷ蛻ｶ逧�↓逶ｴ縺� */
.chart-container {
    position: relative;
    height: 400px !important;
    /* 繝代た繧ｳ繝ｳ縺ｧ縺ｮ鬮倥＆ */
    width: 100% !important;
    margin-top: 5px !important;
}

@media (max-width: 768px) {
    .chart-container {
        height: 280px !important;
        /* 繧ｹ繝槭�縺ｧ縺ｮ鬮倥＆ */
    }
}

/* 繝励Λ繧､繝舌す繝ｼ繝昴Μ繧ｷ繝ｼ縺ｮ隕九◆逶ｮ繧呈紛縺医ｋ */
.privacy-policy {
    font-size: 0.8rem;
    background: #f1f3f5;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    margin-top: 30px;
    color: #4a5568;
    line-height: 1.6;
}







/* --- 繧ｰ繝ｩ繝輔�貎ｰ繧後ｒ蠑ｷ蛻ｶ逧�↓逶ｴ縺呎怙邨ょ�蝎ｨ --- */
#probabilityChart {
    display: block !important;
    width: 100% !important;
    height: 400px !important;
    /* 繝代た繧ｳ繝ｳ縺ｧ縺ｮ鬮倥＆ */
}

.chart-container {
    position: relative !important;
    height: 400px !important;
    width: 100% !important;
}

@media (max-width: 768px) {

    #probabilityChart,
    .chart-container {
        height: 280px !important;
        /* 繧ｹ繝槭�縺ｧ縺ｮ鬮倥＆ */
    }
}

/* ========================================
   繧ｯ繧､繝�け逶ｮ谺｡
   ======================================== */
.quick-links-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-left: 8px solid var(--pastel-blue);
}


.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}


.quick-link-item:hover {
    border-color: var(--pastel-blue);
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateX(5px);
    color: var(--accent-primary);
}

/* ========================================
   莠ｺ髢灘袖繝ｻ謇倶ｽ懊ｊ諢溘貍泌
   ======================================== */
/* 髢狗匱遘倩ｩｱ縺ｮ迚ｹ蛻･陬｣ｾ井ｻ倡ｮ九Γ繝｢鬚ｨ */


/* 隕句縺励陬｣ｾ域焔譖ｸ縺埼｢ｨ繧｢繝ｳ繝繝ｼ繝ｩ繧､繝ｳ */
.info-group h3,
.article-card h3 {
    border-left: none;
    padding-left: 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-group h3::after,
.article-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--pastel-blue);
    border-radius: 2px;
}

/* 荳險繝｡繝｢鬚ｨ */
.info-group,
.article-card {
    border-radius: 12px;
}

/* 繧ｹ繝槭�隱ｿ謨ｴ */
@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }



    .recommend-card {
        margin: 0.5rem auto 1rem;
        padding: 0.8rem 1rem;
    }
}

/* ========================================
   縺翫☆縺吶ａ繧ｰ繝�ぜ (讌ｽ螟ｩ繧｢繝輔ぅ繝ｪ繧ｨ繧､繝�)
   ======================================== */
.recommend-card {
    background: var(--bg-card);
    border: 2px solid var(--pastel-pink);
    /* 逶ｮ遶九◆縺帙ｋ譫�邱� */
    border-radius: 24px;
    /* 縺ｵ繧薙ｏ繧雁､ｧ縺阪￥ */
    padding: 1rem 1.5rem;
    margin: 1.5rem auto;
    /* 荳ｭ螟ｮ蟇�○ */
    max-width: 500px;
    /* 讓ｪ縺ｫ蠎�′繧翫☆縺弱↑縺�ｈ縺�↓ */
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.recommend-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-secondary);
}

.recommend-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pastel-pink);
    margin-bottom: 0.8rem;
    display: inline-block;
    background: rgba(var(--secondary-rgb), 0.1);
    padding: 0.2rem 1rem;
    border-radius: 20px;
}

.rakuten-banner-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.rakuten-banner-center a {
    color: var(--text-primary) !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    line-height: 1.6;
}

.rakuten-banner-center img {
    margin-bottom: 0.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-fast);
}

/* 繝医Λ繝く繝ｳ繧ｰ繝斐け繧ｻ繝ｫ(1x1)縺ｫ蠖ｱ繧繝ｼ繧ｸ繝ｳ縺後▽縺九↑縺ｈ縺↓髱櫁｡ｨ遉ｺ蛹(蜈ｨ繧ｳ繝ｳ繝リ蟇ｾ蠢) */
[class*="rakuten-banner"] img[width="1"],
[class*="rakuten-banner"] img[height="1"],
.rakuten-banner-center img[width="1"],
.rakuten-banner-center img[height="1"],
.banner-container img[width="1"],
.banner-container img[height="1"] {
    display: none !important;
}

.affiliate-logo {
    display: block !important;
    /* Ensure visibility */
    height: 1.8rem;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.rakuten-banner-center a:hover img {
    transform: scale(1.05);
}

/* ========================================
   繝ｪ繝・メ繧ｳ繝ｳ繝昴・繝阪Φ繝育畑繧ｹ繧ｿ繧､繝ｫ
   ======================================== */
.article-intro {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.02));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.rich-section-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.2);
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.rich-section-title span.icon {
    font-size: 1.8rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.badge-limited {
    background-color: #e53935;
}

/* 襍､邉ｻ */
.badge-weapon {
    background-color: #1e88e5;
}

/* 髱堤ｳｻ */
.badge-bangboo {
    background-color: #fb8c00;
}

/* 繧ｪ繝ｬ繝ｳ繧ｸ邉ｻ */
.badge-standard {
    background-color: #8e24aa;
}

/* 邏ｫ邉ｻ */

.table-container {
    margin: 1.5rem 0;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
    text-align: center;
}

.info-table th {
    background-color: rgba(var(--primary-rgb), 0.15);
    color: var(--text-primary);
    font-weight: 800;
    padding: 1.2rem 1rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.3);
}

.info-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

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

.info-table tr:hover td {
    background-color: rgba(var(--primary-rgb), 0.02);
}

.info-table .highlight-cell {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 繧ｳ繝ｼ繝ｫ繧｢繧ｦ繝茨ｼ医ヲ繝ｳ繝医・隴ｦ蜻頑棧・・*/
.callout {
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.callout-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.callout-content p {
    margin: 0;
    font-size: 0.95rem;
}

.callout-info {
    background-color: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196f3;
}

.callout-warning {
    background-color: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #ff9800;
}

/* 髮ｻ閼ｳ鬚ｨ險育ｮ玲ｩ溘・繧ｿ繝ｳ */
.cyber-calc-wrapper {
    text-align: center;
    margin: 3rem 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(var(--card-bg-rgb), 1), rgba(var(--primary-rgb), 0.05));
    border-radius: 16px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(var(--primary-rgb), 0.05);
    position: relative;
    overflow: hidden;
}

.cyber-calc-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.cyber-calc-title {
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.btn-cyber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff !important;
    background-color: #4A90E2;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-cyber:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

/* 繧｢繝輔ぅ繝ｪ繧ｨ繧､繝医Μ繝ｳ繧ｯ縺ｮ繧ｹ繧ｿ繧､繝ｪ繝ｳ繧ｰ */
.banner-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media(min-width: 600px) {
    .banner-container {
        grid-template-columns: 1fr 1fr;
    }
}

.affiliate-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border: 2px solid;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    background-color: #fff;
    text-align: left;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.affiliate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.affiliate-logo {
    height: 1.8rem;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.affiliate-amazon {
    border-color: #FF9900;
    color: #333;
}

.affiliate-amazon:hover {
    background-color: #fffaf0;
}

.affiliate-rakuten {
    border-color: #BF0000;
    color: #333;
}

.affiliate-rakuten:hover {
    background-color: #fff5f5;
}

.affiliate-btn-text {
    flex-grow: 1;
}

.affiliate-btn-label {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
    margin-bottom: 0.2rem;
}

.affiliate-btn-title {
    font-size: 1rem;
    font-weight: 700;
}

.accent-text {
    color: var(--primary-color);
    font-weight: bold;
}
