html{
    max-width : 1920px;
    margin : 0 auto;
    font-size: 14px;

}


article{
    display: flex;

}

/* main */
main {
    width : calc(100% - 320px);
    min-height : 910px;
    padding : 0 0 0 15px;
    position : relative;
    overflow: hidden;
    background: url(/images/mainbg.webp) left top / 100% auto no-repeat;
    container-type: inline-size;
}

main .bg{
    background-color : #102e64;
    width : 60%;
    height : 200vh;
    position : absolute;
    right : -10%;
    top : -10vh;
    transform: rotate(15deg);
    background-repeat: no-repeat;
    animation: fadein 1s forwards;
}
main .human{
    position : absolute;
    right: 15%;
    bottom: -10%;
    animation: fadeinup 2s forwards;
}

main .human img{
    width: 95%;
}

@keyframes fadeinup {
    00%{
        opacity: 0;
        transform: translateY(30px);
    }
    50%{
        opacity: 0;
        transform: translateY(30px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes fadein {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }

}


main header {
    width : 100%;
    margin-top : 30px;
    margin-bottom : -12px;
    position: relative;
    top: -14px;
    z-index: 1;
}
main header a{display: inline-block;}
main header a h1 img{width : 270px;}
main header span{
    font-size : 10px;
    color : #707070;
}

main header span {
    font-size: 12px;
    color: #707070;
}

main .catchcopy{
    margin : 4% 0;
    font-size : 50px;
    font-weight: 800;
    line-height : 1.3;
    color: #0f2e64;
    text-shadow: 0 0 6px #fff, 0 0 16px rgba(255, 255, 255, 0.9), 0 0 32px rgba(255, 255, 255, 0.75);
    position : relative;
}

main .catchcopy span{
    color :#f7761d;
}

main .agenda-list-desc{
    animation: fadeinup 1s forwards;
}

@keyframes fadeinup2 {
	0%{
		opacity: 0;
		transform: translateY(20px);

	}
	50%{
		opacity: 0;
		transform: translateY(20px);
	}
	100%{
		opacity: 1;
		transform: translateY(0px);
	}
  }

main .agenda-list-desc h5{
    display: inline-block;
    width: 300px;
    background : url(/images/box.svg);
    height : 50px;
    background-size : 300px;
    background-repeat: no-repeat;
    color : #fff;
    font-size : 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
   justify-content: center;
   position : relative;
}
main .agenda-list-desc h5 span {
    font-size: 30px;
    margin-top: -4px;
}

main .agenda-list-desc p{
    font-size : 18px;
    line-height : 1.8;
    position : relative;
}

.swiper {
    height : auto !important;
}

.agenda-card{
    display: block;
    width: 100%;
    background : transparent;
    border : none;
    background : #fff;
    border : 1px solid #f6761c;
    border-radius: 30px;
    padding : 20px;
    overflow: hidden;
}
  .agenda-card .grid-br{
    display: flex;
    flex-wrap: wrap;
  }

  .agenda-card .angenda-num{font-size : 8px}
  
  .agenda-card .agenda-badge{
    margin-top : 15px;
    margin-bottom : 15px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-height : 26px;
    overflow: hidden;
  }
  .agenda-card .agenda-badge span{
    border : 1px solid #888888;
    color : #888888;
    white-space: nowrap;
    padding : 5px 10px;
    margin-right : 10px;
    font-size : 14px;
    margin-bottom : 5px;
  }
  .agenda-card .agenda-badge .new{
    border :1px solid #f6761c;
    color: #fff;
    background : #f6761c;
  }
  
  .agenda-card .agenda-title a{
    font-size : 22px;
    font-weight: 700;
    margin : 10px 0;
    line-height: 1.3;
    text-align: left;
    display:-webkit-box;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height : 120px;
    height : 90px;
    width: 100%;
    color : #000;
    text-decoration: underline;
  }
  .agenda-card .agenda-title a:hover{ text-decoration: none;}
  
  .agenda-card .agenda-title .db-card-title{
    background : transparent;
    width: 100%;
    border : none;
    text-align: left;
    font-size : 14px;
    font-weight: bold;
  }
  
  .agenda-card .agenda-desc{
    display : flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap : wrap;
    border-top : 1px solid #AAAAAA;
    padding-top : 15px;
    width : 100%;
  }
  
  .agenda-card .agenda-desc > span{
    font-size : 16px;
    display: flex;
    align-items: center;
    margin : 5px 5px 5px 0;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    word-break: break-all;
  }
  
  .agenda-card .agenda-desc > span span{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    word-break: break-all;
    line-height : 30px;
}
  
  .agenda-card .agenda-desc img{margin-right : 10px; width : 30px;}
  .agenda-card .agenda-desc .price{font-size : 30px; color : #FF3636; font-weight: bold;}
  
  
  .agenda-card table {
    width: 100%;
    border-top : 2px solid #E1E1E1;
    border-bottom : 2px solid #E1E1E1;
    margin : 10px 0;
  }
  .agenda-card table th{
    border-bottom : 1px solid #E1E1E1;
    padding : 8px;
    font-size : 9px;
  }
  
  .agenda-card table th:first-child{
    background : #EFEFEF;
    white-space: nowrap;
    vertical-align: middle;
  }
  .agenda-card table .bg_gray{
    background : #EFEFEF;
    white-space: nowrap;
    vertical-align: middle;
  }
  .agenda-card .agenda-btn{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .agenda-card .agenda-btn button{
    padding : 5px 1px;
    font-size : 12px;
    border-radius: 10px;
    display : flex;
    justify-content: center;
    align-items: center;
    margin-top : 5px;
  }
  
  .agenda-card .agenda-btn button:first-child{
    background : #ffffff;
    margin-right : 10px;
    color : #888888;
    border : 1px solid #888888;
    min-width: 180px;  
  }
  .agenda-card .agenda-btn button:last-child{
    min-width: 380px;
    border : 1px solid #102e64;
    background : #102e64;
    color : #ffffff;
  }
  .agenda-card .agenda-btn button img{
    margin-right : 7px;
  }



/* aside */
aside{
    width : 320px;
    background : #fff;
    padding : 0 30px;
    border-left : 1px solid #E1E1E1;
    border-right : 1px solid #E1E1E1;
    
}
aside .status-logout{
    display : flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
aside .aside-logo{
    margin-top : 0;
    margin-bottom : 16px;
}
aside .aside-logo img:first-child{
    margin : 0 auto;
    display: block;
    width : 100px;
}
aside .aside-logo img:last-child{
    margin : 20px -6px 16px;
    width : calc(100% + 12px);
    max-width : none;
    display: block;
}
aside form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
aside form .w50 {width : 47%; margin-bottom : 30px;}
aside form .w100 {width : 100%; margin-bottom : 30px;}
aside .content-title{
    font-size : 16px;
    font-weight: 700;
    margin-bottom : 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
aside  .content-title span{
    background : #f6761c;
    padding : 3px 10px;
    color : #ffffff;
}
aside .content-desc{
    line-height : 1.6;
    margin-bottom : 50px;
}

aside form .check-wrap{

    margin-bottom : 10px;
}

aside form .check-wrap .form-check-input{
    display: inline-block;
    width : 20px;
    height : 20px;
    margin-right : 5px;
}

aside form .check-wrap label{
    line-height : 1.4;
    display: inline-block;
    width: calc(100% - 40px);
}

aside .btn-wrap button:first-child{
    background: linear-gradient(to left top, #f6761d, #f9a05a);
    width : 100%;
    height : 65px;
    border : none;
    font-size : 20px;
    color : #fff;
    font-weight: 700;
    margin-bottom : 15px;
    transition: 0.3s;
}

aside .btn-wrap button:first-child:hover{
    transform: translateY(-3px);

}
aside .btn-wrap button:last-child{
    border-radius: 5px;
    border : 2px solid #000;
    color : #000;
    font-size : 16px;
    background : #fff;
    font-weight: 600;
    width : 100%;
    line-height : 35px; 
    transition: 0.3s;
}
aside .btn-wrap button:last-child:hover{
    background : #000;
    color : #fff;
}

aside h4{
    font-weight: 700;
    line-height : 1.6;
    font-size : 18px;
    margin : 25px auto;
    text-align: center;
}

aside .flow .flow-arrow{
    background : #000;
    color : #fff;
    font-size : 18px;
    text-align: center;
    line-height : 32px;
    margin : 0 auto;
    width : 185px;
    font-weight : bold;
    margin-bottom : 30px;
    position : relative;
    animation: bubble 1s infinite;
}
aside .flow .flow-arrow::after{
    content: "";
    height : 10px;
    width : 10px;
    background : #000;
    position: absolute;
    left : 50%;
    bottom : -6px;
    transform: rotate(45deg);
}
@keyframes bubble {
    0%{transform: translateY(0px);}
    50%{transform: translateY(-5px);}
    100%{transform: translateY(0px);}
}

aside .flow .flow-title{
    font-size : 18px;
    font-weight: bold;
    color : #fff;
    background : #f6761c;
    text-align: center;
    line-height : 35px;
    position: relative;
}
aside .flow .flow-title::after{
    position: absolute;
    width : 35px;
    height : 35px;
    color : #fff;
    content: "";
    left : -12px;
    top : -12px;
    background : #000;
    border-radius: 50px;
}
aside .flow .flow-title:nth-child(2):after{content: "1";}
aside .flow .flow-title:nth-child(4):after{content: "2";}
aside .flow .flow-title:nth-child(6):after{content: "3";}

aside .flow .flow-desc{
    line-height : 1.2;
    margin-top : 10px;
    margin-bottom : 30px;
    font-weight: 600;
    word-break: break-all;
}

aside .btn-wrap-login button:first-child{
    border-radius: 5px;
    border : 2px solid #f6761c;
    color : #f6761c;
    font-size : 16px;
    background : #fff;
    font-weight: 600;
    width : 100%;
    line-height : 35px; 
    transition: 0.3s;
    margin-bottom : 20px;
}
aside .btn-wrap-login button:last-child{
    border-radius: 5px;
    border : 2px solid #000;
    color : #000;
    font-size : 16px;
    background : #fff;
    font-weight: 600;
    width : 100%;
    line-height : 35px; 
    transition: 0.3s;
}
.main-modal .modal-body {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding : 20px 50px 50px 50px;
}

.main-modal .modal-body .mb-3 {
    width: 100%;
}
.main-modal .modal-body .mb-3 .form-control {font-size : 16px;}
.main-modal .modal-body .form-label{font-weight: 600;}
.main-modal .modal-body .btn-wrap{width: 100%;}
.main-modal .modal-body .btn-wrap .btn-login{
    font-size : 20px;
    color : #102e64;
    text-align: center;
    border : 2px solid #102e64;
    background : transparent;
    width: 100%;
    font-weight: 700;
    line-height : 50px;
    margin-top : 20px;
    transition: 0.3s;
    margin-bottom : 70px;
}
.main-modal .modal-body .btn-wrap .btn-login:hover{
    background : #102e64;
    color: #fff;
}


.main-modal .password-arrow{
    background : #000;
    color : #fff;
    font-size : 18px;
    text-align: center;
    line-height : 32px;
    margin : 0 auto;
    width : 70%;
    min-width : 280px;
    font-weight : bold;
    margin-bottom : 30px;
    position : relative;
    animation: bubble 1s infinite;
}
.main-modal  .password-arrow::after{
    content: "";
    height : 10px;
    width : 10px;
    background : #000;
    position: absolute;
    left : 50%;
    bottom : -6px;
    transform: rotate(45deg);
}

.main-modal .modal-title{
    font-size : 36px;
    font-weight: 700;
}

.main-modal .modal-header{
    border : none;
    padding : 40px 40px 0 40px;
}

.main-modal .modal-body .password-reset{
    font-size : 30px;
    text-align: center;
    width: 100%;
    font-weight: 700;
    margin-bottom : 30px;
}
.main-modal .modal-body .btn-wrap .btn-reset{
    font-size : 20px;
    color : #000;
    text-align: center;
    border : 2px solid #000;
    background : transparent;
    width: 100%;
    font-weight: 700;
    line-height : 50px;
    margin-top : 20px;
    transition: 0.3s;
}
.main-modal .modal-body .btn-wrap .btn-reset:hover{
    background : #000;
    color: #fff;
}


footer{
    background : #000;
    height : 50px;
    display: flex;
    align-items: center;
    padding : 0 15px;
}
footer .contents{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}
footer .contents a h1 img{ width : 145px;}
footer .contents ul{ 
    display: flex;

}
footer .contents ul li{
    margin : 15px;
}

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

footer .contents small{
    color: #C2C2C2;
}

@media (min-width : 1280px) and (max-width : 1680px){
	main{min-height : 750px}
	main .catchcopy {
	    font-size: 3rem;
	    line-height: 1.3;
	    margin: 2.5% 0;
	}
    main .human{
        right : -15%;
        bottom : -35%;
    }
    main header a h1 img{width : 120px;}
    aside .aside-logo img:first-child{display: none;}
    aside .aside-logo img:last-child{margin: 0;}
}

@media (max-width : 1279px){
    article{
        flex-wrap: wrap;
    }
    main {
        width : 100%;
        height : auto;
        padding : 15px;
    }
    main .human{
        right: 0;
        bottom: 5%;
    }
    main .human img{
        width: 500px;
    }
    main .catchcopy{
        font-size : 42px;
        line-height : 1.3;
        padding : 10% 0;
    }
    aside {
        width : 100%;
        padding : 30px
    }
    aside form .check-wrap{width: 100%;}
    aside form .check-wrap .form-check-input{
        height : 25px;
    }
    aside .status-logout .btn-wrap {width : 100%;}

}
@media (max-width : 768px){

    footer{height : auto; padding : 20px;}
    footer .contents ul{
        flex-direction: column;
        width: 100%;
    }
    footer small{margin-top : 20px;}
    main {
        min-height : auto;
    }
    main .catchcopy{
        font-size : 26px;
        line-height : 1.3;
        padding : 10% 0;
    }
    main .human{
        right: 0;
        bottom: 26%;
    }
    main .human img{
        width: 300px;
    }

    .main-modal .modal-body {padding: 20px;}
    
    .main-modal .modal-body .password-reset{font-size: 24px;}
    
    .main-modal .modal-title{font-size : 26px;}
    
    aside .status-logout .btn-wrap {width : 100%;}
    
    aside form .check-wrap .form-check-input{height : 20px;}
    main .agenda-list-desc h5 {font-size : 18px; width : 240px; height : 35px; background-size : 240px;}
    main .agenda-list-desc h5 span{ font-size : 24px; font-weight : 900; margin-top : -2px;}
    
    main .agenda-list-desc p{ font-size : 15px;}
}

/* 카드 크기: style/7 브랜치와 동일 */
.mySwiper .swiper-slide {
  width: 380px;
}
@media (max-width: 768px) {
  .mySwiper .swiper-slide {
    width: 78%;
  }
}
.mySwiper .agenda-card .agenda-title a {
  height: 60px;
  max-height: 60px;
  -webkit-line-clamp: 2;
}
@media (min-width: 1280px) {
  .mySwiper .swiper-slide {
    width: calc((100% - 45px) / 2.5);
  }
}
@media (min-width: 1368px) {
  .mySwiper .swiper-slide {
    width: calc((100% - 120px) / 3.3);
  }
}
@media (min-width: 1680px) {
  .mySwiper .swiper-slide {
    width: calc((100% - 120px) / 3.3);
  }
}

/* 카드 위치: style/7 브랜치와 동일 (PC, 노트북: 영역 아래 고정, 좌우 15px) */
.mySwiper {
  padding: 30px 0 20px;
}
@media (min-width: 1280px) {
  main .mySwiper {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
  }
}

main {
  isolation: isolate;
}

/* 非公開案件 90％以上 대신 style/9 의 deco1 + 아이콘 문구 (글자색은 현재 밝은 배경에 맞춤) */
main .agenda-list-desc{display:flex;align-items:center;gap:16px;position:relative;top:-48px;}
main .agenda-list-desc .deco1{display:block;width:253.46px;max-width:100%;height:auto;}
main .agenda-list-desc .mainicon{width:90px;height:90px;flex:none;}
main .agenda-list-desc .main-point{display:flex;align-items:center;gap:10px;position:relative;top:7px;}
main .agenda-list-desc .main-point p{margin:0;line-height:1.25;color:#0f2e64;white-space:nowrap;}
main .agenda-list-desc .main-point .s{display:block;font-size:26px;font-weight:700;color:#f7761d;}
main .agenda-list-desc .main-point strong{display:block;font-size:28px;font-weight:800;color:#f7761d;}
main .agenda-list-desc .main-point:first-of-type{margin-left:20px;}
main .orange-bar{width:59px;height:5px;margin:calc(-2% + 2.5px) 0 calc(2% - 7.5px);border-radius:3px;background:#f7761d;animation:fadeinup2 forwards 3s;}

/* 캐치카피와 deco1 사이 주황 막대 */

/* 캐러셀 카드: 민트 테두리 제거, 그림자 추가 */
.mySwiper .agenda-card {
  border: none;
  box-shadow: 0 10px 28px rgba(15, 46, 100, 0.3), 0 2px 6px rgba(15, 46, 100, 0.12);
}


/* 카드 뱃지(新着 등)를 제목 위로 (style/9) */
.agenda-card .agenda-badge{order:-1;margin-top:0;margin-bottom:8px;}
.agenda-card .agenda-badge .new{border-color:#f6761d;background:#f6761d;color:#fff;}
.agenda-card .agenda-desc .price{color:#f7771c;}
.agenda-card .agenda-badge span:not(.new){border-color:#dce6ef;background:#dce6ef;}

/* 로그인/회원등록 패널: 배경 그라데이션(위 ffe7cf → 아래 fecb92) + 안쪽 흰색 둥근 박스 */
aside{
    background : linear-gradient(to bottom, #ffe7cf, #fecb92);
    padding : 15px;
    border : none;
    display : flex;
}
aside .aside-box{
    flex : 1;
    width : 100%;
    background : #fff;
    border-radius : 20px;
    padding : 0 15px 20px;
}
/* 흰 박스 안의 내용을 세로 가운데로 */
aside .aside-box{
    display : flex;
    flex-direction : column;
    justify-content : center;
    padding : 11px 15px;
}
aside .aside-box > div{
    width : 100%;
}

/* 흰 박스 그림자 */
aside .aside-box{
    box-shadow : 0 8px 24px rgba(0, 0, 0, 0.15);
}
/* 必須: style/3 과 같은 알약 형태 */
aside .content-title span{
    background : #ffe7cf;
    padding : 3px 10px;
    color : #f87a1f;
    font-size : 14px;
    border : 2px solid #f87a1f;
    border-radius : 999px;
}
/* 新着: style/3 과 같은 형태 (모서리 8px, 16px 글자), 색은 현재 주황 유지 */
.agenda-card .agenda-badge .new{
    border-radius : 8px;
    padding : 5px 10px;
    font-size : 16px;
}

/* フルリモート 등 뱃지도 新着과 같은 모서리 */
.agenda-card .agenda-badge span{
    border-radius : 8px;
}
/* 必須: 글자·테두리 f87a1f, 배경 fecb92 */
aside .content-title span{
    background : #ffe7cf;
    color : #f87a1f;
    border-color : #f87a1f;
}

/* 뱃지가 커져서 아래가 잘리던 것 수정 (높이 제한 30px → 44px) */
.agenda-card .agenda-badge{
    max-height : 44px;
}

/* 푸터: style/7 형태 (남색 배경 #112b40, 높이 52px, 작은 글자) */
footer {
  background: #081528;
  height: 52px;
  padding: 0 26px;
}
footer .contents ul {
  gap: 24px;
}
footer .contents ul li {
  margin: 0;
}
footer .contents ul li a {
  font-size: 13px;
}
footer .contents small {
  color: #9fb3c8;
  font-size: 13px;
  margin-left: auto;
  text-align: right;
}

/* 메인 푸터: © Libera 는 왼쪽, 링크는 오른쪽 */
footer.footer-swap .contents small {
  margin-left: 0;
  text-align: left;
  font-size: 15px;
}
footer.footer-swap .contents ul {
  margin-left: auto;
}
@media (max-width: 768px) {
  footer {
    height: auto;
    padding: 20px;
  }
}

/* 캐치카피 · 주황 막대 · deco1 묶음을 20px 위로 */
main .catchcopy{top:-15px;margin-bottom:calc(4% + 6px);}
main .orange-bar{position:relative;top:-38px;}

/* 회원등록 동의 문구의 利用規約 · 個人情報の取り扱い 링크색 */
aside form .check-wrap label a{
    color : #f6761c;
}

/* 동의 체크박스: 체크 시 색 */
aside form .check-wrap .form-check-input:checked{
    background-color : #102e64;
    border-color : #102e64;
}
aside form .check-wrap .form-check-input:focus{
    border-color : #102e64;
    box-shadow : 0 0 0 0.25rem rgba(16, 46, 100, 0.25);
}

/* 회원등록 패널 버튼: 주황 · 남색 톤 */
aside .btn-wrap button:first-child{
    background : linear-gradient(to left top, #f6761d, #f9a05a);
}
aside .btn-wrap button:last-child{
    border-color : #102e64;
    color : #102e64;
}
aside .btn-wrap button:last-child:hover{
    background : #102e64;
    color : #fff;
}

aside .btn-wrap button:first-child{
    border-radius : 5px;
}

/* 사진 왼쪽 빈 곳의 캐치 문구 이미지 (style/3 의 위치·크기) */
main .main-typography{
  visibility: hidden;
  position: absolute;
  left: 610px;
  top: 45px;
  width: 270px;
  rotate: -3deg;
  z-index: 1;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
  animation: fadeinup2 forwards 3s;
}
@media (min-width: 1280px){
  main .main-typography{ visibility: visible; }
}
@media (min-width: 1681px){
  /* 화면 폭에 비례해서 위치·크기 조정 (main 폭 기준 %로 지정 → 어떤 폭에서도 얼굴과 일정한 간격 유지) → 사진 속 얼굴을 가리지 않음 */
  main .main-typography{
    left: 51.2%;
    top: 4.5cqw;
    width: 22.3%;
  }
}

/* style/9 의 fadeinright: 오른쪽 30px 밖에서 들어오며 나타남 (처음 1초는 투명, 총 2초) */
@keyframes fadeinright {
    00%{
        opacity: 0;
        transform: translateX(30px);
    }
    50%{
        opacity: 0;
        transform: translateX(30px);
    }
    100%{
        opacity: 1;
        transform: translateX(0px);
    }
}
main .main-typography{animation:fadeinright 1s forwards;}

/* 캐러셀 양끝 카드의 그림자가 잘리지 않도록 좌우 여백 확보 */
.mySwiper {
  padding: 30px 0 30px;
}
@media (min-width: 1280px) {
  main .mySwiper {
    left: 0;
    right: 0;
  }
}

/* 캐러셀 이동을 부드럽게: 시작과 끝이 완만한 가속 곡선 */
.mySwiper .swiper-wrapper{
  transition-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
}

/* 남색 배경: 주황 곡선 아래(mainbg-navy.svg)부터 푸터 위까지만, 세로 그라데이션(위 081528 → 아래 102e64) */
main::before{
    content: "";
    position: absolute;
    inset: 0;
    background: #f7f9fc;
    -webkit-mask-image: url(/images/mainbg-navy.svg), linear-gradient(#000, #000);
    mask-image: url(/images/mainbg-navy.svg), linear-gradient(#000, #000);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: left top, left bottom;
    mask-position: left top, left bottom;
    -webkit-mask-size: 100% auto, 100% calc(100% - (100cqw + 15px) * 646.67 / 1584 + 2px);
    mask-size: 100% auto, 100% calc(100% - (100cqw + 15px) * 646.67 / 1584 + 2px);
    z-index: -1;
}

main .catchcopy .jo{font-style:normal;font-size:0.84em;}

/* ITフリーランスエンジニアの専門エージェント 문구를 로고 아래 가운데 정렬 */
main header{width:fit-content;text-align:center;}
main header span{position:relative;left:6px;}

/* ===== 노트북(1281~1680px): 큰 데스크톱 화면(1920px)과 같은 모양으로 폭에 맞춰 유동적으로 줄어듦 =====
   기준: 1920px 화면에서 main 안쪽 폭 약 1554px = 100cqw → 큰 화면의 N px = N × 0.06435cqw */
@media (min-width: 1280px) and (max-width: 1680px) {
  main { min-height: calc((100vw - 320px) * 0.327 + 397px); }

  main header { margin-top: 1.93cqw; margin-bottom: -0.77cqw; top: -0.9cqw; }
  main header a h1 img { width: 17.376cqw; }
  main header span { font-size: max(0.772cqw, 10px); }

  main .catchcopy { font-size: 3.2175cqw; margin: 4% 0; margin-bottom: calc(4% + 0.386cqw); top: -0.965cqw; }

  main .agenda-list-desc { gap: 1.03cqw; top: -3.09cqw; }
  main .agenda-list-desc .deco1 { width: 16.31cqw; }
  main .agenda-list-desc .mainicon { width: 5.79cqw; height: 5.79cqw; }
  main .agenda-list-desc .main-point { gap: 0.64cqw; top: 0.45cqw; }
  main .agenda-list-desc .main-point .s { font-size: max(1.673cqw, 13px); }
  main .agenda-list-desc .main-point:first-of-type { margin-left: 1.29cqw; }

  main .main-typography { left: 51.2%; top: 4.5cqw; width: 22.3%; }
}

/* 태블릿(769~1279px): 태블릿 전용 배경(1280 x 693.35)과 남색 영역 마스크 */
@media (min-width: 769px) and (max-width: 1279px) {
  main {
    background: url(/images/mainbg-tablet.webp) left top / 100% auto no-repeat;
  }
  main::before {
    -webkit-mask-image: url(/images/mainbg-navy-tablet.svg), linear-gradient(#000, #000);
    mask-image: url(/images/mainbg-navy-tablet.svg), linear-gradient(#000, #000);
    -webkit-mask-size: 100% auto, 100% calc(100% - (100cqw + 30px) * 693.35 / 1280 + 2px);
    mask-size: 100% auto, 100% calc(100% - (100cqw + 30px) * 693.35 / 1280 + 2px);
  }
  main .catchcopy { font-size: 4.02cqw; padding: 0; margin: 4% 0; margin-bottom: calc(4% + 0.386cqw); top: -0.965cqw; }
  main .agenda-list-desc { gap: 1.24cqw; top: -3.09cqw; margin-bottom: calc(19.15cqw - 111px); }
  main .agenda-list-desc .deco1 { width: 19.57cqw; }
  main .agenda-list-desc .mainicon { width: 6.95cqw; height: 6.95cqw; }
  main .agenda-list-desc .main-point { gap: 0.77cqw; top: 0.45cqw; }
  main .agenda-list-desc .main-point .s { font-size: max(2.0cqw, 15px); }
  main .agenda-list-desc .main-point:first-of-type { margin-left: 1.55cqw; }
  main .agenda-list-desc .deco1 { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px #fff) drop-shadow(0 0 20px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 36px rgba(255, 255, 255, 0.85)); }
  main .agenda-list-desc .main-point .s { text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 12px #fff, 0 0 20px rgba(255, 255, 255, 0.95), 0 0 36px rgba(255, 255, 255, 0.85); }
  aside .aside-logo img:first-child { width: 110px; }
  aside .aside-logo img:last-child { width: 320px; max-width: 100%; margin: 20px auto 16px; }
  main .main-typography { visibility: visible; left: 45%; top: 4.2cqw; width: 24%; }
  main .catchcopy { text-shadow: none; }
}

/* 모바일(768px 이하): 모바일 전용 배경(390 x 341.52)과 남색 영역 마스크 */
@media (max-width: 768px) {
  main {
    background: url(/images/mainbg-mobile.webp) left top / 100% auto no-repeat;
  }
  main::before {
    -webkit-mask-image: url(/images/mainbg-navy-mobile.svg), linear-gradient(#000, #000);
    mask-image: url(/images/mainbg-navy-mobile.svg), linear-gradient(#000, #000);
    -webkit-mask-size: 100% auto, 100% calc(100% - (100cqw + 30px) * 341.52 / 390);
    mask-size: 100% auto, 100% calc(100% - (100cqw + 30px) * 341.52 / 390);
  }
  main header a h1 img { filter: none; }
  main header span { text-shadow: none; }
}

/* 모바일: 캐치카피를 주황 곡선 아래로 내리고, deco1 줄을 2단으로 */
.br-sp { display: none; }
@media (max-width: 768px) {
  .br-sp { display: inline; }
  main .catchcopy {
    font-size: 7.6cqw;
    padding: 0;
    top: 0;
    margin: calc(102.66cqw - 67.2px) 0 4% 0;
    text-align: left;
    text-shadow: none;
  }
  main .agenda-list-desc {
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
    opacity: 1;
    transform: none;
    top: 0;
    gap: 2.2cqw;
    margin-bottom: 0;
  }
  main .agenda-list-desc .deco1 { flex: none; width: 64cqw; max-width: 64cqw; margin: 0 18cqw; }
  main .agenda-list-desc .mainicon { width: 12cqw; height: 12cqw; }
  main .agenda-list-desc .main-point { gap: 1.4cqw; top: 0; }
  main .agenda-list-desc .main-point .s { font-size: 3.9cqw; }
  main .agenda-list-desc .main-point:first-of-type { margin-left: 0; }
}

/* 모바일: 캐치카피를 사진 위(로고 아래)로 올리기 */
@media (max-width: 768px) {
  main .catchcopy {
    font-size: 6.5cqw;
    margin: 36px 0 calc(62.22cqw - 107.7px) 0;
    text-shadow: none;
  }
}

/* 태블릿·모바일(1279px 이하): 캐러셀과 회원등록창 사이 틈 줄이기 */
@media (max-width: 1279px) {
  main { min-height: 0; padding-bottom: 0; }
  main .mySwiper { padding-bottom: 16px; margin-left: -15px; margin-right: -15px; }
}

/* 아이콘 3개 묶음: PC·태블릿에서는 기존 배치 그대로(묶음 상자는 없는 것처럼) */
main .agenda-list-desc .main-points { display: contents; }

/* 모바일: deco1은 작게, 아이콘 3개는 크게 키우고 옆으로 넘겨서 보기 */
@media (max-width: 768px) {
  main .agenda-list-desc .deco1 { width: 52cqw; max-width: 52cqw; margin: 0 24cqw 2cqw; }
  main .agenda-list-desc .main-points {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    margin: 0 -15px;
    width: calc(100% + 30px);
    overflow: hidden;
    padding: calc(5cqw + 5px) 0 8px;
    background: linear-gradient(to right, rgba(195, 202, 214, 0), #c3cad6 50%, rgba(195, 202, 214, 0)) top / 100% 2px no-repeat;
  }
  main .agenda-list-desc .main-points .swiper-wrapper { align-items: center; }
  main .agenda-list-desc .main-point {
    flex: 0 0 auto;
    width: 36cqw;
    flex-direction: column;
    transition: opacity 0.4s;
    justify-content: center;
    gap: 2cqw;
    margin-left: 0;
  }
  main .agenda-list-desc .main-point p { text-align: center; }
  main .agenda-list-desc .main-point:not(.swiper-slide-active) { opacity: 0.35; }
  main .agenda-list-desc .mainicon { width: 20cqw; height: 20cqw; }
  main .agenda-list-desc .main-point .s { font-size: 5.4cqw; }
  main .agenda-list-desc .main-point .s br { display: none; }
  main .agenda-list-desc .main-points .main-points-pagination {
    position: static;
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  main .agenda-list-desc .main-points .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0;
    background: #c3cddc;
    opacity: 1;
  }
  main .agenda-list-desc .main-points .swiper-pagination-bullet-active { background: #f7761d; }
}

/* 모바일 푸터: © Libera 와 링크 목록 사이를 넓히되, 푸터 전체 높이(165px)는 그대로 */
@media (max-width: 768px) {
  footer .contents small { margin-top: 0; }
  footer .contents ul { gap: 16px; margin-top: 36px; }
}

/* 모바일: 카드 캐러셀을 아이콘 페이지네이션(점)과 회원등록창 사이의 가운데에 */
@media (max-width: 768px) {
  main .mySwiper { padding-top: 14.5px; padding-bottom: 31.5px; }
}

/* 로그인 후 マイページ 버튼 색 → #f6761c (ログアウト은 제외) */
aside .btn-wrap-login button.go-to-mypage:first-child{
    border-color: #f6761c;
    color: #f6761c;
}

/* 로그인 후 박스: 마우스를 올리면 색이 꽉 차는 효과 (マイページ·ログアウト) */
aside .btn-wrap-login button.go-to-mypage:first-child:hover{
    background: #f6761c;
    color: #fff;
}
aside .btn-wrap-login form button:hover{
    background: #000;
    color: #fff;
}

/* これからの流れ 말풍선(사각형 + 아래 꼭짓점 사각형) 색 검정 → #102e64 */
aside .flow .flow-arrow,
aside .flow .flow-arrow::after{
    background: #102e64;
}

/* これからの流れ 제목 칸 3개(カウンセリング面談 등) 색 민트 → 주황 #f6761c */
aside .flow .flow-title{
    background: #f6761c;
}

/* 모바일: muryo 이미지 크기 줄임 (가운데 정렬) */
@media (max-width: 768px) {
  aside .aside-logo img:last-child { width: 300px; max-width: 100%; height: auto; margin: 20px auto 16px; }
}

/* 캐러셀 연출: 가운데 카드는 선명하게, 양옆 카드는 조금 작고 흐리게 + 마우스를 따라 기울고 빛이 스침 */
.mySwiper .swiper-slide .agenda-card{
  --s: 0.95;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--s));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.mySwiper .swiper-slide-active .agenda-card{
  --s: 1;
}
.mySwiper .swiper-slide .agenda-card.is-tilting{
  transition: transform 0.08s linear;
}
/* 양옆 카드를 흐리게: 카드를 투명하게 하지 않고 흰 막을 덮어 뒤 배경이 비치지 않게 함 */
.mySwiper .swiper-slide .agenda-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  opacity: 0.5;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 1;
}
.mySwiper .swiper-slide-active .agenda-card::before{
  opacity: 0;
}
.mySwiper .swiper-slide .agenda-card::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}
.mySwiper .swiper-slide .agenda-card.is-tilting::after{
  opacity: 1;
}

/* mainicon1~3 와 옆 글자: 마우스를 올리면 위로 떠오르고, 아이콘은 커지며 주황빛, 글자는 남색으로 (PC·태블릿) */
@media (min-width: 769px) and (hover: hover) {
  main .agenda-list-desc .main-point{
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
    cursor: default;
  }
  main .agenda-list-desc .main-point .mainicon{
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s;
  }
  main .agenda-list-desc .main-point .s,
  main .agenda-list-desc .main-point strong{
    transition: color 0.3s;
  }
  main .agenda-list-desc .main-point:hover{
    transform: translateY(-5px);
  }
  main .agenda-list-desc .main-point:hover .mainicon{
    transform: scale(1.12);
    filter: drop-shadow(0 6px 10px rgba(247, 118, 29, 0.5));
  }
  main .agenda-list-desc .main-point:hover .s,
  main .agenda-list-desc .main-point:hover strong{
    color: #0f2e64;
  }
}

/* 로그인한 뒤의 오른쪽 패널에서는 muryo 이미지를 숨김 (로그인 전 패널에는 그대로 표시) */
aside .status-login .aside-logo img:last-child{
    display: none;
}

/* 로그인 후 「ようこそ、○○様！」: 글자 크기 키우고 이름은 남색 */
aside .status-login h4{
    font-size: 22px;
}
aside .status-login h4 span{
    color: #102e64;
}

/* 로그인 후 패널의 로고 크기를 조금 키움 */
aside .status-login .aside-logo img:first-child{
    width: 125px;
}
