/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --base: #ffffff;
    --main: #4d4d4d;
    --gray: #f8f8f8;
    --light: #e0e0e0;
    --dark: #9a9a9a;
    --gradient-base: #217dc5;
    --gradient-main: linear-gradient( to bottom,#5e9ee6,#89bbee,#d2f0ff);
    --gradient-sub: linear-gradient(to bottom, #005dc4, #4b8ed2, #ffffff);
    --sky: #abd3e5;
    --orange: #ff6400;
    --green-1: #bfec88;
    --green-2: #7bd0cb;
    --green-3: #a7ebb6;
    --pink: #ef91af;
    --yellow: #ffe880;
  }
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.4;
    letter-spacing: .05em;
    font-size: .9rem;
    font-weight: 600;
    color: var(--main);
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/*common*/
.flex { display: flex; }
.block {display: block;}
.small {font-size: .7rem;}
.re-1 {
    display: block;
    @media (max-width: 960px) {
        display: none;
    }
}
.re-2 {
    @media (max-width: 400px) {
        display: block;
    }
}
.re-3 {
    @media (max-width: 655px) {
        display: block;
    }
}
.margin-t-3 {
    margin-top: 3rem;
}
.margin-b-3 {
    margin-bottom: 3rem;
}
/* ヘッダー */
.site-header {
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    .logo {
        .flex {
            align-items: center;
        }
    }
}
.logo-icon {
    img {
        width: 90px;
        height: auto;
        @media (max-width: 871px) {
        width: 60px;
    }
    }
}
.logo-text {
    img {
        width: 280px;
        height: auto;
        @media (max-width: 871px) {
        width: 180px;
    }
    }
}
.menu {
    img {
        width: 90px;
        height: auto;
        @media (max-width: 871px) {
        width: 60px;
    }
    }
}
.header-contact {
    list-style-type: none;
    gap: .5rem;
    @media (max-width: 871px) {
        display: none;
    }
}
.header-contact p {
    line-height: 1.4;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style-type: none;
}
.cta-button {
    padding: .5rem 1rem;
    font-size: .9rem;
    text-decoration: none;
    justify-content: center;
    background: var(--base);
    border-radius: 4px;
    transition: all 0.3s;
    min-width: 200px;
    align-items: center;
    gap: .5rem;
    letter-spacing: 1.1px;
    box-shadow: 0 0 2px var(--gradient-base);
    img {
        max-width: 35px;
        width: 100%;
        height: auto;
    }
}
.cta-button-primary {
    color: var(--gradient-base);
    &:hover {
        background-color: var(--dark);
        }
}

.cta-button-secondary {
    color: var(--gradient-base);
    &:hover {
        background-color: var(--dark);
        }
}
.hamburger-wrapper {
    display: none;
    @media (max-width: 871px) {
            display: block;
        }
    .hamburger {
        width: 51px;
        height: 51px;
        cursor: pointer;
        display: flex;
        position: relative;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        background: var(--base);
        border: none;
        padding: 7px;
        border-radius: 50%;
        z-index: 1001;
        box-shadow: 0 0 1px var(--gradient-base);
        span {
            width: 80%;
            height: 3px;
            background: var(--gradient-base);
            border-radius: 3px;
            transition: all 0.3s ease;
        }
    }
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: var(--base);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    padding-top: 6rem;
    z-index: 999;
    &.active {
            right: 0;
        }
    ul {
        list-style: none;
        li {
            a {
            display: flex;
            padding: 1.2rem 1.5rem;
            color: var(--main);
            text-decoration: none;
            font-size: .9rem;
            transition: all 0.2s ease;
            word-break: keep-all;
            &:hover {
            background: var(--gray);
            padding-left: 2rem;
            color: var(--gradient-base);
        }
        }
        &.button-wrapper a {
                width: fit-content;
                margin: 3rem auto;
                background: var(--gradient-base);
                padding: 1rem;
                p {
                    color: var(--base);
                    font-size: 1rem;
                    .small {
                        font-size: 1rem;
                    }
                }
            }
        }
    }
    .logo {
        position: absolute;
        top: calc(1rem + 5.64px);
        left: 1rem;
    }
}
.overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 998;
            &.active {
            opacity: 1;
            visibility: visible;
        }
        }
