@charset "utf-8";

/* 
共通
-------------------------------------------------------------------------------*/
:root {
    --white: #fff;
    --black: #4d4d4d;
    --gray: #808080;
    --lightGray: #f2f2f2;
    --darkGreen: #3EC0AE;
    --green: #3DC4B1;
    --lightGreen: #62D7C7;
    --whiteGreen: #95EADE;
    --lightCyan: #C6F8F1;
    --whiteCyan: #F5FFFD;
    --yellow: #FFC04F;
    --lightYellow: #FFCE74;
    --whiteYellow: #FFDEA2;
    --ZenKaku: "Zen Kaku Gothic New", serif;
}

html {
    /* font-size: 100%; */
}

body {
    width: 100%;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

/* img {
    max-width: 100%;
} */

a {
    text-decoration: none;
}

p {
    color: var(--gray);
    font-size: 1.1rem;
}

ul {
    list-style: none;
    color: var(--gray);
}
li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}
li::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray);
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}
li:last:child {
    margin-bottom: 0;
}

h3 {
    position: relative;
    color: var(--gray);
    font-weight: 300;
    font-size: 1.5rem;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}
h3:before {
    position: absolute;
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    background: var(--lightGreen);
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
} 

.wrapper {
    margin: 0 auto;
    max-width: 100%;
    padding: 0 25vw;
}

.title {
    font-family: var(--ZenKaku);
    font-weight: 300;
    font-size: 2rem;
    color: var(--gray);
    border-bottom: 1px var(--gray) solid; 
    margin-bottom: 2.2rem;
}
.title span {
    color: var(--green);
}
.title br {
    display: none;
}

.cont-title {
    position: relative;
    display: block;
    color: var(--gray);
    font-size: 1.8rem;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 10px;
}
.cont-title::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background: var(--gray);
}
.cont-title::after {
    position: absolute;
    content: '';
    width: 8%;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background: var(--green);
}

.cont-title br {
    display: none;
}

.text {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 3rem;
}

.box {
    border: 1px solid var(--gray);
    border-radius: 0.5rem;
}
.box p .green {
    border-bottom: 2px solid var(--green);
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.light-w {
    transition: all .2s;
}
.light-w:hover {
    opacity: 0.5;
    transition: all .3s;
}


/* メールボタン */
#sm-contact-btn {
    display: none;
}

#contact-btn {
    position: fixed;
    display: inline-block;
    height: 70px;
    width: 70px;
    border-radius: 50px;
    z-index: 100;
    background: var(--lightGreen);
    right: 1vw;
    bottom: 1vw;
    padding: 20px 15px;
    line-height: 1;
    opacity: 0;
    transform: translateX(100px);
    /* transition: 0.3s ease-out; */
    transition: width 0.3s ease-out, background-color 0.3s ease-out, gap 0.3s ease-out;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, opacity;
}

#contact-btn:hover {
    width: 300px;
    background: var(--green);
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1rem;
}

#contact-btn .mail {
    display: inline-block;
    width: 40px;
}
#contact-btn:hover .mail {
    margin-left: 0.5rem;
}

#contact-btn p {
    display: none;
    color: var(--white);
    font-family: var(--ZenKaku);
    font-weight: 500;
    font-size: 1.2rem;
}
#contact-btn:hover p {
    display: block;
}

/*　問い合わせ一覧に入ったらボタンを隠す　*/

/* 右に動く */
#contact-btn.RightMove {
    animation: RightAnime 0.3s forwards;
}

@keyframes RightAnime {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* 左に動く */
#contact-btn.LeftMove {
    animation: LeftAnime 0.3s forwards;
}

@keyframes LeftAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

   
/*
ヘッダー
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#header {
    background-color: var(--white);
    padding: 1.5rem;
}

/* #header .site-title {
    width: 11vw;
    line-height: 1px;
} */

#header h1 {
    color: var(--gray);
    font-family: var(--ZenKaku);
    font-size: 1.5rem;
}

/*
mainvisual
-----------------------------------------------------------------------------------*/
#mainvisual .pc {
    display: black;
    width: 100%;
}

