@charset "utf-8";
/**************************************/
/* var
/**************************************/
:root {
    --bg-color: #FFF;
    --main-color: #000;
    --main-link-color: #000;
    --sub-link-color: #0096FF;
    --disable-link-color: #AAA;
    --font-size-base: 16px;
    --font-size-small: 14px;

    /* common */
    --main-visual-color: #f0f9ff;

    /* survey */
    --survey-question-bg: #ffffff;
    --survey-question-border: #d7e2f5;
    --survey-question-text: #1f2933;
    --survey-question-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    --survey-question-radius: 18px;
}

/****************************************/
/* common parts
/*****************************************/
@media screen and (max-width: 767px){
}
.btn-common{
    display: block;
    color:#FFF;
    font-size: var(--font-size-small);
    line-height: 40px;
    text-align: center;
    margin:0px auto;
    width:240px;
    height: 40px;
    background-color: #000;
    border:solid 1px #FFF;
    border-radius: 20px;
    transition: none;
}
.btn-common:disabled{
    background-color: #DDD;
}
.btn-common:hover{
    color:#FFF;
}
.btn-common-s{
    display: inline-block;
    color:#FFF;
    font-size: var(--font-size-small);
    line-height: 22px;
    text-align: center;
    margin:0px auto;
    width:160px;
    height: 24px;
    border:solid 1px #000;
    border-radius: 12px;
}
.btn-common-w{
    display: block;
    color:#FFF;
    font-size: var(--font-size-small);
    line-height: 40px;
    text-align: center;
    margin:0px auto;
    width:280px;
    height: 40px;
    background-color: #000;
    border:solid 1px #FFF;
    border-radius: 20px;
}

h2.title-common{
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    text-align: center;
    margin-bottom:16px;
}
h2.title-common span{
    color:#FF46AA;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    text-align: center;
}
.subtitle-common{
    font-size: 16px;
    font-weight: bold;
    line-height: 32px;
    text-align: center;
    margin-bottom:16px;
}
.subtitle-common::before,
.subtitle-common::after{
    content:"-";
}

.form-box{
    margin:0px auto 16px;
    padding:8px 0px;
    width:100%;
    max-width:480px;
}
.form-box h3{
    line-height: 32px;
}
.form-box h3 span{
    color:#C00;
    font-size:14px;
    line-height: 32px;
}
.form-box input[type="text"],
.form-box input[type="email"],
.form-box input[type="password"]{
    line-height: 48px;
    padding:0px 16px;
    width:100%;
    height: 48px;
    color:#000;
    background-color:#FEFEFE;
    border-radius: 24px;
    border:solid 1px #000;
}
.form-box input[type="checkbox"]{
    width:16px;
    height: 16px;
}

.form-box input:read-only{
    background-color:#CCC;
}

.form-box select{
    line-height: 48px;
    padding:0px 16px;
    width:calc(100% / 3);
    height: 48px;
    color:#000;
    background-color:#FEFEFE;
    border-radius: 24px;
    border:none;
}
.form-box select.birthday{
    width:calc(100% / 3);
}

.form-box small{
    display: inline-block;
    font-size:12px;
    margin-top:8px;
}

.alert-box{
    color:#C00;
    font-size: 14px;
    margin:16px auto;
    padding:16px;
    background-color: rgb(255,238,242);
    border:solid 2px #C00;
    border-radius: 8px;
}
.success-box{
    color:#0C0;
    font-size: 14px;
    margin:16px auto;
    padding:16px;
    background-color: rgb(239,255,239);
    border:solid 1px #0C0;
    border-radius: 8px;
}


/****************************************/
/* common
/*****************************************/
html{min-height: 100vh;}
body{
    position: relative;
    color:var(--main-color);
    font-family: "BIZ UDPGothic", sans-serif;
    font-optical-sizing: auto;
    font-size: var(--font-size-base);
    font-weight: 400;
    min-height: 100vh;
    background-color: var(--bg-color);
}
@media (min-width: 768px){
    body{ background-attachment: scroll; }
}
@supports (-webkit-touch-callout: none){
    body{ background-attachment: scroll; }
}

a{color:var(--main-link-color)}
button{font-family: "BIZ UDPGothic", sans-serif;}
a:hover,button:hover{color:var(--sub-link-color)}

small{
    font-size: 12px;
    color:var(--main-color);
}

/* sp */
#wrapper{
    position: relative;
    margin:0px auto;
    width:100%;
    min-height: calc(100vh - 120px);
}
#wrapper.signup{
    min-height: calc(100vh - 56px);
}

