/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent-green: #00a63c;
    --dark-green: #006520;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    color: #000;
    line-height: 1.75;
    background-image: url('../img/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

p {
    font-size: 16px;
    line-height: 2.3;
}

img {
    max-width: 100%;
}

.flex {
    display: flex;
}

.vertical-text img {
    max-width: 48px;
    margin-bottom: 32px;
    margin-right: 32px;
}

.section-title {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.container {
    display: flex !important;
    align-items: flex-start;
    width: 100%;
}

/* サイドナビ  */
.side-nav {
    width: 342px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0 !important;
}


.side-nav__inner {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 64px 32px 0;
    box-sizing: border-box;
    overflow: visible;
    max-width: 260px;
    margin: 0 auto;
    width: 100%;
}

.side-nav__logo img {
    width: 100%;
    max-width: 180px;
    margin-bottom: 48px;
}

.side-nav__recruting {
    padding-bottom: 24px;
}

.side-nav__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav__banner,
.side-nav__logo img,
.side-nav__to_main img {
    max-width: 260px;
    width: 100%;
}

.side-nav__decoration {
    margin-top: auto;
    width: 100%;
    line-height: 0;
}

.side-nav__decoration img {
    width: 100%;
    height: auto;
}

.side-nav__menu li {
    position: relative;
    margin-bottom: 24px;
}


.side-nav__menu a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    z-index: 1;

}

.side-nav__menu a:hover {
    color: #2d5a27;
}

/*.side-nav__menu a.is-active {
    color: var(--accent-green);
}*/
.side-nav__menu a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--accent-green);
    transition: width 0.4s ease-out;
    z-index: -1;
}

.side-nav__menu a.is-active::after {
    width: 100%;
}

.side-nav__banner {
    max-width: 260px;
}

.side-nav__banner img {
    max-width: 100%;
}

.side-nav__banner .privacy-policy {
    font-size: 10px;
    text-align: center;
    width: 135%;
    display: inline-block;
    margin-bottom: 32px;
}

.side-nav__banner .privacy-policy a {
    color: var(--text-color);
}

.side-nav__to_main {
    margin-bottom: 24px;
}

.side-nav__footer {
    position: relative;
    z-index: 2;
    padding: 16px 0 40px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
}

.side-nav__sns a {
    text-decoration: none;
    color: #000;
    font-size: 10px;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}

.side-nav__sns img {
    width: 24px;
    height: auto;
    transition: opacity 0.3s;
}

.side-nav__sns a:hover img {
    opacity: 0.7;
}

/*
.side-nav__decoration {
    margin-top: auto;
    width: 100%;
    line-height: 0;
}

.side-nav__decoration img {
    width: 100%;
    height: auto;
}
*/

.copyright img {
    width: 55%;
}

.main-content {
    /*margin-left: 260px;
    width: auto;*/
    position: relative;
    z-index: 1;
    width: calc(100% - 342px);
    margin-left: 342px;
    min-width: 0;
    flex-grow: 1;
}

/* --- コンテンツ共通設定 --- */
.content-box {
    max-width: 856px;
    margin: 0 auto;
    padding: 120px 0 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    isolation: isolate;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: -1;
    background-color: var(--accent-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.is-animated::after {
    transform: scaleX(1);
}

/* --- HERO (縦書きキャッチコピー) --- */
.hero {
    position: absolute;
    right: 64px;
    top: 280px;
    z-index: 10;
    pointer-events: none;
}

/* --- ABOUT --- */
.about-section {
    position: relative;
}

.about-section__inner {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.description {
    flex: 1;
    min-width: 350px;
    padding-top: 56px;
    line-height: 2.3;
}

/* 右側の縦書きとロゴをセットにする親 */
.about-section__inner .right-box .hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.vertical-text {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: 40px;
}

.about-logo {
    width: auto;
    margin-bottom: 0;
}

.about-logo img {
    width: 280px;
    z-index: 2;
    position: relative;
}

.about-image {
    width: 100%;
    margin-top: -232px;
}

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

/* --- ISSUEセクション --- */
.issue-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.issue-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    padding: 80px 32px 0;
}

.issue-section__inner .left-box {
    flex: 0 0 348px;
    width: 100%;
    max-width: 348px;
}

.issue-section__inner .right-box {
    flex: 1 1 0;
    min-width: 0;
}

.issue-text {
    flex: 1;
}

.issue-main-image {
    flex: 1;
    margin: 0;
    margin-bottom: 16px;
}

.issue-main-image img {
    width: 100%;
}

.issue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.issue-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* --- ACTIONセクション --- */
.action-section {
    margin-top: 80px;
}

.action-section__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--accent-green);
    padding: 40px 32px 40px;
}