#mainvisual .sumaho {
    display: none;
}
/* #mainvisual {
    position: relative;
    width: 100%;
    height: 38vw;
    background: url(../img/office.JPG) no-repeat center;
    background-size: cover;
    background-position: 0 -10px;
    object-fit: cover;
    z-index: -10;
}

#mainvisual::before {
    position: absolute;
    content: '';
    height: 38vw;
    width: 100%;
    background-image: linear-gradient(0deg, rgba(61, 196, 177, 0.85), rgba(160, 226, 217, 0.3) 75%, rgba(255, 255, 255, 0.1));
}

#mainvisual::after {
    position: absolute;
    content: '';
    width: 95%;
    height: 85%;
    border: var(--white) solid 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#mainvisual p {
    position: absolute;
    color: var(--white);
    font-size: 450%;
    font-family: "Julius Sans One", serif;
    font-weight: 400;
    font-style: normal;
    bottom: 7%;
    right: 3%;
    z-index: 50;
}
#mainvisual .sp-br {
    display: none;
} */

/* main */
#main {
    background-color: var(--white);
    position: relative;
    z-index: 50;
}


/* 
about
----------------------------------------------------------------------------------*/
#about {
    margin: 9vw 0 13vw;
}

#about .cont-title {
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
#about .cont-title::after {
    display: none;
}
#about .cont-title span {
    color: var(--green);
}

#about .text {
    margin-top: 3vw;
}

/* 
model
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
#model {
    margin-bottom: 10vw;
}

#model .grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

#model .box {
    height: 10rem;
    display: flex;
    justify-content: center;
    align-items: center
}


#model .box p {
    font-size: 1.3rem;
    font-family: var(--ZenKaku);
    line-height: 2.5rem;
}

#model .box .small {
    font-size: 0.9rem;
}

/*
houtei
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#houtei .title {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
#houtei .title .small {
    font-size: 1rem;
    color: var(--gray);
}

#houtei > div {
    margin-bottom: 5rem;
}

#houtei .flex {
    justify-content: center;
    align-items: center;
    gap: 3vw;
    width: 96%;
    margin: 0 auto;
}

/* 設定基準（計算式） */
#houtei div:first-of-type .box {
    padding: 2rem;
}
#houtei .box .green {
    font-size: 1.3rem;
}

#houtei .box > .kigou {
    font-size: 2.5rem;
}

#houtei .grid {
    grid-template-columns: 1fr 1.5vw 1fr;
    align-items: center;
    gap: 1.5vw;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
}
#houtei .grid p {
    font-size: 1rem;
}
#houtei .grid > .kigou {
    font-size: 1.5rem;
    text-align: center;
    line-height: 1;
}

/* 式を綺麗に見せる調節 */
#houtei .grid:first-of-type {
    border-bottom: 1px solid var(--gray);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}
#houtei .grid p:first-of-type {
    text-align: right;
}


#houtei div:last-of-type .box {
    padding: 1rem;
    width: 50%;
}
#houtei .koyouritu {
    text-align: center;
    color: var(--green);
    font-size: 4rem;
    margin: 0 3rem;
}

/* テーブル */
#houtei table {
    width: 96%;
    margin: 0 auto;
    font-family: var(--ZenKaku);
    border: 2px solid var(--green);
    border-spacing: 0;
}
#houtei th,
#houtei td {
    font-weight: 300;
    font-size: 1.2rem;
    padding: 0.7rem;
}


#houtei thead th {
    background: var(--lightCyan);
    color: var(--darkGreen);
    border-bottom: 2px solid var(--green);
    border-right: 2px solid var(--green);
    width: 25%;
}
#houtei thead th br {
    display: none;
}
#houtei thead th:last-child {
    border-right: none;
}

#houtei thead th span {
    font-size: 1rem;
}

#houtei tbody {
    color: var(--gray);
}
#houtei tbody th {
    text-align: left;
    border-right: 2px solid var(--green);
}
#houtei tbody .judo th:first-child {
    border-right: none;
}
#houtei tbody td {
    text-align: center;
    border-right: 2px solid var(--green);
}
#houtei tbody td:last-child {
    border-right: none;
}


#houtei tbody .judo th {
    border-bottom: 2px solid var(--green);
}
#houtei tbody .judo td {
    padding: 0.5rem;
    background: var(--whiteCyan);
    border-top: 2px dashed var(--green);
    border-bottom: 2px solid var(--green);
    text-align: center;
}
#houtei tbody .judo td:first-of-type {
    border-left: 2px dashed var(--green);
    width: 15%;
}

#houtei div:has(table) p {
    width: 96%;
    margin: 0.5rem auto 0;
    font-size: 1rem;
}

/*
特長
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#features .item {
    margin: 0 auto 7rem;
    width: 96%;
}

#features .item .flex {
    justify-content: center;
    align-items: center;
    gap: 3vw;
    margin-top: 3vw;
}

#features .flex div:has(img) {
    width: 45%;
}
#features img {
    width: 100%;
}
#features .text {
    width: 55%;
}

/* #office .item,
#space .item,
#support .item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3vw;
} */


