.aicity-store-seo{
    margin:18px 0 0;
    padding:13px 15px;
    background:#f7f7f7;
    border:1px solid #e8e8e8;
    border-radius:4px;
    box-shadow:none;
    color:#888;
    font-size:12px;
    line-height:1.8;
}

.aicity-store-seo-heading{
    margin:0 0 9px;
    padding:0;
    border:0;
    background:none;
    color:#555;
    font-size:15px;
    line-height:1.5;
    font-weight:600;
}

.aicity-store-seo-body{
    position:relative;
    color:#888;
}

.aicity-store-seo-body p{
    margin:0 0 .8em;
}

.aicity-store-seo-body p:last-child{
    margin-bottom:0;
}

.aicity-store-seo-body a,
.aicity-store-seo-related a{
    color:#888;
    text-decoration:none;
}

.aicity-store-seo-body a:hover,
.aicity-store-seo-body a:focus,
.aicity-store-seo-related a:hover,
.aicity-store-seo-related a:focus{
    color:#666;
    text-decoration:underline;
}

.aicity-store-seo[data-store-seo-ready="1"]
.aicity-store-seo-body.is-collapsible:not(.is-open){
    max-height:5.4em;
    overflow:hidden;
}

.aicity-store-seo[data-store-seo-ready="1"]
.aicity-store-seo-body.is-collapsible:not(.is-open):after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:2em;
    background:linear-gradient(
        rgba(247,247,247,0),
        #f7f7f7
    );
}

.aicity-store-seo.has-collapsible[data-store-seo-ready="1"]
[data-store-seo-extra]{
    display:none;
}

.aicity-store-seo.has-collapsible[data-store-seo-ready="1"].is-open
[data-store-seo-extra]{
    display:block;
}

.aicity-store-seo-toggle,
.aicity-store-seo-related-toggle{
    display:block;
    width:100%;
    box-sizing:border-box;
    margin:9px 0 0;
    padding:6px 10px;
    border:1px solid #ddd;
    border-radius:2px;
    background:#fafafa;
    color:#888;
    font-size:12px;
    line-height:1.5;
    cursor:pointer;
}

.aicity-store-seo-toggle:hover,
.aicity-store-seo-toggle:focus,
.aicity-store-seo-related-toggle:hover,
.aicity-store-seo-related-toggle:focus{
    background:#f3f3f3;
    color:#666;
}

.aicity-store-seo-faq,
.aicity-store-seo-related{
    margin-top:15px;
    padding-top:12px;
    border-top:1px solid #e3e3e3;
}

.aicity-store-seo h3{
    margin:0 0 7px;
    color:#666;
    font-size:13px;
    line-height:1.5;
    font-weight:600;
}

.aicity-store-seo-faq-item{
    border-top:1px solid #e4e4e4;
}

.aicity-store-seo-faq-item:last-child{
    border-bottom:1px solid #e4e4e4;
}

.aicity-store-seo-faq-item button{
    width:100%;
    padding:8px 2px;
    border:0;
    background:transparent;
    color:#777;
    text-align:left;
    font:inherit;
    font-size:12px;
    font-weight:500;
    line-height:1.7;
    cursor:pointer;
}

.aicity-store-seo-faq-answer{
    padding:0 8px 9px;
    color:#888;
}

.aicity-store-seo-faq-answer p{
    margin:0;
}

.aicity-store-seo-related-group{
    margin:0;
    padding:0;
}

.aicity-store-seo-related-group h4{
    margin:9px 0 3px;
    color:#666;
    font-size:12px;
    line-height:1.5;
    font-weight:600;
}

.aicity-store-seo-related-group ul{
    display:flex;
    flex-wrap:wrap;
    gap:2px 11px;
    margin:0;
    padding:0;
    list-style:none;
}

.aicity-store-seo-related-group li{
    color:#888;
    font-size:12px;
    line-height:1.7;
}

.aicity-store-seo[data-store-seo-ready="1"]
.aicity-store-seo-related-group.is-secondary{
    display:none;
}

.aicity-store-seo-related.is-open .is-secondary{
    display:block!important;
}

@media(max-width:640px){
    .aicity-store-seo{
        margin-top:14px;
        padding:12px;
        font-size:12px;
        line-height:1.75;
    }

    .aicity-store-seo-heading{
        font-size:14px;
    }

    .aicity-store-seo-related-group ul{
        display:block;
    }

    .aicity-store-seo-related-group li{
        margin:3px 0;
    }
}

/* Store SEOの開閉操作は補助的に見せる */
.aicity-store-seo-toggle{
    width:auto;
    min-width:88px;
    margin:8px auto 0;
    padding:3px 12px;
    border-color:#e2e2e2;
    background:transparent;
    color:#999;
    font-size:11px;
    line-height:1.5;
}

.aicity-store-seo-toggle:hover,
.aicity-store-seo-toggle:focus{
    background:#f3f3f3;
    color:#777;
}

/* 関連リンクの追加表示も同じトーンにする */
.aicity-store-seo-related-toggle{
    width:auto;
    min-width:110px;
    margin:8px auto 0;
    padding:3px 12px;
    border-color:#e2e2e2;
    background:transparent;
    color:#999;
    font-size:11px;
    line-height:1.5;
}
