/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -0.5px;
}
html {
    font-size: 16px;
    word-break : keep-all;
}
body {
    background-color: #ffffff;
    color: #000;
    line-height: 1.6;
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.topmargin {
    margin-top: 300px;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
}

h2 {
    display: inline-block;
    width: auto;
    position: relative;
    font-size: 50px;
    z-index: 1;
    padding: 0;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    top: 38px;
    width: 100%;
    height: 30px;
    background-color: rgba(203, 56, 61, 0.2);
    z-index: -1;
}

.figtree-h1 {
    font-family: 'Figtree', sans-serif;
    font-weight: bo;
    font-size: 200px;
    line-height: 0.8;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: -10px;
}
.pretandard-h1 {
    font-family: 'pretandard';
    font-weight: 700;
    font-size: 180px;
    line-height: 1.0;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 2rem;
    letter-spacing: -10px;
}
p {
    margin-bottom: 1rem;
    font-size: 20px;
    line-height: 150%;
}

/* Home section */
.home {
    padding: 0;
}

.home-container {
    
    color: #000;
    padding: 3rem 2rem 5rem;
    margin-bottom: 2rem;
}

.home-container p {
    font-size: 24px;
    margin-bottom: 0;
    
    margin-top: 200px;
}

.home-content {
    margin: 0
}

.home-content-item {
    margin-bottom: 4rem;
    margin-top: 400px;
}

.home-content-item1 {
    padding-bottom: 4rem;
    padding-top: 400px;
}

.side-image-text {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 4rem;
}

.left-img {
    width: 50vw;
    min-width: 180px;
    max-width: 600px;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
}

.side-text {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 4vw;
}

.side-text h2, .side-text p {
    text-align: left;
    width: 100%;
}

/* Images */
.warning-img {
    display: block;
    width: 100px;
    margin: 200px auto 150px auto;
}

.full-img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    position: relative;
}

/* Reset ALL paragraph styling to default */
.home-content p {
    background: none;
    padding: 3px;
    margin-bottom: 1rem;
}

/* No special styling for image captions - everything back to default */

/* Simulation cards */
.simulation-select {
    margin-top: 2rem;
}

.simulation-select-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
}

.simulation-select-link {
    text-decoration: none;
    color: inherit;
}

.simulation-card {
    background-color: #f2f2f2;
    padding: 1.5rem;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.simulation-card:hover {
    transform: translateY(-5px);
}

.simulation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Red sections (matching image) */
.red-section {
    background-color: #ff1a1a;
    padding: 3rem 2rem;
    color: #000;
    margin-bottom: 2rem;
}

.red-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.red-section .quote {
    font-style: italic;
    margin: 1rem 0;
    font-weight: bold;
}


/* Special styles for text on image (matching the underwater podium photo) */
.image-container {
    position: relative;
}

.image-quote {
    position: absolute;
    right: 10%;
    bottom: 20%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    max-width: 300px;
}

/* For earthquake, typhoon, flood cards */
.disaster-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.disaster-card {
    background-color: #eee;
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.disaster-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.disaster-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sticky-section {
  position: sticky;
  top: 0;
  z-index: -2;
  margin: auto;
}

.redbackground {
    background-color: #ff1a1a;
    width: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 48px;
    box-sizing: border-box;
    color: white;
    position: relative;
}

@media (max-width: 900px) {
    .redbackground {
        min-height: 200px;
        padding-top: 32px;
        padding-bottom: 48px;
    }
    .side-image-text {
        flex-direction: column;
        align-items: stretch;
    }
    .side-text {
        padding-top: 1.5rem;
    }
}
@media (max-width: 600px) {
    .redbackground {
        min-height: 120px;
        padding-top: 18px;
        padding-bottom: 24px;
    }
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    margin-bottom: 4rem;
    gap: 0;
    margin-top: 500px;
}

.two-column1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    padding-bottom: 4rem;
    gap: 0;
    padding-top: 500px;
}

.two-column .left-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
}

.two-column1.left-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
}
.two-column .side-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 0;
}

.two-column .side-text h2,
.two-column .side-text p {
    text-align: left;
    width: 100%;
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: 1fr;
    }
    .two-column .left-img,
    .two-column .side-text {
        width: 100%;
    }
    .two-column .side-text {
        padding-top: 1.5rem;
    }
}

