/* =========================================
 * Anchored Theme: Minimal CSS (1 prop / line)
 * File: assets/css/theme.css
 * ========================================= */

/* Base */
:root {
    --color-primary: #D32F2F;
    --color-primary-hover: #ff2b2b;
    --color-secondary: #6c6c6c;
    --color-hover: #2f33d3;
    --color-light-gray: #eee;
    --color-border: #e5e7eb;
    --color-text: #0E0E0E;
    --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
}

body {
    margin: 0;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.6;
}

a {
    color: var(--color-primary);
}

h1 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

h2 {
    font-weight: 700;
    line-height: 1.2;
}

a:visited {
    color: var(--color-primary);
}

a:hover,
a:focus,
a:active {
    color: var(--color-hover);
}

ul,
ol {
    margin: 0;
    padding: 0 0 0 2.4rem;
}

/* Utils */
.no-scroll {
    overflow: hidden;
}

/* Header */
#anchored-header {
    position: static;
    height: clamp(100px, 14vw, 148px);
    padding: 0 12px;
    z-index: auto;
    background: #fff;
    transition: background .25s ease, box-shadow .25s ease;
}

h1.anchored-branding img,
.anchored-branding img {
    width: clamp(180px, 24vw, 260px)
}

h1.anchored-branding,
.anchored-branding {
    font-size: 38px;
    margin: 20px 0;
    line-height: 1.1;
}

h1.anchored-branding a,
.anchored-branding a {
    color: var(--color-primary);
}

#anchored-header.is-solid {
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    backdrop-filter: blur(8px);
}

.anchored-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
}

.anchored-title {
    display: inline-block;
    color: var(--color-text);
    font-weight: 800;
    text-decoration: none;
}

/* ハンバーガー（×アニメ） */
.anchored-menu-toggle {
    background: none;
    border: 0;
    padding: 0 8px 8px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2100;
}

.anchored-menu-toggle__bar {
    width: 24px;
    height: 2px;
    background: #111;
    display: block;
    transition: transform .2s ease, opacity .2s ease;
}

.anchored-menu-toggle[aria-expanded="true"] .anchored-menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.anchored-menu-toggle[aria-expanded="true"] .anchored-menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.anchored-menu-toggle[aria-expanded="true"] .anchored-menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .anchored-menu-toggle__bar {
        transition: none;
    }
}

#anchored-navigation[hidden] {
    display: none;
}

#anchored-navigation.is-open {
    position: fixed;
    top: calc(74px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .52);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

#anchored-primary-menu,
#anchored-navigation .anchored-menu {
    background: #fff;
    padding: 20px;
    margin: 0;
    min-inline-size: 240px;
    list-style: none;
    display: grid;
    gap: 20px;
    max-height: calc(100vh - 74px - 32px);
    overflow: auto;
}

.anchored-menu a {
    text-decoration: none;
    color: var(--color-text);
    width: 100%;
    display: inline-block;
}

.no-scroll {
    overflow: hidden;
}

body.admin-bar #anchored-header {
    top: 32px;
}

body.admin-bar #anchored-navigation.is-open {
    top: calc(32px + 74px + env(safe-area-inset-top, 0px));
}

/* Slider */
.splide__arrows.splide__arrows--ltr {
    display: none;
}

.anchored-section {
    display: grid;
    position: relative;
    padding-inline: clamp(12px, 3.5vw, 40px);
}

.anchored-container.catch-wrap {
    order: 2;
    margin: 10px 0 10px;
}

.anchored-hero-media {
    order: 1;
}

.splide__slide img {
    border-radius: 20px;
    overflow: hidden;
}

h2.anchored-home__title {
    margin: 0 auto 6px;
    font-size: clamp(36px, 5.5vw, 80px);
}

.anchored-home__title-en {
    margin: 0 auto 9px;
    font-size: clamp(16px, 2.2vw, 34px);
}

.anchored-home__lead {
    font-size: clamp(16px, 5vw, 20px);
    text-align: justify;
}

.contents_inner {
    width: 100%;
    margin: 0 auto;
}

body:not(.home) .contents_inner {
    max-width: 1100px;
}

.anchored-section.anchored-lead {
    margin: 0 0 45px;
}

.anchored-section__container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Philosophy */

