html {
    scroll-behavior: smooth;
}

body {
    color: #555;
}

img {
    width: 100%;
}

a:hover {
    text-decoration: none;
}

button:focus {
    outline: none;
}

section {
    margin-bottom: 120px;
}

p {
    margin-bottom: 0;
    font-size: 16px;
}

h2.title {
    text-align: center;
    font-size: 25px;
    position: relative;
    margin-bottom: 2.5em;
    letter-spacing: 1px;
}

h2.title::after {
    content: "";
    width: 4em;
    height: 6px;
    background: linear-gradient(45deg, #f39800, #fff1c5);
    position: absolute;
    bottom: -13px;
    left: calc(50% - 2em);
    border-radius: 10px;
}

@media (max-width: 767px) {
    h2.title {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    dl {
        font-size: 14px;
    }
}

/*ヘッダー*/
header {
    padding: 20px 0;
    z-index: 1000;
    background: rgb(255 255 255 / .8);
    width: 100%;
}

header img {
    width: 400px;
    max-width: 100%;
}

header ul {
    list-style: none;
    padding: 1em 0;
    margin-bottom: 0;
}

header li {
    display: inline-block;
    margin-right: 1em;
}

header ul li a {
    text-decoration: none;
    font-size: 17px;
    padding-bottom: 5px;
    color: #898989;
    transition: .4s;
    border-bottom: 2px solid white;
}

header ul li a:hover {
    border-bottom: 2px solid #f39800;
    color: #898989;
}

.header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.header-top rt {
    color: #54b428;
    font-size: 14px;
    text-align: right;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .header-top rt {
        font-size: 12px;
    }

    header ul {
        white-space: nowrap;
        overflow-x: scroll;
        margin-left: 0;
        padding: 1em 0 10px;
    }

    header ul li a {
        font-size: 15px;
    }
}

/*スライダー*/
#slider {
    position: relative;
}

#slider p {
    position: absolute;
    top: 20%;
    left: 10%;
    color: white;
    font-size: 25px;
    line-height: 2;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    #slider p {
        font-size: 18px;
        top: 10%;
        left: 1em;
    }
}

/*使命*/
#mission p {
    text-align: center;
    line-height: 1.6;
}

.consti {
    background: #ffeccd;
    padding: 2em;
    width: 80%;
    max-width: 650px;
    margin: 45px auto 0;
    position: relative;
}

.consti::before, .consti::after {
    content: "";
    height: 98%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.consti::before {
    background: #ecffe0;
    box-shadow: 0 0 8px rgb(0 0 0 / 20%);
    left: -5px;
    top: 4px;
    transform: rotate(-2.5deg);
}

.consti::after {
    background: #fffee2;
    box-shadow: 0 0 3px rgb(0 0 0 / 20%);
    right: -8px;
    top: -5px;
    transform: rotate(2.2deg);
}

.consti h3 {
    font-size: 18px;
    font-weight: 550;
    margin-bottom: 1.2em;
    text-align: center;
}

.consti dl {
    margin: 0;
    font-size: 16px;
}

.consti dt {
    float: left;
}

.consti dd {
    margin-left: 4em;
    margin-bottom: 0;
    border-bottom: 1px dashed #f39800;
}

@media (max-width: 767px) {
    .consti h3 {
        font-size: 16px;
    }

    .consti dl {
        font-size: 14px;
    }
}

/*由来*/
#history h3 {
    font-size: 26px;
    margin-bottom: .7em;
    text-align: center;
    color: #e95656;
}

#history p {
    line-height: 1.6;
}

#history img {
    max-width: 220px;
}

/*サービス*/
#service h3 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 1.6em;
    line-height: 1.5;
}

#service h3 span {
    color: #f39800;
    font-weight: bold;
}

#service h4 {
    font-size: 18px;
    margin-bottom: 1.2em;
    color: #39aa2a;
}

#service p {
    line-height: 1.6;
}

#service .line {
    border-top: 1px dashed #f39800;
    margin: 40px auto;
    width: 80%;
}

@media (max-width: 767px) {
    #service h3 {
        font-size: 18px;
    }
}

/*告知*/
#info .ch-link img {
    max-width: 400px;
    width: 90%;
}

