@charset "utf-8";

/* home.css
 * ************************************************** */

body {
    background-color: #ffffff;
}

/* mainvisual */
#mainvisual {
    margin: 0 auto;
    text-align: center;
    width: 1050px;
}

/* content */
#content {
    display: block;
}

/* heading */
#content h2,
#content h3 {
    font-weight: 500;
    line-height: 1.6;
    line-height: 1.6;
}

/* news */
#content .news h2 {
    font-size: 2.2rem;
}

#content .news .whatsNew {
    border: 1px solid #999999;
    height: 170px;
    margin: 20px 0 0 0;
    overflow: auto;
    padding: 24px 18px 24px 24px;
}

#content .news .whatsNew dl {
    align-items: flex-start;
    display: flex;
    font-size: 1.6rem;
    line-height: 2;
    padding: 2px 0
}

#content .news .whatsNew dl dt {
    color: var(--main-color);
    font-weight: 400;
    width: 140px;
}

#content .news .whatsNew dl dd {
    flex: 1;
}

#content .news .toList {
    margin: 9px 0 0 0;
    text-align: right;
}

#content .news .toList span {
    background: url(../images/common/arrow_tolist.svg) no-repeat left 0.26em;
    background-size: 1.06em;
    padding: 0 0 0 1.6em;
}

/* trialBtn */
#content .trialBtn {
    width: 490px;
    margin-top: 20px;
}
#content .trialBtn a:hover{
    opacity: 0.8;
}

/* menuList */
#content .menuList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0 0 0;
}

#content .menuList .menu {
    margin: 50px 0 0 0;
    width: 465px;
}

#content .menuList .menu h2 {
    font-size: 2.0rem;
    margin: 0 0 8px;
}

#content .menuList .menu img {
    width: 240px;
}

#content .menuList .menu .item {
    align-items: flex-start;
    display: flex;
}

#content .menuList .menu .item ul {
    margin: 0 0 0 15px;
}

#content .menuList .menu .item ul li {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

#content .menuList .menu .item ul li+li {
    margin-top: 15px;
}

#content .menuList .menu .item ul li a {
    position: relative;
    text-decoration: underline;
}

#content .menuList .menu .item ul li a[href*=".pdf"]::after {
    background: url(../images/common/icon_pdf.svg) no-repeat;
    background-size: 100%;
    content: '';
    display: inline-block;
    height: 1.21em;
    margin: 0 0 0 0.3em;
    vertical-align: -0.25em;
    width: 1.07em;
}

#content .menuList .menu .item ul li a[href^="http"]::after {
    background: url(../images/common/icon_external.svg) no-repeat;
    background-size: 100%;
    content: '';
    display: inline-block;
    height: 1.07em;
    margin: 0 0 0 0.3em;
    vertical-align: -0.1em;
    width: 1.07em;
}

/* banner */
#content .banner {
    margin: 80px 0 0 0;
}

#content .banner ul {
    margin: 0 -13px 0 0;
    overflow: hidden;
}

#content .banner ul li {
    float: left;
    margin: 10px 13px 0 0;
    width: 230px;
}

#content .banner ul li a:hover {
    opacity: 0.5;
}

/* bannerList */
/* 花園指定管理共通（色違い） */
#content .bannerList {
    margin: 90px 0 0 0;
}

#content .bannerList h3 {
    border-bottom: 4px solid #A0D8EF;
    font-size: 2.0rem;
    margin: 0 0 10px;
    padding: 0 0 0.2em;
}

#content .bannerList h3:not(:first-child) {
    margin-top: 58px;
}

#content .bannerList h3 span {
    font-size: 0.8em;
}

#content .bannerList ul {
    list-style: none;
    margin: 0 -13px 0 0;
    overflow: hidden;
}

#content .bannerList ul li {
    float: left;
    margin: 10px 13px 0 0;
    width: 230px;
}