.menu ul li:not(.button-wrapper) {
    border-bottom: 1px solid var(--light);
 }
/* ヒーローセクション */
/* hero */
.hero-section {
    position: relative;
    height: 400vh;
    z-index: -30;
}
.hero-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease
    }
    .hero-bg-1 {
      background: var(--gradient-main);
      opacity: 1;
      z-index: -30;
      img {
        height: 100vh;
        object-fit: cover;
      }
    }
    .hero-bg-2 {
      background: var(--gradient-sub);
      opacity: 0;
      z-index: 2;
    }
    .hero-content-wrapper {
      position: relative;
      z-index: 10;
      width: 100%;
      height: 100%;
      align-items: center;
      justify-content: center;
    }
    .hero-content {
      position: relative;
      z-index: 10;
      width: 100%;
      height: 100%;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      color: var(--base);
      text-align: center;
      padding: 0 20px;
    }
    .text-section {
      position: absolute;
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .text-section-1 {
      opacity: 1;
      transform: translateY(0);
      max-width: 1400px;
      width: 100%;
    }
    .text-section-2 {
      opacity: 0;
      transform: translateY(100px);
      max-width: 1000px;
    }
.hero-title {
    font-size: 3.4rem;
    line-height: 4rem;
    color: var(--base);
    text-shadow: 0 0 5px var(--main);
    text-align: center;
    padding: 0 1rem;
    position: absolute;
    width: 100%;
    justify-content: center;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    &.shijonawate {
        word-break: keep-all;
    }
    @media(max-width: 780px) {
        font-size: 1.8rem;
        line-height: 2rem;
    }
    @media(max-width: 420px) {
        font-size: 1.3rem;
        line-height: 1.4rem;
    }
    span {
      display: inline-block;
      opacity: 0;
      transform: translateY(20px);
    }
}
.under-hero-section-inner {
    position: relative;
    img {
        @media(max-width:1300px) {
            height: 65vh;
            object-fit: cover;
        }
    }
}
/* cloud */
.cloud-wrapper {
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    top: 0;
    position: relative;
    &::after {
        content: '';
        display: block;
        position: fixed;
        background: var(--gradient-base);
        background: var(--gradient-main);
        background-size: cover;
        top: 0;
        width: 100%;
        height: 100vh;
        z-index: -30;
    }
}
.cloud {
    position: fixed;
    pointer-events: none;
    will-change: transform;
}

@keyframes floatCloud {
from { 
    transform: translateX(0);
}
to { 
    transform: translateX(calc(100vw + var(--cloud-width)));
}
}
.ring {
    position: absolute;
    img {
        filter: drop-shadow(0px 0px 1px white) blur(.1px);
    }
}
/*illust-animation*/

.image-switcher {
    img.hidden{
            display: none;
    }
}
/*illust-car*/
.car-wrapper {
    position: relative;
    flex-basis: calc(70% - .5rem);
    height: 103.16px;
    @media (max-width: 940px) {
            flex-basis: inherit;
        }
    &::after {
        content: '';
        background: url('https://tsubasa-visitnursing.com/asset/img/road.svg')repeat-x;
        display: block;
        background-size: cover;
        height: 4px;
        position: absolute;
        bottom: 0;
        width: 100%;;
    }
    .car {
        width: 25%;
        height: auto;
        min-width: 220px;
        position: absolute;
        bottom: 2px;
        right: 0;
        @media (max-width: 780px) {
            min-width: 180px;
        }
    }
}
.handle-wrapper {
    flex-basis: calc(30% - .5rem);
    align-items: flex-end;
    min-width: 366px;
    @media (max-width: 780px) {
        min-width: 266px;
        max-width: 360px;
        justify-content: center;
        margin: 2rem auto 0;
    }
    .margin-l {
        .handle {
            margin-left: auto;
        }
    }
    .handle {
        width: 60%;
        height: auto;
    }
}
.image-section {
    height: 236px;
    position: relative;
    .up {
        width: 22%;
        margin: 0 auto;
        padding: 1rem;
        max-width: 320px;
        min-width: 280px;
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }
}
.support-wrapper-1 {
    flex-basis: calc(30% - .5rem);
    margin-bottom: -15px;
    .support-1 {
        width: 60%;
        margin: 0 auto;
        min-width: 220px;
        @media (max-width: 780px) {
            margin: 2rem auto;
            width: 200px;
            min-width: inherit;
        }
    }
}
.support-wrapper-2 {
    margin: 3rem 0;
    .support-2 {
        width: 30%;
        max-width: 320px;
        min-width: 280px;
        margin: 0 auto;
        position: relative;
        &::after {
            content: '';
            width: 80px;
            height: 80px;
            border-radius: 100%;
            background: var(--green-1);
            filter: blur(3px);
            top: 50%;
            left: 50%;
            translate: -50% -50%;
        }
    }
}
.support-wrapper-3 {
    flex-basis: calc(30% - .5rem);
    margin-bottom: -33px;
    .support-3 {
        width: 15%;
        min-width: 50px;
        @media (max-width: 780px) {
            max-width: 45px;
            min-width: 30px;
            margin-left: auto;
        }
    }
}
.heart-wrapper {
    position: relative;
    .up {
        width: 15%;
        min-width: 120px;
        margin: 1rem auto;
    }
}

/* セクション共通 */
.under-wrapper {
    font-size: 1rem;
    color: var(--main);
    background: var(--base);
}
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 1rem;
}
.title-wrapper {
    margin-bottom: 2rem;
    align-items: flex-end;
    justify-content: space-between;
    @media (max-width: 780px) {
        flex-direction: column;
        align-items: inherit;
    }
    .title-inner-0 {
        flex-basis: calc(70% - .5rem);
    }
}
.section-title {
    font-size: 2.4rem;
    color: var(--gradient-base);
    letter-spacing: 1px;
    align-items: center;
    gap: 1rem;
    @media (max-width: 568px) {
        gap: .5rem;
    }
    i {
        width: 120px;
        height: 8px;
        @media (max-width: 568px) {
            width: 20px;
            height: 40px;
        }
        &::after {
            content: '';
            width: 0;
            height: 100%;
            transition: all .5s;
            display: block;
            border-radius: 10px;
            @media (max-width: 568px) {
            border-radius: 4px;
        }
        }
    }
     i.activation{
        &::after {
            width: 100%;
        }
    }
    .sky {
        &::after {
            background-color: var(--sky);
        }
    }
    .pink {
        &::after {
            background-color: var(--pink);
        }
    }
    .green-1 {
        &::after {
            background-color: var(--green-1);
        }
    }
    .green-3 {
        &::after {
            background-color: var(--green-3);
        }
    }
    .yellow {
        &::after {
            background-color: var(--yellow);
        }
    }
    .blue {
        &::after {
            background-color: var(--gradient-base);
        }
    }
    .main {
        &::after {
            background-color: var(--main);
        }
    }
}

