/* カスタマイズ用CSS */

/* フォント 読み込み*/
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* フォント指定 */

/*
body {
    font-family: 'Noto+Sans+JP';
}
*/

.fontLato700 {
    font-family: Lato;
    /*font-weight: 700;*/
    font-weight: 400;
}

.fontLato400 {
    font-family: Lato;
    font-weight: 400;
}

html {
    font-size: 62.5%;
}

/* 各タイトル部分 */
.block-title-green,
.block-title-yellow {
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
} 

@media only screen and (min-width: 768px) {
    .block-title-green,
    .block-title-yellow {
    font-size: 2.8rem;        
    }
}
.block-title-green {
    background: #84DCC6;
}

.block-title-yellow {
    background: #FAB100;
}
/* MainVisual */
.ec-headerTitle__title {
    width: 30%;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    .ec-headerTitle__title {
    width: 25%;
    }
}

.ec-itemNav__nav li a {
    color: #333;
    font-weight: normal;
}

.ec-sliderRole,
.ec-layoutRole .ec-layoutRole__contents{
    max-width: 100%; 
}

.ec-sliderRole{
   padding-left: 0; /* 20px; */
   padding-right: 0; /* 20px; */
}

/* バナー */
.ec-topicRole {
    background: #fff;
}

@media only screen and (max-width: 767px) {
    .ec-topicRole {
        padding: 0;
    }
}
/* おすすめ */
/*これを使うと下層のテキストにも影響のため削除
.ec-shelfGrid a {
    color: #fff;
}
*/

.recommendGrid a {
    color: #fff;
}


.Btn-recommend {
    background-color: #FAB100;
    border: 1px solid #FAB100;
    transition: background-color 0.5s, color 0.5s;
}
/*
.Btn-recommend:hover,
.Btn-recommend:active {
    background-color: #fff;
    border: 1px solid #FAB100;
    color: #FAB100;
}
*/
.recommend-text,
.recommend-name {
    color: #333;
    font-weight: normal;
    text-align: center;
}
.recommend-text {
    margin-top: 2rem;
    font-size: 1.2rem;
}
.recommend-name {
    margin-top: 1rem;
}
    
@media only screen and (min-width: 768px) {
    .ec-shelfGrid .ec-shelfGrid__item:nth-child(odd),
    .ec-shelfGrid .ec-shelfGrid__item:nth-child(even) {
        padding: 0 3.5rem;
        margin-top: 1rem;
   }
   .ec-shelfGrid {
        margin-top: 5rem;
   }
   .Btn-recommend:hover,
   .Btn-recommend:active {
    background-color: #fff;
    border: 1px solid #FAB100;
    color: #FAB100;
    }
    .recommend-text {
    font-weight: 500;
    }
    .recommend-name{
    font-weight: 600;    
    }
}

/* IPhone */
.Btn-white-wrap {
    text-align: center;
}

.Btn-white {
    background-color: #fff;
    border: 1px solid #333;
    color: #333;
    transition: background-color 0.5s, color 0.5s;
    width: 80%;
    margin-top: 3rem;
}

.ec-IPhone__listItem ul {
    list-style: none;
}
.ec-IPhone__listItem a {
    text-decoration: none;
    color: #333;
}

.ec-IPhone__listItem li {
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.ec-IPhone__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ec-IPhoneRole .list-image {
    flex-grow: 2;
}
.ec-IPhoneRole .list-text {
    flex-grow: 1;
}

.arrow,
.btnicon {
    margin-left: 10px;
}
.arrow{
    position: relative;
    display: inline-block;
    padding: 0 0 0 16px;
    color: #333;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
}
.arrow::before,
.arrow::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

.btnicon::before{
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.btnicon::after{
    left: 6px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media only screen and (min-width: 768px) {
    .ec-IPhone__list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        align-items: center;
    }
    .ec-IPhone__listItem li {
        margin: 3rem;
        font-size: 2rem;
    }
    .Btn-white {
        margin-top: 5rem;
        width: 50%;
        padding: 1.5rem 0;
        font-size: 1.6rem
    }
    .ec-role {
    margin-top: 7rem;
    }
    .Btn-white:hover,
    .Btn-white:active {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
    }
}

@media only screen and (max-width: 767px) {
    .list-text{
        margin-top: 2rem;
    }
}

/* カテゴリー */
.ec-categoryRole {
    background: #fff;
}

.ec-categoryRole__listItem a{
    text-decoration: none;
    color: #333;
    text-align: center;
}

.ec-categoryRole__listItem {
    padding: 1rem 2rem;
}

.category-title {
    margin-top: 2rem;
    font-weight: bold;
}

@media only screen and (min-width: 768px) {
    .ec-categoryRole .ec-categoryRole__list {
        flex-wrap: wrap;
        margin: 0 5rem;
    }
    .ec-categoryRole .ec-categoryRole__listItem:not(:last-of-type) {
        margin-right: 0;
    }
    .ec-categoryRole__listItem {
    padding: 3rem 7rem;
    }
    .ec-categoryRole {
    padding: 7rem 0;
    }
    .ec-categoryRole__listItem img {
       transition-duration: 0.5s;
    }
    .ec-categoryRole__listItem img:hover {
       transform: scale(1.15);
    }
    .category-list-img {
        overflow: hidden;
    }
}


@media only screen and (max-width: 768px) {
        .ec-categoryRole .ec-categoryRole__listItem  {
        width: 50%;
    }
}    
    


/* フッター */
.ec-footerRole {
    background: #84DCC6;
    border-top: none; 
}

.ec-footerRole .ec-footerRole__inner img {
    width: 100%;
}

.ec-footerTitle .ec-footerTitle__logo {
    width: 40%;
    margin: 0 auto;
    margin-bottom: 2rem;
}

@media only screen and (max-width: 767px) {
.ec-footerNavi .ec-footerNavi__link a {
    border-bottom: 1px solid #fff;
    }
}
    
@media only screen and (min-width: 768px) {
    .ec-footerTitle .ec-footerTitle__logo  {
    margin-bottom: 5rem;
    width: 25%;
    }
}