:root{
  --primary:#FF6347;
  --header-height:5rem;
}
article { display: block; }
body,html {background-color:#eee; overflow: hidden;}
.sec {width: 100%; min-height: 100vh; overflow: hidden;}
.inner { display: block; position: relative; width: 100%; max-width: 1600px; margin: 0 auto; padding-top: var(--header-height);}
.inner02 { display: block; position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding-top: var(--header-height);}
.fp-overflow .inner { height: 100vh; }
.fp-watermark {display: none !important;}
nav { display: block; position: fixed; bottom: 2rem; right: 3rem; z-index: 800;}

#visual { display: block; position: relative;  overflow: hidden; transition: .3s; z-index: 900; background-color: #eee;}
#visual.active { background-color: #000; }
#visual .visual_wrap {display: flex; flex-direction: column; gap: 3rem; align-items: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%;}
#visual .visual_list { display: flex; gap: 2rem; align-items: center; justify-content: center; }
#visual .visual_list p ,
#visual .visual_list p * { font-size:5.5rem ; font-weight: 500; line-height: 1; transition: .3s;}
#visual.active .visual_list p ,
#visual.active .visual_list p * { color: #555;}
#visual .visual_list li:nth-child(2) { display: flex; align-items: center; width: fit-content;}
#visual .change-word_wrap { display: flex; position: relative;  flex-direction: column; transition: .3s; transition-timing-function: ease-in ; overflow: hidden; white-space: nowrap; align-items: center; height: 5rem; width: 0px;}
#visual .change-word { display: inline-flex; position: absolute; top: 50%; left: 50%;  width: fit-content; transform: translate(-50%,50%);  transition: .2s; transition-timing-function: ease-in; }
#visual .change-word span { display: inline-block; transition: .2s; font-family: "optique-display", sans-serif; font-style: italic;}
#visual .change-word span.active { animation: visual-text .2s ease-in forwards; }
#visual .visual-txt { font-size: 1.2rem;  color: #555;}

.glassy-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255 255 255 / 0.05); backdrop-filter: blur(32px); pointer-events: none; }

/* #content01 { overflow: hidden; } */
#content01 .dark { display: block; position: absolute; top: 0; left: 0;  width: 100%; height: 100%; background:linear-gradient(to right, rgba(0,0,0,0)0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 100% );  transition: 1s; transition-timing-function: ease-in-out; z-index: 110;}
#content01 .dark.active { transform: translateX(100%); }
#content01 { position: relative; background: linear-gradient(to right, #000 15%, #fff 15%, #fff 40%, #eee 60%);}
#content01::before { content: ''; display: block; position: absolute; top: 0; left: 0; width: 40%; height: 125px;   background-color: #000; z-index: 10; }
#content01::after { content: ''; display: block; position: absolute; bottom: 0; left: 0; width: 40%; height: 125px; background-color: #000; z-index: 10;}
#content01 .light:nth-child(1){display: block; position: absolute; top: 0px; left: -10%;; width: 50%; height: 250px; background: conic-gradient(#333 3%, #fff 20%, #fff 50%, #000 50%,#000 70%, #333 100%);; z-index: 20;}
#content01 .light:nth-child(2){display: block; position: absolute; bottom: 0px; left: -10%;; width: 50%; height: 250px; background: conic-gradient(#fff 30%, #333 47%, #000 70%);; z-index: 20;}

#content01 .inner{ padding-left: 10% ;  height: 100%; z-index: 100; padding-top: 0;}
#content01 .wrap { display: flex; justify-content: center; flex-direction: column; gap: 6rem; align-items: center; position: relative; width: 100%; height: 100vh;}

#content01 .title-box { display: flex; flex-direction: column; width: fit-content; gap:1.5rem;}
#content01 .title-box div { display: flex;  align-items: center; gap: 2rem;}
#content01 .title-box .bar {display: block; width: 5rem; height: 5px; background-color: #1c1c1c; }
#content01 .title-box span { display: inline-block; position: relative; width: 5.417vw; height: 5.417vw; }
#content01 .title-box span::after { content:'';display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);}
#content01 .title-box span img { width: 100%; animation: spin 3s cubic-bezier(.22,1.12,1,1) alternate infinite;}
#content01 strong { font-size: 5.417vw; color: var(--primary); font-family: "optique-display", sans-serif; font-style: italic; line-height: 1; font-weight: 500;}
#content01 h1 {position: relative;  background: linear-gradient(to right, rgba(255,255,255,0.05) 0%, rgba(0,0,0,1) 15%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 5.417vw; font-weight: 400; width: fit-content; line-height: 1;}
#content01 p {position: relative;  background: linear-gradient(to right, rgba(255,255,255,0.01) 0%, rgba(0,0,0,.8) 2%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.2rem;width: fit-content;}

