html {
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}
.wrapper {
}
img{
    display: block;
    width: 100%;
    max-width: 700px;
    object-fit: contain;
    margin: auto;
}

/* ===== 追従ボタン ===== */
.floating-btn {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 100;
    width: 86%;
    max-width: 345px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 20px);
    transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.floating-btn.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.floating-btn img {
    width: 100%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2));
}
.floating-btn:hover img {
    opacity: .9;
}

/* ===== 募集要項タブ ===== */
.recruit {
    max-width: 700px;
    margin: 0 auto;
    padding: 3% 3.5% 14%;
    background: #fcfaf8;
    color: #3a3330;
}
.recruit__card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(80, 60, 40, .12);
    padding: 36px 6% 48px;
}
.recruit__tabs {
    display: flex;
    max-width: 310px;
    margin: 0 auto;
    background: #f1e9e1;
    border-radius: 999px;
}
.recruit__tab {
    flex: 1;
    padding: 12px 8px 14px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #4a423d;
    font-size: clamp(19px, 3.2vw, 21px);
    letter-spacing: .05em;
    cursor: pointer;
    transition: background .3s, color .3s;
}
.recruit__tab.is-active {
    background: #3e4a39;
    color: #fff;
}
.recruit__panel {
    display: none;
}
.recruit__panel.is-active {
    display: block;
    animation: recruitFade .4s ease;
}
@keyframes recruitFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.recruit__title {
    width: fit-content;
    margin: 32px auto 20px;
    padding: 0 24px 12px;
    border-bottom: 1px solid #d9c6b2;
    color: #8a5a2b;
    font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(27px, 4.4vw, 28px);
    font-weight: 400;
    letter-spacing: .1em;
    text-align: center;
}
.recruit__lead {
    font-size: clamp(18px, 3vw, 19px);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
    text-align: center;
}
.recruit__text {
    color: #6b625c;
    font-size: clamp(16px, 2.6vw, 16px);
    line-height: 1.8;
    margin-bottom: 24px;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}
.recruit__row {
    display: flex;
    gap: 4%;
    padding: 22px 0;
    border-bottom: 1px solid #d9c6b2;
    font-size: clamp(14px, 2.8vw, 17px);
    line-height: 1.7;
}
.recruit__row:last-child {
    border-bottom: none;
}
.recruit__row dt {
    flex: 0 0 26%;
    color: #8a5a2b;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}
.recruit__row dd {
    flex: 1;
    font-size: 16px;
    font-feature-settings: "palt";
}
.recruit__row dd p + p {
    margin-top: 8px;
}
.recruit__row ul {
    list-style: none;
}
.recruit__row li {
    position: relative;
    padding-left: 1.1em;
}
.recruit__row li + li {
    margin-top: 8px;
}
.recruit__row li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5a524d;
}
.recruit__row .indent {
    padding-left: 1em;
}

/* ===== 応募フォーム ===== */
.entry {
    max-width: 700px;
    margin: 0 auto;
    padding: 3% 3.5% 10%;
    background: #f1e8e0;
    color: #3a3330;
}
.entry__card {
    background: #fff;
    border-radius: 30px;
    padding: 40px 6% 56px;
}
.entry__row {
    margin-bottom: 26px;
}
.entry__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #7a4a1e;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .05em;
}
.entry__badge {
    padding: 3px 6px;
    background: #7a3f0e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}
.entry input[type="text"],
.entry input[type="email"],
.entry input[type="tel"],
.entry input[type="date"],
.entry textarea {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f2eeea;
    color: #3a3330;
    font-size: 16px;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.entry textarea {
    height: 220px;
    padding: 14px 16px;
    resize: vertical;
}
.entry input:focus,
.entry textarea:focus {
    outline: none;
    border-color: #b8916a;
    background: #f7f4f1;
}
.entry .is-error {
    border-color: #c0392b !important;
}
.entry__choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.entry__choice {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    font-size: 18px;
    cursor: pointer;
}
.entry__choice input {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 1.5px solid #5a524d;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.entry__choice input:checked {
    background: radial-gradient(circle, #3e4a39 0 45%, #fff 50%);
}
.entry__choice input:focus-visible {
    outline: 2px solid #b8916a;
    outline-offset: 2px;
}
.entry__choice input.is-error,
.entry__choices.is-error input {
    border-color: #c0392b;
}
.entry__note {
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: -.01em;
    font-feature-settings: "palt";
}
.entry__files {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 12px;
}
.entry__files input[type="file"] {
    max-width: 100%;
    font-size: 16px;
    font-family: inherit;
}
.entry__files input.is-error {
    outline: 1px solid #c0392b;
    outline-offset: 2px;
}
.entry__hint {
    margin-top: 14px;
    color: #8c8580;
    font-size: 14px;
}
.entry .error-msg {
    display: none;
    margin-top: 6px;
    color: #c0392b;
    font-size: 13px;
}
.entry__actions {
    margin-top: 44px;
    text-align: center;
}
.entry__submit {
    width: 90%;
    max-width: 370px;
    padding: 18px 10px;
    border: none;
    border-radius: 999px;
    background: #3e4a39;
    color: #fff;
    font-size: 20px;
    font-family: inherit;
    letter-spacing: .1em;
    cursor: pointer;
    transition: opacity .3s;
}
.entry__submit:hover {
    opacity: .85;
}

@media(min-width:640px) {
    .pc {
        display: block;
    }
    .sp {
        display: none;
    }
}
@media(max-width:640px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
  }

  footer {
    background: #57493e;
    color: #fff;
    text-align: center;
    padding: 50px 2%;
    font-size: 1rem;
}