/* 保有資格例 */
#features div:has(.box) > div:has(.grid) {
    margin-top: 5rem;
}
#features div:has(.box) > .grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 96%;
    margin: 0 auto;
}

#features div:has(.box) > .grid .box {
    padding: 1.5rem;
}
#features div:has(.box) > .grid .title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#features div:has(.box) > p {
    width: 96%;
    margin: 2rem auto 0;
}

/* 在宅就労 */
#features .item:last-of-type p {
    margin: 1.5rem 0;
}
#features .item:last-of-type .box {
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}
#features .item:last-of-type .box h3 {
    margin-bottom: 0;
    font-size: 1.3rem;
}
#features .item:last-of-type .box h3::before {
    width: 10px;
    height: 10px;
}
#features .item:last-of-type .box h3:last-of-type {
    grid-column: 2 / 4;
    grid-row: 2;
}


/* 
slice
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
#slice {
    margin-bottom: 15rem;
}

#slice > div {
    margin-bottom: 5rem;
}


#slice div:first-of-type h3 {
    margin-top: 3rem;
}

#slice .grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5vw;
}
#slice .grid .box {
    padding: 1.5rem;
}

#slice .grid .title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}


#slice div:has(.flex) .box {
    padding: 1rem 2rem;
    border-color: var(--green);
}
#slice div:has(.flex) .box .text {
    width: 60%;
}
#slice .flex {
    align-items: center;
    gap: 2rem;
}

#slice div:has(.flex) .box > div:has(img) {
    width: 40%;
}
#slice img {
    width: 100%;
}


/*
お問い合わせ
-------------------------------------------------------------------------------------*/
#contact .cont-title {
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8vh;
}
#contact .cont-title::before {
    width: 100%;
    height: 1.5px;
}
#contact .cont-title::after {
    width: 50%;
    height: 1.5px;
}


/* 共通部分 */
#contact .contact-title {
    color: var(--black);
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    text-align: center;
    width: 40%;
}
#contact .contact-title span {
    font-size: 170%;
}

#contact .item {
    width: 60%;
    text-align: center;
    border-left: var(--black) 1px solid;
    margin-bottom: 50px;
}

#contact .text {
    color: var(--black);
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
}
#contact .small {
    font-size: 1.1rem;
    padding-bottom: 60px;
}

#contact .tel a {
    color: var(--black);
    font-size: 2.5rem;
    font-weight: 600;
    cursor: pointer;
}

/* フォーム用ボタン */
#contact .btn {
    position: relative;
    color: var(--black);
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7rem;

    cursor: pointer;
    padding: 25px 40px;
    border: solid 1px var(--black);
    z-index: 50;
    transition: all 0.2s;
}
#contact .btn::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 10px;
    left: 10px;
    transition: all 0.2s
}

#contact .btn:hover {
    border: solid 1px var(--white);
    color: var(--white);
    transition: all 0.2s;
}
#contact .btn:hover::after {
    top: 0;
    left: 0;
    transition: all 0.2s;
}


/* company */
#contact .company {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5vw 0;
    background-color: var(--whiteYellow);
}

#contact .company .btn::after {
    background-color: var(--yellow);
}

/* user */
#contact .user {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5vw 0;
    background-color: var(--whiteGreen);
}

#contact .user .btn::after {
    background-color: var(--green);
}


/*
フッター
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#footer {
    background-color: var(--lightGray);
    text-align: center;
    padding-top: 2rem;
    /* padding-bottom: 2vw; */
}
#footer p {
    text-align: center;
    margin-bottom: 1.5rem;
}
/* #footer .link {
    padding-bottom: 30px;
    color: var(--black);
} */
#page-top {
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}
#footer .toplink {
    position: relative;
    color: var(--gray);
    padding-left: 1.5rem;
    transition: all 0.2s;
}
#footer .toplink::before,
#footer .toplink::after {
    position: absolute;
    content: '';
    background-color: var(--gray);
    width: 1px;
    height: 9px;
    top: 50%;
    transition: all 0.2s;
}

#footer .toplink::before {
    transform: translateY(-50%) rotate(45deg);
    left: 3px;
}
#footer .toplink::after {
    transform: translateY(-50%) rotate(-45deg);
    left: 10px;
}

#footer .toplink:hover {
    color: var(--black);
    transition: all 0.2s;
}
#footer .toplink:hover:before,
#footer .toplink:hover:after {
    background-color: var(--black);
    top: 0;
    transition: all 0.2s;
}