.anchored-section.anchored-philosophy {
    margin: 0 0 40px;
    position: relative;
    z-index: 0;
    padding-block: clamp(48px, 8vw, 122px);
    pointer-events: none;
    transform: translate3d(0, var(--ph-shift, 0px), 0);
    will-change: transform;

    background:
        linear-gradient(to right, rgba(0, 0, 0, .08) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(to bottom, rgba(0, 0, 0, .08) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(to right, rgba(0, 0, 0, .06) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(to bottom, rgba(0, 0, 0, .06) 1px, transparent 1px) 0 0 / 24px 24px;
    background-color: #fff;
}

h1.anchored-section__title {
    font-size: clamp(40px, 7.5vw, 50px);
    text-align: center;
    position: relative;
}

h2.anchored-section__title {
    font-size: clamp(30px, 6.0vw, 40px);
    text-align: center;
    position: relative;
}

h1.anchored-section__title::after,
h2.anchored-section__title::after {
    background-color: var(--color-primary);
    border-radius: 5px;
    bottom: -10px;
    content: "";
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 35px;
}

.anchored-block h3 {
    font-size: clamp(24px, 4vw, 36px);
    margin: 0 auto 0;
}

.anchored-philosophy__lead {
    text-align: justify;
    font-size: clamp(16px, 3.5vw, 18px);
    margin: 50px auto 100px;
    background: #fff;
    padding: 28px 28px 22px;
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.anchored-philosophy__lead p {
    margin: 0;
}

.anchored-block {
    text-align: center;
    margin: 60px auto;
}

.anchored-block p {
    text-align: justify;
    font-size: clamp(16px, 3.5vw, 18px);
}

.anchored-block ol,
.anchored-block ul {
    list-style: none;
    text-align: left;
    margin: 15px 0 0;
    padding: 0;
}

.anchored-block ol li,
.anchored-block ul li {
    padding: 0 0 13px;
}

.anchored-block img {
    width: clamp(80px, 10vw, 100px);
}

.anchored-block.anchored-philosophy__mission li::before,
.anchored-block.anchored-block.anchored-philosophy__value li::before,
.anchored-section.anchored-service li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    margin-right: .25em;
    line-height: 1;
    color: var(--color-primary);
}

.anchored-block.anchored-philosophy__mission li::before {
    content: "\f192";
}

.anchored-block.anchored-block.anchored-philosophy__value li::before {
    content: "\f0a3";
}

.anchored-section.anchored-service li::before {
    content: "\f1b2";
}

/* Service */
.anchored-section.anchored-service {
    margin: 0 0 55px;
}

h3.anchored-service__lead {
    font-size: clamp(24px, 3.5vw, 36px);
    margin: 5px 0 0;
}

h4.anchored-service__catch {
    font-size: clamp(18px, 2.5vw, 22px);
    margin: 2px 0 12px;
    line-height: 1.35;
}

ul.anchored-list.anchored-service__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.anchored-list.anchored-service__list li {
    padding: 0 0 6px;
}

.anchored-service-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    margin: 60px 0 0;
}

.anchored-service__img img {
    border-radius: 16px;
}

br.anchored-service__br {
    display: none;
}

/* company */
.anchored-container {
    margin-inline: auto;
    overflow: hidden;
}

.anchored-section__title {
    font-size: clamp(24px, 3.2vw, 40px);
    line-height: 1.2;
    margin-top: clamp(40px, 5vw, 80px);
}

.anchored-dl.anchored-company__dl {
    margin: 50px auto 0;
    padding: 0;
    border-radius: 16px;
}

.anchored-dl__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 .75rem;
    padding: 16px;
    margin-bottom: 10px;
    background: #fff;
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3);
    z-index: 0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.anchored-philosophy__lead::before,
.anchored-dl__row::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    transform: translate(-50%, -50%);
    width: clamp(76px, 10vw, 100px);
    height: clamp(76px, 10vw, 100px);
    background: var(--color-primary);
    border-radius: 50%;
    z-index: 0;
}

.anchored-philosophy__lead::after,
.anchored-dl__row::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: -5px;
    transform: translate(50%, 50%);
    width: clamp(30px, 4vw, 50px);
    height: clamp(30px, 4vw, 50px);
    background: var(--color-primary);
    border-radius: 50%;
    z-index: 0;
}

.anchored-dl__row dt {
    margin: 0;
    font-weight: 600;
    color: var(--color-text);
    z-index: 1;
}

.anchored-dl__row dd {
    margin: 0;
    color: #374151;
    line-height: 1.5;
    word-break: break-word;
    z-index: 1;
}

.anchored-section.anchored-company {
    padding: 30px 0 80px;
    background-color: var(--color-light-gray);
    padding-inline: clamp(12px, 3.5vw, 40px);
}

/* 上に戻るボタン*/
.anchored-backtotop {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    background: #111;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
    z-index: 1500;
}

.anchored-backtotop.is-visible {
    opacity: 0.6;
    pointer-events: auto;
    transform: translateY(0);
}

button#backToTop i {
    font-size: 28px;
    position: relative;
    bottom: 1px;
    right: 6px;
}

.anchored-backtotop:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 3px;
}

.anchored-backtotop:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.no-scroll .anchored-backtotop {
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .anchored-backtotop {
        transition: none;
    }
}


/* footer */
.anchored-footer {
    background: var(--color-primary);
    color: #fff;
    border-top: 1px solid var(--color-primary);
    position: relative;
}