/*特徴*/
.feature-box {
    gap: 1rem;
    align-items: stretch;
    @media (max-width: 900px) {
        flex-direction: column;
    }
}
.feature-text {
    flex-basis: calc(60% - .5rem);
    padding: 3rem;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
    border: solid 1px var(--light);
    @media (max-width: 540px) {
        padding: 1.5rem;
    }
    p {
        letter-spacing: .04em;
        line-height: 1.8;
        font-size: 1rem;
    }
}
.feature-images {
    flex-basis: calc(40% - .5rem);
    min-width: 380px;
    @media(max-width: 900px) {
        min-width: inherit;
    }
    img {
        border-radius: 4px;
    }
}
/* 医療・福祉の連携セクション */
.service-section {
}
.cstm-wave {
    line-height: 0;
}
.up-wave {
    margin-bottom: -1px;
}
.down-wave {
    margin-top: -1px;
}
.section-2 {
    background: var(--gray);
}

.service-content {
    gap: 1rem;
    align-items: flex-start;
    @media (max-width: 1266px) {
        flex-direction: column;
}
}
.service-text {
    flex-basis: calc(70% - .5rem);
    @media (max-width: 815px) {
        flex-basis: inherit;
        width: 100%;
    }
}
.service-box {
    ul {
        flex-wrap: wrap;
        gap: .5rem;
        list-style: none;
        li {
            flex-basis: calc(33.333% - .67rem);
            background: var(--base);
            padding: 1rem;
            border: solid 1px var(--light);
            border-radius: 4px;
            align-items: center;
            gap: 1rem;
            @media (max-width: 1010px) {
                flex-basis: calc(50% - .25rem);
            }
            @media (max-width: 520px) {
                flex-basis: 100%;
            }
        }
    }
}
.service-list {
    li {
        dl {
            gap: .5rem;
            letter-spacing: .5px;
            dt {
                            padding: 1rem;
                width: 250px;
                border-radius: 4px 0 0 4px;
                text-align: right;
                @media (max-width: 815px) {
                    width: 100%;
                    text-align: left;
            }
                }
            dd {
                padding: 1rem;
            }
            @media (max-width: 815px) {
                    flex-direction: column;
            }
        }
    }
}
.service-list.sky {
    dt {
        background: var(--sky);
    }
}
.service-list.green {
    dt {
        background: var(--green-1);
    }
}