.image-text-overlap {
    position: relative;
    min-height:  3000px; /* 이미지 높이보다 크게! */
    /* 필요시 padding-top, margin 등 조정 */
}

.sticky-img {
    position: sticky;
    top: 0;
    z-index: -2;
}

.overlap-text {
 
    position: relative;
    z-index: 2;
}

.right {
    position: relative;
    left: 50%;
  
    width: 50vw;
    min-width: 320px;
    max-width: 600px;
    text-align: right;
    padding-left: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

@media (max-width: 900px) {
    .right {
        position: static;
        left: auto;
        width: 100%;
        max-width: 100%;
        padding-left: 0;
    }
}

.black-text {
    top: 800;
    position: relative;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    display: inline-block;
    background: none;
    padding: 0;
}

.black-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.1em; /* 텍스트와 밑줄 간격 */
    width: 100%;
    height: 100%; /* 밑줄 두께 */
    background: #111;
    z-index: -1;
    border-radius: 0;
}

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

.flip-card {
  width: 400px;
  height: 300px;
  min-height: 300px;
  perspective: 1000px;
  margin: 0 20px;
  display: inline-block;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
  position: relative;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 70%;
  max-height: 300px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.flip-card-front {
  background: #ff0101;
  font-size: 2rem;
  font-weight: 700;
}

.flip-card-back {
  background: #000000;
  color: #ffffff;
  transform: rotateY(180deg);
  font-size: 1.1rem;
  padding: 2rem;
  text-align: left;
  overflow-y: auto;
  flex-direction: column;
}

.card-guide {
    margin-top: 5px;
    font-size: 1.05rem;
    color: #888;
    text-align: center;
    letter-spacing: -0.5px;
}

.flood-visual {
    position: relative;
    width: 100vw;
    min-height: 1200px;
    background: #eaf6ff;
    overflow-x: hidden;
}

.hand-img {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    height: auto;
    z-index: 1;
    display: block;
    margin: 0;
    object-fit: cover;
}

.flood-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none; /* flood 이미지는 마우스 이벤트 통과 */
}

.flood-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    max-width: 50vw;
    opacity: 0;
    z-index: 3;
    object-fit: contain;
    pointer-events: auto;
    animation: floodAppear 1.1s cubic-bezier(.4,2,.6,1) forwards;
}

.flood-img:hover {
    transform: translateX(-50%);
    z-index: 3;
}

.flood-img:nth-child(1) { animation-delay: 0.2s; }
.flood-img:nth-child(2) { animation-delay: 0.7s; }
.flood-img:nth-child(3) { animation-delay: 1.2s; }
.flood-img:nth-child(4) { animation-delay: 1.7s; }

/* top 위치를 %로 지정 (예시) */
.flood-img:nth-child(1) { top: 27%; }
.flood-img:nth-child(2) { top: 37%; }
.flood-img:nth-child(3) { top: 47%; }
.flood-img:nth-child(4) { top: 57%; }

@media (max-width: 600px) {
    .hand-img {
        width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
    }
    .flood-img {
        width: 100px;
        max-width: 70vw;
    }
}

@keyframes floodAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(60px) scale(0.95) rotate(-2deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-50%) translateY(0) scale(1.05) rotate(2deg);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(-50%) translateY(0) scale(0.98) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    }
}

.back-btn {
    position: fixed;
    top: 32px;
    left: 32px;
    z-index: 100;
    background: none;
    border: none;
    color: #c5383d;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition: color 0.2s, text-decoration 0.2s;
    text-decoration: none;
}

.back-btn:hover {
    color: #111;
    text-decoration: underline;
}

/* 영상(비디오) 전체 너비, sticky 상단 고정 */
.video.sticky-flood, video.sticky-flood {
  width: 100%;
  display: block;
}

.blackbackground { 
    background-color: #000000; 
    z-index: 100;
    color: white;
}

.botpad50 {
    padding-bottom: 200px;
}

.topmargin50 {
    margin-top: 200px;
}
.w100 {width: 100%;}

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper {
  position: relative;
}