.action-section__inner .left-box {
    max-width: 386px;
}

.action-section__inner .right-box {
    flex: 0 1 288px;
    margin: 0 48px 0 0;
    min-width: 288px;
}

.action-section .section-title {
    color: #FFF;
    z-index: 1;
    margin-bottom: 24px;
}

.action-section .section-title::after {
    background-color: var(--dark-green);
    z-index: -2;
}

.action-section p {
    color: #FFF;
    margin-bottom: 16px;
}

.action-content {
    display: flex;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 48px;
}

.action-text {
    flex: 1;
}

.action-person-image {
    position: relative;
    flex: 1;
    margin: 0;
}

.action-person-image img {
    width: 100%;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.action-before-after {
    flex: 0 0 100%;
    width: 100%;
    margin-top: -32px;
}

.action-before-after img {
    width: 100%;
    height: auto;
}


/* --- ACTIVITYセクション (横スクロール) --- */
.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 48px;
}

.activity-section__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 56px 32px 0;
}

.activity-section__inner .section-title {
    margin-bottom: 24px;
}

.activity-section__inner .left-box {
    max-width: 368px;
    flex: 1;
}

.activity-section__inner .right-box {
    flex: 0 0 352px;
    min-width: 352px;
    display: block;
    margin-right: 40px;
}

.activity-header-content {
    flex: 1;
}

.activity-record-image img {
    width: auto;
    height: 176px;
}

.activity-wrapper {
    display: flex;
    width: 100%;
    max-width: 856px;
    height: 240px;
    margin: 8px auto;
    padding: 20px 20px 24px;
    background-image: url('../img/brown.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 856px 496px;
    overflow: hidden;
}

.activity-item {
    width: 160px;
    margin-right: 16px;
    flex-shrink: 0;
}

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

.activity-section p {
    margin-bottom: 16px;
}

/* --- PRODUCTセクション --- */
.product-section {
    margin-top: 80px;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    background: var(--accent-green);
    padding: 40px;
}

.product-section__inner .left-box {
    max-width: 254px;
}

.product-section .section-title {
    color: #FFF;
    z-index: 1;
    margin-bottom: 16px;
}

.product-section .section-title::after {
    background-color: var(--dark-green);
    z-index: -2;
}

.product-section .section-title img {
    width: 112px;
    display: block;
}

.product-section p {
    color: #FFF;
}

.product-main-image img {
    width: 100%;
}

.product-section a {
    color: #FFF;
    text-decoration: none;
    text-align: right;
    display: block;
    font-size: 20px;
    text-decoration: underline;
    text-decoration-color: #FFF;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
}

.btn-online {
    display: inline-block;
    background-color: var(--accent-green);
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    margin: 32px 0;
    font-weight: bold;
}

.product-store-info {
    position: relative;
    display: flex;
    gap: 4px;
    align-items: flex-start;
}

.store-logo {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 80px;
    z-index: 2;
}

.store-image {
    width: 100%;
    filter: grayscale(0.2);
    height: auto;
    max-height: 232px;
}

/* --- AGREEMENTセクション --- */
.agreement-section__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 32px 0;
}

.agreement-logo {
    flex: 0 0 100%;
    padding: 0 40px;
    margin-top: 16px;
}

.agreement-section__content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
}

.agreement-section__inner .left-box {
    flex: 0 0 348px;
    width: 100%;
    max-width: 348px;
}

.agreement-section__inner .right-box {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 440px;
}

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

/* --- REALESTATEセクション --- */
.realestate-section {
    margin-top: 80px;
}

.realestate-section .section-title {
    color: #fff;
}

.realestate-section .section-title::after {
    background-color: var(--dark-green);
    z-index: -2;
}

.realestate-section p {
    color: #fff;
}

.realestate-section .contact-info a {
    color: #fff;
}

.realestate-section .contact-info span {
    color: #fff;
}