header{
    position: relative;
    height: 56px;
    width: 100%;
    background-color: var(--main-visual-color);
}
.header-contents{
    display: flex;
    justify-content: space-between;
    height: 56px;
}
.header-contents .header-logo{
    position:relative;
    padding:8px;
    margin-right: auto;
    width:200px;
}
.header-contents .header-logo img{
    width: 50%;
    height: auto;
}
.header-contents .header-logo span{
    color:#FC46AA;
    font-size:12px;
    margin-left:4px;
    line-height:20px;
}
.header-contents .header-user{
    font-size:12px;
    line-height: 56px;
    padding-right:8px;
    text-align: right;
}
.header-contents .header-user a{
    display: block;
    font-size:20px;
    text-align: center;
    padding:0px 16px;
    width:56px;
}

main{
    position: relative;
    overflow: hidden;
}

footer{
    font-size:12px;
    text-align:center;
    width:100%;
    height: 64px;
    line-height: 64px;
}


/****************************************/
/* login layout
/*****************************************/
#auth{
    padding:16px 8px;
}
#auth .auth-box{
    width:100%;
}

/****************************************/
/* top layout
/*****************************************/
#top{
    padding:0px;
}

#top .top-main-visual{
    position: relative;
    height: 240px;
    padding:40px 0px 0px;
    background-color: var(--main-visual-color);
}
.top-main-visual .top-main-anibo{
    position: relative;
    margin:0px auto;
    padding:24px 0px 0px;
    width:240px;
    height: 240px;
    border-radius:120px;
    background-color:#d6ebfa;
    background: linear-gradient(
        to bottom,
        #d6ebfa 0%,
        #d6ebfa 85%,
        #ffffff 85%,
        #ffffff 100%
    );
}
.top-main-visual .top-main-anibo img{
    position:absolute;
    left:20px;
    bottom:-16px;
    text-align: center;
    width:232px;
    height: 232px;
}

#top .top-box{
    margin:48px auto 24px;
    padding:16px;
    width:100%;
    background-color: #FFF;
}
.top-box .top-datetime{
    text-align: center;
    margin-bottom:16px;
}

.top-box .top-main-menu{
    display: flex;
    justify-content: space-between;
}
.top-box .top-main-menu > div{
    width:48%;
    height: 160px;
    border:solid 1px #CCC;
    border-radius: 16px;
}
.top-box .top-main-menu > div a,
.top-box .top-main-menu > div button{
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
    height: 160px;
    background-color: transparent;
    border-radius: 16px;
    border:none;
    cursor: pointer;
}
.top-box .top-main-menu > div a i,
.top-box .top-main-menu > div button i{
    position:absolute;
    top:24px;
    left:0px;
    color:var(--sub-link-color);
    font-size:64px;
    width:100%;
}
.top-box .top-main-menu > div a span,
.top-box .top-main-menu > div button span,
.top-box .top-main-menu > div div span{
    position:absolute;
    bottom:24px;
    left:0px;
    font-size:16px;
    width:100%;
}

.top-box .top-main-menu > div div{
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
    height: 160px;
    background-color: transparent;
    border-radius: 16px;
    cursor: pointer;
}
.top-box .top-main-menu > div div i{
    position:absolute;
    top:24px;
    left:0px;
    color:var(--disable-link-color);
    font-size:64px;
    width:100%;
}

.top-box .top-annoucement{
    margin:16px auto;
    padding:16px;
    width:100%;
    border:solid 1px #CCC;
    border-radius:16px;
}
.top-box .top-annoucement h3{
    text-align: center;
}
.top-box .top-annoucement ul{
    margin:16px 0px;
}
.top-box .top-annoucement ul li{
    display: block;
    width: 100%;
}
.top-box .top-annoucement ul li a{
    display: block;
    position: relative;
    line-height: 48px;
    padding:0px 8px;
    width:100%;
}
.top-box .top-annoucement ul li a::after{
    position: absolute;
    top: calc(50% - 24px);
    right: 8px;
    color: #000;
    font-weight: bold;
    content: "\276F";
}
.top-box .top-annoucement ul li button{
    display: block;
    position: relative;
    line-height: 48px;
    text-align: left;;
    padding:0px 8px;
    width:100%;
    background-color: transparent;
    border:none;
}
.top-box .top-annoucement ul li button::after{
    position: absolute;
    top: calc(50% - 24px);
    right: 8px;
    color: #000;
    font-weight: bold;
    content: "\276F";
}

@media (min-width: 768px){
    #top .top-box{
        margin:48px auto 24px;
        padding:16px 8px;
        width:768px;
        background-color: #FFF;
    }
}