#info .ch-link a {
    text-align: center;
    background-color: #ffe9c1;
    background-image: repeating-linear-gradient(131deg, #fff9c5, #fff9c5 6px, transparent 0, transparent 12px);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5em;
    border: 1px solid #f39800;
    box-shadow: 5px 5px #e4e4e4;
    position: relative;
    transition: .2s;
    display: block;
    border-radius: 15px 0;
}

#info .ch-link a::before {
    content: '';
    width: 26px;
    height: 26px;
    background: #fc6767;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -13px;
    z-index: 1;
}

#info .ch-link a::after {
    content: '';
    width: 10px;
    height: 10px;
    border: 0;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(
45deg);
    position: absolute;
    top: 50%;
    right: 19px;
    margin-top: -5px;
    z-index: 2;
}

#info .ch-link a:hover {
    transform: translate(5px, 5px);
    box-shadow: none;
    background: white;
}

#info .ch-link p {
    color: #fc6767;
    font-size: 20px;
    margin: 10px 0 0;
    letter-spacing: 1px;
    font-weight: bold;
}

@media (max-width: 767px) {
    #info .ch-link p {
        font-size: 15px;
    }
}

/*グループホーム*/
#group h3 {
    font-size: 18px;
    margin-bottom: 1em;
    line-height: 1.5;
    color: #39aa2a;
}

#group p {
    line-height: 1.6;
}

.about-gh {
    max-width: 800px;
    border: 1px solid #6cb3da;
    padding: 2em;
    margin: 40px auto 0;
    background: #f1faff;
    border-radius: 20px;
    box-shadow: 3px 3px 5px #dfdfdf;
}

.about-gh h4 {
    font-size: 22px;
    margin-bottom: 1em;
}

.about-gh h4 i {
    color: #3ba1d9;
    margin-right: 3px;
}

@media (max-width: 767px) {
    #group h3 {
        font-size: 16px;
    }

    .about-gh h4 {
        font-size: 17px;
    }
}

/*お知らせ*/

.news-title {
    text-align: left;
    background-color: #fffaf1;
    border-left: solid 8px #f39800;
    border-radius: 0 10px 10px 0;
    padding: 1em;
    list-style: none;
    width: 90%;
    margin: 10px auto;
    color: #333;
    transition: .2s;
    position: relative;
    cursor: pointer;
}

.news-title:hover {
    box-shadow: 2px 2px 2px #c1c1c1;
    background: #ffefd3;
}

.news-body {
    display: none;
    padding: 1.5em;
    width: 90%;
    margin: .5em auto 1.5em;
    text-align: left;
    border: 1px solid #ffd68c;
    border-radius: 5px;}

.news-title::after {
    content: "\f107";
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
    position: absolute;
    right: .7em;
    top: calc(50% - 12px);
    color: #f39800;
    font-size: 20px;
    transition: .5s;
}

.news-title.active::after{
    transform: rotate(180deg) translateY(3px);
}

#news p a {
    color: #ff8100;
    text-decoration: underline;
}

@media (max-width: 767px) {
    #news a {
        color: #212529;
    }

    .news-title {
        font-size: 15px;
        width: 100%;
    }

    .news-body {
        width: 100%;
    }
}

/*会社概要*/
#corp dl.wrap {
    background-color: #fffded;
    padding: 30px;
    font-weight: 500;
    border: 1px solid #f39800;
}

#corp a {
    color: #555;
    font-weight: normal;
    text-decoration: underline;
}

#corp dl.wrap dl {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

#corp dl.wrap dl+dl {
    border-top: 1px dashed #f39800;
    padding-top: 15px;
}

#corp dl.wrap dl dt {
    width: 12em;
    font-weight: 650;
}

#corp dl.wrap dl dd {
    width: calc(100% - 11em);
}

#corp dd {
    margin: 0;
}

@media(max-width:859px) {
    #corp {
        padding: 50px 0 10px;
    }

    #corp h2 {
        font-size: 22px;
    }

    #corp dl.wrap {
        font-size: 15px;
    }

    #corp dl.wrap dl {
        flex-wrap: wrap;
    }

    #corp dl.wrap dl dt {
        width: 100%;
    }

    #corp dl.wrap dl dd {
        width: 100%;
    }
}


