/*
Theme Name: nine-three-sapporo
Author: iconic
Description: ナインスリー札幌店公式サイト用テーマ
Version: 1.0
*/

:root {
    --color-bg: #17756e;
    --color-text: #fff;
    --color-header: rgba(23, 117, 110, 0.96);
    --color-header-border: rgba(255, 255, 255, 0.2);
    --font-ja: "Noto Sans JP", sans-serif;
    --font-en: "Bebas Neue", sans-serif;
    --content-width: 120rem;
    --content-gutter: 1.6rem;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    min-width: 32rem;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-ja);
}

body.is-loading {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page {
    overflow-x: clip;
    opacity: 1;
    transition: opacity 0.8s ease;
}

body.is-transitioning .page {
    opacity: 0;
}

body.is-home.is-loading .page {
    opacity: 0;
}

html.is-skip-loader .loading {
    display: none;
}

html.is-skip-loader body.is-home .page {
    opacity: 1;
}

.loading {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: var(--color-bg);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

body.is-loaded .loading {
    opacity: 0;
    visibility: hidden;
}

.loading__inner {
    display: grid;
    justify-items: center;
    gap: 2.4rem;
    padding: 2.4rem;
}

.loading__logo {
    width: 3.6rem;
    max-width: 56vw;
}

.loading__text {
    font-family: var(--font-en);
    font-size: 3.6rem;
    line-height: 1;
    letter-spacing: 0.08em;
    opacity: 1;
    animation: loading-sequence 1.2s ease-in-out infinite;
}

.l-container {
    width: min(100%, calc(var(--content-width) + (var(--content-gutter) * 2)));
    margin-inline: auto;
    padding-inline: var(--content-gutter);
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--color-header);
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    min-height: 6.4rem;
}

.header__logo {
    display: inline-block;
    width: 12.4rem;
}

.header__logo-image {
    width: 100%;
    height: auto;
}

.header__toggle {
    position: relative;
    z-index: 22;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 4.4rem;
    height: 4.4rem;
    margin-left: auto;
}

.header__toggle-line {
    display: block;
    width: 2.4rem;
    height: 0.2rem;
    background: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header.is-open .header__toggle-line:nth-child(1) {
    transform: translateY(0.7rem) rotate(45deg);
}

.header.is-open .header__toggle-line:nth-child(2) {
    opacity: 0;
}

.header.is-open .header__toggle-line:nth-child(3) {
    transform: translateY(-0.7rem) rotate(-45deg);
}

.header__nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(32rem, 100%);
    min-height: calc(100dvh - 6.4rem);
    padding: 0 1.6rem 1.6rem;
    background: var(--color-header);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.header.is-open .header__nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header__nav-list {
    border-top: 0.1rem solid var(--color-header-border);
}

.header__nav-item {
    border-bottom: 0.1rem solid var(--color-header-border);
}

.header__nav-item a {
    display: block;
    padding: 1.4rem 0;
    font-family: var(--font-en);
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.fv {
    padding-bottom: 8rem;
}

.about,
.news,
.system,
.menu,
.access,
.sns,
.recruit,
.branch {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about.is-visible,
.news.is-visible,
.system.is-visible,
.menu.is-visible,
.access.is-visible,
.sns.is-visible,
.recruit.is-visible,
.branch.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fv__media {
    position: relative;
    width: 100%;
}

.fv__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
}

.fv__image {
    width: 100%;
    aspect-ratio: 375 / 279;
    object-fit: cover;
    object-position: center center;
}

.fv__announcement {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 1;
    width: calc(100% - 3.2rem);
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-align: center;
    text-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
}

.fv__content {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: -2.4rem;
}

.fv__title {
    font-family: var(--font-en);
    font-size: clamp(5.6rem, 14.94vw, 8.8rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: normal;
}

.fv__title,
.about__title,
.news__title,
.system__title,
.menu__title,
.access__title,
.sns__title,
.branch__title {
    clip-path: inset(0 100% 0 0);
}

body.is-loaded .fv__title,
body:not(.is-home) .fv__title {
    animation: fv-title-reveal var(--reveal-duration, 1.2s) ease-out 0.2s forwards;
}

.about.is-visible .about__title,
.news.is-visible .news__title,
.system.is-visible .system__title,
.menu.is-visible .menu__title,
.access.is-visible .access__title,
.sns.is-visible .sns__title,
.branch.is-visible .branch__title {
    animation: fv-title-reveal var(--reveal-duration, 1.2s) ease-out 0.2s forwards;
}

.about {
    padding: 5.6rem 0;
}

.about__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
}

.about__text {
    margin-top: 3rem;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.08em;
    text-align: center;
}

.news {
    padding: 5.6rem 0;
}

.news__inner {
    display: grid;
    gap: 3.2rem;
}

.news__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.news__list {
    display: grid;
    gap: 2rem;
}

.news__item {
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.6);
}

.news__link {
    display: grid;
    gap: 0.8rem;
    padding-bottom: 1.2rem;
}

.news__date,
.news__headline {
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: 0.06em;
}

.news__date {
    display: inline-block;
    white-space: nowrap;
}

.news__more {
    justify-self: end;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.6);
    padding-bottom: 0.4rem;
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: 0.06em;
}

.carousel {
    padding: 5.6rem 0;
}

.carousel__viewport {
    overflow: hidden;
}

.carousel__track {
    display: flex;
    width: max-content;
    animation: carousel-scroll 24s linear infinite;
}

.carousel__item {
    flex: 0 0 auto;
    width: 94vw;
}

.carousel__image {
    width: 100%;
    aspect-ratio: 480 / 320;
    object-fit: cover;
}

.system {
    padding: 5.6rem 0;
}

.system__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.system__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
}

