.intro__highlights p:last-child {
    margin-bottom: 0;
}
/* ========================================
   リセット・基本設定
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

h2 {
    position: relative;
    padding: 0.5em;
    background-color: #39b6dd;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

h2::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px rgb(149, 158, 155);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ========================================
   カラー変数
   ======================================== */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-secondary: #f97316;
    --color-secondary-dark: #ea580c;
    --color-text: #333;
    --color-text-light: #666;
    --color-background: #fff;
    --color-background-gray: #f3f4f6;
    --color-border: #e5e7eb;
    --cta-gradient: linear-gradient(90deg, #27acd9 0%, #b4e12b 100%);
    --cta-gradient-hover: linear-gradient(90deg, #1f8bb2 0%, #90c123 100%);
    --header-height: 88px;
}

/* ========================================
   固定ヘッダー
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    z-index: 1000;
    transition: transform 0.3s ease;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.header__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-link {
    display: inline-flex;
    align-items: center;
}

.header__logo-link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 4px;
    border-radius: 8px;
}

.header__logo-image {
    width: 200px;
    height: auto;
    display: block;
}

.header__contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 100vh;
    background: linear-gradient(135deg, #ff9a5a 0%, #ffcf87 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.header__phone:visited {
    color: #fff;
}

.header__phone:hover,
.header__phone:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    filter: brightness(1.05);
    color: #fff;
}

.header__phone-icon,
.header__cta-icon {
    display: inline-flex;
}

.header__phone-icon svg,
.header__cta-icon svg {
    width: 18px;
    height: 18px;
}

.header__phone-text {
    letter-spacing: 0.03em;
}

.header__cta-text {
    display: inline-flex;
}

.header__cta-button {
    background-image: var(--cta-gradient);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 100vh;
    border: 2px solid rgba(255, 255, 255, 0.85);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.header__cta-button:hover {
    background-image: var(--cta-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* ========================================
   メインコンテンツ
   ======================================== */

.main {
    margin-top: var(--header-height);
    background-color: var(--color-background);
}

/* ========================================
   ヒーローセクション
   ======================================== */

.hero {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 2480 / 1807;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background-image: url('../images/mv.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center;
}




.hero__cta-button,
.positions__cta-button,
.faq__cta-button,
.intro__cta-button,
.benefits__cta-button,
.form__submit {
    display: inline-flex;
    background-image: var(--cta-gradient);
    color: #fff;
    font-weight: 700;
    padding: 1rem 4rem;
    border-radius: 100vh;
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 0;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.hero__cta-button {
    font-size: 1.125rem;
}

.positions__cta-button,
.faq__cta-button,
.form__submit {
    font-size: 1.125rem;
}

.hero__cta-button:hover,
.positions__cta-button:hover,
.faq__cta-button:hover,
.intro__cta-button:hover,
.benefits__cta-button:hover,
.form__submit:hover {
    background-image: var(--cta-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.hero__cta-button::after,
.positions__cta-button::after,
.faq__cta-button::after,
.form__submit::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -160%;
    width: 120%;
    height: 220%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    opacity: 0;
    pointer-events: none;
    animation: buttonShine 3s ease-in-out infinite;
}

@keyframes buttonShine {
    0% {
        left: -160%;
        opacity: 0;
    }
    40% {
        opacity: 0;
    }
    50% {
        left: -20%;
        opacity: 0.6;
    }
    60% {
        opacity: 0;
    }
    100% {
        left: 160%;
        opacity: 0;
    }
}

/* ========================================
   イントロセクション
   ======================================== */

.intro {
    padding: 2rem 1rem 4rem;
    background-color: #c7f7ff;
}

.intro__container {
    max-width: 800px;
    margin: 0 auto;
}

.intro__title {
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

.intro__image {
    margin-bottom: 2rem;
}

.intro__image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.12);
}

.intro__content {
    font-size: 1rem;
    line-height: 1.9;
    color: #1f2937;
}

.intro__text {
    margin-bottom: 1.5rem;
}

.intro__highlights {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.intro__text--highlight {
    margin-bottom: 0.75rem;
    position: relative;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 1.25rem 1.25rem 1.25rem 4rem;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.12);
    font-weight: 600;
    color: #0f172a;
}

.intro__highlights .intro__text--highlight:last-child {
    margin-bottom: 0;
}

.intro__text--highlight::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27acd9 0%, #8fd52b 100%);
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.25);
}

.intro__text--highlight::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    width: 32px;
    height: 32px;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="5 13 9 17 19 7"/%3E%3C/svg%3E') center/16px 16px no-repeat;
}

.intro__text--strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}