/****************************************/
/* survey layout
/*****************************************/
/* survey */
#survey{
    padding:16px;
}

#survey .survey-box{
    margin-bottom: 16px;
}

@media (min-width: 768px){
    #survey .survey-box{
        margin:48px auto 24px;
        padding:16px 8px;
        width:768px;
        background-color: #FFF;
    }
}

.survey-box .survey-date-box{
    text-align: right;
}

.survey-box .survey-progress-box{
    margin:16px auto;
    width:100%;
}
.survey-box .survey-progress-box .survey-progress{
    height: 24px;
    border-radius: 16px;
    background-color: #DDD;
}
.survey-box .survey-progress-box .survey-progress-bar{
    display: block;
    height: 24px;
    width:24px;
    border-radius: 12px;
    background:linear-gradient(90deg, #3a8dfd 0%, #2f7ff4 35%, #1f6de8 100%);
}
.survey-box .survey-question-box{
    display: flex;
    line-height: 1.5;
    margin:16px 0px;
}
.survey-box .survey-question-box .survey-question {
    position: relative;
    display: block;
    color: var(--survey-question-text);
    font-size: 16px;
    line-height: 1.6;
    padding: 10px 14px;
    width:calc(100% - 100px);
    background: var(--survey-question-bg);
    border-radius: var(--survey-question-radius);
    border: solid 1px var(--survey-question-border);
    box-shadow: var(--survey-question-shadow);
}
.survey-box .survey-question-box .survey-question-sensei{
    width:100px;
}
.survey-box .survey-question-box .survey-question-sensei img{
    width:100%;
}

.survey-box .survey-option-box{
    width:100%;
}
.survey-box .survey-option-box .survey-option-item{
    width:100%;
    margin-bottom:8px;
}
.survey-box .survey-option-box .survey-option-item label{
    display: block;
    font-size:14px;
    font-weight: bold;
    padding:0px 16px;
    width:100%;
    height: 48px;
    line-height: 48px;
    border:solid 1px #CCC;
    border-radius:8px;
}
.survey-box .survey-option-box .survey-option-item input[type="radio"]{
    display: none;
}
.survey-box .survey-option-box .survey-option-item input[type="radio"]:checked + label{
    border:solid 2px #0096FF;
}

.survey-box .survey-option-subumit{
    position: absolute;
    bottom: 32px;
    left:0px;
    width:100%;
}

.survey-box .survey-question-media-box{
    margin:32px 0px;
    width:100%;
    border-radius:24px;
    overflow: hidden;
}
.survey-box .survey-question-media-box video{
    width:100%;
}

/* result */
.survey-box .survey-result-box{
    position: relative;
    display: block;
    color: var(--survey-question-text);
    font-size: 16px;
    line-height: 1.6;
    width:100%;
}

.survey-box .survey-result-graph{
    margin-bottom:24px;
    background-image:url('../img/anibo/giraph.png');
    background-size:160px 160px;
    background-repeat: no-repeat;
    background-position: 100% 20px;
}
.survey-box .survey-result-graph .circle-chart {
    position: relative;
    width: 180px;
    margin: 0 auto 0 0;
}
@media (min-width: 768px){
    .survey-box .survey-result-graph .circle-chart {
        margin: 0 auto;
    }
}
.survey-box .survey-result-graph .circular-chart {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.survey-box .survey-result-graph .circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3px;
}
.survey-box .survey-result-graph .circle {
    fill: none;
    stroke-width: 3px;
    stroke: #007aff;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease;
}
.survey-box .survey-result-graph .circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #333;
    font-weight: bold;
}
.survey-box .survey-result-graph .circle-text span {
    font-size: 16px;
    color: #777;
}

.survey-box .survey-result-comment{
    padding:16px;
    background: var(--survey-question-bg);
    border-radius: var(--survey-question-radius);
    border: solid 1px var(--survey-question-border);
    box-shadow: var(--survey-question-shadow);
}
.survey-box .survey-result-comment h4{
    font-weight: bold;
    text-align: center;
}
.survey-box .survey-result-comment h4 span{
    position:relative;
    padding:0px 24px;
    line-height: 1;
}
.survey-box .survey-result-comment h4 span::before{
    position:absolute;
    top:0px;
    left:0px;
    content:"-";
}
.survey-box .survey-result-comment h4 span::after{
    position:absolute;
    top:0px;
    right:0px;
    content:"-";
}
.survey-box .survey-result-comment p{
    position:relative;
    top:10px;
    opacity: 0;
    transition: all 0.5s;
}
.survey-box .survey-result-comment p.active{
    top:0px;
    padding-top:0px;
    opacity: 1;
}