.water-mark {
    img {
        width: 15px;
    }
}
.service-images {
    gap: .5rem;
    flex-basis: calc(30% - .5rem);
    flex-direction: column;
    img {
        border-radius: 4px;
    }
    @media (max-width: 1266px) {
        flex-direction: row;
}
}
.image-2 {
    flex-direction: row;
        @media (max-width: 1266px) {
        flex-wrap: wrap;
        flex-basis: calc(50% - .25rem);
    }
    .image {
        @media (max-width: 1266px) {
            flex-basis: calc(50% - .25rem);
        }
    }
}
.image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #c0c0c0;
}
.content-2 {
    flex-direction: column;
    gap: 3rem;
}
/* 対応エリアセクション */
.area-section {
    border-top: 1px solid #e0e0e0;
    .section-title {
        margin-bottom: 3rem;
    }
}
.area-content {
    gap: 1rem;
    @media(max-width: 920px) {
        flex-direction: column-reverse;
    }
}
.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    flex-basis: calc(37% - .5rem);
    min-width: 500px;
    @media(max-width: 920px) {
        min-width: inherit;
        flex-basis: inherit;
        width: 100%;
    }
    .slider {
        transition: transform 0.5s ease-in-out;
        height: 500px;
        flex-direction: column;
        .slide {
            min-height: 100%;
            height: 100%;
            list-style-type: none;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                background: var(--green-2);
            }
        }
    }
}
.area-list {
    list-style: none;
    padding-left: 0;
    flex-basis: calc(63% - .5rem);
    .controls {
        padding: 10px 0;
        font-size: 16px;
        dl{
            letter-spacing: .5px;
            align-items: stretch;
            @media(max-width: 480px) {
                flex-direction: column;
            }
            dt {
                            min-width: 130px;
                border-radius: 4px 0 0 4px;
                border: solid 1px var(--main);
                align-items: center;
                justify-content: center;
                @media(max-width: 480px) {
                    border-radius: 4px 4px 0 0;
                }
                a {
                    text-decoration: none;
                    padding: 1rem;
                    display: block;
                    color: var(--main);
                    
                }
                }
            dd {
                padding: 1rem;
                border-radius: 0 4px 4px 0;
                border-top: solid 1px var(--main);
                border-right: solid 1px var(--main);
                border-bottom: solid 1px var(--main);
                width: 100%;
                @media(max-width: 480px) {
                    border-radius: 0 0 4px 4px;
                    border-top: none;
                    border-left: solid 1px var(--main);
                }
            }
        }
    &.active {
        dl {
            dt {
                background: var(--green-3);
                a {
                    color: var(--orange);
                                }
            }
            dd {
                background: var(--green-3);
                            color: var(--orange);
                @media(max-width: 480px) {
                    border-top: none;
                }
            }
        }
    }
    }
}


/* 事業所情報セクション */
.info-section {
    border-top: 1px solid #e0e0e0;
    .section-title {
        margin-bottom: 3rem;
    }
}
.company-info-wrapper {
    gap: 1rem;
    @media (max-width: 720px) {
        flex-direction: column;
    }
}
.info-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.info-text {
    flex-basis: 70%;
}
.info-list {
    flex-direction: column;
    gap: .5rem;
    dt {
            color: var(--main);
        border-bottom: solid 1px #cbcbcb;
        font-size: 16px;
        margin-bottom: 5px;
    }
    dd {
    font-size: 16px;
    color: var(--main);
    margin-left: 0;
}
}

.info-exterior {
    flex-basis: 33%;
    min-width: 279px;
    @media (max-width: 380px) {
        min-width: inherit;
    }
    img {
        border-radius: 4px;
    }
}