.system__tables {
    display: grid;
    gap: 3.2rem;
    width: 100%;
    margin-top: 3.2rem;
}

.system__placeholder,
.menu__placeholder {
    margin-top: 3.2rem;
    font-size: 3rem;
    line-height: 1.6;
    letter-spacing: 0.08em;
    text-align: center;
}

.system-card__title {
    font-family: var(--font-en);
    font-size: 3.6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.system-card__title--point {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.2rem;
}

.system-card__title-note {
    flex-shrink: 0;
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.system-card__table-wrap {
    margin-top: 0;
    overflow-x: auto;
}

.system-card__table {
    width: 100%;
    min-width: 28rem;
    border-collapse: collapse;
}

.system-card__table thead th,
.system-card__table tbody th,
.system-card__table td {
    padding: 1.2rem 1.2rem 1.2rem 0;
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-align: left;
    white-space: nowrap;
}

.system-card__table thead tr {
    border-bottom: 0.2rem solid rgba(255, 255, 255, 0.7);
}

.system-card__table thead th {
    font-size: 2rem;
    font-weight: 700;
}

.system-card__table tbody tr {
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.3);
}

.system-card__table tbody tr:last-child {
    border-bottom: none;
}

.system-card__table tbody th {
    font-weight: 400;
}

.system-card__table tbody td {
    font-weight: 400;
}

.system-card__note {
    margin-top: 1.6rem;
    font-size: 1.2rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.system__icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 3.2rem;
}

.system__icon-item {
    display: flex;
    justify-content: center;
}

.system__icon-image {
    width: 100%;
    max-width: 7.2rem;
    height: auto;
}

.system__banner {
    width: 100%;
    margin-top: 3.2rem;
}

.system__banner-image {
    width: 100%;
    height: auto;
}

.menu {
    padding: 5.6rem 0;
}

.menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
}

.menu__list {
    width: 100%;
    margin-top: 3.2rem;
}

.menu-dropdown {
    border: 0.1rem solid rgba(255, 255, 255, 0.6);
}

.menu-dropdown + .menu-dropdown {
    margin-top: 1.2rem;
}

.menu-dropdown__summary {
    position: relative;
    padding: 2rem 5.6rem 2rem 2rem;
    font-family: var(--font-en);
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: 0.02em;
    list-style: none;
    cursor: pointer;
}

.menu-dropdown__summary::-webkit-details-marker {
    display: none;
}

.menu-dropdown__summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2rem;
    width: 1.2rem;
    height: 1.2rem;
    border-right: 0.2rem solid currentColor;
    border-bottom: 0.2rem solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s ease;
}

.menu-dropdown[open] .menu-dropdown__summary::after {
    transform: translateY(-35%) rotate(-135deg);
}

.menu-dropdown__content {
    min-height: 0;
    padding: 0 2rem 2.8rem;
}

