/*
newgrad.css
*/

:root {
    --yellow: #ffe100;
}

section {
    padding: 40px 0;
}

section div h3 {
    font-size: 26px;
}

/* 募集停止 ------------------------------------------------------------*/
#stop {
    display: block;
    margin-top: 2em;
    font-size: 16px;
}

#stop p a {
    margin-right: 5px;
    text-decoration: underline;
}

#stop p a:hover {
    opacity: .4;
}

#application-guidelines,
#schedule {
    display: block;
}

.mode-preview {
    font-size: 1.2em;
    margin: 0 0 2em;
    background: var(--c-kokihi);
    color: white;
    font-weight: 600;
    text-indent: 1em;
    text-align: center;
    padding: 0.5em 0;
}

@media screen and (max-width: 1024px) {
    section div h3 {
        text-align: center;
    }

    section div h3 span {
        display: inline-block;
    }
}

#application-guidelines dl a {
    text-decoration: underline;
    transition: all .4s ease;
}

#application-guidelines dl a:hover {
    opacity: .4;
}

/* 企業概要｜corporate.inc.php ------------------------------------------------------------*/

/* 沿革 */
#history li {
    margin-bottom: 1em;
}

#history li span {
    display: inline-block;
}

#history li a {
    transition: all .4s ease;
}

#history li a:hover {
    opacity: 0.4;
}

/* 採用実績 */

section dl .schools {
    letter-spacing: 0;
}

/* 募集要項｜description.inc.php ------------------------------------------------------------*/

/* アンカーのリンク先のズレ解消 */
:target {
    scroll-margin-top: calc((14px * 1.8 + 20px) + 1em);
    /* ヘッダーの高さ +1em に合わせる */
}

@media screen and (max-width: 1024px) {
    :target {
        scroll-margin-top: calc(45px + 1em);
        /* ヘッダーの高さ +1em に合わせる */
    }
}

/* 下矢印アイコン */
#application-guidelines dl a {
    position: relative;
}

#application-guidelines dl a:has(.icon-arrow) {
    text-decoration: none;
}

#application-guidelines dl a .icon-arrow {
    position: absolute;
    display: inline-block;
    margin-left: 2px;
    top: 0;
    height: 1.1em;
    width: auto;
    transition: all .4s ease;
}

#application-guidelines dl a:hover .icon-arrow {
    top: 5px;
}

/* リスト-  ブロック */
#application-guidelines dd .list-blocks {
    margin-bottom: 0em;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

#application-guidelines dd .list-blocks li {
    margin: 0 0.5em 0.5em 0;
    padding: 0 0.5em;
    line-height: 2em;
    border: solid 1px var(--c-nureba);
    border-radius: 1em;
    color: var(--c-nureba);
    letter-spacing: 0;
}

#application-guidelines dd .list-blocks li::before {
    content: none;
}

@media screen and (max-width: 1024px) {
    .post-box dt:before {
        content: none;
    }
}

/* 動画 */

.movies-wrapper {
    padding-top: 2em;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.movies-wrapper .youtube {
    width: calc(50% - 5px);
}

.movies-wrapper .youtube iframe {
    width: 100%;
    aspect-ratio: 2/1.1;
}

@media screen and (max-width:767px) {
    .movies-wrapper .youtube {
        width: 100%;
    }

    .movies-wrapper .youtube iframe {
        height: 50vw;
    }
}

/* 選考スケジュール ------------------------------------------------------------*/

#schedule dt {
    padding-top: 1em;
}

#schedule dd {
    margin-bottom: 3em;
    font-family: var(--gothic);
}

#schedule dd .step-title {
    margin-bottom: 1em;
    font-size: 1.5em;
}

#schedule dd .step-content {
    margin-left: 1em;
}

#schedule dd .step-content span {
    display: inline-block;
}

#schedule dd .lnk-out {
    margin: 1em 0;
    width: fit-content;
}

#schedule dd .lnk-out .lnk {
    transition: all .3s ease;
}

#schedule dd .lnk-out .lnk:hover {
    opacity: .4;
}

#schedule dd .lnk-out .lnk:active {
    position: relative;
    top: 0;
}

#schedule dd .lnk-out .lnk a {
    font-size: 16px;
    transition: all .4s ease;
}

