@charset "UTF-8";

:root {
    --brand-red: #e60012;
    --bg-blue-light: #e6f2f9;
    --bg-pink-light: #fef4f4;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #cccccc;
    --table-header-bg: #f4fbf9;
}

/* -----------------------------------------------------------------
   特定のテンプレート（.security-template）内のみに適用するスタイル
   これにより、他のページ（footer等）への影響を防ぎます
----------------------------------------------------------------- */

.security-template {
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    color: var(--text-main);
    line-height: 2;
    letter-spacing: 0.08em; 
    /* ベースとなるフォントサイズをここで一元管理できます。
       ここを 18px 等に変更すると、em指定している子要素も連動して大きくなります */
    font-size: 16px; 
}

.security-template .container {
    width: 100%;
    margin: 0 auto;
}

/* --- Page Title (Watermark) --- */
.security-template .page-title-wrapper {
    position: relative;
    text-align: center;
    padding: 60px 0 20px;
    overflow: hidden;
    margin-bottom: 20px;
}
.security-template .page-title-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em; /* remからemに変更 */
    color: rgba(235, 215, 215, 0.25);
    font-family: 'Anton', Arial, Helvetica, sans-serif;
    font-weight: bold;
    letter-spacing: 0.1em;
    z-index: 1;
    white-space: nowrap;
}
.security-template .main_title {
    position: relative;
    z-index: 2;
    font-size: 2em; /* remからemに変更 */
    font-weight: bold;
    color: var(--brand-red);
    letter-spacing: 0.15em;
    text-align: center;
    font-family: 'Anton', Arial, sans-serif;
}
.security-template .main_title span {
    display: block;
    font-size: 0.5em; /* 親(2em)に対する比率 */
    margin-top: 10px;
    font-weight: normal;
    color: var(--text-main);
    font-family: "Noto Sans JP", sans-serif;
}

.security-template .title03 {
    text-align: center;
    font-size: 1.5em; /* remからemに変更 */
    font-weight: bold;
    margin-bottom: 40px;
    padding-bottom: 15px;
    position: relative;
    color: var(--text-main);
}
.security-template .title03::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--brand-red);
}

/* --- Sections --- */
.security-template .section {
    padding: 40px 0;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text-main);
}
.security-template .section-heading {
    text-align: center;
    font-size: 1.5em; /* remからemに変更 */
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}
.security-template .section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--brand-red);
}

/* --- Worry Block --- */
.security-template .worry-block {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
}
.security-template .worry-image {
    display: flex;
    align-items: center;
    flex: 0 0 350px;
    max-width: 100%;
    margin-right: 40px;
}
.security-template .worry-image svg, 
.security-template .worry-image img {
    width: 100%;
    height: auto;
    display: block;
}
.security-template .worry-list-box {
    background-color: var(--bg-blue-light);
    padding: 30px 35px;
    border-radius: 4px;
    flex: 1;
    min-width: 300px;
}
.security-template .worry-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.security-template .worry-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 1.15em; /* remからemに変更 */
}
.security-template .worry-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--text-main);
}
.security-template .worry-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em; /* remからemに変更 */
    text-align: center;
}

/* --- Service Cards (Pink) --- */
.security-template .service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.security-template .card {
    background-color: var(--bg-pink-light);
    padding: 40px 25px;
    max-width: 350px;
    flex: 1 1 280px; 
    text-align: center;
    border-top: 4px solid var(--brand-red);
}
.security-template .card-title {
    font-size: 1.35em; /* remからemに変更 */
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}
.security-template .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--brand-red);
}
.security-template .card-subtitle {
    font-size: 0.77em; /* 親(1.35em)に対する比率で調整 (約1.05/1.35) */
    color: var(--brand-red);
}
.security-template .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}
.security-template .card-desc {
    font-size: 1.05em; /* remからemに変更 */
    text-align: left;
}

/* --- Pricing Table --- */
.security-template .table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}
.security-template .plan-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 1.05em; /* remからemに変更 */
    border: 1px solid var(--border-color);
}
.security-template .plan-table th, 
.security-template .plan-table td {
    border: 1px solid var(--border-color);
    padding: 18px 15px;
    text-align: center;
    vertical-align: middle;
}
.security-template .plan-table thead th {
    background-color: var(--table-header-bg);
    font-weight: bold;
    padding: 22px 15px;
    font-size: 1.1em; /* 1.05emを基準とした相対値 */
}
.security-template .plan-table .th-empty {
    background-color: transparent;
    border-top: none;
    border-left: none;
}
.security-template .plan-table .row-header {
    background-color: #f9f9f9;
    font-weight: bold;
    width: 140px;
}
.security-template .text-left { text-align: left !important; }
.security-template .text-center { text-align: center !important; }
.security-template .text-small { font-size: 0.9em; /* 親に対する相対値 */ color: var(--text-light); line-height: 1.4;}
.security-template .text-red { color: var(--brand-red); font-weight: bold;}
.security-template .d-block { display: block; }
.security-template .price-main {
    font-size: 1.33em; /* 親に対する相対値 */
    font-weight: bold;
}
.security-template .price-zero {
    font-size: 1.52em; /* 親に対する相対値 */
    font-weight: bold;
    color: var(--brand-red);
    background-color: #fffafa;
}
.security-template .price-row-initial td {
    background-color: #fcfcfc;
}
.security-template .table-notes {
    font-size: 0.95em; /* remからemに変更 */
    color: var(--text-light);
    margin-top: 15px;
    line-height: 1.6;
}

.security-template .sp-only { display: none; }

/* リンク化用のスタイル (既存のセキュリティページ用) */
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}
.card-link:hover {
    opacity: 0.8;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .security-template .page-title-watermark { font-size: 4em; }
    .security-template .main_title { font-size: 1.5em; }
    
    .security-template .worry-block { 
        flex-direction: column; 
    }
    .security-template .worry-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .security-template .worry-text { text-align: left;}
    
    .security-template .card {
        max-width: 100%;
        width: 100%;
    }
    
    .security-template .sp-only { display: block; }
}