.realestate-section__inner {
    padding: 40px;
    background: var(--accent-green);
}

.realestate-content {
    display: flex;
    gap: 64px;
    margin-bottom: 64px;
}

.realestate-advertisement {
    flex: 1;
    margin-top: 40px;
}

.realestate-advertisement img {
    width: 100%;
}

.realestate-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 32px 32px 16px;
    margin: -8px 32px 0px;
    border-bottom: 1px solid #000;
}

.realestate-grid img {
    height: 64px;
    width: auto;
}

.contact-info {
    padding: 16px 32px 40px;
    font-size: 20px;
    text-align: center;
    max-width: 856px;
    margin: 0 auto;
}

.contact-info span {
    color: var(--accent-green);
}

.contact-info a {
    color: var(--accent-green);
    text-decoration: underline;
}

.gototop {
    text-align: center;
}

.gototop img {
    max-width: 80px;
}

/* --- SP対応 --- */
@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    p {
        margin-bottom: 16px;
    }

    .sp-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: #fff;
        z-index: 1200;
        border-bottom: 1px solid #eee;
    }

    .sp-header__inner {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0 20px;
    }

    .sp-header__logo {
        margin: 16px 0 0;
    }

    .sp-header__logo img {
        height: 56px;
    }

    .menu-trigger {
        position: absolute;
        left: 24px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        width: 32px;
        height: 24px;
        cursor: pointer;
        padding: 0;
        z-index: 1200;
    }

    .menu-trigger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #333;
        position: absolute;
        left: 0;
        transition: all 0.3s;
    }

    .menu-trigger span:nth-child(1) {
        top: 0;
    }

    .menu-trigger span:nth-child(2) {
        top: 11px;
    }

    .menu-trigger span:nth-child(3) {
        bottom: 0;
    }

    /* 開閉アニメーション */
    .menu-trigger.is-active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-trigger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-trigger.is-active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .side-nav {
        width: 342px;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        padding-top: 80px;
        background: #fff;
        z-index: 1150;
    }

    .side-nav__inner {
        max-height: 90vh;
        padding-left: 0;
    }

    .side-nav.is-open {
        transform: translateX(0);
    }

    .side-nav__footer {
        padding: 16px 0 48px;
        gap: 72px;
    }

    .side-nav__sns img {
        width: 36px;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 70px;
    }

    .hero {
        position: static;
        padding: 40px 0;
        text-align: center;
    }

    .vertical-text {
        position: absolute;
        top: 24px;
        left: 40px;
    }

    .vertical-text img {
        max-width: 24px;
    }

    .content-box {
        padding: 64px 24px;
        display: block;
    }

    .product-content,
    .issue-content,
    .action-content,
    .realestate-content {
        display: block;
    }

    .product-section__inner .left-box {
        max-width: 100%;
    }

    .about-section__inner {
        display: flex;
        flex-direction: column-reverse;
        gap: 0px;
        padding-bottom: 0;
    }

    .about-section__inner .description {
        padding-top: 8px;
        min-width: 100%;
    }

    .about-section__inner .right-box {
        order: 1;
    }

    .about-section__inner .left-box {
        order: 2;
    }

    .about-section__inner .about-logo {
        position: absolute;
        top: 96px;
        right: 24px;
        width: 200px;
    }

    .about-section__inner .about-image {
        order: 3;
        margin-top: 80px;
    }

    .top-section__inner {
        display: flex;
        flex-direction: column-reverse;
        gap: 0px;
        padding-bottom: 0;
    }


    .about-image,
    .issue-grid,
    .action-grid {
        margin-top: 32px;
    }

    .issue-grid,
    .action-grid {
        display: flex;
        justify-content: space-between;
        gap: 4px;
    }

    .issue-grid img,
    .action-grid img {
        max-width: 32%;
    }

    .action-section {
        margin-top: 0;
    }

    .action-section p {
        letter-spacing: -0.011em;
    }

    .action-section__inner .right-box {
        margin: 0;
    }

    .action-grid {
        margin-top: -16px;
    }

    .action-person-image {
        text-align: right;
        margin-top: -8px;
    }

    .action-person-image img.oishikun-1 {
        position: absolute;
        top: 35%;
        left: 0;
        width: 40%;
    }

    .action-person-image img.oishikun-2 {
        position: absolute;
        top: 50%;
        left: 0;
        width: 50%;
    }

    .action-person-image img.oishikun-3 {
        width: 60%;
    }

    .action-before-after {
        margin-top: 24px;
    }

    .action-before-after img.sp-only {
        margin-bottom: 16px;
    }

    .activity-section .content-box {
        padding: 64px 24px 32px;
    }

    .activity-wrapper {
        height: 336px;
        ;
    }

    .activity-header {
        display: block;
    }

    .activity-section__inner .right-box {
        min-width: 100%;
        margin-right: unset;
    }

    .activity-record-image img {
        width: 100%;
        height: auto;
    }

    .activity-record-image {
        margin-top: 24px;
    }

    .activity-item {
        width: 240px;
    }

    .product-section a {
        text-align: center;
        margin-top: 8px;
        font-size: 24px;
    }

    .agreement-section__content {
        display: block;
    }

    .agreement-section__inner .left-box,
    .agreement-section__inner .right-box {
        max-width: 100%;
    }

    .content-box.agreement-section__inner {
        padding-bottom: 0;
    }

    .agreement-section .section-title {
        letter-spacing: -1px;
    }

    .realestate-grid {
        display: block;
        text-align: center;
    }

    .contact-info {
        font-size: 16px;
    }

    .store-image {
        max-height: 152px;
        height: 100%;
        width: auto;
    }

    .product-store-info {
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .sp-header {
        display: none;
    }

    .sp-only {
        display: none !important;
    }
}