.intro__cta {
    margin-top: 2rem;
    text-align: center;
}

/* ========================================
   募集職種セクション
   ======================================== */

.positions {
    padding: 4rem 1rem;
    background-color: var(--color-background-gray);
}

.positions__container {
    max-width: 900px;
    margin: 0 auto;
}

.positions__title {
    font-weight: 700;
    text-align: center;
}

.positions__image {
    margin-bottom: 2.5rem;
}

.positions__image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.12);
}

.positions__description {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.position-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.position-card__header {
    margin-bottom: 1rem;
}

.position-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
}

.position-card__description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.position-card__details {
    margin-bottom: 1.5rem;
}

.position-card__detail {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.position-card__detail:last-child {
    border-bottom: none;
}

.position-card__detail-label {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.position-card__highlight {
    background-color: #fef3c7;
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
}

.position-card__highlight-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.position-card__highlight-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.position-card__highlight-note {
    font-size: 0.875rem;
}

.positions__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   待遇セクション
   ======================================== */

.benefits {
    padding: 4rem 1rem;
    background-color: var(--color-background);
}

.benefits__container {
    max-width: 900px;
    margin: 0 auto;
}

.benefits__title {
    font-weight: 700;
    text-align: center;
}

.benefits__image {
    margin-bottom: 3rem;
}

.benefits__image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.12);
}

.benefits__section {
    margin-bottom: 3rem;
}

.benefits__section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.benefits__list {
    background-color: var(--color-background-gray);
    padding: 1.5rem;
    border-radius: 4px;
}

.benefits__item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.benefits__cta {
    margin-top: 3rem;
    text-align: center;
}

.benefits__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.benefits__item--nested {
    flex-direction: column;
}

.benefits__label {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.benefits__sublist {
    margin-top: 0.5rem;
}

.benefits__subitem {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.benefits__subitem::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.benefits__highlight-card {
    display: block;
    margin: 3rem 0;
    padding: 2.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8ffba 0%, #f6ffec 100%);
    box-shadow: 0 20px 40px rgba(89, 195, 255, 0.35);
    color: #0b2a45;
}

.benefits__highlight-content {
    flex: 1;
}

.benefits__highlight-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0b2a45;
}

.benefits__highlight-text {
    line-height: 1.9;
    color: rgba(11, 42, 69, 0.85);
}

/* ========================================
   Q&Aセクション
   ======================================== */

.faq {
    padding: 4rem 1rem;
    background-color: var(--color-background-gray);
}

.faq__container {
    max-width: 900px;
    margin: 0 auto;
}

.faq__title {
    font-weight: 700;
    text-align: center;
}

.faq__image {
    margin-bottom: 2.5rem;
}

.faq__image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.12);
}