/* CTAセクション */
.cta-section {
    border-top: 1px solid var(--gray);
    background: var(--gradient-base);
    padding: 60px 0;
}

.cta-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--base);
    line-height: 1.4;
}

/* フッター */
.site-footer {
    padding: 3rem 0 0;
    background: var(--base);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    @media (max-width: 1100px) {
        flex-direction: column;
        gap: 3rem;
    }
}
.footer-info {
    flex: 1;
}
.footer-name {
    font-size: 1rem;
    margin-bottom: .5rem;
}
.footer-address{
    font-size: .9rem;
    margin-bottom: 5px;
}
.footer-contact {
    font-size: .9rem;
}
.footer-links {
    flex-basis: calc(50% - .5rem);
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    @media (max-width: 1100px) {
        flex-basis: inherit;
        width: 100%;
    }
}
.footer-links a {
    color: var(--main);
    text-decoration: none;
    font-size: .9rem;
    border-bottom: dotted 1px var(--main);
    flex-basis: calc(50% - .5rem);
    word-break: keep-all;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--light);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #666;
}

/* レスポンシブ */

@media (max-width: 768px) {
    .logo-text {
        font-size: 18px;
    }
    .hero-subtitle {
        max-width: 640px;
    }
    .service-images {
        flex-direction: column;
    }
    
    .info-content {
        flex-direction: column;
    }
    
    .info-map {
        flex: 1;
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: .5rem;
    }
    
    .service-list li,
    .area-list li {
        font-size: 14px;
    }
}

/* お問い合わせフォーム */
.contact-main {
    padding: 6rem 0;
    background: var(--gray);
    border-bottom: solid 1px var(--light);
}
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.contact-page-title {
    font-size: 28px;
    
    margin-bottom: 30px;
    color: var(--main);
}
.contact-description {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 50px;
    color: #333;
}
.form-field {
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    font-size: 16px;
    color: var(--main);
    margin-bottom: .5rem;
}
.form-input,
.form-textarea {
    width: 100%;
    padding: .5rem;
    font-size: 16px;
    border: 1px solid #ccc;
    font-family: inherit;
    line-height: 1.4;
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #666;
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}
.form-submit-area {
    text-align: center;
    margin-top: 50px;
}
.form-submit-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1rem;
    color: var(--base);
    background-color: var(--main);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.form-submit-button:hover {
    background-color: var(--base);
    color: var(--main);
    box-shadow: 0 0 2px var(--main);
}

.form-note {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}
select.form-select {
    padding: .5rem 1rem;
    border: solid 1px var(--dark);
    border-radius: 4px;
    font-size: .9rem;
    color: var(--main);
}
/* フォームメッセージ */
#formMessage {
    margin-bottom: 30px;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* レスポンシブ - フォーム */
@media (max-width: 768px) {
    .contact-page-title {
        font-size: 24px;
    }
    
    .contact-description {
        font-size: 14px;
    }
    
    .form-label {
        font-size: 14px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 14px;
    }
    
    .form-submit-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .contact-main {
        padding: 40px 0;
    }
    
    .contact-container {
        padding: 0 15px;
    }
    
    .form-field {
        margin-bottom: 30px;
    }
}


/* 会社概要ページ */
.company-page-title {
    font-size: 28px;
    margin-bottom: 50px;
    color: var(--main);
}

.company-section {
    max-width: 1280px;
    margin: 0 auto;
    &.container-1 {
        padding: 6rem 1rem 0;
    }
    &.container-2 {
        padding: 1rem;
    }
    &.container-3 {
        padding: 3rem 1rem 0;
    }
    &.container-4 {
        padding: 0 1rem;
    }
    &.container-5 {
        padding: 0 1rem 6rem;
    }
    &.container-6 {
        padding: 0 1rem 6rem;
    }
}

.company-section:last-child {
    border-bottom: none;
}

.company-section-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--main);
}

/* 事業所情報グリッド */
.company-info-grid {
    display: grid;
    gap: .5rem;
}

.info-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: .5rem;
    align-items: center;
    @media (max-width: 1024px) {
        grid-template-columns: 1fr;
    }
}