/* sp */
@media (max-width:1200px) {
    .wrapper {
        padding: 0 10vw;
    }
}

@media (max-width:800px) {

    /* 共通
    ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    h3 {
        font-size: 1.2rem;
        padding-left: 1rem;
        margin-bottom: 0.5rem;
    }
    h3::before {
        width: 0.6rem;
        height: 0.6rem;
    }

    p {
        font-size: 1rem;
    }

    li {
        margin-bottom: 0.5rem;
    }

    section {
        margin-bottom: 10rem;
    }

    .wrapper {
        padding: 0 7vw;
    }

    .title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    .title br {
        display: block;
    }

    .cont-title {
        font-size: 1.3rem;
    }
    .cont-title::after {
        width: 20%;
    }
    .cont-title br {
        display: block;
    }

    .text {
        /* margin: 2vh; */
        font-size: 1rem;
        line-height: 2rem;
    }

    /* 問い合わせボタン */
    #contact-btn {
        display: none;
    }

    #sm-contact-btn {
        position: fixed;
        display: block;
        width: 100%;
        z-index: 100;
        background: var(--yellow);
        right: 0;
        bottom: 0;
        line-height: 1;
        transition: 0.3s ease-out;
        opacity: 1;
    }
    #sm-contact-btn .flex {
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin: 10px 0;
    }

    #sm-contact-btn .mail {
        /* display: block; */
        width: 35px;
    }
    #sm-contact-btn .mail img {
        width: 100%
    }
    /* #sm-contact-btn .sm-mail {
        display: none;
        width: 35px;
    } */
    
    #sm-contact-btn p {
        color: var(--white);
        font-family: "Zen Kaku Gothic New", serif;
        font-weight: 500;
        font-size: 1.2rem;
    }

    #sm-contact-btn:hover {
        width: 100%;
        background: var(--white);
        border-top: var(--yellow) solid 1px;
    }

    #sm-contact-btn:hover p {
        color: var(--yellow);
    }
    
    #sm-contact-btn:hover .mail {
        display: none;
    }
    #sm-contact-btn:hover .sm-mail {
        display: block;
    }


    /* スクロールしたら隠す */
    .fadeOutTrigger {
        display: block;
        opacity: 1;
    }

    .fadeOut {
        animation-name: fadeOutAnime;
        animation-duration: 1s;
        animation-fill-mode: forwards;
        opacity: 1;
    }
    @keyframes fadeOutAnime {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(500px);
        }
    }

    /* ヘッダー
    ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    #header {
        padding: 1.5rem 1rem;
    }

    #header .site-title {
        font-size: 1.7rem;
        /* width: 23vh; */
    }

    /*
    mainvisual
    --------------------------------------------------------------*/
    #mainvisual {
        margin-bottom: 5rem;
    }

    #mainvisual .pc {
        display: none;
    }

    #mainvisual .sumaho {
        display: block;
        width: 100%;
    }
    /* #mainvisual {
        height: 30vh;
        background-image: url(../img/office.JPG);
    }
    #mainvisual::before {
        height: 30vh;
        background-image: linear-gradient(0deg, rgba(61, 196, 177, 0.7) 40%, rgba(255, 255, 255, 0) 80%);
    }
    #mainvisual::after {
        width: 90%;
        border: var(--white) 1px solid;
    }

    #mainvisual p {
        text-align: right;
        display: inline;
        font-size: 225%;
        right: 8%;
        bottom: 8%;
    }
    #mainvisual .sp-br {
        display:block;
    } */

    /*
    about
    ---------------------------------------------------------------*/
    #about {
        margin: 3rem 0 7rem;
    }

    #about .cont-title {
        font-size: 1.6rem;
    }

    #about .cont-title::before {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }

    #about .text {
        margin-top: 2rem;
    }

    /* 
    model
    -------------------------------------------------------------- */
    #model {
        margin-bottom: 10rem;
    }

    #model .grid {
        grid-template-columns: auto;
    }

    /* 
    houtei
    --------------------------------------------------------------- */
    #houtei .title {
        flex-direction: column;
        align-items: unset;
        position: relative;
        margin-bottom: 5rem;
    }
    #houtei .title .small {
        position: absolute;
        font-size: 0.8rem;
        bottom: -3rem;
    }

    /* 計算式 */
    #houtei div:first-of-type .box {
        padding: 1rem 0.5rem;
    }
    #houtei .flex {
        width: auto;
        flex-direction: column;
        gap: 0;
    }

    #houtei .box > .kigou {
        font-size: 2rem;
        transform: rotate(90deg);
    }

    #houtei .grid {
        grid-template-columns: 1fr 1.5rem 1fr;
    }

    /* 雇用率 */
    #houtei div:last-of-type .box {
        width: 100%;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    #houtei .koyouritu {
        font-size: 3rem;
    }
    
    /* テーブル */
    #houtei table {
        width: 100%;
    }
    #houtei th,
    #houtei td {
        font-size: 0.9rem;
        padding: 0.3rem;
    }

    #houtei thead th span {
        font-size: 0.7rem;
    }
    #houtei thead th br {
        display: block;
    }

    #houtei thead th:nth-of-type(1) {
        width: 25%;
    }
    #houtei thead th:nth-of-type(2) {
        width: 18%;
    }

    #houtei tbody th {
        background: var(--white);
    }

    #houtei tbody .judo td {
        padding: 0.3rem;
    }


    #houtei div:has(table) p {
        width: 100%;
        font-size: 0.85rem;
    }

    /*
    features
    ---------------------------------------------------------------*/
    #features .item {
        margin: 0 auto 5rem;
    }
    #features .item .flex {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    #features .flex div:has(img) {
        width:auto;
    }

    #features .item .text {
        width: auto;
        margin-left: 0;
    }

    /* 保有資格 */
    #features div:has(.box) > div:has(.grid) {
        margin-top: 2rem;
    }

    #features div:has(.box) > .grid {
        width: auto;
        grid-template-columns: auto;
        gap: 2rem;
    }
    #features div:has(.box) > .grid .title {
        font-size: 1.25rem;
    }

    #features div:has(.box) > p {
        margin: 1rem auto 0;
        font-size: 1rem;
    }

    /* 在宅労働 */
    #features .item:last-of-type p {
        margin: 1rem 0 0.5rem;;
    }
    #features .item:last-of-type .box {
        padding: 1rem 1.5rem;
        display: block;
    }
    #features .item:last-of-type .box h3 {
        font-size: 1.1rem;
    }
    #features .item:last-of-type .box h3::before {
        width: 7px;
        height: 7px;
    }
    

    /* #office .item,
    #space .item,
    #support .item {
        flex-direction: column-reverse;
        margin-top: 4vh;
    }

    #office img,
    #space img,
    #support img {
        width: 95%;
        margin-top: 1vh;
    }

    #office .text,
    #space .text,
    #support .text {
        width: 100%;
        margin-top: 0;
    } */


    /* 
    業務切り出し
    ----------------------------------------------------------------- */
    #slice {
        margin-bottom: 8rem;
    }
    #slice > div {
        margin-bottom: 3rem;
    }
    #slice div:first-of-type h3 {
        margin-top: 1rem;
    }

    #slice .grid {
        grid-template-columns: auto;
        gap: 1.5rem;
    }
    #slice .grid .box {
        padding: 1rem;
    }
    #slice .grid .title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }


    #slice div:has(.flex) .box {
        padding: 1rem 1.5rem;
    }
    #slice div:has(.flex) .flex {
        flex-direction: column;
        gap: 0;
    }

    #slice div:has(.flex) .box .text {
        width: auto;
    }
    #slice div:has(.flex) .box > div:has(img) {
        width: auto;
    }

    /*
    お問い合わせ
    ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    #contact {
        margin-bottom: 0;
    }
    #contact .cont-title {
        margin-bottom: 2.5rem;
    }
    #contact .cont-title::before {
        height: 1px;
    }
    #contact .cont-title::after {
        height: 1px;
    }

    #contact .contact-title {
        width: auto;
        font-size: 1.1rem;
        border-bottom-width: 2px;
        border-bottom-style: solid;
    }
    #contact .contact-title span {
        font-size: 170%;
    }
    #contact .contact-title br {
        display: none;
    }

    #contact .item {
        width: 100%;
        border-left: none;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    #contact .text {
        font-size: 1rem;
        margin: 0;
    }
    #contact .tel a {
        font-size: 1.8rem;
    }
    #contact .small {
        padding-bottom: 50px;
        margin-top: 0;
    }

    #contact .company,
    #contact .user {
        flex-direction: column;
        padding: 2rem 0 3rem;
    }

    #contact .company .contact-title {
        border-bottom-color: var(--yellow);
    }
    #contact .user .contact-title {
        border-bottom-color: var(--green);
    }

    /* ボタン */
    #contact .btn {
        font-size: 1.25rem;
        padding: 1.5rem 2.5rem;
    }

    #contact .btn::after {
        top: 7px;
        left: 7px;
    }


    /*
    フッター
    ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
    #footer {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #footer .link {
        margin: 0;
        padding: 30px 0;
    }

}