.survey-box .survey-result-point{
    margin-top:16px;
    padding:16px;
    background: #fff9e6;
    border-radius: var(--survey-question-radius);
    border: 1px solid rgba(255, 234, 1, 0.6);
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}
.survey-box .survey-result-point h4{
    font-weight: bold;
    text-align: center;
}
.survey-box .survey-result-point h4 span{
    position:relative;
    padding:0px 24px;
    line-height: 1;
}
.survey-box .survey-result-point h4 span::before{
    position:absolute;
    top:0px;
    left:0px;
    content:"-";
}
.survey-box .survey-result-point h4 span::after{
    position:absolute;
    top:0px;
    right:0px;
    content:"-";
}

.survey-box .survey-result-point .survey-point-obtain {
    position:relative;
    top:10px;
    display: flex; 
    opacity: 0;
    transition: all 0.3s;
}
.survey-box .survey-result-point .survey-point-obtain.active {
    top:0px;
    opacity: 1;
}
.survey-box .survey-result-point .survey-point-obtain .icon-anim{
    color:#CC0;
    transition: all 0.3s;
    transform: scale(3);
}
.survey-box .survey-result-point .survey-point-obtain.active .icon-anim{
    transform: scale(1) rotate(360deg);
}



/****************************************/
/* mypage / account layout
/*****************************************/
/* mypage */
#mypage{
    padding:16px 0px;
}

#mypage .mypage-box{
    margin:24px auto;
}
@media (min-width: 768px){
    #mypage .mypage-box{
        margin:48px auto 24px;
        padding:16px 8px;
        width:768px;
        background-color: #FFF;
    }
}

#mypage .mypage-box i{
    margin-right: 8px;
}

#mypage .mypage-box .mypage-profile-box{
    display: flex;
    justify-content: left;
    text-align: left;
    padding-left:16px;
    margin-bottom:8px;
}
#mypage .mypage-box .mypage-profile-box span:nth-of-type(1){
    display: block;
    color:#FFF;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    width:72px;
    backdrop-filter: blur(6px);
    background:linear-gradient(160deg, #c3c5c8, #8f9297 35%, #5c5f64 85%);
    border-radius: 4px;
    text-shadow: 1px 1px 1px #000000AA;
}
#mypage .mypage-box .mypage-profile-box span:nth-of-type(2){
    display: inline-block;
    line-height: 24px;
    padding-left:8px;
    width:calc(100% - 72px);
}

/* resume  */
#resume{
    margin:24px auto;
}
@media (min-width: 768px){
    #resume .resume-box{
        margin:0px auto;
        width:768px;
        background-color: #FFF;
    }
}

.resume-box .resume-result-box{
    width:calc(100% - 16px);
    margin:24px auto;
    padding:16px;
    border:solid 1px #CCC;
    border-radius:16px;
    box-shadow: var(--survey-question-shadow);
}
@media (min-width: 768px){
    .resume-box .resume-result-box{
        width: 100%;
    }
}
.resume-box .resume-result-box .resume-result-graph{
    margin-bottom:0px auto 24px;
    background-image:url('../img/anibo/giraph.png');
    background-size:160px 160px;
    background-repeat: no-repeat;
    background-position: calc(100% + 20px) bottom;
}
.resume-box .resume-result-graph .circle-chart {
    position: relative;
    width: 180px;
    margin: 0 auto 0 0;
}
@media (min-width: 768px){
    .resume-box .resume-result-graph .circle-chart {
        margin: 0 auto;
    }
}
.resume-box .resume-result-graph .circular-chart {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.resume-box .resume-result-graph .circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3px;
}
.resume-box .resume-result-graph .circle {
    fill: none;
    stroke-width: 3px;
    stroke: #007aff;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease;
}
.resume-box .resume-result-graph .circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #333;
    font-weight: bold;
}
.resume-box .resume-result-graph .circle-text span {
    font-size: 16px;
    color: #777;
}

.resume-box .calender-box {
    margin-top:24px;
    padding:0px 8px;
}
.calender-box .week-header .weekday {
    color: #666;
    font-weight: bold;
    text-align: center;
    margin-bottom:16px;
}