.menu-dropdown__lead {
    padding-top: 1.2rem;
    margin-bottom: 2.4rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.menu-category + .menu-category {
    margin-top: 3.2rem;
}

.menu-category__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.06em;
}

.menu-category__items {
    margin-top: 1.2rem;
}

.menu-category__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.6rem;
    align-items: start;
    padding: 0.8rem 0;
    font-size: 1.6rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.menu-category__name {
    min-width: 0;
}

.menu-category__price {
    white-space: nowrap;
    text-align: right;
}

.access {
    padding: 5.6rem 0;
}

.access__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.access__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
}

.access__grid {
    display: grid;
    gap: 3.2rem;
    width: 100%;
    margin-top: 3.2rem;
}

.access__map {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 28rem;
    overflow: hidden;
}

.access__map-frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.access__content {
    display: grid;
    gap: 2.4rem;
}

.access__text {
    font-size: 1.6rem;
    line-height: 1.875;
    letter-spacing: 0.04em;
}

.news__empty,
.news-archive__empty {
    font-size: 1.6rem;
    line-height: 1.875;
    letter-spacing: 0.04em;
}

.news-archive,
.news-single {
    padding: 5.6rem 0 8rem;
}

.news-archive__inner,
.news-single__inner {
    max-width: 96rem;
}

.news-archive__header,
.news-single__header {
    display: grid;
    gap: 1.6rem;
}

.news-archive__title,
.news-single__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.news-archive__lead,
.news-single__date {
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: 0.06em;
}

.news-archive__list {
    display: grid;
    gap: 2rem;
    margin-top: 3.2rem;
}

.news-archive__link {
    display: grid;
    gap: 0.8rem;
}

.news-pagination {
    margin-top: 4rem;
}

.news-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
}

.news-pagination a,
.news-pagination span {
    min-width: 4.8rem;
    min-height: 4.8rem;
    padding: 1.2rem 1.6rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.news-pagination .current {
    background: #fff;
    color: #17756e;
    border-color: #fff;
}

.news-single__header {
    padding-bottom: 2.4rem;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.3);
}

.news-entry {
    margin-top: 3.2rem;
    font-size: 1.6rem;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.news-entry > * + * {
    margin-top: 2.4rem;
}

.news-entry h2,
.news-entry h3,
.news-entry h4 {
    font-weight: 700;
    line-height: 1.5;
}

.news-entry h2 {
    font-size: 3rem;
}

.news-entry h3 {
    font-size: 2.4rem;
}

.news-entry h4 {
    font-size: 2rem;
}

.news-entry ul,
.news-entry ol {
    padding-left: 1.6rem;
}

.news-entry ul {
    list-style: disc;
}

.news-entry ol {
    list-style: decimal;
}

.news-entry li + li {
    margin-top: 0.8rem;
}

.news-entry img {
    height: auto;
}

.news-entry a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.news-entry figure {
    margin: 0;
}

.news-entry figcaption {
    margin-top: 1.2rem;
    font-size: 1.3rem;
    line-height: 1.7;
    opacity: 0.8;
}

.news-single__nav {
    margin-top: 4.8rem;
    padding-top: 2.4rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.3);
}

.news-single__nav-links {
    display: grid;
    gap: 1.2rem;
}

.news-single__nav-item,
.news-single__back {
    min-height: 5.6rem;
    padding: 1.2rem 2.4rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.news-single__nav-item a {
    width: 100%;
}

.news-single__nav-item span {
    width: 100%;
}

.news-single__nav-item.is-disabled {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.35);
}

.news-single__back {
    background: #fff;
    color: #17756e;
    border-color: #fff;
    font-weight: 700;
}

.privacy-page {
    padding: 5.6rem 0;
}

.privacy-page__inner {
    max-width: 96rem;
}

.privacy-page__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.privacy-page__content {
    display: grid;
    gap: 3.2rem;
    margin-top: 3.2rem;
}

