


.container{
    max-width: 1000px;
    margin:0 auto;
    box-sizing: border-box;
}
#wrapper{
    padding-top:73px ;
}




.condition__title ,
.salary__title,
.work__title,
.dormitory__title,
.welfare__title,
.qa__title,
.flow__title
{
    margin-bottom: 20px;
    border-left: 6px solid #2b2f7f;
    padding: 12px;
    background-color: #2b2f7f;
    color:#fff;
    text-align: center;
}


.condition {
    padding: 10px 16px 30px;
    background: #fff;
    font-weight: bold;
}

.condition__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dormitory__list{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding:60px 16px;
}

.condition__row {
    display: flex;
    background: #f2f2f2;
    align-items: stretch;
}

.condition__label {
    width: 110px;
    background: #2b2f7f;
    color: #fff;
    font-size: 14px;
    padding: 10px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.condition__value {
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.voice {
    margin: 20px auto 0;
}

.voice__title {
    font-size: 20px;
    color: #f39800;
    margin-bottom: 16px;
}

.voice__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom:30px;
}

.voice__icon img {
    width: 100px;
    height: 100px;
}

.voice__bubble {
    background-image: none;
    background-color: #fff;
    border: 8px solid #bfbfbf;
    border-radius: 12px;
}

.voice__text {
    padding: 16px 18px;
    font-size: 14px;
    color:#2b2f7f;
}



.salary {
    padding: 40px 16px;
    font-weight: bold;
}

.salary__tabs {
    display: flex;
    gap:8px;
    list-style: none;
}

.salary__tab {
    flex: 1;
    padding: 16px 0;
    text-align: center;
    cursor: pointer;
    position: relative;
    color: #fff;
    background: linear-gradient(
        135deg,
        #128CCA 0%,
        #2B4590 100%
    );
}
.salary__tab:hover{
    filter: brightness(1.11);
}
.salary__tab.is-active:hover{
    filter: brightness(1);
}

.salary__tab.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        135deg,
        #128CCA 0%,
        #2B4590 100%
    );
}

.salary__tab.is-active {
    background: #eee;
    color: #1194D1;
}

.salary__tab .year {
    display: block;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.salary__tab .price {
    font-size: 22px;
    font-weight: bold;
}

.salary__tab .price span {
    font-size: 14px;
}

.salary__content {
    display: none;
    text-align: center;
}

.salary__content.is-active {
    display: block;
    background: #eee;
}

.salary__content img {
    max-width: 100%;
    height: auto;
}


.work,.dormitory,.welfare {
    background: #fff;
    font-weight: bold;
}

.work__inner{
    padding:20px 16px;
}

.work__lead {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.work__item {
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: hidden;
}

.work__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}





.dormitory__title{
    margin-bottom:0px;
}
.dormitory__inner{
    padding:20px 16px;
}

.dormitory__lead {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.dormitory__item {
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: hidden;
}

.dormitory__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}





.dormitory__title,.welfare__title{
    margin-bottom:0px;
}
.dormitory__inner,.welfare__inner{
    padding:20px 16px;
}

.dormitory__lead,.welfare__lead {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.dormitory__grid,.welfare__grid {
    display: grid;
    grid-template-columns: 1fr;
}

.dormitory__item, .welfare__item {
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: hidden;
}

.dormitory__item img ,.welfare__item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dormitory__caution{
    font-size: 6px;
    color:#2D2D2D;
    text-align: end;
    margin-top:5px;
    margin-right:5px;
}



.qa {
    padding: 20px 16px 40px;
    background: #fff;
    font-weight: bold;
}

.qa__item {
    border-bottom: 1px solid #ddd;
    margin-bottom:0.6rem;
}

.qa__question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;

    background: #f2f2f2;
    border: none;
    padding: 14px 12px;
    cursor: pointer;
    text-align: left;
}
.qa__question:hover{
    
    filter: brightness(0.92);
}

.qa__q {
    background: #2b2f7f;
    color: #fff;
    width: 28px;
    font-weight: bold;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.qa__text {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    color:black;
}

.qa__icon {
    font-size: 20px;
    color: #2b2f7f;
}

.qa__answer {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        height 0.35s ease,
        opacity 0.25s ease;
}

.qa__answer.is-open {
    opacity: 1;
}

.qa__answerInner {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 12px;
}


.qa__a {
    background: #f39800;
    color: #fff;
    font-weight: bold;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}




.flow {
    padding: 40px 16px 60px;
    background: #fff;
}

.flow__steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}


.flow__step {
    position: relative;
    border: 2px solid #2b2f7f;
    text-align: center;
    background-color: #eeeeee;
    align-items: center;
}

.flow__stepHead {
    background: #2b2f7f;
    color: #fff;
    font-weight: bold;
    padding: 16px 8px;
    font-size: 16px;
}

.flow__stepBody {
    padding: 16px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    background-color: #eeeeee;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.flow__stepBody a{
    color:#1194D1;
    font-weight: bold;
}

.flow__step::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -33px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid #1194d1;
}


