@charset "UTF-8";

:root {
    --green: #2CAF6A;
    --blue: #067CCC;
    --green-bg: rgba(44, 175, 106, 0.07);
    --blue-bg: rgba(6, 124, 204, 0.04);
}

/*-----------------------------------------------
__2026.07ページ改修
-----------------------------------------------*/
.message_name {
    text-align: right;
}

/* #message .img-ofi {
    object-fit: contain;
    object-position: bottom;
} */

#message.recruit .fl_box>figure {
    width: 45%;
}

#message.recruit .fl_box>div {
    width: 50%;
}

#staff {
    position: relative;
}

#staff::before {
    position: absolute;
    content: "";
    background-image: url(../images/recruit/staff_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    aspect-ratio: 518 / 347;
    width: 50%;
    max-width: 518px;
    right: 3%;
    bottom: 0;
}

.staff_card_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px 60px;
    margin: 0 auto;
}

.card-trainee {
    grid-column: 1;
    grid-row: 1;
}

.card-shimizu {
    grid-column: 1;
    grid-row: 2;
}

.card-boss {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
}

.staff_card {
    border: 1px solid var(--green);
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.staff_card_header {
    text-align: center;
    padding: 14px 12px;
    font-weight: 700;
    font-size: 18px;
    background: var(--green);
    color: #fff;
}

.staff_card_body {
    padding: 28px 25px;
    background: #ffffff;
    flex: 1;
}

.qa-item {
    margin: 0 0 16px;
}

.qa-item:last-child {
    margin-bottom: 0;
}

.qa-item .q {
    margin: 0 0 0.2em;
    display: flex;
    align-items: baseline;
    gap: 0.2em;
}

.qa-item .a {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: baseline;
    gap: 0.2em;
}

.qa-item .q::before {
    content: "Q.";
    margin-right: 0.5em;
    font-size: 120%;
}

.qa-item .a::before {
    content: "A.";
    margin-right: 0.5em;
    font-size: 120%;
    color: var(--green);
}

/* アンカーリスト */
.anchor-list {
    margin-top: 6.3em;
    margin-bottom: 6em;
}

.anchor-list-main {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    column-gap: 4em;
    row-gap: 1.5em;
}

.anchor-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    gap: 1.3em;
    letter-spacing: 1px;
    color: #fff;
    background: var(--blue);
    border: 2px solid var(--blue);
    padding: 1em 2.3em;
    transition: .3s ease;
}

.anchor-link::after {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: transform .3s ease;
    transform: translateY(-3px) rotate(45deg);
}

.anchor-link:hover {
    background: #fff;
    border: 2px solid var(--blue);
    color: var(--blue);
}

.anchor-link:hover::after {
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: translateY(1px) rotate(45deg);
}

.strengths_item_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.strengths_item {
    position: relative;
    overflow: hidden;
    grid-column: span 3;
    background-color: var(--blue-bg);
    /* #067CCC 4% */
    padding: 38px 30px;
}

.strengths_item_content {
    position: relative;
    z-index: 2;
    /* 文字を画像より上に */
}

.strengths_item_icon {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 100px;
    height: 100px;
    z-index: 1;
    /* 画像は文字より下 */
    pointer-events: none;
}

.strengths_item_icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.strengths_item_icon svg {
    width: 100%;
    height: 100%;
    opacity: 0.15;
    /* 背景アイコンとして薄く表示 */
}

/* 3列になる項目（3・4・5番目） */
.strengths_item_grid .strengths_item:nth-child(n+3) {
    grid-column: span 2;
}

.strengths_item_heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
}

.strengths_item_number {
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--blue);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strengths_item_title {
    color: var(--blue);
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 0;
}

.strengths_item_text {
    margin: 0;
    line-height: 1.8;
}

.strengths_item:nth-child(1) .strengths_item_icon {
    width: 190px;
    height: 170px;
}

.strengths_item:nth-child(2) .strengths_item_icon {
    width: 200px;
    height: 190px;
}

.strengths_item:nth-child(3) .strengths_item_icon {
    width: 110px;
    height: 100px;
}

.strengths_item:nth-child(4) .strengths_item_icon {
    width: 180px;
    height: 80px;
}

.strengths_item:nth-child(5) .strengths_item_icon {
    width: 130px;
    height: 100px;
}

main h3.strengths_item_heading::before,
main h3.training_item_title::before {
    content: none;
}

main h3.strengths_item_heading span {
    margin-left: 0;
}