/*
.recruting_page .side-nav {
    width: 260px;
}
*/

.recruting_page .side-nav__menu {
    margin-bottom: 24px;
}

.recruting_page .side-nav__menu li {
    margin-bottom: 8px;
}

.recruting_page .section-title::after {
    display: none;
}

.recruting_page .section-title {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.recruting_page .section-title img {
    max-width: 80%;
}

.recruting_page .section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.recruting_page .top-section__inner {
    position: relative;
}

.recruting_page .top-section__inner .description {
    margin-top: -8px;
    min-width: 100%;
    font-size: 16px;
    line-height: 32px;
    margin-right: 16px;
    padding-top: 0;
}

.recruting_page .top-section__inner .left-right {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.recruting_page .top-section__inner .right-box {
    z-index: 1;
}

.recruting_page .top-section__inner .left-box {
    z-index: 1;
}

.recruting_page .top-section__inner .top-logo {
    width: 280px;
    margin-left: 24px;
}

.recruting_page .top-section__inner .top-logo img {
    display: block;
    margin-bottom: 8px;
}

.recruting_page .top-section__inner .top-image {
    order: 3;
    margin-top: -232px;
    display: flex;
    justify-content: center;
}

.recruting_page .top-section__inner .top-image img {
    max-width: 110%;
}

.recruting_page .content-box .text-box {
    font-size: 18px;
}

.recruting_page .content-box .img-box img {
    margin-top: 8px;
}

.recruting_page .property-information {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: -212px;
}

.recruting_page .property-description .sp-only {
    display: none;
}


.recruting_page .property-information .property-title {
    border: 2px solid #00a63c;
    background: rgba(255, 255, 255, .7);
    display: flex;
    width: 55%;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    border-radius: 20px;
    flex-direction: column;

}

.recruting_page .property-information .property-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.recruting_page .property-information .property-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: calc(160px * 3 + 4px * 2);
    overflow-y: scroll;
    scrollbar-width: none;
}

.recruting_page .property-information .property-list::-webkit-scrollbar {
    display: none;
}

.recruting_page .property-information .custom-scroll {
    position: relative;
    width: 30px;
    height: calc(160px * 3 + 4px * 2);
    display: flex;
    justify-content: center;
}

.recruting_page .property-information .scroll-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #000;
    z-index: 1;
}

