/*!
 * ress.css • v5.0.2
 * MIT License
 * github.com/filipelinhares/ress
 */
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    word-break: normal;
    -moz-tab-size: 4;
    tab-size: 4;
}

*,
::before,
::after {
    background-repeat: no-repeat;
    box-sizing: inherit;
}

::before,
::after {
    text-decoration: inherit;
    vertical-align: inherit;
}

* {
    padding: 0;
    margin: 0;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

hr {
    overflow: visible;
    height: 0;
}

details,
main {
    display: block;
}

summary {
    display: list-item;
}

small {
    font-size: 80%;
}

[hidden] {
    display: none;
}

abbr[title] {
    border-bottom: 1px dotted;
    text-decoration: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline-width: 0;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

b,
strong {
    font-weight: bolder;
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

table {
    border-color: inherit;
    text-indent: 0;
}

input {
    border-radius: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.54;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button {
    border-color: transparent;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
[type="button"][disabled],
[type="reset"][disabled],
[type="submit"][disabled] {
    cursor: default;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    display: table;
    max-width: 100%;
    padding: 0;
    color: inherit;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    padding: 0;
}

::-webkit-datetime-edit,
::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-ampm-field {
    padding: 0;
}

::-webkit-inner-spin-button {
    height: auto;
}

%form-element {
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    padding: 0;
    margin: 0;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    @extend %form-element;
}

ul,
ol {
    list-style: none;
}

img {
    border-style: none;
    vertical-align: middle;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

body {
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 1.8;
    background-image: radial-gradient(circle, var(--color-bg-primary-opacity1) calc(100% - 25rem), var(--color-bg-accent1-opacity1) calc(100% - 25rem)), url('../img/bg4.jpg');
    background-size: 100%;
    background-position: top left;
    background-repeat: repeat;
    color: var(--base-color-font-black);
    overflow-x: hidden;
    /* 横揺れ防止 */

    span.__unit {
        display: inline-block;
    }

    img {
        width: 100%;
        height: auto;
        vertical-align: middle;
    }

    button {
        color: var(--base-color-font-black);
    }

    @media (max-width: 768px) {
        /* background-image: radial-gradient(circle, var(--color-bg-primary-opacity1) 90%, var(--color-bg-accent1-opacity1) 90%), url('../img/bg4.jpg');*/
        font-size: 18px;
    }
}

em {
    font-style: normal;
}

/* ヘッダー */
header {
    background: #fff;
    overflow: hidden;

    .__text1 {
        white-space: nowrap;
    }

    .title1 {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--base-color-font-black);
        padding: 0 1rem;
        font-family: var(--font-family-accent3);

        .__w1 {
            flex: 0 0 auto;
            font-weight: 500;
        }
    }

    .logo1 {
        a {
            display: block;
            max-width: 300px;
        }
    }

    .__text1 {
        padding: 0.25rem 1rem;
        font-size: 0.75rem;
        background: #cccccc33;
        text-align: center;
    }
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    ul {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        font-size: 0.8rem;
        line-height: 1;
    }

    li {
        padding: 0.25rem 0;
        list-style: none;

        &:nth-child(1) {
            margin-right: 0.5rem;
            background: var(--color-bg-accent4);
            color: white;

            a {
                color: white;
            }

            .__c1 {
                font-size: 1.25rem;
                font-weight: bold;
            }
        }

        .__c2 {
            font-size: 1.25rem;
            color: var(--color-font-accent2);
            font-weight: bold;
            margin-left: 2px;
        }

        .__c3 {
            margin: 0 0.25rem;
        }

        .__w1 {
            margin-left: 0.25rem;
            font-size: 1rem;
            text-decoration: underline;
            margin-right: 2px;
        }
    }

    a {
        text-decoration: none;
        color: var(--color-font-accent1);
        font-weight: 500;
        transition: opacity 0.3s;
        display: flex;
        align-items: center;

        &:hover {
            opacity: 0.7;
        }
    }
}

/* ヒーローセクション */
.hero {
    padding: 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;

    h1 {
        font-size: 42px;
        margin-bottom: 1rem;
        line-height: 1.4;

        @media (max-width: 768px) {
            font-size: 32px;
        }
    }

    p {
        font-size: 22px;
        margin-bottom: 2.5rem;
        opacity: 0.95;

        @media (max-width: 768px) {
            font-size: 20px;
        }
    }

    @media (max-width: 768px) {
        overflow: hidden;
    }
}

.title1 {
    color: var(--base-color-font-white);
    font-family: var(--font-family-accent1);
    font-size: 20px;

    position: relative;
    z-index: 1;

    .__text1 {
        font-size: 1.1rem;

        .__w1 {}

        .__w2 {
            font-size: 1rem;
        }

        .__w3 {}
    }

    .__text2 {
        margin-top: 0.5rem;
    }

    .__accent1 {
        >span {
            display: inline-block;
            aspect-ratio: 1/1;
            color: var(--base-color-font-white);
            background: orange;
            line-height: 1;
            text-align: center;
            font-size: 1.25em;
            padding: 0.25rem;
            border-radius: 3px;

            &:nth-child(1) {
                transform: rotate(5deg);
            }

            &:nth-child(2) {
                transform: rotate(-23deg);
            }
        }
    }

    .__accent2 {
        >span {
            display: inline-block;
            aspect-ratio: 1/1;
            color: var(--base-color-font-white);
            background: sienna;
            line-height: 1;
            text-align: center;
            font-size: 1.25em;
            padding: 0.125rem;
            border-radius: 3px;

            &:nth-child(1) {
                transform: rotate(5deg);
            }

            &:nth-child(2) {
                transform: rotate(23deg);
            }
        }
    }

}

.switch-container {
    display: grid;
    margin: 1rem -1rem 0;
    background: var(--base-color-bg-white);
    box-shadow: var(--base-box-shadow1);
    font-size: 1rem;
    padding: 1rem 1rem 1.5rem;

    .ccopy1 {
        margin-top: 0.5rem;
    }

    position: relative;

    .illust1 {
        position: absolute;
        top: -5rem;
        left: -4rem;
        z-index: 1;
    }

    .illust2 {
        position: absolute;
        bottom: -5rem;
        right: -3rem;
        z-index: 1;
    }

    .illust3 {
        background: white;
        border-radius: 100vh 0 0 0;
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(0, calc(-1rem - 35%));
        z-index: 1;

        display: inline-flex;
        width: fit-content;
        align-items: flex-start;
        justify-content: center;
        gap: 0.5rem;
        padding: 0 0 0 1.25rem;

        .__img1 {
            flex: 0 0 3.25rem;
        }

        .__text1 {
            background: #F3320B;
            color: white;
            flex: 0 0 auto;
            display: inline-block;
            font-weight: bold;
            padding: 0.25rem 0.5rem;
            line-height: 1;
        }
    }

    >* {
        grid-area: 1 / 1;
        transition: all 2.0s ease-in-out;
    }
}


.switch-auto>*:nth-child(2) {
    /*animation: fadeSwitch 20s infinite;*/
}

@keyframes fadeSwitch {

    0%,
    35% {
        opacity: 0;
    }

    50%,
    85% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.ccopy1 {
    background: var(--base-color-bg-white);
    font-weight: 500;

    .__c1 {
        font-size: 1.25rem;
        margin-right: 0.25rem;
    }

    .__c2 {
        font-size: 1.25rem;
        margin-right: 0.25rem;
    }

    .__text1 {

        .__w2,
        .__w1 {
            border-bottom: 3px solid var(--color-border-accent2);
        }
    }

    .__text2 {
        margin-top: 1rem;

        .__w2,
        .__w1 {
            border-bottom: 3px solid var(--color-border-accent3);
        }
    }
}

.illust1 {
    width: 150px;
    height: auto;

    @media (min-width: 769px) {
        width: 200px;
    }
}

.illust2 {
    width: 150px;
    height: auto;

    @media (min-width: 769px) {
        width: 200px;
    }
}

/* メインコンテンツ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--color-bg-primary-opacity1);

    @media (max-width: 768px) {
        padding: 1rem 0.5rem;
    }
}

.section-title {
    font-size: 32px;
    margin-bottom: 2rem;
    color: #1f2937;

    @media (max-width: 480px) {
        font-size: 26px;
    }
}

/* 求人カード */
.job-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;

    @media (min-width: 769px) {
        grid-template-columns: 1fr 1fr;
    }
}

.job-card {
    background: white;
    border: 1px solid #eee;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;

    @media (max-width: 768px) {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    &:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-color: var(--color-accent-border);
    }

    .job-header {
        margin-bottom: 1.2rem;
    }

    .job-title {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #1f2937;

        @media (max-width: 480px) {
            font-size: 20px;
        }
    }

    .company-name {
        color: #6b7280;
        font-size: 18px;
    }

    .job-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.7rem;
        margin: 1.2rem 0;
    }

    .tag {
        padding: 0.5rem 1rem;
        background: var(--base-color-bg-gray);
        color: var(--base-color-font-white);
        border-radius: var(--base-border-radius2);
        font-size: var(--base-font-size1);
    }

    .job-salary {
        font-size: 22px;
        font-weight: 700;
        color: #059669;
        margin: 1.2rem 0;
    }

    .job-description {
        color: #4b5563;
        font-size: 18px;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .job-image {
        width: 100%;
        aspect-ratio: 2 / 1;
        background: var(--color-accent-bg);
        border-radius: 10px;
        margin-bottom: 1.2rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .view-detail-btn {
        width: 100%;
        padding: 1rem;
        background: var(--color-bg-accent2);
        color: white;
        border-radius: var(--base-border-radius2);
        font-size: var(--base-font-title-size2);
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s;

        &:hover {
            opacity: 0.9;
        }
    }
}


.back-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 2rem;
    text-decoration: none;
    transition: background 0.3s;

    &:hover {
        background: #4b5563;
    }
}

/* フッター */
footer {
    background: var(--color-bg-accent1);
    color: var(--base-color-font-white);
    padding: 2rem 1rem 1rem;
    text-align: center;
    margin-top: 4rem;
    font-size: 0 var(--base-font-size1);


    .farea1 {
        margin-top: 1rem;
    }

    .farea2 {
        ul {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 0 auto;

            li {
                width: 300px;
            }
        }

        a {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            background: white;
            color: var(--base-color-font-black);

            .__img1 {
                flex: 0 0 5rem;
                aspect-ratio: 1/1;

                >img {
                    height: 100%;
                    object-fit: cover;
                }
            }

            .__text1 {
                flex: 0 0 auto;

                .__w2 {
                    display: flex;
                    align-items: center;
                    font-size: 1rem;

                    &::before {
                        content: '';
                        display: block;
                        height: 1px;
                        background: #ccc;
                        flex: 1 1 auto;
                    }
                }
            }

            text-decoration: none;
        }
    }
}