.darken-area { width: 100%; height: 100vh; background: linear-gradient(to bottom, #eee 0%, #000 100%); }

.title {  position: relative; width: 100%; margin-bottom: 2rem; }
.title::after {content:''; display: block; position: absolute; top: 50%; left: 0; width: 0%; height: 4px; background-color: #1c1c1c; transform: translateY(-50%); z-index: 10; transition: 2s;}
.title h1 { font-size: 5rem;  background-color: #eee; position: relative; width: fit-content; padding-right: 1rem; z-index: 20;}

.title-box02 {display: flex; justify-content: space-between;}
.title-box02 span { position: relative; z-index: 20; font-size: 3rem; display: flex; align-items: center; background-color: #eee; padding-left: 20px; }

.project.active .title::after { width: 100%; }
.hover-img { cursor: pointer; }

.fullpage-swiper .swiper-slide-active .title::after { width: 100%; }
.fullpage-swiper .swiper-pagination-bullets { display: flex; align-items: center; gap: 5px; justify-content: center; bottom: 2rem !important; width: 100%;  }
.fullpage-swiper .swiper-pagination-bullet { background-color: #1c1c1c; margin: 7px; width: 12px; height: 12px; border-radius: 6px; transform: scale(.4); transition: .2s; opacity: 1;}
.fullpage-swiper .swiper-pagination-bullet-active { background-color: #1c1c1c; transform: scale(1);}



#content02 .content-wrap { display: flex; justify-content: flex-end; gap: 10%; }
#content02 .pic { width: 25%; height: 100%; background-color: #555; }
#content02 .info_list { display: flex; flex-direction: column; gap: 2rem; }
#content02 .info_list ul { display: flex; flex-direction: column; }
#content02 .info_list h2 { font-size: 2.5rem; margin-bottom: 1rem;}
#content02 .info_list p { font-size: 1.2rem; color: #555; }
#content02 .info_list p span { color: #999; }

#content03 .skill_list { display: flex; justify-content: space-between; }
#content03 .skill_list > li { width: 30%; }
#content03 .skill_list .item { display: flex; flex-direction: column; justify-content: space-between; gap: 9vw; position: relative; padding: 2rem;  width: 100%; background-color: #fff; height: 100%; }
#content03 .skill_list h2 { font-size: 2.5rem; margin-bottom: 1rem; line-height: 1;}
#content03 .skill_list  p { font-size: 1.2rem; color: #555; line-height: 1; text-align: right;}
#content03 .skill_list ul { display: flex; flex-direction: column; gap: 2rem; }
#content03 .skill_list ul li { position: relative; }
#content03 .skill_list ul li::after { content: ''; display: block; position: absolute; bottom: -1rem; left: 0; width: 100%; height: 1px; background-color: #ddd; }
#content03 .skill_list ul li:last-child::after { display: none; }

/* #content03 .skill_list .item .corner li { display: block; position: absolute; width: 3rem; height: 3rem; background-color: #eee; }
#content03 .skill_list .item .corner li:nth-child(1) {top: 0; left: 0; transform: translate(-50%,-50%);}
#content03 .skill_list .item .corner li:nth-child(2) {top: 0; right: 0; transform: translate(50%,-50%);}
#content03 .skill_list .item .corner li:nth-child(3) {bottom: 0; left: 0; transform: translate(-50%,50%);}
#content03 .skill_list .item .corner li:nth-child(4) { bottom: 0; right: 0; transform: translate(50%,50%);} */

.prjt-openning { display: flex; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; z-index: 50; width: 100%; height: 100vh; }
.prjt-openning h1 { font-size: 10rem; font-family: "optique-display", sans-serif; }
.title-area { display: flex; gap: 1rem; align-items: center; }
.container { display: flex; gap:2rem; }
.container .txt-area { width: 50%; }
.container .txt-area h2 {font-size: 2rem;} 
.container .item-box { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem;}

.container .item-box .item h3 { font-size: 1.25rem;}
.container .item-box .item ul { display: flex; flex-direction: column; gap: .5rem; }

.container .img-area { width: 50%; height: 54vh; background-color: #333; overflow-y: scroll; border-radius: 15px;}
.container .img-area img { display: block; width: 100%; }

.container .txt-area h3 { font-size: 24px; }
.container .txt-area p { font-size: 1.2rem; color: #555; }

.icon-box { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.icon-box .item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.icon-box .item p { font-size: 16px; }
.icon-box .item img {width: 3rem; height: 3rem; border-radius: 5px;}
.icon-box .item svg {width: 3rem; height: 3rem; border-radius: 5px;}

.btn-box { display: flex; gap: .5rem; }
.btn { padding: 5px 1rem; font-size: 18px; border: 1px solid #1c1c1c; border-radius: 30px; transition: .3s;}
.btn a {color: inherit;}


.bar { width: 100%; height: 1px; background-color: #1c1c1c; }
.bar-h { width: 1px; height: auto; background-color: #1c1c1c; }

.scene { display: flex; justify-content: center; align-items: center; width: 100%; height: 100vh; perspective: 2000px; }
.card { position: relative; width: 1000px; height: 600px; transform-style: preserve-3d; cursor: pointer;}
.card h1 { font-size: 10rem; font-family: "optique-display", sans-serif; transition: .3s; line-height: 1;}

/* .card.active  {animation: flip 3s linear forwards} */
.face { position: absolute; width: 1000px; height: 600px; display: flex; justify-content: center; align-items: center; font-size: 4rem; font-family: sans-serif; background: #eee; box-sizing: border-box;}
.front  { transform: translateZ(2px); flex-direction: column; justify-content: center; align-items: center; gap:1rem}
.card .ani_jump { color: #1c1c1c; font-size: 1.5rem; transition: .2s; font-family: "optique-display", sans-serif;}
.back   { transform: rotateY(180deg) translateZ(2px); background: #fff; position: relative; flex-direction: column; justify-content: space-between; align-items: center; padding: 3rem 0;}
.top, .bottom,
.left, .right {  position: absolute;  background: #ddd;}
.top, .bottom { width: 1000px; height: 4px; left: 0;}
.top {transform: rotateX(90deg) translateZ(0px);}
.bottom {transform: rotateX(-90deg) translateZ(-598px);}
.left, .right { width: 4px; height: 600px; top: 0;}
.left {transform: rotateY(90deg) translateZ(997px);}
.right {transform: rotateY(-90deg) translateZ(0px);}

.card .thk {text-align: center;color: #FF6347;}

.card .item-box { display: flex; gap: 3rem;}
.card .item-box div{ display: flex; flex-direction: column; gap: 1rem;}
.card h2 { font-size: 4rem; font-weight: bold; color: #1c1c1c; line-height: 1;}
.card p { font-size: 1.5rem; color: #555; line-height: 1;}
.card p b { font-weight: bold; color: #1c1c1c; }
.card p a { color: inherit; transition: .2s;}

#footer { width: 100%; background-color: #1c1c1c; padding: 3rem 0;  }
#footer .inner { display: flex; justify-content: space-between; align-items: flex-end; height: auto; padding-top: 0;}
#footer .info { display: flex; flex-direction: column; gap: 1rem; }
#footer h1 { color: #FF6347; }
#footer * { color:#fff }
#footer h1 { font-size: 1.5rem; margin-bottom: 1rem; }
#footer p { font-size: 1.125rem; }
#footer .copyr { opacity: .7; }
#footer a { opacity: .7; }

.main .pointer_wrap {position: absolute ;z-index: 100; width: fit-content; pointer-events: none;}
.main .pointer {display: flex; justify-content: center; align-items: center; position: relative; width:2rem; height: 2rem; border-radius: 50%; background-color:#FF6347; opacity: .6;  transition: 0.2s; }
.main .pointer.active { width: 4rem; height: 4rem; opacity: 1; }
.main .pointer .click-txt { display: none; font-size: 18px; color: #fff;}
.main .pointer.click .click-txt { display: block; }
.main .disable .pointer { transform: scale(0); }

.main .pointer .img * { width: 2.5rem; height: 2.5rem; }


@media (hover:hover) and (pointer:fine){
  .btn:hover { background-color: #FF6347; color: #fff; box-shadow: 2px 4px 0 rgba(0,0,0,0.5); border: 1px solid #FF6347;}
  .card:hover h1 { color: #FF6347; }
  .card a:hover { color: #FF6347; }
  .fullpage-swiper .swiper-pagination-bullet:hover { transform: scale(.8); }
  .fullpage-swiper .swiper-pagination-bullet-active:hover { transform: scale(1); }
  .card:hover .ani_jump { color: #FF6347;}
}

@keyframes flip {
  0%  { transform: rotate3d(0,0,0,0deg); }
  30%   { transform: rotate3d(0,0,0,0deg); }
  50%   { transform: rotate3d(1,1,1,90deg); }
  70%  { transform: rotate3d(0,1,0,180deg); }
  100% { transform: rotate3d(0,1,0,180deg); }
}

@keyframes visual-text {
  to { transform: translateY(-100%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes sec02-openning {
  from { clip-path: circle(0vw) } to { clip-path: circle(100vw); }
}


@media (max-width: 1600px) {
  .inner { padding-left: 2rem; padding-right: 2rem; }
  .inner02 { padding-left: 2rem; padding-right: 2rem; }

  #visual .visual_list p,
  #visual .visual_list p * { font-size: 4.5rem; }
  #visual .change-word_wrap { height: 4.5rem; }

  #content01 strong,
  #content01 h1 { font-size: 4.5vw; }

  .title h1 { font-size: 4rem; }
  .prjt-openning h1 { font-size: 8rem; }

  .card { width: 800px; height: 500px; }
  .face { width: 800px; height: 500px; }
  .card h1 { font-size: 8rem; }
  .card h2 { font-size: 3rem; }
  .top, .bottom { width: 800px; }
  .left, .right { height: 500px; }
  .bottom { transform: rotateX(-90deg) translateZ(-498px); }
  .left { transform: rotateY(90deg) translateZ(797px); }
}

@media (max-width: 1024px) {
  :root { --header-height: 4rem; }

  .main .pointer_wrap { display: none; }

  #visual .visual_wrap { gap: 1rem; }
  #visual .visual_list { flex-direction: column; gap: 1rem; }
  #visual .visual_list li { width: 100%; text-align: center; }
  #visual .visual_list p,
  #visual .visual_list p * { font-size: 3.5rem; }
  #visual .change-word_wrap { height: 3.5rem; }
  #visual .visual-txt { font-size: 1rem; text-align: center; padding: 0 2rem; }

  #content01 { background: linear-gradient(to right, #000 10%, #fff 10%, #fff 35%, #eee 55%); }
  #content01 .inner { padding-left: 5%; }
  #content01 .wrap { gap: 4rem; }
  #content01 strong,
  #content01 h1 { font-size: 5vw; }
  #content01 p { font-size: 1rem; }

  .title h1 { font-size: 3rem; }

  #content02 .content-wrap { flex-direction: column; gap: 3rem; }
  #content02 .pic { width: 100%; height: 300px; }
  #content02 .info_list h2 { font-size: 2rem; }

  #content03 .skill_list { flex-direction: column; gap: 2rem; }
  #content03 .skill_list > li { width: 100%; }
  #content03 .skill_list .item { gap: 4rem; }

  .prjt-openning h1 { font-size: 6rem; }

  .container { flex-direction: column; }
  .container .txt-area { width: 100%; }
  .container .img-area { width: 100%; height: 400px; }

  .card { width: 600px; height: 400px; }
  .face { width: 600px; height: 400px; }
  .card h1 { font-size: 6rem; }
  .card h2 { font-size: 2.5rem; }
  .card p { font-size: 1.2rem; }
  .top, .bottom { width: 600px; }
  .left, .right { height: 400px; }
  .bottom { transform: rotateX(-90deg) translateZ(-398px); }
  .left { transform: rotateY(90deg) translateZ(597px); }

  nav { bottom: 1rem; right: 1rem; }
}

@media (max-width: 1024px) {
  .accordion {
    max-width: 100%;
    padding: 2rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .title-box02 h1 { font-size: 3.5rem; }
  .title-box02 span { font-size: 2rem; }
}

@media (max-width: 768px) {
  :root { --header-height: 3rem; }

  body, html { overflow-x: hidden; }

  #visual .visual_list p,
  #visual .visual_list p * { font-size: 2.5rem; }
  #visual .change-word_wrap { height: 2.5rem; }
  #visual .visual-txt { font-size: 0.9rem; }

  #content01::before,
  #content01::after { display: none; }
  #content01 .light { display: none; }
  #content01 { background: linear-gradient(to bottom, #000 20%, #fff 20%); }
  #content01 .inner { padding-left: 2rem; }
  #content01 .wrap { gap: 3rem; }
  #content01 strong,
  #content01 h1 { font-size: 7vw; }
  #content01 .title-box { gap: 1rem; }
  #content01 .title-box div { gap: 1rem; }
  #content01 .title-box span { width: 50px; height: 50px; }

  .title h1 { font-size: 2.5rem; }

  .title-box02 h1 { font-size: 2.5rem; }
  .title-box02 span { font-size: 1.8rem; padding-left: 15px; }

  .container { flex-direction: column; gap: 2rem; }
  .container .txt-area,
  .container .img-area { width: 100%; }
  .container .img-area { height: 400px; }

  #content02 .info_list h2 { font-size: 1.5rem; }
  #content02 .info_list p { font-size: 1rem; }

  #content03 .skill_list h2 { font-size: 2rem; }
  #content03 .skill_list p { font-size: 1rem; }

  .prjt-openning h1 { font-size: 4rem; }

  #sec02.section { height: 100vh; }
  #sec02 .prjt-openning { height: 100%; }

  .container .item-box .item h3 { font-size: 1.1rem; }
  .container .txt-area p { font-size: 1rem; }

  .icon-box { gap: 0.5rem; }
  .icon-box .item img,
  .icon-box .item svg { width: 2.5rem; height: 2.5rem; }
  .icon-box .item p { font-size: 14px; }

  .btn-box { flex-wrap: wrap; }
  .btn { font-size: 16px; padding: 4px 0.8rem; }

  .card { width: 90vw; height: 60vh; max-width: 500px; max-height: 350px; }
  .face { width: 90vw; height: 60vh; max-width: 500px; max-height: 350px; }
  .card h1 { font-size: 4rem; }
  .card h2 { font-size: 2rem; }
  .card p { font-size: 1rem; }
  .card .item-box { gap: 2rem; }
  .top, .bottom { width: 90vw; max-width: 500px; }
  .left, .right { height: 60vh; max-height: 350px; }
  .bottom { transform: rotateX(-90deg) translateZ(calc(-60vh + 2px)); }
  .left { transform: rotateY(90deg) translateZ(calc(90vw - 3px)); }

  #footer h1 { font-size: 1.2rem; }
  #footer p { font-size: 1rem; }

  .fullpage-swiper .swiper-pagination-bullets { bottom: 1rem !important; }
}

@media (max-width: 420px) {
  :root { --header-height: 2.5rem; }

  .inner { padding-left: 1rem; padding-right: 1rem; }
  .inner02 { padding-left: 1rem; padding-right: 1rem; }

  #visual .visual_list { gap: 0.5rem; }
  #visual .visual_list p,
  #visual .visual_list p * { font-size: 1.8rem; }
  #visual .change-word_wrap { height: 1.8rem; }
  #visual .visual-txt { font-size: 0.75rem; padding: 0 1rem; }

  #content01 .inner { padding-left: 1rem; }
  #content01 .wrap { gap: 2rem; }
  #content01 strong,
  #content01 h1 { font-size: 9vw; }
  #content01 p { font-size: 0.9rem; }
  #content01 .title-box div { flex-direction: column; align-items: flex-start; }
  #content01 .title-box .bar { width: 3rem; }
  #content01 .title-box span { width: 40px; height: 40px; }

  .title h1 { font-size: 2rem; }

  .title-box02 { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .title-box02 h1 { font-size: 2rem; }
  .title-box02 span { font-size: 1.3rem; padding-left: 0; }

  .container { flex-direction: column; gap: 1.5rem; }
  .container .txt-area,
  .container .img-area { width: 100%; }
  .container .img-area { height: 300px; }

  #content02 .content-wrap { gap: 2rem; }
  #content02 .pic { height: 200px; }
  #content02 .info_list { gap: 1.5rem; }
  #content02 .info_list h2 { font-size: 1.3rem; }
  #content02 .info_list p { font-size: 0.9rem; }

  #content03 .skill_list h2 { font-size: 1.5rem; }
  #content03 .skill_list .item { padding: 1.5rem; gap: 3rem; }
  #content03 .skill_list ul { gap: 1.5rem; }

  .prjt-openning h1 { font-size: 3rem; }

  #sec02.section { height: 100vh; }
  #sec02 .prjt-openning { height: 100%; }

  .container .img-area { height: 300px; }
  .container .item-box { gap: 1.5rem; margin-bottom: 2rem; }
  .container .txt-area h3 { font-size: 1rem; }
  .container .txt-area p { font-size: 0.9rem; }

  .icon-box .item img,
  .icon-box .item svg { width: 2rem; height: 2rem; }
  .icon-box .item p { font-size: 12px; }

  .btn { font-size: 14px; padding: 3px 0.6rem; }

  .card { width: 95vw; height: 55vh; max-width: 400px; max-height: 280px; }
  .face { width: 95vw; height: 55vh; max-width: 400px; max-height: 280px; }
  .card h1 { font-size: 3rem; }
  .card h2 { font-size: 1.5rem; }
  .card p { font-size: 0.85rem; }
  .card .item-box { flex-direction: column; gap: 1rem; }
  .top, .bottom { width: 95vw; max-width: 400px; }
  .left, .right { height: 55vh; max-height: 280px; }
  .bottom { transform: rotateX(-90deg) translateZ(calc(-55vh + 2px)); }
  .left { transform: rotateY(90deg) translateZ(calc(95vw - 3px)); }

  #footer { padding: 2rem 0; }
  #footer .inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  #footer h1 { font-size: 1.1rem; margin-bottom: 0.5rem; }
  #footer p { font-size: 0.9rem; }

  .main .pointer { width: 1.5rem; height: 1.5rem; }
  .main .pointer.active { width: 3rem; height: 3rem; }
  .main .pointer .img * { width: 2rem; height: 2rem; }

  nav { display: none; }
}

/* Accordion Styles */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  transition: all 0.3s ease;
}

.accordion-item.active {
  border-color: var(--primary);
}

.accordion-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.3s ease;
}


.accordion-header:hover {
  background-color: #f8f8f8;
}

.accordion-header div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.accordion-header p {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-header:hover p{
  color: var(--primary);
}

.accordion-item.active .accordion-header {
  background-color: #fff5f5;
}

.project-link {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  width: fit-content;
}

.project-link:hover {
  color: var(--primary);
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #666;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-toggle:hover {
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease 0.1s;
}

.project-detail {
  padding: 2rem;
  border-top: 1px solid #eee;
  background-color: #fafafa;
  transform: translateY(-10px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.accordion-item.active .project-detail {
  transform: translateY(0);
}

.project-detail h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: #333;
}

.project-detail p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #666;
}

/* Accordion Responsive Styles */
@media (max-width: 768px) {
  .accordion {
    padding: 1.5rem 0;
    gap: 0.8rem;
  }

  .accordion-header {
    padding: 1rem 1.5rem;
  }

  .accordion-header > div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
  }

  .project-link {
    font-size: 1.2rem;
  }

  .accordion-toggle {
    width: 36px;
    height: 36px;
  }

  .accordion-toggle svg {
    width: 20px;
    height: 20px;
  }

  .project-detail {
    padding: 1.5rem;
  }

  .project-detail h3 {
    font-size: 1.1rem;
  }

  .project-detail p {
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .accordion {
    padding: 1rem 0;
    gap: 0.6rem;
  }

  .accordion-item {
    border-radius: 6px;
  }

  .accordion-header {
    padding: 0.8rem 1rem;
    flex-direction: row;
  }

  .accordion-header > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .project-link {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    text-decoration: none;
  }

  .project-link:hover {
    color: white;
    opacity: 0.9;
  }

  .accordion-header > div p {
    font-size: 1rem;
    font-weight: 500;
  }

  .accordion-toggle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .accordion-toggle svg {
    width: 18px;
    height: 18px;
  }

  .accordion-content {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }

  .accordion-item.active .accordion-content {
    max-height: 800px;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease 0.1s;
  }

  .project-detail {
    padding: 1rem;
  }

  .project-detail h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .project-detail p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}