.custom-main-banner {
    background: linear-gradient(135deg, #1b3489 0%, #f3f0ff 100%);
    padding: 10px 20px;
    overflow: hidden;
}


.custom-main-banner .copy_area h1{font-size:50px;font-weight:300; line-height:1.3; letter-spacing:0.5px; padding-top:0px;  color:#fff; text-align:center}
.custom-main-banner .copy_area h2{font-size:40px;font-weight:600; line-height:1.3; letter-spacing:-4px; word-break:keep-all; color:#fff; text-align:center}
.custom-main-banner .copy_area h3{font-size:40px;font-weight:600;text-align:center;margin:10px 0 0; padding:0 20px; word-break:keep-all; color:#ffd246;  letter-spacing:-1px; }


.banner-container {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.banner-left {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.banner-left h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.banner-left input, .banner-left select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.banner-left button {
    width: 100%;
    padding: 15px;
    background: #6b48ff;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
	margin-top:30px;
    transition: background 0.3s;
}

.banner-left button:hover {
    background: #5a3de6;
}

.banner-right {
    flex: 2;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.banner-right::-webkit-scrollbar {
    display: none;
}

.banner-right.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.banner-card {
    flex: 0 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    position: relative;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e0e0e0;
    color: #333;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.banner-card h3 {
    font-size: 20px;
    color: #333;
    margin: 10px 0;
    white-space: normal;
    word-wrap: break-word;
}

.banner-card p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
    white-space: normal;
    word-wrap: break-word;
}

.banner-card .highlight {
    color: #333;
    font-weight: bold;
    white-space: normal;
    word-wrap: break-word;
}



.form-check {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    align-self: center;
    vertical-align: middle;
    margin: 0;
}

.form-check label {
    font-size: 14px;
    color: #333;
    line-height: 16px;
    display: flex;
    align-items: center;
}

.form-check a {
    color: #6b48ff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.form-check a:hover {
    text-decoration: underline;
}

.memo__modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.memo-modal__inner {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.memo-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    background: #e0e0e0;
    border-radius: 8px;
}

.memo-modal__close:hover {
    background: #d0d0d0;
}

.memo-modal__txt {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.memo-modal__txt h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.memo-modal__txt p {
    margin: 10px 0;
}

.memo-modal__txt ul {
    list-style: none;
    padding: 0;
}

.memo-modal__txt li {
    margin-bottom: 10px;
}

.memo-modal__txt li p {
    font-weight: bold;
    display: inline;
    margin-right: 5px;
}

.memo-modal__txt li span {
    color: #666;
}

.card-image {
    width: 100%;
	height: auto; /* 고정 높이 제거 */
    margin: 10px 0; /* 상하 마진으로 간격 조정 */
    background: #fff; /* 플레이스홀더 배경 */
    border-radius: 8px; /* 카드와 일관된 둥근 테두리 */
    overflow: hidden; /* 이미지 오버플로우 방지 */
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


@media (max-width: 768px) {



.custom-main-banner {
    padding: 70px 20px 40px 20px;
}

.custom-main-banner .copy_area h1{font-size:30px;font-weight:300; line-height:1.3; letter-spacing:0.5px; padding-top:0px;  color:#fff; text-align:center}
.custom-main-banner .copy_area h2{font-size:20px;font-weight:600; line-height:1.3; letter-spacing:-4px; word-break:keep-all; color:#fff; text-align:center}
.custom-main-banner .copy_area h3{font-size:25px;font-weight:600;text-align:center;margin:10px 0 0; padding:0 20px; word-break:keep-all; color:#ffd246;  letter-spacing:0.2px; }

  
	
.banner-container {
        flex-direction: column;
        margin: 470px auto 70px;
    }
	
	.banner-left {
    margin-top:70px;
}

    .banner-right {
        flex-direction: row;
        padding-bottom: 15px;
    }
    .banner-card {
        width: 200px;
    }
    .form-check label {
        font-size: 12px;
        white-space: nowrap;
    }
    .card-image {
        height: 100px; /* 모바일에서 이미지 높이 축소 */
    }

	.membership_benefits_slider {
        flex-direction: column;
        overflow-x: visible;
    }

    .membership_benefits_item {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 20px;
        height: 300px;
    }

    .membership_benefits_img {
        height: 120px;
        flex: 0 0 120px;
    }

}

@media (max-width: 450px) {
    .banner-container {
        flex-direction: column;
        margin: 1px auto 70px;
    }
    
}

@media (max-width: 400px) {
    .banner-container {
        flex-direction: column;
        margin: 1px auto 70px;
    }
    
}

.membership_benefits_section {
    padding: 40px 20px;
    background: #fff url('../img/haahmo.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.membership_benefits_title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #fff;
}

.membership_benefits_title span {
    color: #FFCD4A;
    font-weight: bold;
}

.membership_benefits_slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.membership_benefits_slider::-webkit-scrollbar {
    display: none;
}

.membership_benefits_item {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.membership_benefits_img {
    width: 100%;
    height: 140px;
    overflow: hidden;
    flex: 0 0 140px;
}

.membership_benefits_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.membership_benefits_text {
    padding: 15px 20px;
    text-align: left;
    flex: 1 1 auto;
    overflow-y: auto;
}

.membership_benefits_text strong {
    display: block;
    font-size: 16px;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 10px;
}

.membership_benefits_text p {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    white-space: pre-line;
    margin: 0;
}

/* 기본 레이아웃 스타일 */
.footer {
  background-color: #f9f9f9;
  padding: 40px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 5%;
}

.footer-menu {
  margin-bottom: 20px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
  font-weight: bold;
}

.footer-menu .btn-style {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f36910;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer-menu .btn-style:hover {
  background-color: #d65a00;
}

.footer-address .adr {
  margin-bottom: 10px;
  color: #fff;
}

.footer-address strong {
  display: inline-block;
  width: 100px;
}

.copyright {
  margin-top: 30px;
  font-size: 12px;
  color: #777;
}

/* 반응형 처리 */
@media (max-width: 768px) {
  .footer {
    padding: 30px 15px;
  }

  .footer-menu a {
    display: block;
    margin-bottom: 10px;
  }

  .footer-address strong {
    display: block;
    width: auto;
    margin-bottom: 3px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 20px 10px;
    font-size: 13px;
  }

  .copyright {
    font-size: 11px;
  }
}


.cancer-insurance-landing-hero {
    padding: 40px 20px;
    background: #0056b3 url('../img/hands.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.cancer-insurance-landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.cancer-insurance-landing-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cancer-insurance-landing-hero {
    text-align: center;
    padding: 50px 0;
    color: #fff;
    animation: fadeIn 1s ease-in;
}

.cancer-insurance-landing-hero h1 {
    font-size: 3em;
    margin-bottom: 0.75em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cancer-insurance-landing-hero .subtitle {
    font-size: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .cancer-insurance-landing-hero h1 {
        font-size: 2em;
    }
    .cancer-insurance-landing-hero .subtitle {
        font-size: 1.125em;
    }
}

.cancer-insurance-landing-problem {
    padding: 1.875em 1.25em;
    background-color: #f8f9fa;
    color: #333;
    animation: slideUp 1s ease-out;
    min-height: 0;
    height: auto;
    overflow: visible;
}

.cancer-insurance-landing-problem h2 {
    font-size: 2em;
    margin-bottom: 1em;
	text-align: center;
}

.cancer-insurance-landing-problem .content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25em;
}

.cancer-insurance-landing-problem .left-image {
    flex: 1;
    text-align: left;
}

.cancer-insurance-landing-problem .left-image img {
    max-width: 100%;
    height: auto;
}

.cancer-insurance-landing-problem .right-text {
    flex: 1;
    text-align: right;
}

.cancer-insurance-landing-problem .right-text p {
    font-size: 1.5em;
    margin: 0;
}

@media (max-width: 768px) {
    .cancer-insurance-landing-problem h2 {
        font-size: 1.5em;
    }
    .cancer-insurance-landing-problem .content-wrapper {
        flex-direction: column;
        text-align: left;
    }
    .cancer-insurance-landing-problem p {
        font-size: 1em;
        margin-bottom: 0.9375em;
    }
    .cancer-insurance-landing-problem img {
        max-width: 100%;
        margin-bottom: 0.9375em;
    }
}

.cancer-insurance-landing-solution {
    padding: 1.875em 1.25em;
    background-color: #e6f0fa;
    color: #333;
    animation: slideUp 1s ease-out;
    
}

.cancer-insurance-landing-solution h2 {
    font-size: 2em;
    margin-bottom: 1em;
	text-align: center;
}

.cancer-insurance-landing-solution .solution-content {
    display: flex;
    align-items: center;
    gap: 1.25em;
}

.cancer-insurance-landing-solution .solution-text {
    flex: 1;
    text-align: center; /* 카드 가운데 정렬을 위해 추가 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* 카드 수평 중앙 정렬 */
    gap: 0.625em;
}

.cancer-insurance-landing-solution .solution-image {
    flex: 1;
    text-align: right;
}

.cancer-insurance-landing-solution .card {
    background: #fff;
    padding: 0.625em 1.25em;
    border-radius: 8px;
    color: #333;
    margin-bottom: 0.625em;
    transition: transform 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 2px solid #ccc;
    display: inline-block;

    /* 넓이를 일정하게 고정 */
    width: 300px; /* 또는 12.5em */
    max-width: 100%;
    font-size: 1.7em;
    text-align: center;
}

.cancer-insurance-landing-solution .card:hover {
    transform: scale(1.05);
}

.cancer-insurance-landing-solution img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .cancer-insurance-landing-solution .solution-content {
        flex-direction: column;
    }
    .cancer-insurance-landing-solution .solution-text {
        width: 100%;
        text-align: center;
        margin-bottom: 1.25em;
    }
    .cancer-insurance-landing-solution .solution-image {
        width: 100%;
        text-align: center;
    }
    .cancer-insurance-landing-solution .card {
        font-size: 1.7em;
        width: 100%;
        max-width: 100%;
    }
    .cancer-insurance-landing-solution .solution-text {
        justify-content: center;
    }
    .cancer-insurance-landing-solution {
        padding: 1.25em;
    }
}

.cancer-insurance-landing-trust {
    padding: 1.875em 1.25em;
    background-color: #f5f1e9;
    color: #333;
    animation: slideUp 1s ease-out;
}

.cancer-insurance-landing-trust h2 {
    font-size: 2em;
    margin-bottom: 1em;
	text-align: center;
}

.cancer-insurance-landing-trust p {
    font-size: 1.25em;
}

.cancer-insurance-landing-trust img {
    max-width: 100%;
    height: auto;
    margin-top: 0.9375em;
}

.cancer-insurance-landing-comparison {
    padding: 1.875em 1.25em;
    background-color: #e9ecef;
    color: #333;
    animation: slideUp 1s ease-out;
}

.cancer-insurance-landing-comparison h2 {
    font-size: 2em;
    margin-bottom: 1em;
	text-align: center;
}

.cancer-insurance-landing-comparison p {
    font-size: 1.25em;
}

.cancer-insurance-landing-comparison img {
    max-width: 100%;
    height: auto;
    margin-top: 0.9375em;
}

.cancer-insurance-landing-persuasion {
    padding: 1.875em 1.25em;
    background-color: #e8f3e8;
	background: #fff url('../img/bog11.jpg') no-repeat;
    color: #333;
    animation: slideUp 1s ease-out;
}

.cancer-insurance-landing-persuasion h2 {
    font-size: 2em;
	color: #fff;
    margin-bottom: 1em;
	text-align: center;
}

.cancer-insurance-landing-persuasion p {
    font-size: 1.5em;
	text-align: center;
	color: #fff;
}

.cancer-insurance-landing-persuasion img {
  display: block;
    margin: 0 auto;
    max-width: 50%;
    height: auto;
    margin-top: 2em;
}

#cancer-stats-chart {
    max-width: 100%;
    height: 18.75em;
    margin-top: 1.25em;
}

@media (max-width: 768px) {
    .cancer-insurance-landing-problem h2,
    .cancer-insurance-landing-solution h2,
    .cancer-insurance-landing-trust h2,
    .cancer-insurance-landing-comparison h2,
    .cancer-insurance-landing-persuasion h2 {
        font-size: 1.5em;
    }
	.cancer-insurance-landing-persuasion img {
    max-width: 100%;
    height: auto;
    margin-top: 0.9375em;
}
    .cancer-insurance-landing-problem p,
    .cancer-insurance-landing-trust p,
    .cancer-insurance-landing-comparison p,
    .cancer-insurance-landing-persuasion p {
        font-size: 1.5em;
		text-align: left;
    }
    #cancer-stats-chart {
        height: 12.5em;
    }
	
}

/* 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


.left-image {
  opacity: 1;
  animation: slideInLeft 3s ease-out forwards;
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.right-text {
  animation: slideInUp 3s ease-out forwards;
  opacity: 0;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.card.slide-left {
  animation: slideInLeft 5s ease-out forwards;
  opacity: 0;
}

.card.slide-right {
  animation: slideInRight 5s ease-out forwards;
  opacity: 0;
}