.privacy-page__content p,
.privacy-page__list,
.privacy-page__sublist {
    font-size: 1.6rem;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.privacy-page__section {
    display: grid;
    gap: 1.6rem;
}

.privacy-page__heading {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.privacy-page__list,
.privacy-page__sublist {
    display: grid;
    gap: 0.8rem;
    padding-left: 1.6rem;
    list-style: disc;
}

.privacy-page__sublist {
    margin-top: 0.8rem;
    padding-left: 0;
    list-style: none;
}

.privacy-page__sublist li {
    position: relative;
    padding-left: 1.6rem;
}

.privacy-page__sublist li::before {
    content: "-";
    position: absolute;
    top: 0;
    left: 0;
}

.thanks-page {
    padding: 5.6rem 0 8rem;
}

.thanks-page__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.thanks-page__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.thanks-page__text {
    margin-top: 2.4rem;
    font-size: 1.6rem;
    line-height: 1.875;
    letter-spacing: 0.04em;
}

.contact-page {
    padding: 5.6rem 0;
}

.contact-page__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
}

.contact-page__text {
    margin-top: 2.4rem;
    font-size: 1.6rem;
    line-height: 1.875;
    letter-spacing: 0.04em;
    text-align: center;
}

.recruit-page,
.recruit-detail {
    padding: 5.6rem 0 8rem;
}

.recruit-page__header,
.recruit-detail__header {
    display: grid;
    gap: 2.4rem;
    justify-items: center;
    text-align: center;
}

.recruit-page__title,
.recruit-detail__title {
    font-size: 6rem;
}

.recruit-page__title {
    font-family: var(--font-ja);
    font-weight: 700;
    font-size: clamp(3.4rem, 9vw, 6rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-wrap: balance;
    word-break: keep-all;
}

.recruit-detail__title {
    font-family: var(--font-en);
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.recruit-detail__title {
    font-size: 4rem;
}

.recruit-page__text,
.recruit-detail__lead,
.recruit-field__content {
    font-size: 1.6rem;
    line-height: 1.875;
    letter-spacing: 0.04em;
}

.recruit-list {
    display: grid;
    gap: 2.4rem;
    margin-top: 4rem;
}

.recruit-card {
    display: grid;
    gap: 2.4rem;
    padding: 2.4rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
}

.recruit-card__body {
    display: grid;
    gap: 2.4rem;
}

.recruit-card__head {
    display: grid;
    gap: 0.8rem;
}

.recruit-card__title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
}

.recruit-card__employment,
.recruit-detail__category {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    padding: 0.4rem 1.2rem;
    border-radius: 2px;
    background: #fff;
    color: #17756e;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.recruit-card__meta {
    display: grid;
    gap: 1.6rem;
}

.recruit-card__row {
    display: grid;
    gap: 0.8rem;
}

.recruit-card__label,
.recruit-field__label {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.08em;
}

.recruit-card__value {
    font-size: 1.5rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.recruit-card__actions,
.recruit-detail__actions {
    display: flex;
    justify-content: flex-end;
}

.recruit-card__button,
.recruit-detail__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18rem;
    min-height: 5.2rem;
    padding: 1.2rem 2rem;
    background: #fff;
    color: #17756e;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
    border-radius: 2px;
}

.recruit-card__button {
    width: 100%;
}

.recruit-card__button:hover,
.recruit-detail__button:hover {
    opacity: 0.85;
}

.recruit-detail__inner {
    max-width: 96rem;
}

.recruit-detail__sections {
    display: grid;
    gap: 2.4rem;
    margin-top: 4rem;
}

.recruit-field {
    display: grid;
    gap: 1.2rem;
    padding: 2.4rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
}

.recruit-detail__actions {
    justify-content: center;
    margin-top: 4rem;
}

.contact-form {
    width: 100%;
    max-width: 76rem;
    margin: 4rem auto 0;
}

.contact-form .wpcf7-form-control-wrap {
    display: block;
}

.form-group + .form-group {
    margin-top: 2.4rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.form-label__required,
.form-label__required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.8rem;
    padding: 0.2rem 0.8rem;
    border-radius: 2px;
    font-size: 1.2rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.form-label__required {
    background: #fff;
    color: #17756e;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border: none;
    border-radius: 2px;
    background: #fff;
    color: #333333;
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.form-input,
.form-select {
    height: 5.6rem;
    padding: 0 1.6rem;
}

.form-textarea {
    min-height: 20rem;
    padding: 1.6rem;
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 0.2rem solid rgba(255, 255, 255, 0.25);
    outline-offset: 0.2rem;
}

.form-select-wrap {
    position: relative;
}

.form-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2.2rem;
    width: 1rem;
    height: 1rem;
    border-right: 0.2rem solid #333333;
    border-bottom: 0.2rem solid #333333;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.form-select {
    appearance: none;
    padding-right: 5.2rem;
}

.form-select--hidden {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.form-select-wrap--custom::after {
    display: none;
}

.form-select-button {
    position: relative;
    width: 100%;
    min-height: 5.6rem;
    padding: 0 5.2rem 0 1.6rem;
    border-radius: 2px;
    background: #fff;
    color: #17756e;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-align: left;
}

.form-select-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2.2rem;
    width: 1rem;
    height: 1rem;
    border-right: 0.2rem solid #17756e;
    border-bottom: 0.2rem solid #17756e;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s ease;
}

.form-select-wrap--custom.is-open .form-select-button::after {
    transform: translateY(-35%) rotate(-135deg);
}

.form-select-list {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    right: 0;
    z-index: 5;
    display: grid;
    gap: 0;
    padding: 0.8rem 0;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.8rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.form-select-wrap--custom.is-open .form-select-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.form-select-option {
    padding: 1.2rem 1.6rem;
    color: #17756e;
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.form-select-option:hover,
.form-select-option.is-selected {
    background: rgba(23, 117, 110, 0.12);
}

.form-select-option p {
    margin: 0;
}

.form-select option {
    background: #ffffff;
    color: #333333;
    font-size: 1.6rem;
}

.form-select option:checked {
    background: #17756e;
    color: #ffffff;
}

.form-select:focus {
    outline: 0.2rem solid rgba(255, 255, 255, 0.25);
    outline-offset: 0.2rem;
}

.form-select-button:focus {
    outline: 0.2rem solid rgba(255, 255, 255, 0.25);
    outline-offset: 0.2rem;
}

.form-error {
    display: none;
    margin-top: 0.8rem;
    color: #ffd7d7;
    font-size: 1.3rem;
    line-height: 1.6;
}

.form-group--file {
    display: none;
}

.form-file {
    display: grid;
    gap: 0.8rem;
    align-items: start;
}

.form-file__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 5.6rem;
    padding: 1.2rem 2rem;
    border-radius: 2px;
    background: #fff;
    color: #17756e;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.form-file__input {
    display: none;
}

.form-file__note {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.form-file__name {
    min-height: 2.3rem;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
    word-break: break-all;
}

.form-group--agreement {
    margin-top: 3.2rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.form-check__input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 2px;
    background: #fff;
    position: relative;
}

.form-check__input:checked::after {
    content: "";
    position: absolute;
    top: 0.3rem;
    left: 0.7rem;
    width: 0.5rem;
    height: 1rem;
    border-right: 0.2rem solid #17756e;
    border-bottom: 0.2rem solid #17756e;
    transform: rotate(45deg);
}

.form-check__text {
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.form-check__text a {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.form-group--agreement .wpcf7-form-control-wrap {
    display: block;
}

.form-group--agreement .wpcf7-form-control {
    display: block;
}

.form-group--agreement .wpcf7-list-item {
    display: block;
    margin: 0;
}

.form-group--agreement .wpcf7-list-item > label {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.form-group--agreement input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    margin: 0.5rem 0 0;
    border: none;
    border-radius: 2px;
    background: #fff;
    position: relative;
}

.form-group--agreement input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 0.3rem;
    left: 0.7rem;
    width: 0.5rem;
    height: 1rem;
    border-right: 0.2rem solid #17756e;
    border-bottom: 0.2rem solid #17756e;
    transform: rotate(45deg);
}

.form-group--agreement .wpcf7-list-item-label {
    display: block;
    flex: 1 1 auto;
}

.form-group--agreement .wpcf7-list-item-label p {
    margin: 0;
}

.form-actions {
    display: grid;
    justify-items: center;
    gap: 1.6rem;
    margin-top: 4rem;
}

.form-submit {
    min-width: 22rem;
    min-height: 5.6rem;
    padding: 1.2rem 2.4rem;
    border: none;
    background: #fff;
    color: #17756e;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
    text-align: center;
}

.form-submit:hover {
    opacity: 0.85;
}

.form-note {
    font-size: 1.3rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-align: center;
}

.sns {
    padding: 5.6rem 0;
}

.sns__inner {
    display: flex;
    justify-content: center;
}

.sns__lead {
    display: grid;
    gap: 3.2rem;
    justify-items: center;
}

.sns__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
}

.sns__text {
    margin-top: -2rem;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
    text-align: center;
}

.sns__icons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sns__icon-link {
    display: inline-flex;
}

.sns__icon-image {
    width: 3.2rem;
    height: 3.2rem;
}

.recruit {
    padding: 5.6rem 0;
}

.recruit__visual {
    position: relative;
}

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

.recruit__title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 1.6rem;
    pointer-events: none;
    color: #fff;
    font-family: var(--font-ja);
    font-weight: 700;
    font-size: clamp(3.2rem, 10vw, 8rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-align: center;
    word-break: keep-all;
}

.branch {
    padding: 5.6rem 0;
}

.branch__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branch__title {
    font-family: var(--font-en);
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-align: center;
}

.branch__grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    margin-top: 3.2rem;
}

.branch-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 4;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.branch-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    transition: background 0.3s ease;
}

.branch-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.branch-card__label {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 1.6rem;
    font-family: var(--font-ja);
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-align: center;
}

.branch-card:hover::after,
.branch-card:focus-visible::after {
    background: rgba(0, 0, 0, 0.4);
}

.branch-card:hover .branch-card__image,
.branch-card:focus-visible .branch-card__image {
    transform: scale(1.04);
}

.branch-card:focus-visible {
    outline: 0.2rem solid rgba(255, 255, 255, 0.9);
    outline-offset: 0.4rem;
}

.ticker {
    overflow: hidden;
    padding: 5.6rem 0;
}

.ticker__viewport {
    overflow: hidden;
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

.ticker__text {
    flex: 0 0 auto;
    padding-right: 0;
    color: #fff;
    font-family: var(--font-en);
    font-size: clamp(5.6rem, 14vw, 8rem);
    line-height: 0.9;
    letter-spacing: 0;
    white-space: nowrap;
}

.footer {
    position: relative;
    padding: 5.6rem 0 3.2rem;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 0.1rem;
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(-50%);
}

.footer__main {
    display: grid;
    gap: 3.2rem;
}

.footer__info {
    display: grid;
    gap: 2.4rem;
}

.footer__logo {
    width: 13.8rem;
    height: auto;
}

.footer__address,
.footer__tel,
.footer__policy,
.footer__copyright {
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.footer__copyright {
    font-size: 1.2rem;
    text-align: center;
}

.footer__nav-area {
    display: grid;
    gap: 2.4rem;
}

.footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.4rem;
}

.footer__nav-item a {
    font-family: var(--font-en);
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.footer__policy {
    justify-self: start;
}

.footer__bottom {
    margin-top: 4rem;
    padding-top: 2.4rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.6);
}

.line-button {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 1.6rem;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-width: min(34rem, calc(100vw - 3.2rem));
    padding: 1.2rem 1.6rem;
    border-radius: 0.4rem;
    background: #fff;
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.18);
    transform: translateX(-50%);
}

.line-button__icon {
    width: 4.8rem;
    height: 4.8rem;
    flex: 0 0 auto;
}

.line-button__text {
    color: #333333;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.line-button__break {
    display: block;
}

@keyframes loading-sequence {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

@keyframes carousel-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes fv-title-reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@media (min-width: 768px) {
    .loading__logo {
        width: 4.8rem;
    }

    .loading__text {
        font-size: 4.8rem;
    }

    .header__inner {
        min-height: 6rem;
    }

    .header__logo {
        width: 13.8rem;
    }

    .header__toggle {
        display: none;
    }

    .header__nav {
        position: static;
        display: block;
        width: auto;
        min-height: 0;
        padding: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .header__nav-list {
        display: flex;
        align-items: center;
        gap: 3rem;
        border-top: none;
    }

    .header__nav-item {
        border-bottom: none;
    }

    .header__nav-item a {
        display: inline-block;
        padding: 0;
        font-size: 1.6rem;
        line-height: 1;
        letter-spacing: 0.12em;
    }

    .fv {
        padding-bottom: 8rem;
    }

    .fv__image {
        aspect-ratio: 1440 / 700;
        min-height: 47rem;
        max-height: 70rem;
        object-position: center 38%;
    }

    .fv__announcement {
        width: calc(100% - 12rem);
        font-size: clamp(3.6rem, 4.8vw, 6.4rem);
    }

    .fv__content {
        justify-content: flex-end;
        margin-top: -3.6rem;
        padding-inline: 1.6rem;
    }

    .fv__title {
        font-size: clamp(8.8rem, 8.9vw, 12.8rem);
        line-height: 0.9;
        text-align: right;
        white-space: nowrap;
    }

    .about {
        padding: 8rem 0;
    }

    .about__title {
        font-size: 8rem;
    }

    .about__text {
        margin-top: 3.6rem;
        font-size: 1.6rem;
        line-height: 1.875;
    }

    .news {
        padding: 8rem 0;
    }

    .news__inner {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: start;
        column-gap: 1.2rem;
        row-gap: 0;
    }

    .news__title {
        font-size: 8rem;
        grid-column: 1 / span 2;
    }

    .news__list {
        grid-column: 5 / -1;
        gap: 2.4rem;
        padding-top: 0.8rem;
    }

    .news__more {
        grid-column: 12 / -1;
        margin-top: 2.4rem;
        font-size: 1.2rem;
        text-align: right;
        white-space: nowrap;
    }

    .news__link {
        grid-template-columns: 11rem minmax(0, 1fr);
        align-items: baseline;
        gap: 2.4rem;
        padding-bottom: 1.4rem;
    }

    .news__date,
    .news__headline {
        font-size: 1.6rem;
        line-height: 1.7;
    }

    .carousel {
        padding: 8rem 0;
    }

    .carousel__item {
        width: 64vw;
        max-width: none;
    }

    .system {
        padding: 8rem 0;
    }

    .system__title {
        font-size: 8rem;
    }

    .system__tables {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6rem;
        margin-top: 6rem;
    }

    .system__placeholder {
        margin-top: 6rem;
        font-size: 4rem;
    }

    .menu__placeholder {
        margin-top: 6rem;
        font-size: 4rem;
    }

    .system-card__title {
        font-size: 4.4rem;
    }

    .system-card__title-note {
        font-size: 2rem;
    }

    .system-card__table thead th,
    .system-card__table tbody th,
    .system-card__table td {
        padding: 1.4rem 2rem 1.4rem 0;
        font-size: 1.6rem;
    }

    .system-card__table thead th {
        font-size: 2.4rem;
    }

    .system-card__table-wrap {
        margin-top: 2.4rem;
    }

    .system-card__note {
        margin-top: 2rem;
    }

    .system__icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
        margin-top: 6rem;
    }

    .system__icon-image {
        max-width: 7.8rem;
    }

    .system__banner {
        margin-top: 6rem;
    }

    .menu {
        padding: 8rem 0;
    }

    .menu__title {
        font-size: 8rem;
    }

    .menu__list {
        margin-top: 6rem;
    }

    .menu-dropdown__summary {
        padding: 2.2rem 6rem 2.2rem 2.4rem;
        font-size: 2.4rem;
    }

    .menu-dropdown__content {
        padding: 0 2.4rem 3.2rem;
    }

    .menu-dropdown__lead {
        padding-top: 1.6rem;
    }

    .access {
        padding: 8rem 0;
    }

    .access__title {
        font-size: 8rem;
    }

    .access__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: 1.2rem;
        align-items: start;
        margin-top: 6rem;
    }

    .access__map {
        grid-column: 1 / span 6;
    }

    .access__content {
        grid-column: 8 / span 4;
        gap: 3.2rem;
        align-self: center;
    }

    .privacy-page {
        padding: 8rem 0;
    }

    .news-archive,
    .news-single {
        padding: 8rem 0 12rem;
    }

    .news-archive__title,
    .news-single__title {
        font-size: 8rem;
    }

    .news-archive__list {
        margin-top: 4.8rem;
        gap: 2.4rem;
    }

    .news-archive__link {
        grid-template-columns: 11rem minmax(0, 1fr);
        align-items: baseline;
        gap: 2.4rem;
    }

    .news-pagination {
        margin-top: 4.8rem;
    }

    .news-entry {
        margin-top: 4.8rem;
    }

    .news-single__nav {
        margin-top: 6rem;
        padding-top: 3.2rem;
    }

    .news-single__nav-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .privacy-page__title {
        font-size: 8rem;
    }

    .privacy-page__content {
        margin-top: 4.8rem;
    }

    .thanks-page {
        padding: 8rem 0 12rem;
    }

    .thanks-page__title {
        font-size: 8rem;
    }

    .thanks-page__text {
        margin-top: 3.2rem;
    }

    .contact-page {
        padding: 8rem 0;
    }

    .contact-page__title {
        font-size: 8rem;
    }

    .contact-page__text {
        margin-top: 3.2rem;
    }

    .recruit-page,
    .recruit-detail {
        padding: 8rem 0 12rem;
    }

    .recruit-page__title,
    .recruit-detail__title {
        font-size: 8rem;
    }

    .recruit-page__title {
        font-size: clamp(4.8rem, 5vw, 7.2rem);
    }

    .recruit-detail__title {
        font-size: 6rem;
    }

    .recruit-page__header,
    .recruit-detail__header {
        gap: 3.2rem;
    }

    .recruit-list {
        gap: 3.2rem;
        margin-top: 6rem;
    }

    .recruit-card {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 3.2rem;
        padding: 3.2rem;
    }

    .recruit-card__title {
        font-size: 4rem;
    }

    .recruit-card__button {
        width: auto;
    }

    .recruit-detail__sections {
        gap: 3.2rem;
        margin-top: 6rem;
    }

    .recruit-field {
        grid-template-columns: 20rem minmax(0, 1fr);
        align-items: start;
        gap: 3.2rem;
        padding: 3.2rem;
    }

    .recruit-detail__actions {
        margin-top: 5.6rem;
    }

    .contact-form {
        margin-top: 6rem;
    }

    .form-group + .form-group {
        margin-top: 3.2rem;
    }

    .form-select-wrap::after {
        right: 2.4rem;
        width: 1rem;
        height: 1rem;
    }

    .form-select {
        padding-right: 6.4rem;
    }

    .form-select-button {
        min-height: 6rem;
        padding: 0 6.4rem 0 2rem;
    }

    .form-select-button::after {
        right: 2.4rem;
        width: 1rem;
        height: 1rem;
    }

    .form-select-option {
        padding: 1.4rem 2rem;
    }

    .form-file {
        gap: 1rem;
    }

    .form-file__button {
        min-width: 18rem;
        min-height: 6rem;
        padding: 1.2rem 2.4rem;
    }

    .form-actions {
        margin-top: 4.8rem;
    }

    .sns {
        padding: 8rem 0;
    }

    .sns__inner {
        justify-content: center;
    }

    .sns__title {
        font-size: 8rem;
    }

    .recruit {
        padding: 8rem 0;
    }

    .recruit__title {
        font-size: 8rem;
    }

    .branch {
        padding: 8rem 0;
    }

    .branch__title {
        font-size: 8rem;
    }

    .branch__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.4rem;
        margin-top: 6rem;
    }

    .branch-card__label {
        font-size: 4.8rem;
    }

    .ticker__text {
        font-size: 8rem;
    }

    .footer {
        padding: 8rem 0 4rem;
    }

    .footer__main {
        grid-template-columns: minmax(0, 1fr) minmax(0, auto);
        align-items: start;
        gap: 6rem;
    }

    .footer__nav-area {
        justify-items: end;
    }

    .footer__nav-list {
        justify-content: flex-end;
        gap: 1.2rem 2.8rem;
    }

    .footer__policy {
        justify-self: end;
    }

    .footer__bottom {
        margin-top: 5.6rem;
    }

    .line-button {
        left: auto;
        right: 2.4rem;
        bottom: 2.4rem;
        min-width: 34.8rem;
        padding: 1.4rem 1.8rem;
        gap: 1.6rem;
        transform: none;
    }

    .line-button__icon {
        width: 5.6rem;
        height: 5.6rem;
    }

    .line-button__text {
        font-size: 1.5rem;
    }

    .line-button__break {
        display: none;
    }
}

/* CF7の自動タグを非表示にし、エラーを既存デザインに合わせる */
.wpcf7-not-valid-tip {
    color: var(--color-text);
    font-size: 1.6rem;
    margin-top: 0.5rem;
    display: block;
}

/* 送信中や完了メッセージのスタイル（必要に応じて） */
.wpcf7-response-output {
    margin: 2rem 0 0 !important;
    padding: 1rem !important;
    border: 2px solid #ddd !important;
    text-align: center;
}