.training_item_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5em;
    margin-top: 14px;
}

.training_item {
    border: 1px solid var(--blue);
    border-radius: 8px;
    padding: 38px 24px;
}

.training_item_title {
    color: var(--blue);
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 24px;
}

.training_item_line {
    width: 70px;
    height: 1px;
    background-color: var(--blue);
    margin: 0 0 33px;
}

.training_item_list {
    margin: 0 0 30px;
}

.training_item_note {
    margin: 0;
    font-weight: bold;
    text-decoration: underline;
}

.youngday {
    background: var(--green-bg);
    padding: 5em 0;
    margin-top: 5em;
}

.youngday_bg {
    background: #fff;
    border-radius: 8px;
    padding: 70px;
}

.youngday h2 {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background: var(--green);
    text-align: center;
    padding: 0.25em;
    margin-top: 0;
    margin-bottom: 1.5em;
    line-height: 1.2;
}

/* タイムライン */
.timeline_item {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    column-gap: 34px;
    row-gap: 6px;
    padding-bottom: 50px;
}

.timeline_item:last-child {
    padding-bottom: 0;
}

.timeline_marker {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.timeline_marker::after {
    content: "";
    position: absolute;
    top: 47px;
    bottom: -41px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 2px solid var(--green);
}

.timeline_item:last-child .timeline_marker::after {
    display: none;
}

.timeline_time {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 0.2em 1.7em;
    border-radius: 20px;
    white-space: nowrap;
}

.timeline_content {
    grid-column: 2;
    grid-row: 1 / 3;
}

.timeline_title {
    color: var(--green);
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 9px;
}

.timeline_text {
    margin: 0;
    line-height: 1.6;
}

.youngday .training_item {
    background: #fff;
    border: none;
}

.youngday .training_item_title {
    color: var(--green);
}

.youngday .training_item_line {
    background: var(--green);
}

.youngday .training_item .under_titile {
    color: var(--green);
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
    letter-spacing: 0.1em;
    margin: 0 0 33px;
}

.youngday .training_item_grid {
    margin-top: 30px;
}

/* リストスタイル */
.dot_recruit>li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 0.2em;
}

.dot_recruit>li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1f3549;
}

.dot_recruit>li:last-child {
    margin-bottom: 0;
}

.dot_recruit.blue>li::before {
    background: var(--blue);
}

.dot_recruit.green>li::before {
    background: var(--green);
}

.outline_contact {
    margin-bottom: 50px;
}

.contact_all {
    background-color: rgba(6, 124, 204, 0.04);
    /* #067CCC 4% */
    border: 1px solid var(--blue);
    border-radius: 8px;
    padding: 35px 30px;
    text-align: center;
}

.contact_title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--blue);
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 0 0 20px;
    line-height: 1.4;
}

.contact_title::before,
.contact_title::after {
    content: "";
    flex: 1 1 auto;
    max-width: 28px;
    height: 2px;
    background-color: var(--blue);
}

.contact_tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--blue);
    font-size: 42px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
    margin: 0 0 14px;
    padding: 8px 20px;
    border-radius: 50px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 600px) {
    .outline_contact a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}


.contact_tel_icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
}

.contact_note {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

@media (max-width: 1200px) {
    main:not(#top) #visual ul {
        flex-wrap: wrap;
        width: 70%;
        margin-left: auto;
        margin-right: 0;
    }
}

@media (max-width: 999px) {
    .staff_card_grid {
        gap: 20px;
    }

    .anchor-list-main {
        column-gap: 1em;
    }

    .anchor-link {
        padding: 1em 1.5em;
    }

    #staff::before {
        right: -5%;
    }

    .training_item_grid {
        gap: 1.5em;
    }

    .youngday .wrap {
        padding: 50px;
    }

    .youngday h2 {
        font-size: 36px;
    }

    .youngday .no-warp {
        padding: 0;
    }
    #message.recruit .img-ofi {
        height: 500px;
    }
}

