@charset "UTF-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    
    color: #333;
    line-height: 1.6;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}



/* 繝倥ャ繝繝ｼ */
.header {
    color: white;
    padding: 0px 0;
    line-height: 1;
}

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

.header img {
    width: 100%;
}

.icon {
    width: 32px;
    height: 32px;
}

.main-title {
    font-size: 2.5rem;
    color: #ff4444;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background-color: #0066cc;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 豈碑ｼ�｡ｨ繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
.comparison-section {
    background-color: white;
    border-radius: 8px;
    padding: 60px 0;
}

.comparison-section h2 {
    margin-bottom: 20px;
}

.comparison-section h2 img {
    display: block;
    margin: 0 auto;
}

.comparison-table tbody td img {
    width: 34px;
}

.table-wrapper {
    overflow-x: auto;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    text-align: center;
}

.comparison-table th {
    background-color: #161616;
    color: #fff;
}

.detail-btn {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

/* 縺翫☆縺吶ａ繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
.recommended-section {
    color: white;
    padding: 60px 0;
    background-color: #FFF9EB;
}

.recommended-section h2 {
    margin-bottom: 40px;
}

.recommended-section h2 img {
    display: block;
    margin: 0 auto;
}

.company-cards {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.company-card {
    border-radius: 8px;
    color: #333;
    padding-bottom: 40px;
    margin-bottom: 40px;
    background-color: #fff;
}

.rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px 107px 15px 30px;
    background: linear-gradient(90deg, rgba(0,165,233,1) 0%, rgba(0,93,233,1) 100%, rgba(0,93,233,1) 100%);
    border-radius: 20px 20px 0 0;
}

.stars {
    color: #ffcc00;
}

.rating .star {
    width: 248px;
}

.rating_box {
    display: flex;
    align-items: center;
}

.rating_box a {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
    margin-left: 30px;
}

.rating_box a:hover {
    opacity: 0.8;
}

.company-image {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.company_link {
    display: block;
    text-align: right;
    margin-top: 10px;
    color: #1955C4;
    font-weight: bold;
}

.company_wrap {
    max-width: 817px;
    margin: 0 auto;
    background-color: #fff;
}

.company_wrap a:hover {
    opacity: 0.8;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    border-radius: 20px;
    border: solid 1px #000000;
    position: relative;
    margin-top: 100px;
    padding-top: 80px;
    padding-left: 120px;
    padding-right: 25px;
    padding-bottom: 15px;
}

.features li {
    position: relative;
    margin-bottom: 10px;
    font-size: 17px;
    margin-bottom: 20px;
    font-weight: bold;
}

.features li::before {
    content: "";
    position: absolute;
    display: inline-block;
    background-image: url(../img/checklist.png);
    background-size: contain;
    left: -55px;
    top: 8px;
    width: 35px;
    height: 35px;
    background-color: #0066cc;
    border-radius: 50%;
}

.features li span {
    color: #FF3C00;
}

.features_cta {
    text-align: right;
    display: block;
    
}

.features .point_one::before {
    top: -3px;
}

.point_one {
    margin-top: 40px;
}

.company_cta p {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.company_cta p span {
    color: #FF3C00;
}

.company_wrap_txt1 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 40px;
}

.company_wrap_txt1 span {
    color: #FF3C00;
}

.company_wrap_txt2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}

.features .point_img {
    width: 430px;
    background-color: #fff;
    position: absolute;
    top: -65px;
    right: 0;
    left: 0;
    margin: 0 auto;
}

.cta-btn {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.company_cta a img {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.cta-btn:hover {
    background-color: #ff8533;
}

.unknown {
    width: 28px;
    height: 2px;
    background-color: gray;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* 繝輔ャ繧ｿ繝ｼ */
.footer {
    background: linear-gradient(90deg, rgba(0, 165, 233, 1) 0%, rgba(0, 93, 233, 1) 100%, rgba(0, 93, 233, 1) 100%);
    color: white;
    padding: 40px 0 25px;
    text-align: center;
}

.footer ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.footer li {
    margin: 0 35px;
    margin-bottom: 20px;
}

.footer li a {
    color: #fff;
    text-decoration: none;
}

.footer li a:hover {
    opacity: 0.8;
}

.type {
    background-image: url(../img/type_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0;
    margin-top: -3px;
}

.txt_red {
    background-color: #E10000;
    color: #fff;
    font-size: 30px;
    border-radius: 30px;
    display: flex;
    width: max-content;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
    padding: 5px 40px;
    margin-bottom: 20px;
}

.type h2 {
    font-size: 45px;
    text-align: center;
    margin-bottom: 50px;
}

.type_block {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.type_box {
    background-color: #fff;
    border-radius: 20px;
    width: 260px;
    height: 336px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 15px 20px;
    color: #000;
    text-decoration: none;
}

.type_box .type_img {
    width: 234px;
    position: absolute;
    top: -20px;
    right: 0;
  left: 0;
  margin: 0 auto;
}

.type_box .type_img2_pmg {
    width: 140px;
}

.type_box p img {
    width: 230px;
}

.type_img_box {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-section {
    background-image: url(../img/popular_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.comparison-table tbody {
    background-color: #fff;
}

.comparison-table tbody .td1 {
    width: 140px;
    height: 90px;
}

.comparison-table tbody .td1 a:hover {
    opacity: 0.8;
}

.comparison-table tbody .td1 .cta_arrow {
    font-size: 12px;
    color: #1955C4;
    border-bottom: solid 1px;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

.comparison-table tbody .td1 .cta_arrow::after {
    content: "▶︎"; /* 蜿ｳ蜷代″荳芽ｧ貞ｽ｢ */
    font-size: 12px; /* 繧ｵ繧､繧ｺ隱ｿ謨ｴ */
    color: #1955C4; /* 濶ｲ隱ｿ謨ｴ */
    padding-left: 5px;
}

.comparison-table tbody .td1_nihon .cta_arrow::after {
    content: none;
}

.comparison-table tbody .td1 .cta_arrow .arrow::after {
    content: "▶︎"; /* 蜿ｳ蜷代″荳芽ｧ貞ｽ｢ */
    font-size: 12px; /* 繧ｵ繧､繧ｺ隱ｿ謨ｴ */
    color: #1955C4; /* 濶ｲ隱ｿ謨ｴ */
    padding-left: 5px;
}

.comparison-table tbody .td1 img {
    display: block;
    width: auto;
    margin: 0 auto;
}

.comparison-table tbody td p {
    font-size: 12px;
    line-height: 1.2;
}

.comparison-table tbody .td_last img {
    width: 122px;
}

.th_140 {
    width: 140px;
}

.th_134 {
    width: 134px;
}

.td_last p {
    margin-bottom: 5px;
}

.rating .rank {
    width: 80px;
}

body .container .sp {
    display: none;
}

.type_box p:hover {
    opacity: 0.8;
}

.td_last a:hover {
    opacity: 0.8;
}

.company_cta a:hover {
    opacity: 0.8;
}


/* 繝ｬ繧ｹ繝昴Φ繧ｷ繝悶ョ繧ｶ繧､繝ｳ */
@media (max-width: 1100px) {
    body .container .sp {
        display: block;
    }
    body .container .pc {
        display: none;
    }
    body .container h2 .sp {
        width: 90%;
    }
    .type h2 {
        font-size: 6.933vw;
    }
    .txt_red {
        font-size: 5.333vw;
        text-align: center;
    }
    .type {
        padding: 8.8vw 0;
    }
    .type_block {
        display: block;
        width: 93%;
        margin: 0 auto;
    }
    .type_box {
        width: 100%;
        height: auto;
        margin-bottom: 9.867vw;
    }
    .type_box:last-child {
        margin-bottom: 0;
    }
    .type_img_box {
        height: 21.333vw;
    }
    .type_img_box img {
        height: 13.333vw;
    }
    .type_box .type_box_wrap .type_sp {
        display: flex;
        justify-content: center;
        align-items: end;
        font-size: 3.467vw;
        position: relative;
    }
    .type_box .type_box_wrap .type_sp::after {
        content: "";
        background-image: url(../img/type_arrow1.png);
        display: inline-block;
        width: 11.2vw;
        height: 11.2vw;
        background-size: contain;
        position: absolute;
        right: 0;
    }
    .comparison-table {
        table-layout: fixed;
    }
    .comparison-table tbody .td1 {
        padding: 0 1.333vw;
    }
    .comparison-table .last {
        width: 40vw;
    }
    .comparison-section {
        padding: 8.8vw 0;
    }
    .comparison-section h2 {
        margin-bottom: 0;
    }
    /* .type_img_box {
        height: auto;
    } */

    .type_box .type_box_wrap .type_sp2::after {
        background-image: url(../img/type_arrow2.png);
    }
    .type_box .type_box_wrap .type_sp3::after {
        background-image: url(../img/type_arrow3.png);
    }
    .type_box .type_box_wrap .type_sp4::after {
        background-image: url(../img/type_arrow4.png);
    }
    .main-title {
        font-size: 2rem;
    }
    .company-cards {
        width: 93%;
        margin: 0 auto;
    }
    .recommended-section {
        padding: 8.8vw 0;
    }
    .rating .rank {
        width: 11.467vw;
    }
    .rating {
        padding-right: 0;
        padding-left: 4vw;
    }
    .company_wrap_txt1 {
        font-size: 4.8vw;
        margin-top: 5.333vw;
    }
    .company_wrap_txt2 {
        font-size: 4.8vw;
        margin-bottom: 5.333vw;
    }
    .company_wrap img {
        width: 90%;
        margin: 0 auto;
        display: block;
    }
    .footer {
        padding-top: 5.867vw;
    }
    .footer li {
        margin-bottom: 2.667vw;
    }
    .footer li a {
        font-size: 4vw;
    }
    .footer ul {
        display: block;
    }
    .footer .container p {
        font-size: 2.667vw;
        margin-top: 4vw;
    }
    
    body .container .recommended-section .comparison-table.sp {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3蛻励↓荳ｦ縺ｹ繧� */
        margin: auto;
        width: 90%;
        margin: 0 auto;
        margin-top: 2.667vw;
    }
    
    .recommended-section .comparison-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fff;
        border: 1px solid #ddd;

        text-align: center;
    }
    .recommended-section .comparison-header {
        font-size: 2.667vw;
    }
  

    .comparison-data {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 1.333vw 0;
    }
    .comparison-data p {
        font-size: 2.933vw;
        line-height: 1.3;
    }
    
    .recommended-section .comparison-header {
        background: #000;
        color: #fff;
        font-weight: bold;
        width: 100%;
        padding: 0;
    }
    
    .recommended-section .comparison-data img {

        margin-bottom: 1.333vw;
        margin-bottom: 0;
    }
    .company_link {
        font-size: 3.733vw;
        margin-right: 4vw;
    }
    .features {
        width: 90%;
        margin: 0 auto;
        padding-left: 13.333vw;
        margin-top: 17.333vw;
        padding-top: 9.333vw;
        padding-right: 2.667vw;
    }

    .recommended-section .comparison-data img {
        width: 3.467vw;
        height: 3.467vw;
        margin-right: 2.667vw;
    }
    .features .point_img {
        width: 69.333vw;
        top: -12vw;
    }
    .company_cta p {
        font-size: 3.733vw;
        margin-top: 5.867vw;
    }
    .features li {
        font-size: 4.267vw;
    }
    .features li::before {
        width: 7.467vw;
        height: 7.467vw;
        left: -9.333vw;
        top: 1.333vw;
    }

    .rating .star {
        width: 25.067vw;
    }
    .rating_box a {
        font-size: 5.333vw;
        margin-left: 2.667vw;
    }
    .recommended-section h2 img {
        width: 90%;
    }

    .table-wrapper {
        margin-left: 4vw;
        background-color: #fff;
        margin-top: 5.333vw;
        width: 96%;
    }

    .company-cards {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 2.667vw;
    }
    .type_box .type_img2_pmg {
        width: auto;
    }
    .th_134 {
        width: 29.333vw;
    }
    .comparison-table .td1,
.comparison-table thead .th_140 {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* 繧ｹ繧ｯ繝ｭ繝ｼ繝ｫ譎ゅ�隕冶ｪ肴ｧ繧貞髄荳� */
}
.comparison-table tbody .td1 {
    background-color: #fff;
}
.comparison-table {
    margin-top: 0;
}
.scroll-hint-icon {
    z-index: 99;
}
.type h2 {
    line-height: 1.5;
    margin-bottom: 9.333vw;
}
.type .txt_red {
    margin-bottom: 4vw;
}
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
  }
  
  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .popup-content {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    /* max-width: 800px; */
    width: 60%;
  }
  
  .popup-close {
    position: absolute;
    top: 10px;
    right: 50px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
  }
  
  .popup-images {
    display: flex;
    gap: 30px;
    justify-content: center;
  }

  .popup-images a {
    position: relative;
    overflow: hidden;
  }
  
  .popup-images a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .popup-images a:hover::after {
    opacity: 0.4; /* 逋ｽ縺�ｹ輔�騾乗�蠎ｦ縲�0.6縲�0.8縺上ｉ縺�′閾ｪ辟ｶ */
  }
  
  .popup-images img {
    width: 100%;
    /* max-width: 300px; */
    height: auto;
    display: block;
  }

   .display_sp {
        display: none;
    }

  @media (max-width: 1100px) {
    .display_pc {
        display: none;
    }
    .display_sp {
        display: block;
    }
    .popup-images {
        display: block
    }
    .popup-images a {
        margin-bottom: 15px;
    }
    .popup-close {
        right: 0px;
    }
     .popup-content {
        width: 90%;
    }
  
  }