.info-term {
    font-size: 1rem;
    color: var(--base);
    background: var(--gradient-base);
    padding: 1rem;
    border-radius: 4px 0 0 4px;
    letter-spacing: 1.2px;
    @media(max-width: 1024px) {
        border-radius: 4px 4px 0 0;
    }
}

.info-desc {
    font-size: 16px;
    color: var(--main);
    margin-left: 0;
}

/* 理念・方針 */

.philosophy-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
}

.philosophy-text {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

.philosophy-list {
    list-style: none;
    padding-left: 0;
}

.philosophy-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 16px;
    line-height: 1.4;
}

.philosophy-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}
/*採用情報*/
.recruit-wrapper {
    &.recruit-2 {
        margin-top: 6rem;
    }
    h3 {
        color: var(--base);
        background: var(--gradient-base);
        padding: 1rem;
        border-radius: 4px;
        font-size: 1.4rem;
    }
    .recruit-grid {
        gap: .5rem;
        display: grid;
        margin-top: 1rem;
        padding: 3rem;
        background: var(--gray);
        border-radius: 4px;
        @media (max-width: 1100px) {
                padding: 1rem;
            }
        h4 {
            padding: 1rem;
            background: var(--main);
            color: var(--base);
            border-radius: 4px;
            margin-bottom: 1rem;
        }
        .recruit-items {
            column-count: 2;
            column-gap: 1rem;
            @media (max-width: 900px) {
                column-count: 1;
            }
            .recruit-item {
                break-inside: avoid;
                margin-bottom: 1rem;
                .recruit-term {
                    font-size: .9rem;
                    padding: .25rem 0;
                    letter-spacing: 1.2px;
                    border-bottom: dotted 1px var(--dark);
                    line-height: 17px;
                    display: flex;
                    align-items: center;
                    &::before {
                        content: '';
                        display: inline-block;
                        width: 10px;
                        height: 17px;
                        border-radius: 2px;
                        background: var(--gradient-base);
                        line-height: 0;
                        margin-right: .5rem;
                    }
                }
                .recruit-desc {
                    font-size: .9rem;
                    color: var(--main);
                    margin-left: 0;
                    padding: .5rem 0;
                    li, dt, dd {
                        font-size: .9rem;
                    }
                    .no-list,.no-list-2 {
                        list-style: none;
                    }
                    .no-list-2 li {
                        &::before {
                            content: '';
                            display: inline-block;
                            width: 8px;
                            height: 8px;
                            border: solid 1px var(--main);
                            border-radius: 100%;
                            margin-right: .5rem;
                        }
                    }
                    .list-inner {
                        list-style-position: inside;
                    }
                    .bg-1 {
                        background: var(--light);
                        border-radius: 4px;
                        padding: .25rem 1rem;
                    }
                    .between {
                        justify-content: space-between;
                        align-items: center;
                    }
                    .border-b {
                        border-bottom: solid 1px var(--light);
                        margin-top: .5rem;
                        padding-bottom: .25rem;
                    }
                    .text-right {
                        text-align: right;
                    }
                    .margin-t-1 {
                        margin-top: 1rem;
                    }
                    .margin-t-05 {
                        margin-top: .5rem;
                    }
                    .margin-l-1 {
                        margin-left: 1rem;
                    }
                }
            }
        }
    }
}
/* 関連事業所 */
.branch-item {
    padding: 3rem;
    border: 1px solid var(--light);
    background: var(--gray);
    border-radius: 4px;
    a {
            padding: 1rem;
            border-radius: 4px;
            text-decoration: none;
            background: var(--gradient-base);
            color: var(--base);
            margin-bottom: .5rem;
            justify-content: space-between;
            flex-direction: column;
            border: solid 1px var(--light);
            font-size: 1rem;
            &:hover .arrow-wrapper {
                img {
                    translate: .5rem 0;
                }
            }
            .area-name {
                align-items: flex-end;
                gap: .5rem;
                img {
                    width: 40px;
                    height: auto;
                }
                .name {
                    line-height: 1.1;
                    word-break: keep-all;
                }
            }
            .area-link-wrapper {
                align-items: center;
                gap: .5rem;
                width: 100%;
                margin-top: .5rem;
                .dotted {
                    border-top: dotted 1px var(--base) ;
                    width: 100%;
                    line-height: 0;
                }
                .branch-link {
                    justify-content: end;
                    align-items: center;
                    .detail {
                        min-width: 33px;
                        color: var(--base);
                    }
                    .arrow-wrapper {
                        background: var(--base);
                    }
                }
            }
        }
}
.branch-title {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.branch-name {
    font-size: 20px;
    letter-spacing: .04em;
    color: var(--gradient-base);
    gap: 1rem;
    align-items: center;
    img {
        width: 40px;
        height: auto;
    }
}

.branch-info {
    display: flex;
    gap: .5rem;
    margin-bottom: .5rem;
    flex-direction: column;
    @media(max-width:900px) {
        flex-direction: column;
        align-items: inherit;
    }
    dt {
        font-size: 1rem;
        color: var(--main);
        padding: .5rem 1rem;
        min-width: 95.16px;
        letter-spacing: .04em;
        border-bottom: solid 1px var(--light);
    }
    dd {
        font-size: 1rem;
        color: var(--main);
        line-height: 1.4;
        letter-spacing: .04em;
        padding: 0 1rem;
    }
}
.branch-link {
    color: var(--main);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
    align-items: center;
    gap: .5rem;
    justify-content: flex-end;
    line-height: 0;
}
.arrow-wrapper {
    width: 40px;
    height: 40px;
    background: var(--main);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: .75rem;
    img {
        width: 18px;
        height: auto;
        transition: all .4s;
    }
}
.branch-item .arrow-wrapper {
    background: var(--gradient-base);
}
.branch-link:hover {
    opacity: 0.6;
}

/* アクセス */
.access-content {
    gap: .5rem;
    @media (max-width: 1010px) {
        flex-direction: column-reverse;
    }
    .access-info {
        flex-basis: calc(50% - .25rem);
    }
    .access-map {
        flex-basis: calc(50% - .25rem);
        iframe {
            width: 100%;
            border-radius: 4px;
        }
    }
}

.access-title {
    font-size: 16px;
    margin: .5rem 0;
    color: var(--base);
    background: var(--gradient-base);
    padding: 1rem;
    border-radius: 4px 4px 0 0;
    letter-spacing: .04em;
}

.access-title:first-child {
    margin-top: 0;
}

.access-info p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--main);
    padding: 0 1rem;
}