.mute-toggle-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  margin: 0;
  padding: 10px 28px;
  background: rgba(255, 80, 80, 0.92); /* 더 밝은 빨강 계열, 불투명도 높임 */
  color: #fff;
  border: 2px solid #fff;
  border-radius: 28px;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.mute-toggle-btn:hover {
  background: #fff;
  color: #e53935;
  border: 2px solid #e53935;
  box-shadow: 0 6px 24px rgba(229,57,53,0.18);
}

.redbackground.sticky-section {

}

.white{
    background-color: white;
}

.toppadding50 {
    padding-top: 50px;
}

.toppadding {
    padding-top: 200px;
}

.sound-btn {
  display: block;
  margin: 0px auto 30px auto;
  padding: 12px 32px;
  
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.sound-btn:hover {
  background: #fff;
  color: #e53935;
  border: 2px solid #e53935;
}

.go-now-btn {
width: 300px;
  display: block;
  margin: 50px auto 100px auto;
  padding: 18px 5px;
  background: red;
  color: #fff;
  border: none;
  border-radius: 32px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(229,57,53,0.18);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.go-now-btn:hover {
  background: black;
  color: #fff;
  box-shadow: 0 10px 32px rgba(10, 10, 10, 0.28);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.red-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff1a1a;
  margin: 50px auto 16px auto;
  cursor: pointer;
  box-shadow: 0 0 8px #ff1a1a88;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: white;
  font-size: 0.8rem;
}
.red-dot:hover {
  transform: scale(1.2);
  box-shadow: 0 0 12px #ff1a1a;
}
.hidden-info {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: #ff0000;
  border: 1.5px solid #ffffff;
  padding: 18px 22px;
  margin: 0 auto 0px auto;
  max-width: 600px;
  color: #ffffff;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px #ff1a1a22;
  z-index: 10;
  position: relative;
  text-align: left;
  min-height: 60px;
}

.red-dot:hover + .hidden-info,
.hidden-info:hover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.white-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  margin: 50px auto 16px auto;
  cursor: pointer;
  box-shadow: 0 0 8px #ffffff88;
  border: 2.5px solid #ffffff;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #222;
  font-size: 0.8rem;
}
.white-dot:hover {
  transform: scale(1.2);
  box-shadow: 0 0 12px #ffffff;
}

.hidden-info-white {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: #000000;
  border: 1.5px solid #fff;
  padding: 18px 22px;
  margin: 0 auto 48px auto;
  max-width: 600px;
  color: #ffffff;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px #cccccc22;
  z-index: 10;
  position: relative;
  text-align: left;
  min-height: 60px;
}

.white-dot:hover + .hidden-info-white,
.hidden-info-white:hover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 항상 2열 고정 */
    gap: 50px;
    width: 1200px;
    margin: 0 auto;
    justify-items: center;
  }
  
  .card {
    position: relative;
    width: 600px;
    height: 500px;
    perspective: 1000px;
  }
  
  .card .front,
  .card .back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    padding: 20px;
    box-sizing: border-box;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.6s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 15px;
  }
  
  .card .front {
    font-size: 20pt;
    background-color: #ff0000;
    font-weight: bold;
    color: rgb(0, 0, 0);
    border: 1.5px solid #ffffff;
  }
  
  .card .back {
    font-size: 16pt;
    line-height: 160%;
    background-color: #000000;
    color: white;
    transform: rotateY(180deg);
    flex-direction: column;
  }
  
  .card:hover .front {
    transform: rotateY(180deg);
  }
  
  .card:hover .back {
    transform: rotateY(360deg);
  }
  
  .card .back a {
    display: block;
    margin-top: 18px;
    color: #ffe48e;
    font-size: 13px;
    text-decoration: underline;
    word-break: break-all;
  }
  

  /* 카드 앞면/뒷면에 직접 꼬리 스타일 적용 */
  /* 이렇게 하면 flip될 때 꼬리 색깔도 자연스럽게 바뀝니다 */
  .card .front::after,
  .card .back::after {
    
    content: "";
    position: absolute;
    /* 오른쪽 아래에 꼬리 위치 */
    right: -15px; /* 꼬리 너비의 절반 + 약간의 간격 */
    bottom: 15px; /* 아래쪽에서 얼마나 띄울지 */
    transform: translateY(-50%); /* 세로 중앙 정렬 */
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #ffffff; /* 앞면 색상 */
    z-index: 2;
    transition: border-left-color 0.6s; /* 꼬리 색상 전환 추가 */
  }
  
  /* 카드 뒷면일 때 꼬리 색상 변경 */
  .card .back::after {
    border-left-color: #000000; /* 뒷면 색상 */
  }
  
  /* 카드 모서리 더 둥글게 */
  .card .front,
  .card .back {
    border-radius: 25px; /* 15px에서 증가 */
    /* ... 기존 스타일 유지 (padding, box-sizing 등) ... */
  }
  
  /* 카드 컨테이너 간격 조정 (필요시) */
  .cards-container {
    gap: 30px; /* 꼬리 공간 고려하여 간격 조정 */
    /* padding-bottom: 40px;  <= 이건 필요 없을 수 있습니다 */
    /* width: 100%;  <= 1200px 대신 100%로 반응형 고려 */
    max-width: 1200px;
  }
  