.recruting_page .property-information .scroll-thumb {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 64px;
    background-image: url("../img/scroll-thumb.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    cursor: pointer;
}

.recruting_page .property-information .property-title .property-img {
    text-align: center;
}

.recruting_page .property-information .property-title .pc-only {
    max-width: 80%;
    margin-bottom: -40px;
}

.recruting_page .property-information .property-title .property-description {
    position: relative;
}

.recruting_page .property-information .property-title .property-description .plan {
    font-size: 16px;
    display: block;
    margin-top: 16px;
    font-weight: 500;
}

.recruting_page .property-information .property-title .property-description .year {
    font-size: 24px;
    display: block;
    line-height: 20px;
    color: #00a63c;
    font-weight: 500;
}

.recruting_page .property-information .property-title .property-description .attention {
    font-size: 12px;
    margin-top: 16px;
    display: block;
    position: absolute;
    font-weight: 500;
}

.recruting_page .property-information .property-list {
    overflow-y: scroll;
    height: calc(160px * 3 + 4px * 2);
    padding-right: 8px;
    width: 100%;
}

.recruting_page .property-information .property-list__inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recruting_page .property-information .property-list__item {
    height: 160px;
    flex-shrink: 0;
}

.recruting_page .property-information .property-list__item img {
    width: auto;
    height: 98%;
    object-fit: cover;
}

.recruting_page .about_rechabatake-section .flex {
    align-items: flex-start;
    margin-bottom: 24px;
}

.recruting_page .about_rechabatake-section .img-box {
    width: 50%;
    margin-right: 24px;
}

.recruting_page .about_rechabatake-section .img-box img {
    width: 100%;
    height: auto;
}

.recruting_page .about_owner-section .text-box p {
    font-size: 25px;
    line-height: 38px;
    margin-bottom: 32px;
}

.recruting_page .about_owner-section .text-box p.small {
    font-size: 12px;
    line-height: 18px;
}

.recruting_page .special_offer-section .text-box p {
    font-size: 22px;
    text-align: center;
}

.recruting_page .special_offer-section .text-box .plan {
    /*width: 100%;
    text-align: center;
    margin: 16px 0;*/
    display: none;
}

.recruting_page .special_offer-section .text-box .plan span {
    text-align: center;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 8px 16px;
}


.recruting_page .special_offer-section .offers-box {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}

.recruting_page .special_offer-section .offers-box .offer-item {
    border: 3px solid #00a63c;
    border-radius: 16px;
    padding: 16px 4px;
    background: transparent;
    width: 20%;
    display: flex;
    flex-direction: column;
}

.recruting_page .special_offer-section .offers-box .offer-item legend {
    text-align: center;
}

.recruting_page .special_offer-section .offers-box .offer-item .offer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.recruting_page .special_offer-section .offers-box .offer-item .offer-title {
    color: #00a63c;
    font-size: 14px;
    text-align: center;
    height: 32px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 16px;
    margin-top: -8px;
}

.recruting_page .special_offer-section .offers-box .offer-item .offer-description {
    font-size: 12px;
    line-height: 18px;
    margin: 4px;
}

.recruting_page .special_offer-section .offers-box .offer-item .offer-image {
    margin-top: auto;
    width: 100%;
    display: block;
}

.recruting_page .special_offer-section .offers-box .offer-item .offer-icon {
    max-height: 41px;
}

.recruting_page .special_offer-section .append-box .notice {
    text-align: right;
    width: 100%;
    display: inline-block;
    font-size: 12px;
}

.recruting_page .special_offer-section .append-box p {
    font-size: 23px;
    text-align: center;
    font-weight: 500;
    margin-top: -16px;
}

.recruting_page .condominium_sales-section .sales-item {
    scroll-margin-top: 80px;
}

.recruting_page .condominium_sales-section .sales-item .sales-item-content {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    margin-top: -8px;
    padding: 0 10px;
}

.recruting_page .condominium_sales-section .sales-item .sales-item-content a {
    color: #000;
}

.recruting_page .character-section .character-box {
    display: flex;
    align-items: center;
}

.recruting_page .character-section .character-box .chara-img {
    width: 100%;
}

.recruting_page .character-section .character-box .chara-info {
    font-size: 18px;
}

.recruting_page .character-section .description-box {
    display: flex;
    align-items: center;
    margin-top: -92px;
}

.recruting_page .character-section .description-box .description-img {
    width: 100%;
}

.recruting_page .character-section .description-box .description-info {
    color: #00a63c;
    font-size: 15px;
}

.recruting_page .delicious-section .comment-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.recruting_page .delicious-section .comment-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: calc(50% - 12px);
    border: 5px solid #00a63c;
    padding: 21px 12px 12px 24px;
    border-radius: 14px;
}