#content .bannerList ul li a:hover {
    opacity: 0.5;
}

/* contentBtm */
#contentBtm {
    margin: 45px auto 0;
    width: 960px;
}

/* btmLink */
#contentBtm .btmLink {
    padding: 40px 0;
}

#contentBtm .btmLink ul {
    display: flex;
    justify-content: flex-end;
}

#contentBtm .btmLink ul li {
    background: url(../images/common/arrow_assist.svg) no-repeat left top 0.32em;
    background-size: 0.66em;
    margin: 0 0 0 30px;
    padding: 0 0 0 20px;
}

/* stickyOpas */
#stickyOpas {
    position: fixed;
    top: 136px; right: 0;
    width: 80px;
    z-index: 1;
}

/* Media Queries
-------------------------------------------------- */

@media only screen and (max-width: 767px) {

    /* mainvisual */
    #mainvisual {
        width: 100%;
    }

    /* content */
    #content {
        padding: 7.46% 2.66% 9.33%;
    }

    /* news */
    #content .news h2 {
        font-size: clamp(1.9rem, 5.93vw, 2.5rem);
    }

    #content .news .whatsNew {
        margin-top: 2.25%;
        padding: 2.81% 2.81% 2.81% 4.22%;
    }

    #content .news .whatsNew dl {
        display: block;
        font-size: clamp(1.3rem, 4.06vw, 1.7rem);
        line-height: 1.5;
        padding: 0.57em 0;
    }

    #content .news .whatsNew dl dt {
        width: auto;
    }

    #content .news .whatsNew dl dd {
        margin: 1.21% 0 0 0;
    }

    /* trialBtn */
    #content .trialBtn {
        width: 100%;
    }
    #content .trialBtn a:hover{
        opacity: 1;
    }

    /* menuList */
    #content .menuList {
        margin-top: 0;
    }

    #content .menuList .menu {
        margin-top: 9.85%;
        width: 100%;
    }

    #content .menuList .menu .item img {
        width: 50%;
    }

    #content .menuList .menu .item ul {
        margin-left: 4.22%;
    }

    #content .menuList .menu .item ul li {
        font-size: clamp(1.3rem, 4.06vw, 1.7rem);
        line-height: 1.5;
    }

    #content .menuList .menu .item ul li+li {
        margin-top: 0.57em;
    }

    /* banner */
    #content .banner {
        margin-top: 40px;
    }

    #content .banner ul {
        margin-right: 0;
    }

    #content .banner ul li {
        float: left;
        margin: 2% 0 0 0;
        width: 48.63%;
    }

    #content .banner ul li:nth-child(even) {
        float: right;
    }

    /* bannerList */
    /* 花園指定管理共通 */
    #content .bannerList {
        margin-top: 10%;
    }

    #content .bannerList h3 {
        font-size: 1.6rem;
    }

    #content .bannerList h3:not(:first-child) {
        margin-top: 10%;
    }

    #content .bannerList h3 span {
        display: block;
    }

    #content .bannerList ul {
        margin-right: 0;
    }

    #content .bannerList ul li {
        margin: 2% 2.74% 0 0;
        width: 48.63%;
    }

    #content .bannerList ul li:nth-child(even) {
        margin-right: 0;
    }

    #content .bannerList ul li a:hover {
        opacity: 0.8;
    }

    /* btmLink */
    #contentBtm {
        margin-top: 0;
        width: 100%;
    }

    /* btmLink */
    #contentBtm .btmLink {
        padding: 6.66% 2.66%;
    }

    #contentBtm .btmLink ul {
        justify-content: center;
    }

    #contentBtm .btmLink ul li {
        font-size: clamp(1.1rem, 3.43vw, 1.4rem);
        letter-spacing: 0;
        margin: 0;
        padding: 0 1.23em;
    }

    /* stickyOpas */
    #stickyOpas {
        top: 65px;
        width: 60px;
    }
}