.anchored-footer__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px 0;
    padding-top: clamp(0px, 1vw, 48px);
    position: relative;
    gap: 30px;
}

.anchored-footer__brand img {
    width: clamp(180px, 5vw, 200px);
    height: auto;
}

.anchored-footer-catch {
    margin: 10px auto 5px;
}

.anchored-footer-catch img {
    width: clamp(170px, 5vw, 200px);
    height: auto;

}

.anchored-container.anchored-footer__grid {
    padding: clamp(22px, 3vw, 32px);
}

.anchored-footer-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
}

.anchored-footer__brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    z-index: 1;
}

.anchored-footer__brand::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -81%);
    width: 120vw;
    height: 510px;
    background: var(--color-light-gray, #eee);
    border-radius: 50%;
    z-index: 0;
}

.anchored-footer__brand>* {
    position: relative;
    z-index: 1;
}

.anchored-menu--footer {
    display: grid;
    grid-template-columns: repeat(3, auto);
    row-gap: 1px;
    column-gap: 50px;
    justify-content: center;
    justify-items: start;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    font-size: 12px;
}

.anchored-footer__bottom {
    background-color: var(--color-primary);
    text-align: center;
    color: #fff;
    font-size: 12px;
    border-top: 1px solid #fff;
}

.anchored-container.anchored-footer__bottom__inner {
    padding: 8px 0 10px;
}

ul.anchored-menu.anchored-menu--footer a {
    color: #fff;
}

/* footerを最下部に */
html,
body {
    height: 100%;
}

body {
    min-height: 100dvh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* スクロールリビール */
[data-reveal],
.data-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .6s ease,
        transform .6s ease;
    will-change: opacity, transform;
}

.is-revealed {
    opacity: 1;
    transform: none;
}

[data-reveal="fade-left"] {
    transform: translateX(24px);
}

[data-reveal="fade-right"] {
    transform: translateX(-24px);
}

[data-reveal="blur-up"] {
    filter: blur(6px);
}

[data-reveal="blur-up"].is-revealed {
    filter: blur(0);
    transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transition: none;
    }
}

/* contact
--------------------------------------------- */
table.anchored_cf {
    width: 100%;
    margin: 2rem 0 3em;
    border-collapse: separate;
    border-spacing: 0;
}

table.anchored_cf p {
    font-weight: normal;
    font-size: 15px;
}

table.anchored_cf tr {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #bbb;
    padding: 18px 0 24px;
}

table.anchored_cf tr:last-child {
    border-bottom: 1px solid #bbb;
}

table.anchored_cf th {
    text-align: left;
    min-width: auto;
    white-space: normal;
    margin: 11px 0 1px 0;
}

table.anchored_cf th p {
    margin-bottom: 0;
}

table.anchored_cf td {
    width: 100%;
}

table.anchored_cf td p {
    margin: 5px 0 20px 0;
}

.anchored_cf td input[type="text"],
.anchored_cf td input[type="email"] {
    width: 100%;
    box-sizing: border-box;
}

.anchored_label {
    font-size: 12px;
    color: #fff;
    background: #eee;
    padding: 1px 5px;
    border-radius: 2px;
    vertical-align: 1px;
    margin-right: 5px;
}

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

.submit-btn {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.submit-btn p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* contactのメディアクエリ */
@media (min-width: 728px) {
    table.anchored_cf tr {
        padding: 28px 0 30px;
    }

    table.anchored_cf th {
        min-width: 200px;
        white-space: nowrap;
    }
}

@media (min-width: 1000px) {

    .anchored_cf td input[type="text"],
    .anchored_cf td input[type="email"] {
        width: 60%;
    }
}



/* form step
--------------------------------------------- */
.form-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 auto 25px;
    width: 100%;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    color: #ccc;
    font-size: 14px;
    position: relative;
}

.step .label {
    display: block;
    margin-top: 5px;
    color: #ccc;
}