.faq__intro {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.faq__item {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.faq__accordion {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq__accordion:hover {
    background-color: rgba(220, 255, 63, 0.08);
}

.faq__accordion:focus-visible {
    background-color: rgba(37, 99, 235, 0.08);
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.faq__question {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.6;
}

.faq__icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq__icon::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq__accordion[aria-expanded="true"] .faq__icon::after {
    transform: translateY(-50%) rotate(0deg);
}

.faq__accordion[aria-expanded="true"] .faq__question {
    color: var(--color-secondary);
}

.faq__answer {
    padding: 0 2rem 1.75rem;
    font-size: 1rem;
    line-height: 1.9;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.faq__answer[hidden] {
    display: none;
}

.faq__answer p {
    margin-bottom: 1rem;
}

.faq__answer p:last-child {
    margin-bottom: 0;
}

.faq__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   応募フォームセクション
   ======================================== */

.application {
    padding: 4rem 1rem;
    background-color: var(--color-background);
}

.application--focused {
    padding-top: 6rem;
}

.application__container {
    max-width: 900px;
    margin: 0 auto;
}

.application__title {
    font-weight: 700;
    text-align: center;
}

.application__message {
    margin-bottom: 2rem;
    line-height: 1.9;
}

.application__message-text {
    margin-bottom: 1rem;
}

.application__contact {
    background: linear-gradient(135deg, #e8ffba 0%, #f6ffec 100%);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 3rem;
    text-align: center;
}

.application__contact-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.application__contact-phone {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
}

.application__contact-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9a5a 0%, #ffcf87 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(255, 154, 90, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.application__contact-phone-link:hover,
.application__contact-phone-link:focus {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(255, 154, 90, 0.45);
    filter: brightness(1.05);
}

.application__contact-phone-icon svg {
    width: 28px;
    height: 28px;
}

.application__contact-phone-text {
    letter-spacing: 0.03em;
}

.application__form-wrapper {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.grecaptcha-badge {
    visibility: hidden;
}

.application__recaptcha-note {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 0.65rem;
    text-align: center;
    color: var(--color-text-light);
}

.application__recaptcha-note a {
    color: inherit;
    text-decoration: underline;
}

.application__form-placeholder {
    padding: 2rem;
    border-radius: 12px;
    border: 2px dashed rgba(37, 99, 235, 0.3);
    color: var(--color-text-light);
    text-align: center;
    font-size: 0.95rem;
}

.application__form-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
}

.application__form-description {
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* ========================================
   固定ページ・投稿
   ======================================== */

.main--page,
.main--single {
    padding: 4rem 1rem 5rem;
    background-color: transparent;
}

.main--page article.page,
.main--single article.post {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.page__header,
.post__header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.page__title,
.post__title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 800;
    color: var(--color-text);
}

.post__meta {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.page__content,
.post__content {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.9;
}

.page__content > * + *,
.post__content > * + * {
    margin-top: 1.75rem;
}

.page__content h2,
.post__content h2 {
    font-size: 1.5rem;
    margin: 3rem 0 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-primary);
}

.page__content h3,
.post__content h3 {
    font-size: 1.25rem;
    margin: 2.5rem 0 1rem;
    color: var(--color-primary);
}

.page__content h4,
.post__content h4 {
    font-size: 1.1rem;
    margin: 2rem 0 0.75rem;
    font-weight: 700;
}

.page__content p,
.post__content p {
    margin: 0;
}

.page__content ul,
.page__content ol,
.post__content ul,
.post__content ol {
    padding-left: 1.5rem;
    margin: 0;
}

.page__content ul,
.post__content ul {
    list-style: none;
}

.page__content ul li,
.post__content ul li {
    position: relative;
    padding-left: 0.5rem;
}

.page__content ul li::before,
.post__content ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--color-primary);
}

.page__content a,
.post__content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.page__content blockquote,
.post__content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--color-primary);
    background-color: rgba(37, 99, 235, 0.08);
    color: #0f172a;
}

.page__content table,
.post__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.page__content table th,
.page__content table td,
.post__content table th,
.post__content table td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    text-align: left;
}

.page__content table th,
.post__content table th {
    background-color: rgba(37, 99, 235, 0.08);
    font-weight: 700;
}

.page__content figure,
.post__content figure {
    margin: 2rem 0;
    text-align: center;
}

.page__content img,
.post__content img {
    border-radius: 8px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
}

.page__content .wp-block-columns,
.post__content .wp-block-columns {
    gap: 2.5rem;
}

.page__content .has-background,
.post__content .has-background {
    padding: 1.5rem;
    border-radius: 8px;
}

.page__back-home {
    margin-top: 3rem;
    text-align: center;
}

.page__back-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border-radius: 999px;
    background-image: var(--cta-gradient);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.page__back-home-link {
.page__back-home-link:focus {
    background-image: var(--cta-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
    color: #fff !important;
    text-decoration: none !important;
}

    text-decoration: none !important;
    .main--page,
    .main--single {
        padding: 3rem 1rem 4rem;
    }

    .main--page article.page,
    .main--single article.post {
        padding: 2.5rem 1.5rem;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    }
    color: #fff !important;
    text-decoration: none !important;
    .post__title {
        font-size: 1.75rem;
    }

    .page__content h2,
    .post__content h2 {
        font-size: 1.35rem;
        padding-left: 0.75rem;
    }

    .page__content h3,
    .post__content h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .main--page article.page,
    .main--single article.post {
        padding: 2rem 1.25rem;
        border-radius: 10px;
    }

    .page__content table,
    .post__content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ========================================
   フォーム
   ======================================== */

.form {
    margin: 0;
    padding: 0;
}

.form__group {
    margin-bottom: 1.5rem;
    scroll-margin-top: 5rem;
}

.form__group--checkbox {
    margin-bottom: 2rem;
    scroll-margin-top: 5rem;
}

.form__label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form__required {
    display: inline-block;
    background-color: var(--color-secondary);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 2px;
    margin-left: 0.5rem;
}

.form__optional {
    display: inline-block;
    background-color: var(--color-text-light);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 2px;
    margin-left: 0.5rem;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form__textarea {
    resize: vertical;
}

.form__radio-group {
    display: flex;
    gap: 1.5rem;
}

.form__radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form__radio {
    margin-right: 0.5rem;
    cursor: pointer;
}

.form__checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.form__checkbox {
    margin-right: 0.5rem;
    cursor: pointer;
}

.form__checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form__submit-wrapper {
    text-align: center;
    scroll-margin-top: 5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.form__submit {
    border: none;
    cursor: pointer;
}

.form__submit--secondary {
    background: #fff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.form__submit--secondary:hover,
.form__submit--secondary:focus {
    background: #f8fafc;
    color: var(--color-primary-dark);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.application--focused .application__message {
    text-align: center;
}

.application--focused .application__message .application__privacy-link {
    margin-top: 1rem;
}

.mw_wp_form .error,
.mw_wp_form .mw_wp_form_error {
    margin-top: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .header {
        padding: 0 0.75rem;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
    }

    .header__container {
        padding: 0.5rem 1rem;
        gap: 0.75rem;
    }

    .header__contact {
        gap: 0.5rem;
    }

    .header__phone,
    .header__cta-button {
        padding: 0;
        width: 44px;
        height: 44px;
        min-width: 44px;
        justify-content: center;
    }

    .header__phone {
        border: none;
        background: linear-gradient(135deg, #ff9a5a 0%, #ffcf87 100%);
        box-shadow: 0 12px 24px rgba(255, 154, 90, 0.35);
    }

    .header__phone:hover,
    .header__phone:focus {
        filter: brightness(1.05);
        box-shadow: 0 15px 30px rgba(255, 154, 90, 0.45);
    }

    .header__phone-text,
    .header__cta-text {
        display: none;
    }
}

@media (max-width: 600px) {
    .header__logo-image {
        width: 150px;
    }

    .hero {
        aspect-ratio: 1920 / 1807;
        background-size: 129% auto;
        background-position: center;
    }

    .hero__cta-button {
        font-size: 0.95rem;
        padding: 0.3rem 2.75rem;
    }

    .application__contact-phone-link {
        padding: 1rem 2rem;
        font-size: 1.25rem;
    }

    .application__contact-phone-icon svg {
        width: 24px;
        height: 24px;
    }

    .footer__logo-image {
        width: 150px;
    }

    .application__form-wrapper {
        padding: 1.75rem 1.25rem;
    }

    .form__group {
        margin-bottom: 1.25rem;
    }

    .positions__description,
    .faq__intro,
    .application__form-description {
        text-align: left;
    }

    .benefits__highlight-card {
        padding: 1.75rem 1.5rem;
        margin: 2.5rem 0;
    }

    .benefits__highlight-title {
        font-size: 1.1rem;
    }
}
    /* ========================================
       Snow Monkey Forms
       ======================================== */

    .snow-monkey-form {
        margin: 0;
        padding: 0;
    }

    .snow-monkey-form .smf-item {
        margin-bottom: 1.5rem;
        padding: 0;
        border: none;
    }

    .snow-monkey-form .smf-item__col--label {
        display: block;
        margin-bottom: 0.5rem;
    }

    .snow-monkey-form .smf-item__label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 700;
        color: var(--color-text);
        font-size: 1rem;
    }

    .snow-monkey-form .smf-item__label__text {
        font-size: inherit;
    }

    .snow-monkey-form .smf-item .smf-item__label::after {
        content: '任意';
        display: inline-block;
        background-color: var(--color-text-light);
        color: #fff;
        font-size: 0.75rem;
        padding: 0.125rem 0.5rem;
        border-radius: 2px;
        margin-left: 0.5rem;
    }

    .snow-monkey-form
        .smf-item:has([data-validations~="required"])
        .smf-item__label::after {
        content: '必須';
        background-color: var(--color-secondary);
    }

    .snow-monkey-form .smf-placeholder {
        display: block;
    }

    .snow-monkey-form .smf-file-control {
        margin-bottom: 1.25rem;
    }

    .snow-monkey-form .smf-item:last-of-type .smf-file-control {
        margin-bottom: 0;
    }

    .snow-monkey-form .smf-text-control__control,
    .snow-monkey-form .smf-tel-control__control,
    .snow-monkey-form .smf-email-control__control,
    .snow-monkey-form .smf-select-control__control,
    .snow-monkey-form .smf-textarea-control__control {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid var(--color-border);
        border-radius: 4px;
        font-size: 1rem;
        font-family: 'Noto Sans JP', sans-serif;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        background-color: #fff;
    }

    .snow-monkey-form .smf-textarea-control__control {
        min-height: 160px;
        resize: vertical;
    }

    .snow-monkey-form .smf-text-control__control:focus,
    .snow-monkey-form .smf-tel-control__control:focus,
    .snow-monkey-form .smf-email-control__control:focus,
    .snow-monkey-form .smf-select-control__control:focus,
    .snow-monkey-form .smf-textarea-control__control:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

    .snow-monkey-form [data-invalid="true"] {
        border-color: #ef4444;
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
    }

    .snow-monkey-form .smf-error-messages {
        margin-top: 0.5rem;
        color: #ef4444;
        font-size: 0.875rem;
    }

    .snow-monkey-form .smf-action {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 2rem;
    }

    .snow-monkey-form .smf-action [data-action] {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        background-image: var(--cta-gradient);
        color: #fff;
        font-weight: 700;
        font-size: 1.125rem;
        padding: 1rem 4rem;
        border-radius: 100vh;
        border: 2px solid rgba(255, 255, 255, 0.9);
        transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

    .snow-monkey-form .smf-action [data-action]:hover,
    .snow-monkey-form .smf-action [data-action]:focus {
        background-image: var(--cta-gradient-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    }

    .snow-monkey-form .smf-action [data-action="back"] {
        background-image: none;
        background-color: #e5e7eb;
        color: var(--color-text);
        border-color: #d1d5db;
        box-shadow: none;
    }

    .snow-monkey-form .smf-action [data-action="back"]:hover,
    .snow-monkey-form .smf-action [data-action="back"]:focus {
        background-image: none;
        background-color: #d8dade;
        color: var(--color-text);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(17, 24, 39, 0.15);
    }

    @media (max-width: 600px) {
        .snow-monkey-form .smf-action {
            flex-direction: column;
            align-items: center;
        }

        .snow-monkey-form .smf-action [data-action] {
            width: auto;
            justify-content: center;
        }

        .snow-monkey-form .smf-action .smf-button-control + .smf-button-control,
        .snow-monkey-form .smf-action [data-action] + [data-action] {
            margin-left: 0;
        }
    }

    .snow-monkey-form .smf-progress-tracker {
        margin-bottom: 2rem;
    }

    .snow-monkey-form .smf-progress-tracker__item {
        font-size: 0.875rem;
        color: var(--color-text-light);
    }


/* ========================================
   フッター
   ======================================== */

.footer {
    background-color: #6cbd8d;
    color: #fff;
    padding: 2rem 1rem;
}

.footer__container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer__logo-link {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer__logo-image {
    width: 200px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.footer__privacy {
    margin-bottom: 0.75rem;
}

.footer__privacy-link {
    color: #fff;
    text-decoration: underline;
    font-size: 10px;
}

.footer__copyright {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ========================================
   ページトップボタン
   ======================================== */

.page-top-anchor {
    position: absolute;
    top: 0;
    left: 0;
}

.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background-color: #1c9ac1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    z-index: 900;
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover,
.scroll-top:focus-visible {
    filter: brightness(1.08);
    outline: none;
}

.scroll-top__icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .scroll-top {
        right: 1rem;
        bottom: 1rem;
        width: 3rem;
        height: 3rem;
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
    }
}

/* ========================================
   タブレット以上のレスポンシブ対応
   ======================================== */

@media (min-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }

    .header__container {
        padding: 0.5rem 2rem;
    }

    .header__logo {
        font-size: 1rem;
    }

    .header__cta-button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .hero {
        aspect-ratio: 2480 / 1807;
    }

    .intro {
        padding: 5rem 2rem;
    }

    .intro__title {
        font-size: 2rem;
    }

    .intro__text {
        font-size: 1.0625rem;
    }

    .positions {
        padding: 5rem 2rem;
    }

    .positions__title {
        font-size: 2rem;
    }

    .positions__description {
        font-size: 1.0625rem;
    }

    .position-card {
        padding: 2.5rem;
    }

    .position-card__title {
        font-size: 1.5rem;
    }

    .position-card__detail {
        flex-direction: row;
        align-items: baseline;
    }

    .position-card__detail-label {
        min-width: 120px;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .benefits {
        padding: 5rem 2rem;
    }

    .benefits__title {
        font-size: 2rem;
    }

    .benefits__item {
        flex-direction: row;
        align-items: flex-start;
    }

    .benefits__label {
        min-width: 200px;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .faq {
        padding: 5rem 2rem;
    }

    .faq__title {
        font-size: 2rem;
    }

    .faq__intro {
        font-size: 1.0625rem;
    }

    .application {
        padding: 5rem 2rem;
    }

    .application__title {
        font-size: 2rem;
    }

    .form {
        padding: 2.5rem;
    }
}

/* ========================================
   PC以上のレスポンシブ対応
   ======================================== */

@media (min-width: 1024px) {
    .hero {
        aspect-ratio: 2480 / 1807;
    }

    .hero__container {
        padding: 4rem 2rem;
    }
}
