.mainVisual--inner {
    /* opacityの影響を受けない為に設定 */
    /* 設定値が初期値であっても必ずpositionの指定をする事 */
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1096px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mainVisual--catchcopyBox {
    flex-shrink: 1;
    margin-right: 10%;
}

.mainVisual--prBox {
    flex-shrink: 1;
    max-width: 423px;
    display: block;
}

.mainVisual--catchcopy {
    width: 423px;
    max-width: 100%;
    height: auto;
}

.mainVisual--lineBanner {
    width: 423px;
    max-width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.mainVisual--yanaseSignboard {
    width: 423px;
    max-width: 100%;
    height: auto;
}

.mainVisual--caption {
    text-align: center;
    color: var(--white);
    /* filter: drop-shadow(0 0 3px var(--black)); */
    text-shadow: -1px -1px 0 var(--black), -1px 0 0 var(--black), -1px 1px 0 var(--black),
        0 -1px 0 var(--black), 0 1px 0 var(--black),
        1px -1px 0 var(--black), 1px 0 0 var(--black), 1px 1px 0 var(--black);
}

@media screen and (max-width: 1024px) {

    /* 1024pxまでの幅の場合に適応される */
    .mainVisual-l {
        /* height: 100%;
        padding-top: 77.2%; */
        width: 100%;
        height: auto;
        padding: 10%;
    }
}

@media screen and (max-width: 599px) {

    /* 599pxまでの幅の場合に適応される */
    .mainVisual-l {
        padding-top: 30%;
        padding-bottom: 30%;
    }

    .mainVisual--img {
        height: 100%;
    }

    .mainVisual--inner {
        /* display: block; */
        /* flex-direction: column-reverse; */
    }

    .mainVisual--catchcopyBox {
        flex-shrink: 1;
    }

    .mainVisual--prBox {
        flex-shrink: 1;
    }

    .mainVisual--lineBanner {
        margin-bottom: 16px;
    }

    .mainVisual--caption {
        font-size: 14px;
        text-align: left;
    }
}

/* line section */
.lineSection {
    padding: 50px 5% 0;
    background-color: var(--primary-background-color);
}

.lineSection--lineBox {
    /* width: 599px; */
    display: block;
    margin: 0 auto;
}

.lineSection--lineBanner {
    display: block;
    width: 100%;
    max-width: 599px;
    margin: 0 auto;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .lineSection {
        padding-top: 24px;
    }
}

/* message section */

.message {
    background-color: var(--primary-background-color);
}

/* media */

.media {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.media--imgBox {
    width: 320px;
    height: auto;
    margin-right: 3.33333%;
}

.media--body {
    flex: 1;
}

.media--img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.media--title {
    color: var(--black);
    font-size: var(--font-size-large);
    font-weight: bold;
    margin-bottom: 24px;
}

.media:last-of-type {
    margin-bottom: 0;
}

.media-reverse {
    flex-direction: row-reverse;
}

.media-reverse .media--imgBox {
    margin-right: 0;
}

.media-reverse .media--body {
    margin-right: 3.33333%;
}

.media--text {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.media--bigText {
    font-size: var(--font-size-large);
}

.media--smallText {
    font-size: var(--font-size-small);
}

.media--listItems {
    padding: 0.5em 0.5em 0.5em 1.35em;
}

.media--listItem {
    /* padding: 0.5em 0; */
    color: var(--secondary-bland-color);
    font-size: var(--font-size-medium);
}

.media--btn {
    display: block;
    width: 100%;
    max-width: 280px;
    padding: 16px;
    border-radius: 4px;
    font-size: var(--font-size-medium);
    color: var(--white);
    text-align: center;
    background: var(--primary-bland-color);
    text-decoration: none;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .media {
        display: block;
    }

    .media--columnReverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .media--imgBox {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .media--title {
        text-align: center;
    }

    .media--btn {
        width: 100%;
        max-width: none;
    }
}


/* cards */

.cardsCol2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0 20px;
    grid-auto-flow: row;
    margin-bottom: 40px;
}

.cardsCol3 {
    display: grid;
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(1, minmax(0, 1fr));
    /* gapを%で指定すると挙動がおかしいので注意 */
    gap: 0 20px;
    margin-bottom: 40px;
}

.card {
    display: block;
}

.card--imgBox {
    margin-bottom: 8px;
}

.card--img-highHeight {
    width: 100%;
    aspect-ratio: var(--aspect-ratio-1d33-1);
    object-fit: cover;
    vertical-align: bottom;
}

.card--img-middleHeight {
    width: 100%;
    aspect-ratio: var(--aspect-ratio-3-2);
    object-fit: cover;
    vertical-align: bottom;
}

.card--img-lowHeight {
    width: 100%;
    aspect-ratio: var(--aspect-ratio-2d67-1);
    object-fit: cover;
    vertical-align: bottom;
}

.card--title {
    font-size: 18px;
    color: var(--black);
    /* text-align: center; */
    margin-bottom: 16px;
}

.card--lists {
    list-style: none;
    padding-left: 16px;
}

.card--list {
    position: relative;
    font-size: 1.4rem;
    border-bottom: 1px dashed var(--primary-dashed-line-color);
    padding: 0.3em 0 0.3em 1.2em;
    line-height: 1.6;
}

.card--text {
    line-height: 1.8;
}

.card--list::before {
    display: block;
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    border-top: 5px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #783600;
}

.card--btn {
    display: block;
    width: 100%;
    max-width: 450px;
    padding: 0.6em;
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--white);
    text-align: center;
    background: var(--primary-color);
    text-decoration: none;
    margin: 16px auto 0;
}

.card--btn:visited {
    color: var(--white);
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .cardsCol2,
    .cardsCol3,
    .cardsCol4 {
        display: block;
        margin-bottom: 16px;
    }

    .card {
        margin-bottom: 24px;
    }

    .card--lists {
        padding-left: 0;
    }
}

/* facility */

.facility {
    background-color: var(--primary-background-color);
    padding: 5% ;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .facility {
        padding: 2.5%
    }
}

/* recruite */
.recruite {
    position: relative;
    min-height: 520px;
    padding: 3%;
    background-image: url(../img/bg-recruit.jpg);
    background-position: 30% center;
    background-size: cover;
    background-repeat: no-repeat;
}

.recruiteImgBox {
    width: 100%;
    max-width: var(--col-6);
    padding: 4%;
    position: absolute;
    right: 2%;
}

.recruiteMessageBox {
    width: 100%;
    max-width: var(--col-6);
    padding: 4%;
    position: absolute;
    right: 2%;
    background-color: var(--white);
}

.recruiteImg {
    width: 100%;
    height: auto;
}

.recruite--title {
    font-size: 2rem;
    margin: 0 0 1em;
    padding: 0.5em 0;
    width: 100%;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
    font-weight: bold;
}

.recruite--textBox {
    margin-bottom: 1.4em;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .recruite {
        background-image: none;
    }

    .recruiteImgBox {
        position: static;
        /* width: 100%;
        max-width: var(--col-6);
        padding: 4%;
        right: 2%; */
    }

    .recruiteMessageBox {
        position: static;
    }
}

/* notification */

.information {
    width: 49%;
    max-width: var(--col-6);
}

.facebook {
    width: 49%;
    max-width: var(--col-6);
}

.information--listBox {
    background-color: var(--primary-background-color);
    height: 540px;
    padding: 20px;
}

.information--listItem {
    display: flex;
    padding: 1em 0;
    border-bottom: 1px solid var(--primary-solid-line-color);
}

.information--date {
    margin-right: 20px;
}
    
.fb-page {
    width: 100%;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .information {
        width: 100%;
        margin-bottom: 3%;
    }

    .facebook {
        width: 100%;
    }

    .information--listBox {
        height: auto;
    }
}

/* assist */
.assist .media {
    display: flex;
    justify-content: space-between;
}

.assist .media--body {
    width: 100%;
    max-width: var(--col-6);
    margin-right: 2%;
}

.assist .media--imgBox {
    width: 100%;
    max-width: var(--col-6);
    margin-right: 0;
}

.assist .media--img {
    width: 100%;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .assist .media--body {
        flex: 1 1 auto;
    }

    .assist .media--imgBox {
        flex: 1 1 auto;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .assist .media--body {
        width: 100%;
    }

    .assist .media--imgBox {
        width: 100%;
    }
}