.step::before {
    content: attr(data-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    background-color: #ccc;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    z-index: 2;
    position: relative;
}

.form-steps .step::after {
    content: "";
    position: absolute;
    top: 28%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ccc;
    transform: translateY(-50%);
    z-index: 1;
}

.form-steps .step:first-child::after {
    left: 50%;
    width: 50%;
}

.form-steps .step:last-child::after {
    width: 50%;
}

.mw_wp_form_input .step:nth-child(1)::before,
.mw_wp_form_confirm .step:nth-child(1)::before,
.mw_wp_form_confirm .step:nth-child(2)::before,
.mw_wp_form_complete .step:nth-child(1)::before,
.mw_wp_form_complete .step:nth-child(2)::before,
.mw_wp_form_complete .step:nth-child(3)::before {
    background-color: var(--color-primary);
}

.mw_wp_form_input .step:nth-child(1) .label,
.mw_wp_form_confirm .step:nth-child(1) .label,
.mw_wp_form_confirm .step:nth-child(2) .label,
.mw_wp_form_complete .step:nth-child(1) .label,
.mw_wp_form_complete .step:nth-child(2) .label,
.mw_wp_form_complete .step:nth-child(3) .label {
    color: var(--color-primary);
}

.mw_wp_form_input .step:nth-child(1)::after,
.mw_wp_form_confirm .step:nth-child(1)::after,
.mw_wp_form_confirm .step:nth-child(2)::after,
.mw_wp_form_complete .step:nth-child(1)::after,
.mw_wp_form_complete .step:nth-child(2)::after,
.mw_wp_form_complete .step:nth-child(3)::after {
    background-color: var(--color-primary);
}

@media (min-width: 768px) {
    .form-steps {
        width: 70%;
    }

    .step::before {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .form-steps .step::after {
        height: 4px;
        top: 32%;
    }
}

/* recruit */
.anchored-recruit .anchored-container {
    max-width: 1100px;
    margin-inline: auto;
}

.anchored-recruit__summary {
    margin: 0 0 60px;
}

.anchored-recruit-dl {
    margin: 0;
    padding: 0;
}

.anchored-recruit-dl__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: .9rem 0;
    border-bottom: 1px solid var(--color-border);
}

.anchored-recruit-dl__row:first-child {
    border-top: 1px solid var(--color-border);
}

.anchored-recruit-dl__row dt {
    margin: 0;
    font-weight: 600;
    color: var(--color-text);
    padding-left: 10px;
}

.anchored-recruit-dl__row dd {
    margin: 0;
    color: #374151;
    line-height: 1.75;
    word-break: break-word;
    padding: 0 10px;
}

.anchored-cards {
    list-style: none;
    padding: 0;
    margin-block: clamp(20px, 3.5vw, 50px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 2.4vw, 20px);
}

.anchored-card {
    border: 1px solid var(--color-border);
    border-radius: 2px;
    background: #fff;
    padding: clamp(16px, 2.6vw, 24px);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%),
        linear-gradient(180deg, #ddd 1px, transparent 1px);
    background-size: 8px 100%,
        100% 2.5em;
    line-height: 2.2em;
}

.anchored-card__title {
    margin: 0 0 .3rem;
    font-size: clamp(18px, 2vw, 20px);
    text-decoration: underline;
    text-underline-offset: -0.15em;
    text-decoration-thickness: 0.5em;
    text-decoration-color: #ff2b2b45;
    text-decoration-skip-ink: none;
}

.anchored-card__body h4 {
    margin: .6rem 0 .2rem;
    font-size: 1rem;
}

.anchored-card__cta {
    margin-top: .8rem;
}

section.anchored-section.anchored-recruit {
    margin-bottom: 60px;
}

/* 404 */
.anchored-error {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(16px, 4vw, 24px);
}

.anchored-error__title {
    font-size: clamp(22px, 5.5vw, 36px);
    margin: 0 0 .25em;
}

.anchored-error__lead {
    color: #6b7280;
    margin: 0;
}

.anchored-error__actions {
    display: grid;
    gap: 12px;
}

.anchored-error__links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.anchored-btn,
button.form_confirm,
button.form_submit,
a.form_top_back,
a.anchored-error__btn {
    display: flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(14px, 1.6vw, 16px);
    padding-block: clamp(1.1em, 2.4vw, 1.3em);
    padding-inline: clamp(2.2em, 5vw, 3.2em);
    min-height: clamp(44px, 6vw, 54px);
    text-align: center;
    line-height: 1.3;
    max-width: fit-content;
}

a.form_top_back {
    display: inline-block;
    margin: 30px 0 60px 0;
}

.anchored-btn:hover,
button.form_confirm:hover,
button.form_submit:hover,
a.form_top_back:hover,
a.anchored-error__btn:hover {
    border: 1px solid var(--color-hover);
    color: var(--color-hover);
}

button.form_back {
    display: flex;
    align-items: center;
    border-radius: 999px;
    font-size: clamp(12px, 1.2vw, 14px);
    border: 1px solid var(--color-text);
    color: var(--color-text);
    padding-block: clamp(0.6em, 1.5vw, 0.9em);
    padding-inline: clamp(1.6em, 4vw, 2.6em);
    min-height: clamp(28px, 4vw, 40px);
    background: #fff;
    line-height: 1.5;
    max-width: fit-content;
}

button.form_back:hover {
    border: 1px solid #6e6e6e;
    color: #6e6e6e;
}

.anchored-error__grid {
    display: grid;
    gap: 20px;
}

.anchored-error__sub {
    font-size: clamp(16px, 3.6vw, 20px);
    margin: 0 0 .6em;
}

.anchored-error__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .4em;
}

.anchored-error__list--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4em .8em;
}