@media (max-width: 850px) {
    #staff::before {
        background: none;
    }

    .staff_card_grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-trainee {
        grid-column: 1;
        grid-row: 1;
        align-self: stretch;
    }

    .card-boss {
        grid-column: 1;
        grid-row: 2;
        align-self: stretch;
    }

    .card-shimizu {
        grid-column: 1;
        grid-row: 3;
        align-self: stretch;
    }

    .strengths_item_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .strengths_item,
    .strengths_item_grid .strengths_item:nth-child(n+3) {
        grid-column: span 1;
    }

    .strengths_item {
        padding: 24px;
    }

    .strengths_item_title {
        font-size: 18px;
    }

    .strengths_item_icon {
        width: 70px;
        height: 70px;
        right: 12px;
        bottom: 12px;
    }

    .strengths_item:nth-child(1) .strengths_item_icon {
        width: 160px;
        height: 150px;
    }

    .strengths_item:nth-child(2) .strengths_item_icon {
        width: 150px;
        height: 140px;
    }

    .strengths_item:nth-child(3) .strengths_item_icon {
        width: 130px;
        height: 130px;
    }

    .strengths_item:nth-child(4) .strengths_item_icon {
        width: 150px;
        height: 90px;
    }

    .strengths_item:nth-child(5) .strengths_item_icon {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 800px) {
    .anchor-link {
        font-size: 16px;
    }

    .anchor-list-main {
        column-gap: 0.5em;
    }
}

@media (max-width: 700px) {
    .anchor-list-main {
        flex-direction: column;
    }

    .anchor-link {
        display: flex;
        padding: 0.8em 1em;
    }

    .anchor-list-main {
        row-gap: 1em;
    }

    .training_item_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .training_item {
        padding: 24px;
    }

    .training_item_title {
        font-size: 18px;
    }

    .youngday .wrap {
        padding: 40px 30px;
    }

    .youngday h2 {
        margin-bottom: 1em;
        font-size: 28px;
    }

    .timeline_title {
        font-size: 18px;
    }

    .timeline_time {
        font-size: 14px;
    }

    .timeline_item {
        column-gap: 20px;
        padding-bottom: 40px;
    }

    .timeline_marker::after {
        top: 37px;
        bottom: -33px;
    }

    .youngday .no-warp {
        padding: 0;
    }

    .youngday .training_item_grid {
        margin-top: 16px;
    }

    .youngday .training_item .under_titile {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .staff_card_grid {
        gap: 10px;
    }

    .staff_card_header {
        font-size: 16px;
        padding: 8px 12px;
    }

    .staff_card_body {
        padding: 20px 18px;
    }

    .qa-item {
        margin: 0 0 12px;
    }

    #staff article {
        margin: 20px auto;
    }

    .anchor-link {
        font-size: 14px;
    }

    .anchor-link::after {
        width: 10px;
        height: 10px;
    }

    .strengths_item_number {
        width: 33px;
        height: 33px;
        font-size: 16px;
    }

    .strengths_item_heading {
        margin: 0 0 18px;
    }

    .strengths_item:nth-child(1) .strengths_item_icon {
        width: 130px;
        height: 130px;
    }

    .strengths_item:nth-child(2) .strengths_item_icon {
        width: 130px;
        height: 120px;
    }

    .strengths_item:nth-child(3) .strengths_item_icon {
        width: 100px;
        height: 100px;
    }

    .strengths_item:nth-child(4) .strengths_item_icon {
        width: 130px;
        height: 90px;
    }

    .strengths_item:nth-child(5) .strengths_item_icon {
        width: 100px;
        height: 100px;
    }

    main h3.strengths_item_heading span {
        padding-right: 0;
    }

    .training_item_title {
        font-size: 16px;
    }

    .training_item_title {
        margin: 0 0 16px;
    }

    .training_item_line {
        width: 40px;
        margin: 0 0 24px;
    }

    .training_item_list {
        margin: 0 0 24px;
    }

    .youngday h2 {
        font-size: 26px;
    }

    .youngday .wrap {
        padding: 30px 20px;
    }

    .timeline_title {
        font-size: 16px;
        margin: 0 0 4px;
    }

    .timeline_item {
        column-gap: 14px;
        padding-bottom: 30px;
    }

    .timeline_time {
        padding: 0.2em 1.2em;
    }

    .youngday .training_item .under_titile {
        font-size: 16px;
        margin: 0 0 24px;
    }

    .youngday .no-warp {
        padding: 0;
    }

    .outline_contact {
        margin-bottom: 20px;
    }

    .timeline_marker::after {
        bottom: -24px;
    }

    .contact_all {
        padding: 28px 20px;
    }

    .contact_title {
        font-size: 18px;
    }

    .contact_tel {
        font-size: 26px;
        gap: 6px;
        padding: 8px 0;
    }
    .contact_tel_icon {
        width: 25px;
        height: 25px;
    }
    #message.recruit .img-ofi {
        height: 250px;
    }
}