#schedule dd .lnk-out .lnk a::after {
    opacity: .4;
}

#schedule dd .aTag {
    color: var(--c-kohiki);
    text-decoration: underline;
    transition: all .4s ease;
}

#schedule dd .aTag:hover {
    filter: brightness(2);
}

#schedule .faded {
    opacity: 0.4;
}

/*職種別スケジュール dl dt dd*/
#schedule .schedule-by-job-type {
    display: flex;
    margin: 2em auto 2em 0;
    width: 100%;
    max-width: 600px;
    border-top: solid 1px var(--c-suzu);
    flex-wrap: wrap;
    justify-content: center;
}

/*#schedule .schedule-by-job-type {
display: none;

}*/

#schedule .schedule-by-job-type .date {
    cursor: pointer;
}

#schedule .schedule-by-job-type .date:hover {
    opacity: .4;
}

#schedule .schedule-by-job-type dt {
    display: inline-block;
    margin: 0;
    padding: 0.5em 1em;
    line-height: 2.5em;
    width: 180px;
    border: solid 1px var(--c-suzu);
    border-top: none;
    background-color: var(--c-ama);
    text-align: center;
}

#schedule .schedule-by-job-type dd {
    display: inline-block;
    margin: 0;
    padding: 0.5em 1em;
    line-height: 2.5em;
    width: calc(100% - 180px - 4em - 4px);
    border: solid 1px var(--c-suzu);
    border-top: none;
    border-left: none;
    text-align: center;
}

#schedule .schedule-by-job-type dd:last-of-type {
    margin-top: -5px;
    margin-left:auto;
    padding-right: 0;
    border: none;
    text-align: right;
    color: var(--c-suzu);
}

#schedule .schedule-by-job-type>dd>a.additional {
    /*display:block;*/
    font-size: 1em;
    text-decoration: underline;
    transition: all .4s ease;
}

#schedule .schedule-by-job-type dd ul {
    margin-bottom: 0;
}

#schedule .schedule-by-job-type dd a {
    text-decoration: underline;
    transition: all .4s ease;
}

#schedule .schedule-by-job-type dd a:hover {
    opacity: .4;
}

#schedule .schedule-by-job-type>dd>a.additional:hover {
    opacity: .4;
}

@media screen and (max-width: 559px) {
    #schedule .schedule-by-job-type {
        border: none;
    }

    #schedule .schedule-by-job-type dt {
        width: 100%;
        text-align: center;
        border-top: solid 1px var(--c-suzu);
    }

    #schedule .schedule-by-job-type dd {
        margin-bottom: 2em;
        width: 100%;
        text-align: center;
        border-left: solid 1px var(--c-suzu);
    }

    #schedule .schedule-by-job-type dd span {
        display: inline-block;
    }

    #schedule .schedule-by-job-type {
        font-size: .9em;
    }

    #schedule .schedule-by-job-type dd:last-of-type {
        margin-top: -20px;
        width: -webkit-fill-available;
        font-size: .9em;
    }

    #schedule dd .step-content {
        margin-left: 0;
    }
}

/*コラムボックス*/
#schedule dd .column-box {
    margin: 2em 0 0;
    padding: 1em;
    width: fit-content;
    border: solid 1px white;
}

#schedule dd .column-box .column-title {
    margin-bottom: 1em;
    display: block;
    letter-spacing: 2px;
    color: var(--yellow);
}

#schedule dd .column-box p a {
    text-decoration: underline;
    color: var(--yellow);
    transition: all .4s ease;
}

#schedule dd .column-box p a:hover {
    position: relative;
    top: -3px;
    color: #FFEE7F;
}

#schedule dd .column-box p a:active {
    position: relative;
    top: 3px;
}

#schedule dd .column-box ul {
    margin: 1em 0 1em 1em;
    text-align: left;
}

#schedule dd .column-box ul li {
    margin-bottom: 10px;
    list-style: disc;
}

#schedule dd .column-box ul li a {
    text-decoration: underline;
}

#schedule dd .column-box ul li a:hover {
    opacity: .4;
}

#schedule dd .column-box .flex-box {
    display: flex;
    flex-flow: row;
    justify-content: space-between
}

;

#schedule dd .column-box .flex-box ul {
    width: calc(50% - 1em);
}