header.anchored-error__head {
    width: fit-content;
    margin: 0 auto;
}

.anchored-error__code {
    font-size: clamp(80px, 18vw, 200px);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
    color: var(--color-primary);
    text-align: center;
    margin-block: clamp(16px, 4vw, 24px);
}

a.anchored-error__btn {
    margin: 0 auto;
    margin-top: clamp(16px, 4vw, 24px);
}

/* CTA */
.anchored-recruit__cta {
    text-align: center;
    margin-top: clamp(24px, 5vw, 48px);
}

/* パンくず */
.anchored-breadcrumbs {
    font-size: 12px;
    color: #6b7280;
    margin: 8px 0 12px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding-top: 5px;
    padding-bottom: 6px;
    padding-left: clamp(12px, 3.5vw, 40px);
    padding-right: clamp(12px, 3.5vw, 40px);
    white-space: nowrap;
    overflow: hidden;
}

.anchored-breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.anchored-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
}

.anchored-breadcrumbs li::after {
    content: none;
}

.anchored-breadcrumbs li+li::before {
    content: "›";
    opacity: .5;
    margin: 0 2px;
}

.anchored-breadcrumbs li:last-child {
    flex: 1 1 auto;
    min-width: 0;
}

.anchored-breadcrumbs li:last-child::after {
    content: "";
}

.anchored-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.anchored-breadcrumbs a:hover {
    color: #111;
    text-decoration: underline;
}

.anchored-breadcrumbs [aria-current="page"] {
    color: #111;
    font-weight: 600;
}

.anchored-breadcrumbs li:last-child [itemprop="name"] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* 投稿記事 */
.anchored-single {
    max-width: 1100px;
    margin-inline: auto;
    padding: clamp(16px, 4vw, 24px);
}

.anchored-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 28px);
}

h4.wp-block-heading {
    margin: 1.3em 0 0.3em 0;
}

.anchored-article__title {
    margin: 0 0 .3em;
    font-size: clamp(24px, 3.6vw, 34px);
    line-height: 1.25;
}

figure.anchored-article__thumb img {
    width: 100%;
}

.anchored-article__meta {
    color: #6b7280;
    margin: 0 0 12px;
    font-size: 14px;
}

.anchored-article__thumb {
    margin: 0 0 16px;
    border-radius: 16px;
    overflow: hidden;
}

.anchored-article__content {
    line-height: 1.6;
}

.anchored-article__content img {
    max-width: 100%;
    height: auto;
}

.wp-block-button__link {
    box-shadow: none;
    font-size: 1.125em;
    display: inline-block;
    padding: 8px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--color-primary);
    background: #fff;
}

.wp-block-button__link:hover {
    border-color: var(--color-hover);
}

footer.anchored-article__footer {
    margin: 40px auto 10px;
}

/* タグ */
.anchored-tags {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.anchored-tags li a {
    display: inline-block;
    padding: .25rem .6rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 13px;
}

.anchored-tags li a:hover {
    background: #f5f6f7;
}

/* 前後ナビ */
.anchored-article__nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    font-size: 14px;
}

.anchored-article__nav a {
    text-decoration: none;
}

.anchored-article__nav a:hover {
    text-decoration: underline;
}

/* サイドバー */
.anchored-sidebar {
    position: relative;
}

.widget {
    margin: 0;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #fff;
}

.widget__title {
    margin: 0 0 8px;
    font-size: 16px;
}

input.wp-block-search__input {
    border: 1px solid var(--color-secondary);
    border-radius: 26px;
    padding: 3px 10px;
}

.wp-block-search__button.has-icon {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.wp-block-search__button svg {
    height: 2.25em;
    min-height: 30px;
    min-width: 30px;
    width: 2.25em;
    fill: var(--color-primary);
    vertical-align: text-bottom;
}

.wp-block-search__inside-wrapper {
    width: 100%;
    max-width: 400px;
}

/* カテゴリーページ */
.anchored-archive {
    max-width: 1100px;
    margin-inline: auto;
    padding: clamp(16px, 4vw, 24px);
    display: grid;
    grid-template-columns: 1fr;
    /* SPは縦積み */
    gap: clamp(16px, 3vw, 28px);
}

/* タイトル周り */
.anchored-archive__title {
    margin: 0;
    font-size: clamp(22px, 3.4vw, 30px);
}

.anchored-archive__desc {
    color: #6b7280;
    margin: .25rem 0 0;
}

/* 一覧（カード） */
.anchored-archive__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 2.4vw, 20px);
}

@media (min-width: 1024px) {
    .anchored-archive__list {
        grid-template-columns: 1fr 1fr;
    }

}