.calender-box .weekday.sun { color: #d9534f; }
.calender-box .weekday.sat { color: #0275d8; }

.calender-box .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.calender-box .calendar-cell {
    position: relative;
    text-align: center;
    padding:16px 8px;
    height: 64px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.calender-box .cell-date {
    color: #555;
    font-size: 14px;
    font-weight: bold;
}
.calender-box .calendar-cell.today {
    border: 3px solid #007aff;
    border-radius: 12px;
}
.calender-box .cell-status {
    color: #555;
    font-size: 14px;
    font-weight: bold;
    margin-top:8px;
}
@media (min-width: 768px){
    .calender-box .calendar-cell{
        height: 80px;
    }
    .calender-box .cell-date {
        color: #555;
        font-size: 14px;
        font-weight: bold;
    }
    .calender-box .cell-status {
        font-size:20px;
        margin-top:16px;
    }
}

.resume-box .resume-comment{
    line-height: 1.6;
    margin:0px auto;
    padding:16px;
    width:calc(100% - 16px);
    background: var(--survey-question-bg);
    border-radius: var(--survey-question-radius);
    border: solid 1px var(--survey-question-border);
    box-shadow: var(--survey-question-shadow);
}
.resume-box .resume-comment h4{
    font-weight: bold;
    text-align: center;
}
.resume-box .resume-comment h4 span{
    position:relative;
    padding:0px 24px;
    line-height: 1;
}
.resume-box .resume-comment h4 span::before{
    position:absolute;
    top:0px;
    left:0px;
    content:"-";
}
.resume-box .resume-comment h4 span::after{
    position:absolute;
    top:0px;
    right:0px;
    content:"-";
}
.resume-box .resume-comment p{
    position:relative;
    top:10px;
    opacity: 0;
    transition: all 0.5s;
}
.resume-box .resume-comment p.active{
    top:0px;
    padding-top:0px;
    opacity: 1;
}
@media (min-width: 768px){
    .resume-box .resume-comment{
        width:100%;
    }
}

.resume-box .resume-result-point{
    line-height: 1.6;
    margin:16px auto 0px;
    padding:16px;
    width:calc(100% - 16px);
    background: #fff9e6;
    border-radius: var(--survey-question-radius);
    border: 1px solid rgba(255, 234, 1, 0.6);
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}
@media (min-width: 768px){
    .resume-box .resume-result-point{
        width:100%;
    }
}

.resume-box .resume-result-point h4{
    font-weight: bold;
    text-align: center;
}
.resume-box .resume-result-point h4 span{
    position:relative;
    padding:0px 24px;
    line-height: 1;
}
.resume-box .resume-result-point h4 span::before{
    position:absolute;
    top:0px;
    left:0px;
    content:"-";
}
.resume-box .resume-result-point h4 span::after{
    position:absolute;
    top:0px;
    right:0px;
    content:"-";
}
.resume-box .resume-result-point .resume-point-obtain {
    position:relative;
    top:10px;
    display: flex; 
    opacity: 0;
    transition: all 0.3s;
}
.resume-box .resume-result-point .resume-point-obtain.active {
    top:0px;
    opacity: 1;
}
.resume-box .resume-result-point .resume-point-obtain .icon-anim{
    color:#CC0;
    transition: all 0.3s;
    transform: scale(3);
}
.resume-box .resume-result-point .resume-point-obtain.active .icon-anim{
    transform: scale(1) rotate(360deg);
}

/* account  */
#account{
    padding:16px 8px;
}
#account .account-box{
    margin:8px 0px;
}
#account .account-box h3{
    line-height: 32px;
}
.account-box .account-list-item{
    color:#000;
    font-size: 14px;
    line-height: 48px;
    padding:0px 16px;
    width:100%;
    height: 48px;
    background-image: linear-gradient(to bottom, #EEEEEE, #EFEFEF);
    border-radius: 24px;
}


/* legal,terms  */
#legal{
    padding:16px;
}
#legal .legal-box{
    font-size:14px;
}
#legal .legal-box .flex{
    border-bottom: solid 1px #CCC;
}
#legal .legal-box .tokusho-title{
    padding:8px;
    line-height: 1.5;
    width: 120px;
}
#legal .legal-box .tokusho-content{
    padding:8px;
    line-height: 1.5;
    width: calc(100% - 120px);
}

#legal .terms-box{
    margin-bottom:16px;
}
#legal .terms-box h3{
    line-height: 32px;
    font-weight: bold;
}
#legal .terms-box h4{
    font-size: 14px;
    line-height: 24px;
}
#legal .terms-box .terms-section{
    font-size: 14px;
    line-height: 1.2;
}
#legal .terms-box .terms-section p{
    font-size: 14px;
    line-height: 1.2;
    margin-bottom:8px;
}
#legal .terms-box .terms-section .terms-section-list{
    padding-left:8px;
}