.recruting_page .delicious-section .comment-item-box {
    width: calc(36% - 2px);
}

.recruting_page .delicious-section .comment-item .comment-item-img {
    margin-top: 3px;
}

.recruting_page .delicious-section .comment-item-profile-post {
    font-size: 11px;
    line-height: 16px;
}

.recruting_page .delicious-section .comment-item-profile-name {
    font-size: 16px;
}

.recruting_page .delicious-section .comment-item .comment-item-content {
    width: calc(63% - 2px);
    font-size: 13px;
    overflow: scroll;
    max-height: 190px;
    line-height: 18px;
}

.recruting_page .contact-info {
    width: 100%;
    text-align: center;
    margin-top: 32px;
    color: var(--accent-green);
}

.recruting_page .contact-info img {
    width: 80%;
}


@media (max-width: 768px) {
    .recruting_page .content-box {
        padding: 64px 24px 0;
    }

    .recruting_page .section-title {
        margin-bottom: 8px;
    }

    .recruting_page .section-title img {
        max-width: 70%;
    }

    .recruting_page .property-information {
        display: block;
        margin-top: 56px;
    }

    .recruting_page .top-section__inner {
        flex-direction: column;
        padding-top: 40px;
    }

    .recruting_page .top-section__inner .left-right {
        flex-direction: column;
    }

    .recruting_page .top-section__inner .top-logo {
        margin: 0 auto;
        width: 240px;
    }

    .recruting_page .top-section__inner .top-image {
        margin-top: 0;
        position: absolute;
        top: 240px;
        z-index: -1;
    }

    .recruting_page .top-section__inner .description {
        line-height: 30px;
        margin-top: 8px;
        font-size: 13px;
        padding: 4px;
        font-weight: 500;
        margin-right: 0;
    }

    .recruting_page .property-information .property-title {
        width: 100%;
        padding: 0;
        margin-bottom: 16px;
        gap: 0;
        border: none;

    }

    .recruting_page .property-information .custom-scroll {
        height: calc(110px * 3 + 4px * 2);
    }

    .recruting_page .property-information .property-title .property-description .plan {
        display: inline;
        font-size: 11px;
    }

    .recruting_page .property-information .property-title .property-description .year {
        display: inline;
        font-size: 13px;
        font-weight: 500;
    }


    .recruting_page .property-information .property-title .property-description .attention {
        margin-top: 0;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        bottom: -16px;
        font-size: 10px;
        white-space: nowrap;
    }

    .recruting_page .property-information .property-title img.sp-only {
        padding: 0 46px;
    }

    .recruting_page .top-section__inner .top-image img {
        margin-left: -24px;
    }

    .recruting_page .property-information .property-list__item img {
        width: 100%;
        height: auto;
    }

    .recruting_page .property-information .property-list__item {
        height: auto;
        max-height: 110px;
    }

    .recruting_page .property-information .property-list {
        height: calc(110px * 3 + 12px * 2);
        gap: 8px;
        padding-right: 0;
    }

    .recruting_page .property-information .custom-scroll {
        display: none;
    }

    .recruting_page .about_rechabatake-section .flex {
        flex-direction: column;

    }

    .recruting_page .about_rechabatake-section .img-box {
        /*margin-right: auto;
        margin-left: auto;
        margin-bottom: 24px;*/
        display: none;
    }

    .recruting_page .about_rechabatake-section .text-box {
        font-size: 13px;
    }

    .recruting_page .about_owner-section .text-box p {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 24px;
    }

    .recruting_page .about_owner-section .text-box p.small {
        font-size: 10px;
        margin-bottom: 0;
        line-height: 16px;
    }

    .recruting_page .about_owner-section .text-box span {
        font-size: 10px;
    }

    .recruting_page .special_offer-section .text-box .plan {
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
    }

    .recruting_page .special_offer-section .text-box p {
        font-size: 13px;
        margin-bottom: 0;
        text-align: left;
        letter-spacing: -1px;
    }

    .recruting_page .special_offer-section .text-box .plan span {
        border: none;
    }

    .recruting_page .special_offer-section .offers-box {
        flex-direction: column;
        margin-top: 8px;
    }

    .recruting_page .special_offer-section .offers-box .offer-item {
        width: 100%;
        padding: 0;
        border: none;
    }

    .recruting_page .special_offer-section .offers-box .offer-item legend {
        text-align: center;
        margin-left: -33%;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-content {
        display: flex;
        align-items: flex-start;
        flex-direction: initial;
        gap: 4px;
        margin-top: -8px;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-content .offer-content-left {
        width: 110%;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-content .offer-content-right {
        display: flex;
        justify-content: right;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-content .offer-title {
        font-size: 14px;
        text-align: left;
        margin-bottom: -12px;
        margin-top: 4px;
        letter-spacing: -1px;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-content .offer-title.left {
        margin-left: -8px;
        margin-bottom: 0;
        font-size: 12px;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-icon {
        max-height: 32px;
    }

    .recruting_page .special_offer-section .append-box p {
        font-size: 16px;
        margin-top: 8px;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-description {
        font-size: 10px;
        margin-left: 0;
        line-height: 12px;
        letter-spacing: -1px;
        margin-top: 8px;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-image {
        margin-top: -8px;
    }

    .recruting_page .character-section .character-box {
        /*flex-direction: column;*/
    }

    .recruting_page .character-section .description-box {
        flex-direction: column;
        margin-top: 24px;
    }

    .recruting_page .character-section .character-box .chara-info {
        font-size: 14px;
        width: 170%;
        line-height: 21px;
        letter-spacing: -1px;
    }

    .recruting_page .character-section .description-box .description-info {
        font-size: 13px;
        line-height: 20px;
    }

    .recruting_page .character-section .description-box .description-img {
        text-align: center;
        margin-top: -16px;
    }

    .recruting_page .delicious-section .section-title img.sp-only {
        display: block;
        max-width: 100%;
    }

    .recruting_page .delicious-section .section-title {
        margin-bottom: 24px;
    }

    .recruting_page .delicious-section .comment-item {
        width: 100%;
        padding: 16px;
    }

    .recruting_page .condominium_sales-section .sales-item .sales-item-content {
        /*flex-direction: column;*/
    }

    .recruting_page .condominium_sales-section .sales-item .sales-item-content p {
        margin-bottom: 0;
        font-size: 13px;
    }

    .recruting_page .delicious-section .comment-item .comment-item-content {
        font-size: 14px;
        max-height: 170px;
        width: calc(59% - 2px);
    }

    .recruting_page .delicious-section .comment-item-box {
        width: calc(40% - 2px);
    }

    .recruting_page .delicious-section .comment-item-profile-name {
        font-size: 15px;
    }

    .recruting_page .delicious-section .comment-item-profile-post {
        font-size: 10px;
    }

    .recruting_page .side-nav__banner .privacy-policy {
        text-align: left;
    }

    .recruting_page .contact-info img {
        width: 100%;
    }

}

@media (max-width:389px) {
    .side-nav__inner {
        padding-top: 8px;
    }

    .agreement-section .section-title {
        font-size: 20px;
    }

    /*.recruting_page .special_offer-section .offers-box .offer-item .offer-content .offer-title .pc-only {
        display: block !important;
    }*/

    .recruting_page .special_offer-section .offers-box .offer-item .offer-content .offer-title {
        margin-bottom: -18px;
        font-size: 13px;
    }

    .recruting_page .special_offer-section .offers-box .offer-item .offer-image {
        width: 90%;
        margin-top: 4px;
    }

    .recruting_page .delicious-section .comment-item-profile-name {
        font-size: 14px;
    }

    .recruting_page .delicious-section .comment-item-box {
        width: calc(68% - 2px);
    }

    .recruting_page .condominium_sales-section .sales-item .sales-item-content p {
        font-size: 11px;
    }

    .recruting_page .character-section .character-box .chara-info {
        font-size: 13px;
    }

    .recruting_page .property-description .sp-only {
        font-size: 0;
        display: block;
        height: 0;
        margin-top: -8px;
    }

    .recruting_page .top-section__inner .description {
        line-height: 24px;
    }

    .recruting_page .top-section__inner .top-image {
        top: 248px;
    }
}

/* ローディングコンテナ */
.loading {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: 0 auto;
}

/* クルクル回るスピナー */
.spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    border: 4px solid #f3f3f3;
    /* 背景の円 */
    border-top: 4px solid #52a647;
    /* 回る線の色（テーマカラーに合わせて変更してください） */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}