.anchored-postcard {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.anchored-postcard__thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.anchored-postcard__body {
    padding: clamp(12px, 2vw, 16px);
}

.anchored-postcard__title {
    margin: .2rem 0;
    font-size: clamp(16px, 2.6vw, 18px);
    line-height: 1.4;
}

.anchored-postcard__title a {
    text-decoration: none;
    color: var(--color-text);
}

.anchored-postcard__title a:hover {
    text-decoration: underline;
}

.anchored-postcard__meta {
    color: #6b7280;
    font-size: 13px;
    margin: 0 0 .25rem;
}

.anchored-postcard__excerpt {
    margin: 0;
    color: #333;
}

/* ページネーション */
.anchored-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}

.anchored-pagination .nav-links {
    display: flex;
    gap: 8px;
}

.anchored-pagination a,
.anchored-pagination span {
    display: inline-block;
    padding: .35rem .6rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
}

.anchored-pagination .current {
    background: var(--color-text);
    color: #fff;
    border-color: #111;
}

/* ブログ ページャー
--------------------------------------------- */
ul.page-numbers {
    margin: 20px auto;
    width: max-content;
    padding: 0;
}

ul.page-numbers li {
    margin: 0;
    list-style: none;
    display: block;
    overflow: hidden;
    float: left
}

ul.page-numbers li {
    background: #fff;
}

ul.page-numbers li:first-child {
    background: none;
}

ul.page-numbers li:first-child a {
    border: none;
}

ul.page-numbers li:first-child a:hover {
    background: none;
}

ul.page-numbers li:last-child {
    background: none;
}

ul.page-numbers li:last-child a {
    border: none;
}

ul.page-numbers li:last-child a:hover {
    background: none;
}

ul.page-numbers li a,
ul.page-numbers li span.page-numbers {
    padding: 6px 12px;
    display: block;
    border: none;
    margin: 0 4px;
    color: #464646;
    text-decoration: none;
    min-width: 38px;
    text-align: center;
    box-sizing: border-box;
    font-size: clamp(13px, 1.2vw, 15px);
}

ul.page-numbers li span.page-numbers.current {
    color: #fff;
    background-color: #337ab7;
}

ul.page-numbers li span.page-numbers.current,
.page-link dl .post-page-numbers.current {
    background-color: var(--color-primary);
}

/* レスポンシブ */
@media (min-width: 500px) {

    .anchored-philosophy__lead,
    .anchored-block {
        width: 80%;
    }
}

@media (min-width: 640px) {
    .anchored-dl__row {
        grid-template-columns: 100px 1fr;
        align-items: start;
        padding: 25px 0;
    }

    .anchored-dl__row dt {
        padding-top: 2px;
        padding-left: 20px;
    }

    .anchored-recruit-dl__row {
        grid-template-columns: 150px 1fr;
        align-items: start;
        padding: 18px 0;
    }

    .anchored-recruit-dl__row dt {
        padding-top: 2px;
        padding-left: 20px;
    }

    .anchored-breadcrumbs {
        font-size: 13px;
        padding: 8px clamp(16px, 3.5vw, 32px);
    }

    .anchored-breadcrumbs ol {
        gap: 6px;
    }

    .anchored-breadcrumbs li {
        gap: 6px;
    }

    .anchored-breadcrumbs li+li::before {
        margin: 0 3px;
    }

    .anchored-archive__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 720px) {
    .anchored-footer__wrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 0 0;
    }

    .anchored-menu--footer {
        margin: -6px 0 0 12px;
    }

    .anchored-footer__brand img {
        width: clamp(140px, 13vw, 220px);
        height: auto;
    }

    .anchored-footer-catch img {
        width: clamp(140px, 12vw, 200px);
        height: auto;

    }

    .anchored-footer__brand::before {
        top: 50%;
        left: 50%;
        transform: translate(-87%, -50%);
        width: 100vw;
        height: 46vw;
    }

    .anchored-footer__brand {
        margin-bottom: 0;
    }

    .anchored-footer-catch {
        margin: 0;
    }

    .anchored-dl.anchored-company__dl {
        margin: 50px auto 0;
        width: 80%;
    }

    .widget {
        margin: 0 0 18px;
    }
}