.flow__step--active::after {
    display: none;
}


.flow__step--active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    background: #2b2f7f;
    color: #fff;
}

.flow__step--active .flow__stepHead {
    background: none;
    padding: 0;
    font-size: 16px;
    color: #fff;
}

.flow__step--active .flow__stepBody {
    background: none;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}


.flow__entryBtn {
    display: block;
    background: linear-gradient(
        135deg,
        #128CCA 0%,
        #2B4590 100%
    );
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 18px 0;
    font-size: 16px;
    box-shadow:
        3px 3px 6px rgba(0,0,0,0.35),
        6px 6px 12px rgba(0,0,0,0.25);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.flow__entryBtn:hover {
    
    filter: brightness(1.11);
    box-shadow:
        2px 2px 4px rgba(0,0,0,0.35),
        4px 4px 8px rgba(0,0,0,0.25);
}

.flow__entryBtn:active {
    box-shadow:
        1px 1px 3px rgba(0,0,0,0.4);
    transform: translate(2px, 2px);
}



@media(min-width:985px){
    .flow {
        padding: 60px 0 80px;
    }
    
    .flow__steps {
        margin: 0 auto 50px;
        flex-direction: row;
        gap: 24px;
        align-items: stretch;
    }
    
    .flow__step {
        flex: 1;
        display: grid;
        grid-template-rows: auto 1fr;
    }
    .flow__stepHead{
        font-size:18px;
        padding-top:34px;
        padding-bottom:34px;
    }
    .flow__stepBody {
        padding-top:12px;
        padding-bottom:12px;
        display: grid;
        place-items: center;
        text-align: center;
        font-size: 16px;
    }
    .flow__entryBtn {
        margin: 0 auto;
        font-size: 20px;
    }

    .flow__step::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -32px;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 14px solid #1194d1;
        border-right: none;
    }
    .flow__step--active {
        flex: 0 0 15.44%;
        padding-top:50px;
        padding-bottom:50px;
    }
    .flow__step--active .flow__stepHead {
        font-size: 20px;
    }
    
    .flow__step--active .flow__stepBody {
        font-size: 20px;
    }
}

/* PC */
@media (min-width:768px){

    .condition__title ,
    .salary__title,
    .work__title,
    .dormitory__title,
    .welfare__title,
    .qa__title,
    .flow__title{
        font-size: 26px;
    }

    .container{
        padding:0 24px;
    }
    
    .condition {
        padding: 60px 0;
        
    }
    
    .condition__list {
        margin: 0 auto;
    }
    .dormitory__list{
        margin: 0 auto;
        padding:60px 0px;
    }
    
    .condition__label {
        width: 140px;
        font-size: 16px;
    }
    
    .condition__value {
        font-size: 16px;
        padding-left:43px;
    }
    .work__lead{
        font-size: 18px;
    }

    .work__grid {
        margin: 0 auto;
        grid-template-columns: repeat(3, 1fr);
    }
    .voice__bubble{
        position: relative;
        width:100%;

        background-color: transparent;
        border: none;
        border-radius: 0;

        background-image: url("/kikanko/img/voice-bubble.svg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        margin-left:1rem;
    }
    .voice__text{
        padding:40px 70px 70px 45px;
        font-size: 16px;
    }
    .voice__icon{
        transform:translateY(10px);
    }
    .salary__tab .year{
        display: unset;
    }
    
    

    .dormitory__grid,.welfare__grid {
        margin: 0 auto;
        grid-template-columns: repeat(3, 1fr); 
    }
    .dormitory__caution{
        font-size: 12px;
    }


    
    
}