@media screen and (max-width: 559px) {
    #schedule dt {
        width: 100%;
        text-align: center;
    }

    #schedule dd {
        width: 100%;
    }

    #schedule dd .step-title {
        margin: 1em auto;
        padding: 0 0 7px;
        text-align: center;
        font-size: 1.5em;
    }

    #schedule dd .lnk-out {
        margin: 2em auto;
        font-size: .8em;
    }

    #schedule dd .lnk-out .lnk {
        margin-left: -26px;
    }

    #schedule dd .column-box p {
        text-align: left;
    }

    #schedule dd .column-box .flex-box {
        flex-flow: column;
    }

    #schedule dd .column-box .flex-box ul {
        width: 100%;
    }
}

/* 企業説明会 */

.kibou {
    font-size: 16px;
    line-height: 30px;
    font-family: initial;
    text-align: left;
}

.kibou:first-child {
    margin-top: 30px;
}

.events {
    width: 100%;
    max-width: 600px;
}

.event {
    margin: 1em 0;
    padding: 0;
    display: flex;
    max-height: 13em;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: left;
    border: solid 1px #604C3F;
}

.event-img {
    width: 13em;
}

.event-img img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.event-txt {
    padding: 0.5em 1em;
    width: calc(100% - 13em - 2em);
    line-height: 2em;
    word-break: break-all;
}

.event-txt .date {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
    cursor: pointer;
}

.event-txt .date:hover {
    opacity: .4;
}

.event-txt .title {
    font-size: 16px;
    color: #604C3F;
    font-weight: bold;
}

.event-txt .time {
    display: block;
    font-size: 14px;
    font-family: initial;
}

.event-txt .venue {
    display: block;
    font-size: 14px;
    font-family: initial;
}

.event-txt .icon-few {
    display: block;
    margin: 0;
    padding: 0 10px;
    width: fit-content;
    font-size: .85em;
    text-shadow: 0 0 black;
    background-color: white;
    color: var(--c-kokihi);
}

.event-txt .icon-full,
.event-txt .icon-done {
    display: block !important;
    margin-top: 10px;
    padding: 0 10px;
    width: fit-content;
    background-color: transparent;
    font-size: 12px;
    font-family: initial;
    letter-spacing: .15em;
    border: solid 1px var(--c-kokihi);
    color: var(--c-kokihi);
}

.event-txt .contact {
    display: block;
    margin-top: 10px;
    line-height: 20px;
    font-size: 13px;
    font-family: initial;
}

.event-txt .contact a {
    text-decoration: underline;
    transition: all .4s ease;
}

.event-txt .contact a:hover {
    opacity: .4;
}

.event .btnApply {
    display: block;
    position: relative;
    margin: 0 1em 0 auto;
    padding: 0.5em 1em;
    bottom: calc(3em + 2.25em);
    width: fit-content;
    line-height: 2em;
    background-color: var(--c-ama);
    color: #604C3F;
    text-decoration: none;
    font-family: var(--gothic);
    font-size: .85em;
    font-weight: 600;
    transition: all .4s ease;
}

.event .btnApply:hover {
    background-color: var(--c-kariyasu);
}

@media screen and (max-width: 559px) {
    .events {
        display: flex;
        flex-flow: wrap;
        justify-content: space-between;
    }
    .event {
        margin: 1em 0 0 0;
        width: calc(50% - 0.5em);
        max-height: fit-content;
    }

    .event-img {
        width: 100%;
    }

    .event-img img {
        /*aspect-ratio: 3/2;*/
        object-position: 100% 30%;
    }

    .event-txt {
        padding: 0.5em;
        width: 100%;
        line-height: 1.2em;
        font-size: 1.2em;
        letter-spacing: 0;
        word-break: break-all;
    }

    .event-txt .title {
        display: block;
    }

    .event-txt .date {
        display: block;
        margin-bottom: 0.25em;
        font-size: 0.95em;
    }

    .event-txt .title {
        display: block;
        margin-bottom: 0.25em;
        font-size: 0.85em;
    }
    .event .contact {
        display: block!important;
    }

    .event .btnApply {
        bottom:0;
        margin: 1em auto;
        font-size: 0.75em;
        letter-spacing: 0;
    }
}