@media (min-width: 960px) {
    .anchored-section.anchored-lead {
        max-width: 1100px;
        margin: 0 auto 150px;
    }

    .anchored-section.anchored-news {
        max-width: 1100px;
        margin: 0 auto 150px;
    }

    .anchored-section.anchored-service {
        max-width: 1100px;
        margin: 0 auto 160px;
    }

    .anchored-section {
        margin: 0 auto;
    }

    .anchored-section.anchored-home {
        max-width: 1600px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        align-items: center;
        position: relative;
        padding-inline: 24px;
        margin-bottom: 74px;
    }

    .anchored-hero-media {
        order: 2;
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        z-index: 1;
        width: min(1120px, 70vw);
        margin-left: auto;
        border-radius: 24px;
        overflow: hidden;
    }

    .anchored-hero-media .anchored-slide__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .anchored-container.catch-wrap {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        z-index: 2;
        align-self: center;
        justify-self: start;
        max-width: 600px;
        margin: 0;
        white-space: nowrap;
    }

    .anchored-home__title {
        font-size: clamp(40px, 7vw, 72px);
        line-height: 1.05;
        margin: 0 0 .5rem;
    }

    .anchored-home__lead {
        margin: 0 0 1.25rem;
    }

    .anchored-philosophy__wrqapper {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
    }

    .anchored-philosophy__lead {
        width: 60%;
    }

    .anchored-block {
        width: 400px;
    }

    .anchored-menu--footer {
        display: grid;
        grid-template-columns: repeat(6, auto);
        gap: 0 40px;
        font-size: 13px;
    }

    .anchored-service-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin: 40px 0 0;
    }

    br.anchored-service__br {
        display: block;
    }

    .anchored-single {
        display: grid;
        grid-template-columns: 1fr 320px;
        align-items: start;
        gap: clamp(16px, 3vw, 28px);
    }

    .anchored-breadcrumbs {
        grid-column: 1 / -1;
    }

    .anchored-sidebar {
        position: sticky;
        top: 24px;
    }

    .anchored-archive {
        display: grid;
        grid-template-columns: 1fr 320px;
        grid-auto-flow: row;
        gap: clamp(16px, 3vw, 28px);
        align-items: start;
    }

    .anchored-breadcrumbs {
        grid-column: 1 / -1;
    }

    .anchored-archive__header {
        grid-column: 1 / 2;
    }

    .anchored-archive__list {
        grid-column: 1 / 2;
        width: 100%;
        margin: 0;
    }

    .anchored-pagination {
        grid-column: 1 / 2;
    }

    .anchored-sidebar {
        grid-column: 2 / 3;
        position: sticky;
        top: 24px;
    }

    table.anchored_cf tr {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
        padding: 28px 0 30px;
    }

    table.anchored_cf th {
        min-width: 220px;
        white-space: nowrap;
        margin: 0;
        padding-top: 6px;
    }

    table.anchored_cf td {
        flex: 1;
        width: auto;
    }

    .page-id-34 .anchored-page__content {
        max-width: 960px;
        margin-inline: auto;
        padding-inline: clamp(16px, 4vw, 40px);
    }

    .anchored-breadcrumbs {
        font-size: 14px;
        padding: 10px clamp(20px, 3.5vw, 40px);
    }

    .anchored-breadcrumbs {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .anchored-menu-toggle {
        display: none;
    }

    .anchored-container.anchored-header__inner {
        width: 100%;
        margin: 0 auto;
        padding: 20px 40px;
    }

    #anchored-header {
        position: static;
    }

    #anchored-navigation {
        position: static;
        display: block;
        background: transparent;
        padding: 0;
        z-index: auto;
    }

    #anchored-navigation[hidden] {
        display: block;
    }

    #anchored-navigation.is-open {
        position: static;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        display: block;
        padding: 0;
    }

    #anchored-primary-menu,
    #anchored-navigation .anchored-menu {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        min-inline-size: 0;
        display: flex;
        gap: 30px;
        padding: 0;
    }

    .anchored-dl__row {
        grid-column-gap: 1.5rem;
    }

    .anchored-recruit-dl__row {
        grid-column-gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .anchored-footer__wrapper {
        justify-content: space-around;
    }

    .anchored-footer__brand::before {
        transform: translate(-88%, -50%);
    }
}

/* =====================================================
   ブログリスト
   ===================================================== */

/* oneline_post — ベース */
.oneline_post_container {
    width: 100%;
    margin: 30px auto 70px;
}

.oneline_post_container a {
    text-decoration: none;
}

.oneline_post_wrapper {
    display: block;
    height: auto;
    margin: 10px auto;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
    box-sizing: content-box;
    color: var(--color-text);
    width: 100%;
}

.oneline_post_box_pc {
    display: none;
}

.oneline_post_box_sp {
    display: block;
}

.oneline_post_img {
    width: 100%;
    min-width: auto;
    height: auto;
    margin: 30px 0 0 0;
    position: static;
}

.oneline_post_img img {
    width: 100%;
    height: auto;
    position: static;
    object-fit: cover;
}

.oneline_post_img.noimg {
    display: none;
}

.oneline_title_inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.oneline_title_outer {
    width: 100%;
}

p.oneline_post_time {
    font-size: 12px;
    margin: 0;
    padding: 0;
}

h2.oneline_post_title {
    font-size: clamp(18px, 2.6vw, 22px);
    font-weight: bold;
    border: none;
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
    text-align: left;
}

.oneline_post_text {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0;
}

.oneline_post_text p {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-height: 19px;
    white-space: normal;
    margin: 5px 0 10px 0;
}

.oneline_post_text.noimg_width {
    width: 100%;
}

