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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* メインコンテンツ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* タイトル部分 */
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* PC版のみ画像を画面全体に表示 */
.full-width-image {
    width: 100%;
    margin: 0;
    padding: 0;
}

.full-width-image img {
    width: 100%;
    display: block;
}

/* スマートフォン版ではmain-content内に戻す */
@media (max-width: 768px) {
    .full-width-image {
        max-width: 1200px;
        margin: 0 auto;
    }
}

#info-banner{
    background-color: #060606;
    padding:5px 0;
}

#info-banner p{
    text-align: center;
    font-size:80%;
    font-family: 'Courier New', Courier, monospace;
    color:white
}

#button-group,
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 25px auto 30px;
    flex-wrap: wrap;
}

#button-group p,
.button-group p {
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #17b59f, #0a2d6e);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    min-width: 120px;
}

#button-group p::before,
.button-group p::before {
    content: "▶";
    margin-right: 4px;
    font-size: 10px;
    vertical-align: middle;
    display: inline-block;
}

#button-group p:hover,
.button-group p:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.45);
}

@media (max-width: 480px) {
    #button-group,
    .button-group {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        padding: 0 10px;
    }

    #button-group p,
    .button-group p {
        flex: 1 0 auto;
        min-width: 100px;
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

.affiliate-notice{
    font-size:80%;
    color:gray;
    margin-left:2px;
}

.update-date{
    font-size:80%;
    color:gray;
    margin-left:2px;
    margin-bottom: 1em;
}

.font-white{
    color:white;
    font-size:80%;
}

.font-red{
    color:#ff6b6b;
    font-size:80%;
}

.font-yellow{
    color:gold;
    font-size:100%;
}


.cta-button2 {
    padding: 12px 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #17b59f, #0a2d6e);color: #fff;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    min-width: 120px;
}

.shine_btn {
    position: relative;
    overflow: hidden;
}

.shine_btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shine-sweep 3s linear infinite;
}

@keyframes shine-sweep {
    0% {
        left: -100%;
    }
    70% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}







h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
    color: #ffd700;
}

h3 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

h4 {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin: 40px 0 20px;
    color: #2c3e50;
}

h5 {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #34495e;
}

h6 {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin: 30px 0 20px;
    color: #e74c3c;
}


/* 比較表 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    table-layout: fixed;
    position: relative;
}

.comparison-table::before{
  content: "";
  position: absolute;
  top: 0;
  left: 1px;
  pointer-events: none;
  width: 33.3333%;
  height: 100%;
  z-index: 0;
  background-color: #fff8e1;
}

.comparison-table::after{
  content: "";
  position: absolute;
  top: 0;
  left: 1px;
  pointer-events: none;
  width: calc(33.3333% - 3px);
    height: calc(100% - 6px);
    border: 3px solid #f30000;
    z-index: 5;
}

.comparison-table td {
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #ddd;
    vertical-align: middle;
    position: relative;
    z-index: 2;
}



.service-header-1,
.service-header-2,
.service-header-3 {
    width: 33.33%;
}

.service-banner {
    text-align: center;
    padding: 20px 10px;
}

.crown-icon {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.crown-icon.gray {
    color: #ccc;
}

.crown-icon.orange {
    color: #ff8c00;
}

.banner-img {
    height: 30px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 5px;
}


.feature-label {
    font-weight: bold;
    text-align: left;
    padding-left: 15px;
    font-family: serif;
}

.rating-symbol {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    width: 5px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
    font-family: 'Arial', 'MS Gothic', monospace;
    vertical-align: middle;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.rating-symbol.double-circle {
    color: #e74c3c;
    font-size: 30px;
    margin:5px 0;
}

.rating-symbol.circle {
    color: #f39c12;
    font-size: 26px;
    font-weight: 900;
    height:24px;
    margin:5px 0;
}

.rating-symbol.triangle {
    color: #ff9770;
    font-size: 28px;
    margin:5px 0;
}

.rating-symbol.cross {
    color: grey;
    font-size: 32px;
    margin:5px 0;
}

.rating-text {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
    margin-top: 45px;
    padding-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-text2 {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.8;
    padding-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.comparison-row td {
    font-size: 1.2rem;
    line-height: 1.4;
    background-color: grey;
    color: white;
    font-weight: bold;
}

.service-cell-1,
.service-cell-2,
.service-cell-3 {
    width: 33.33%;
    vertical-align: top;
    position: relative;
}




/* 自分ごと化セクション */
.self-mind {
    background-color: white;
    margin: 40px 0;
    border-radius: 10px;
    text-align: center;
    position: relative;
}


.self-mind-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #060606;
}





/* リンクの下線を削除 */
a {
    text-decoration: none;
}





.service-cost-1 {
    font-weight: bold;
    color: #e74c3c;
}