.click-guide {
  text-align: center;
  color: #ffffff;
  font-size: 0.95rem;
  z-index: 11;
  
  margin-bottom: 5px; /* 점 버튼과의 간격 조정 */
  margin-top: 80px; /* 위에 마진 추가 */
}
  

  .fact-list {
    width: 100%;
    margin-top: 200px;
    padding-bottom: 200px;
    font-family: sans-serif;
  }

  .fact-item {
   
    border-bottom: 1px solid #ccc;
  }

  .fact-summary {
   
    padding: 50px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0px;
  }

  .fact-summary:hover {
    background-color: #ff0000;
  }

  .arrow {
    display: inline-block;
    transition: transform 0.3s;
  }

  .fact-detail {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #fff;
    padding: 0 16px;
  }

  .fact-summary.active + .fact-detail {
    padding: 16px;
  }

  .fact-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    margin-bottom: 12px;
    border-radius: 6px;
  }

  .fact-detail a {
    display: inline-block;
    margin-top: 8px;
    color: #1a4d8f;
    text-decoration: underline;
    font-size: 14px;
  }

  .map-container {
    position: relative;
    display: inline-block;
  }
  
  .map-image {
    width: 100%;
    height: auto;
  }
  
  .marker {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .info-box {
    position: absolute;
    padding: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 4px;
    display: none;
    pointer-events: none; /* 마우스 간섭 방지 */
    font-size: 13px;
  }
  
.disaster-dot {
    fill: red;
    cursor: pointer;
}

.disaster-info {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 10;
    transform: translate(-50%, -100%); /* 마커 위쪽으로 이동 */
    left: 50%; /* 부모 요소(svg) 기준으로 중앙 정렬 */
    top: 0; /* 마커와 같은 높이에서 시작 */
}

.disaster-dot:hover + .disaster-info {
    visibility: visible;
    opacity: 1;
}

.map-caption {
 
}
  

#map { width: 100%; height: 90vh; }
.filter-buttons {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #f9f9f9;
  border-bottom: 1px solid #ccc;
}
.filter-buttons button {
  padding: 6px 12px;
  cursor: pointer;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.filter-buttons button.active {
  background: #ff6666;
  color: white;}


.question-box {
  width: 700px;
  position:static;
  align-items: center;
  text-align: center;
  border: 1px solid #ccc;
  padding: 40px; /* Adjusted padding */
  margin: 280px auto 250px auto; /* Adjusted margin and added auto for centering */
  border-radius: 100px;
  background-color: #f9f9f9;
  
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.question-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.question-box:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-8px);
}

.question {
  font-size: 1.3rem; /* Slightly larger font for questions */
  font-weight: bold; /* Make questions bold */
  margin-bottom: 10px; /* Space between question and sub-question */
  color: #333; /* Darker color for questions */
}

.sub-question {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0; /* 초기 마진 제거 */
  transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.4s ease;
  font-size: 1rem; /* Standard font size for sub-questions */
  color: #555; /* Slightly lighter color for sub-questions */
  line-height: 1.6; /* Improve readability */
}

.question-box:hover .sub-question {
  opacity: 1;
  max-height: 200px; /* 내용에 따라 조절 필요 */
  margin-top: 10px; /* 나타났을 때 마진 추가 */
}

.space {
  height: 40px;
}