.oneline_post_new {
    background: #FF4A40;
    color: #fff;
    padding: 2px 5px 0;
    font-weight: bold;
    height: 23px;
    margin: 2px 5px 0 0;
    font-size: clamp(12px, 1.2vw, 14px);
    text-align: left;
    width: max-content;
}

.oneline_nopost_wrapper {
    width: max-content;
    margin: 40px auto 30px;
}

/* =====================================================
   onerow_post — ベース
   ===================================================== */
.onerow_post_container {
    width: 100%;
    margin: 0 auto 70px;
}

.onerow_post_container a {
    text-decoration: none;
}

.onerow_post_continuation:hover {
    text-decoration: underline;
}

.onerow_post_wrapper {
    display: block;
    height: auto;
    margin: 10px auto;
    border-bottom: 1px solid #ccc;
    padding: 5px 0 19px;
    box-sizing: content-box;
    color: var(--color-text);
    width: 100%;
}

.onerow_post_img {
    width: 100%;
    height: auto;
    margin: 7px 0 10px 0;
}

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

.onerow_post_img.noimg {
    display: none;
}

.onerow_title_inner {
    display: flex;
    gap: 8px;
    margin-bottom: 2px;
}

h2.onerow_post_title {
    font-size: clamp(18px, 2.6vw, 22px);
    font-weight: bold;
    border: none;
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
}

p.onerow_post_time {
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.onerow_post_text {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0;
}

.onerow_post_text p {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 23px;
}

.onerow_post_text.noimg_width {
    width: 100%;
}

.onerow_title_box {
    position: relative;
    height: auto;
}

.onerow_title_box.noimg_height {
    height: auto;
}

.onerow_post_continuation {
    font-size: 13px;
    position: static;
    right: auto;
    bottom: auto;
}

.onerow_post_continuation.noimg_width {
    width: 100%;
}

.onerow_post_continuation.noimg_position {
    right: 0;
}

.oneline_post_container:hover .onerow_post_continuation {
    text-decoration: underline;
}

/* =====================================================
   768px 以上（タブレット～）
   ===================================================== */
@media (min-width: 768px) {

    .oneline_post_wrapper {
        display: flex;
    }

    .oneline_post_box_pc {
        display: block;
        align-self: center;
        margin-right: 20px;
    }

    .oneline_post_box_sp {
        display: none;
    }

    .oneline_post_img {
        min-width: 100px;
        width: auto;
        margin: 0 20px 0 0;
        position: relative;
        height: auto;
    }

    .oneline_post_img img {
        width: auto;
        position: absolute;
        top: 0;
        left: 0;
    }

    .oneline_title_outer {
        width: 80%;
    }

    .oneline_post_wrapper .oneline_title_outer {
        width: 85%;
    }

    /* 画像なし */
    .oneline_post_wrapper .oneline_post_img:not(.noimg)~.oneline_title_outer {
        width: 73%;
    }

    /* 画像あり */

    p.oneline_post_time {
        padding: 0 0 0 10px;
        width: 110px;
    }

    h2.oneline_post_title {
        width: calc(90% - 160px);
    }

    .oneline_post_text {
        width: calc(100% - 13px);
    }

    .oneline_post_text.noimg_width {
        width: calc(100% - 13px);
    }

    /* onerow：横並び＋サムネ固定サイズ */
    .onerow_post_wrapper {
        display: flex;
    }

    .onerow_post_img {
        width: 160px;
        height: 160px;
        margin: 0 20px 0 0;
    }

    .onerow_title_box {
        height: 169px;
    }

    .onerow_title_box.noimg_height {
        height: 133px;
    }

    .onerow_post_text {
        width: calc(100% - 4px);
        height: 67px;
    }

    .onerow_post_text.noimg_width {
        width: calc(100% - -160px);
    }

    .onerow_title_outer {
        width: calc(100% - 168px);
    }

    .onerow_post_continuation {
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .onerow_post_continuation.noimg_width {
        width: calc(100% - -160px);
    }

    .onerow_post_continuation.noimg_position {
        right: -160px;
    }

    span.onerow_post_new {
        background: #FF4A40;
        color: #fff;
        padding: 2px 5px 0;
        font-weight: bold;
        height: 23px;
        margin: 2px 5px 0 0;
        font-size: 14px;
    }

    .anchored-error__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .anchored-error__list--cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .oneline_post_container {
        width: 1000px;
    }

    .onerow_post_container {
        width: 1000px;
    }

    .anchored-section.anchored-company {
        padding: 30px 0 120px;
    }
}

@media (min-width: 1100px) {
    .oneline_title_outer {
        width: 70%;
    }
}

@media (min-width: 1200px) {
    .onerow_post_container {
        width: 90%;
    }
}

@media (min-width: 1300px) {
    .oneline_post_container {
        width: 100%;
    }

    .oneline_post_wrapper {
        width: 100%;
    }
}