/*お問い合わせ*/
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

span.required {
    background: #ed5e5e;
    color: white;
    font-size: 14px;
    display: inline-block;
    padding: 0 5px;
    border-radius: 3px;
    margin-left: 5px;
}

.form-group {
    text-align: left;
}

label {
    font-weight: bold;
    color: #333;
}

.check-box a {
    cursor: pointer;
    text-decoration: underline !important;
}

.send-btn {
    margin: 5px 0;
}

.send-btn button {
    background: #ff9340;
    color: white;
    border: none;
    padding: 8px 25px;
    width: 250px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid;
    transition: .2s;
}

.send-btn button:hover {
    background: white;
    color: #ff8222;
    border: 2px solid;
}

h5#privacyTitle {
    font-size: 18px !important;
}

.privacy {
    text-align: left;
}

.privacy h4 {
    font-weight: bold !important;
    font-size: 16px !important;
    color: #333 !important;
}

.privacy p {
    font-size: 15px !important;
    padding: 0;
    color: #333;
    margin-bottom: 0 !important;
}

/*確認ページ*/
#confirm .inner {
    padding-top: 50px;
    padding-bottom: 50px;
}

#confirm h4 {
    font-size: 20px;
    color: #e51818;
    margin-bottom: 1em;
}

#confirm p {
    font-size: 16px;
}

#confirm input {
    cursor: pointer;
}

#confirm h3 {
    text-align: center;
    color: #333;
    font-size: 22px;
    margin-bottom: 1em;
}

#confirm .formTable {
    margin: 30px auto;
}

#confirm th {
    padding-right: 1em;
    padding-bottom: 10px;
    width: 30%;
}

#confirm td {
    padding-bottom: 10px;
}

#confirm .send {
    background: #ff9415;
    color: white;
    border: 1px solid #ff9415;
    padding: 5px 10px;
    border-radius: 5px;
}

#confirm .back {
    background: #eaeaea;
    color: #838383;
    border: 1px solid #b0b0b0;
    padding: 5px 10px;
    border-radius: 5px;
}

@media (max-width: 767px) {
    #confirm .formTable {
        font-size: 14px;
    }
}

/*完了ページ*/
#complete {
    text-align: center;
}

#complete .inner {
    padding-top: 50px;
    padding-bottom: 50px;
}

#complete h2 {
    font-size: 20px;
    margin-bottom: 1em;
    color: #f36e00;
}

#complete p {
    font-size: 16px;
    margin-bottom: 50px;
}

#complete button {
    cursor: pointer;
    background: #ff8222;
    color: white;
    border: 2px solid #ff8222;
    padding: 5px 10px;
    border-radius: 5px;
}

/*フッター*/
footer {
    text-align: center;
    background: linear-gradient(to bottom, white, #ffd691);
    padding: 20px;
}

footer a {
    cursor: pointer;
}

footer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2em;
}

footer ul li+li {
    border-left: 1px solid #c3c3c3;
}

footer ul li {
    display: inline-block;
    padding: 0 10px;
    line-height: 10px;
}

footer ul li a {
    text-decoration: none;
    font-size: 14px;
}

footer ul li a:hover {
    border: none;
}

footer .ch-link {
    margin-bottom: 2em;
}

footer .ch-link img {
    width: 90%;
    max-width: 300px;
    border: 2px solid #ff9340;
    border-radius: 10px;
    box-shadow: 2px 2px 5px #ccc;
    transition: .2s;
}

.ch-link img:hover {
    transform: translate(2px, 2px);
}

footer .logo {
    width: 80%;
    max-width: 300px;
}

p.copyright {
    font-size: 12px;
    margin-top: 1em;
    color: #898989;
}

@media (max-width: 767px) {
    p.copyright {
        font-size: 10px;
    }
}

/*jQuery*/

.fadein {
    opacity: 0;
    transform: translateY(3em);
}

.fade-left {
    opacity: 0;
    transform: translateX(-100px);
}

.active {
    opacity: 1;
    transform: translateY(0);
    transition: 1s;
}