.access-map {
    flex-shrink: 0;
}

/* レスポンシブ - 会社概要 */
@media (max-width: 768px) {
    .company-page-title {
        font-size: 24px;
    }
    
    .company-section-title {
        font-size: 20px;
    }
    
    .info-term {
        font-size: 12px;
    }
    
    .info-desc {
        font-size: 14px;
    }
    
    .philosophy-box {
        padding: 20px;
    }
    
    .branch-item {
        padding: 20px;
    }
    
    .access-content {
        grid-template-columns: 1fr;
    }

    
    
}

/*プライバシーポリシー*/

.privacy {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}
.privacy-inner > li{
    list-style: none;
    margin-bottom: 1rem;
}
.privacy-inner {
    h3 {
        margin-bottom: .5rem;
        border-bottom: solid 1px var(--main);
        padding-bottom: .25rem;
    }
    p {
        margin-bottom: .5rem;
    }
    ul:not(.privacy-window), ol {
        margin-left: 1.2rem;
        list-style: disc;
        li {
            line-height: 1.6rem;
            ul {
                list-style: decimal;
                li{
                    ul {
                        list-style: disc;
                        margin-bottom: .5rem;
                    }
                }
            }
        }
    }
    ul.privacy-window {
        list-style: none;
        dl {
            gap: .5rem;
            align-items: center;
            margin-bottom: .25rem;
            dt {
            min-width: 61px;
            text-align-last: justify;
            background: var(--light);
            padding: .5rem;
            border-radius: 4px;
        }
        dd {
            word-break: keep-all;
        }
        }
    }
    address {
        font-style: normal;
    }
}
.privacy-consent {
    margin-bottom: 1.5rem;
    text-align: left;
}

.privacy-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
}

.privacy-label input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    cursor: pointer;
    flex-shrink: 0;
}

.privacy-label span {
    line-height: 1.6;
}

.privacy-label a {
    color: var(--gradient-base);
    text-decoration: none;
    padding-bottom: .25rem;
    border-bottom: dotted 1px;
    margin-right: .25rem;
}

.privacy-label a:hover {
    color: var(--dark);
}