/* Slack商品カード */
.rank_area {
    margin: 20px 0;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.logo-section {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.rank-badge {
    width: 50px;
    height: 50px;
    position: relative;
    flex-shrink: 0;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.medal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.rank-badge:hover .medal-image {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.product-info {
    flex: 1;
    display: flex;
    gap: 15px;
}



.service-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-name {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 0 0 5px 0;
    line-height: 50px;
}

.cta-section {
    margin: 20px 0;
    text-align: center;
}


.card-description {
    margin-bottom: 20px;
}


/* 商品スペックテーブル */
.product-spec {
    margin: 20px 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    table-layout: fixed;
}

.spec-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.spec-label {
    color: #333;
    background: #f8f9fa;
    width: 30%;
    text-align: left;
}

.spec-value {
    color: #000;
    width: 70%;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.spec-symbol {
    font-size: 1.8rem;
    font-weight: bold;
    display: inline-block;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.spec-symbol img {
    vertical-align: middle;
}

.spec-symbol.double-circle {
    color: #e74c3c;
}

.spec-symbol.circle {
    color: #f39c12;
}

.spec-symbol.triangle {
    color: #ff9770;
}

.spec-symbol.cross {
    color: grey;
}


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


/* レスポンシブデザイン */
@media (max-width: 922px) {
    .main-content {
        padding: 0px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table td {
        padding: 8px 5px;
    }
    
    .banner-img {
        width: 100px;
    }
    
    .service-title {
        font-size: 0.9rem;
    }
    

    .self-mind-title {
        font-size: 1.5rem;
        font-family: serif;
        padding-top:40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .comparison-table td {
        padding: 5px 3px;
        font-size: 0.7rem;
    }
    
    .banner-img {
        width: 100px;
    }
    
    
    /* 商品カードのモバイル対応 */
    .product-card {
        padding: 15px;
    }
    
    /* モバイル版でのメダルバッジ調整 */
    .rank-badge {
        width: 40px;
        height: 40px;
        margin-top: 3px;
    }
    
    .card-header {
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
        text-align: left;
    }
    
    .logo-section {
        margin: 10px 0;
    }
    
    .cta-section {
        margin: 15px 0;
    }
    
    
    
    .product-name {
        font-size: 20px;
        line-height: 40px;
    }
    
    
    /* モバイル版でのスペックテーブル調整 */
    .spec-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .spec-label {
        width: 35%;
        font-size: 13px;
    }
    
    .spec-value {
        width: 100%;
        font-size: 13px;
        gap: 6px;
    }
    
    .spec-symbol {
        font-size: 1.5rem;
        width: 25px;
    }
    
    .spec-symbol.triangle {
        font-size: 1.2rem;
    }
    
}

/* 口コミスライダー */
.review-slider-container {
    position: relative;
    max-width: 900px;
    margin: 30px auto;
    padding: 0 50px;
}

.review-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 20px;
}

.review-card {
    min-width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.reviewer-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.review-rating {
    font-size: 1.2rem;
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: bold;
}

.review-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.review-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.review-source {
    font-size: 0.85rem;
    color: #999;
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: #2c3e50;
}

.slider-btn:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #ff6b6b;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .review-slider-container {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .reviewer-image {
        width: 80px;
        height: 80px;
    }
    
    .reviewer-name {
        font-size: 0.9rem;
    }
    
    .review-title {
        font-size: 1.1rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
}

/* リウ スぺシャリー エフェクティブ エッセンスが選ばれる理由セクション */
.reasons-section {
    padding: 30px 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.reasons-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: left;
    padding: 15px 20px;
    background: linear-gradient(135deg, #17b59f, #0a2d6e);
    border-left: 5px solid #0293b2;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 12px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #4caf50;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.reason-text {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
    flex: 1;
    text-align: left;
}

.highlight-red-underline {
    color: #e74c3c;
    text-decoration: underline;
    text-decoration-color: #ffd700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 600;
}
.highlight-underline {
    text-decoration: underline;
    text-decoration-color: #ffd700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .reasons-section {
        padding: 20px 15px;
    }
    
    .reasons-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding: 12px 15px;
    }
    
    .reason-text {
        font-size: 0.9rem;
    }
    
    .check-icon {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 16px;
    display: inline-block;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: #4a9eff;
    border-bottom-color: #4a9eff;
}

@media (max-width: 768px) {
    footer {
        padding: 20px 15px;
        margin-top: 40px;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

.header-row a:hover{
  opacity: 0.8;
}

.hougannshi{
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-size: 10px 10px;
    background-repeat: repeat;
    background-position: center center;
    padding: 20px;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    border-radius: 25px;
    outline: 3px solid #060606;
    margin-bottom: 15px;
    text-align: center;
}

.pagelink1-1{
  padding: 15px 10px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.pagelink1-1 p{
  margin-bottom: 1em;
  font-weight: bold;
}

@media (max-width: 768px) {
  .pagelink1-1{
    padding: 15px 20px;
    text-align: left;
  }
  .hougannshi{
    padding: 20px 10px;
  }
}

/* =========================================
   コラム用アコーディオンのスタイル
========================================= */
.column-accordion-section {
    max-width: 1000px;
    margin: 60px auto 40px;
    padding: 0 15px;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.accordion-title {
    padding: 15px 40px 15px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    background-color: #f8f9fa;
    color: #2c3e50;
    cursor: pointer;
    position: relative;
    list-style: none; /* デフォルトの矢印を消す（Safari等） */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Chrome等のデフォルト矢印を消す */
.accordion-title::-webkit-details-marker {
    display: none;
}

/* オリジナルの矢印アイコン（▼） */
.accordion-title::after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
    color: #ff6b6b;
    transition: transform 0.3s ease;
}

/* アコーディオンが開いた時のスタイル */
details[open] .accordion-title::after {
    transform: translateY(-50%) rotate(180deg);
    color: #fff;
}

details[open] .accordion-title {
    background-color: #ff6b6b;
    color: #fff;
}

.accordion-content {
    padding: 20px;
    line-height: 1.8;
    color: #444;
    border-top: 1px solid #ddd;
    font-size: 0.95rem;
}