/* TABLE OF CONTENTS:
 *
 * 00 �ǂ̃T�C�Y�ł����ʂœK�p�����X�^�C��
 *    - �r���{�[�h
 *    - �V�����
 *    - �C���g��
 * 01 �� 768 ����
 *    - �r���{�[�h
 *    - �C���g��
 *    - �V�����
 * 02 �� 480px �ȏ�
 * 03 �� 768px �ȏ�
 *    - �r���{�[�h
 *    - �V�����
 * 04 �� 880px �ȏ�
 *    - �r���{�[�h
 * 05 �� 1072px �ȏ�
 *    - �C���g��
 * 06 �� 1264px �ȏ�
 *    - �C���g��
 */

/* --------------------------------------------------------------------------------------------------------
   00
 *
 * �ǂ̃T�C�Y�ł����ʂœK�p�����X�^�C��
 */


/* �r���{�[�h */
#mainImg > div {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

#mainImg picture {
    display: block;
    width: 100%;
}

#mainImg picture img {
    width: 100%;
}

@media all and (-ms-high-contrast: none) {
    #mainImg picture {
      text-align: center;
    }
    #mainImg picture ~ p {
        margin-top: 0 !important;
    }
}



/* �V����� */
.outer.news {
    background: #242424;
    padding: 0 !important;
}

#news {
    margin-top: 0;
}
#news dl .news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#news dl dd:not(.more), #news dl dd:not(.more) a {
    color: #fff;
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#news dl,
#news dl dd {
    margin: 0;
}

#news dl dt {
    background: #E01300;
    border-radius: 5px;
    color: #FFF;
    display: inline-block;
    font-size: 0.9em;
    font-weight: normal;
    padding: 0.2em 0.5em;
    height: fit-content;
    min-width: 5rem;
    text-align: center;
}

#news dl dd:not(.more),
#news dl dd:not(.more) a {
    color: #FFF;
}

#news dl dd.more {
    font-size: 0.750rem;
    display: flex;
    justify-content: end;
}
#news dl dd.more a {
    padding: 0 0.5em;
    background: #FFF;
    border: 1px #777777 solid;
    border-radius: 2px;
    color: #E01300;
    display: flex;
    flex-direction: row;
    width: fit-content;
}

#news dl dd.more a:after {
    right: 0;
}


.outer.news {
    background: #242424;
    padding: 0 !important;
}

#news {
    margin-top: 0;
}

#news dl,
#news dl dd {
    margin: 0;
}

#news dl dt {
    background: #E01300;
    border-radius: 5px;
    color: #FFF;
    display: inline-block;
    font-size: 0.9em;
    font-weight: normal;
    padding: 0.2em 0.5em;
}

#news dl dd:not(.more),
#news dl dd:not(.more) a {
    color: #FFF;
}

/* 追加：news-itemの dd に余白指定する場合 (任意) */
#news .news-item dd {
    margin-left: 0.5em;
}

/* ← NEW：一覧リンク用 */
#news .more {
    text-align: right;
    margin-top: 0.5em;
}

#news .more a {
    font-size: 0.75rem;
    padding: 0 0.5em;
    background: #FFF;
    border: 1px #777 solid;
    border-radius: 2px;
    color: #E01300;
    display: inline-block;
    text-decoration: none;
}

/* 矢印アイコンなどが必要ならここに追加 */
#news .more a:after {
    content: " ›";
}



/* �C���g�� */
.pickup-wrap {
    border-radius: 20px;
    margin-top: 80px !important;
    padding: 0 1em 1em;
    position: relative;
    z-index: 1;
}

.pickup-wrap:before {
    content: "";
    display: block;
    background: url(../img/top/intro-bg.png) center bottom no-repeat;
    margin: 0 auto;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.pickup-wrap:after {
    content: "";
    display: block;
    background-image: url(../img/top/intro-image.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    position: absolute;
    bottom: 10px;
    right: -10px;
    height: 377px;
    width: 56px;
}

.pickup-wrap ul {
    max-width: 840px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 30px;
}

.pickup-wrap ul li {
    list-style: none;
}

.pickup-wrap ul + p {
    padding-right: 30px;
}


/* --------------------------------------------------------------------------------------------------------
   01
 *
 * �� 768px ����
 */
@media screen and (max-width: 767px) {



    /* �r���{�[�h */
    #mainImg {
        background: url(../img/top/bil-bg-w375.png) center no-repeat;
        background-size: 100% 100%;
    }
    #mainImg > div > ul > li{
        margin: 0;
        list-style: none;
    }
    #mainImg > div > p{
        margin-bottom: 0;
    }

    /* �V����� */
    #news dl {
        position: relative;
        padding: 1.5vw 2vw;
    }

    #news dl dd:not(.more) {
        margin-top: 0.1em;
        padding: 0.1em;
    }

    #news dl dd:not(.more) a {
        display: block;
    }

    #news dl dd.more {
        display: inline-block;
        position: absolute;
        top: 1.5vw;
        right: 2vw;
    }


    /* �C���g�� */
    .pickup-wrap:before {
        background-size: 100% 100%;
        right: -3vw;
        left: -3vw;
    }


}

/* End max 767px */



/* --------------------------------------------------------------------------------------------------------
   02
 *
 * �� 480px �ȏ�
 */
@media screen and (min-width: 30em) {

    #news dl .news-item {
        flex-wrap: nowrap;
    }
    #news dl dt {
        margin-right: 0.2rem;
    }
}

/* End min 480px */



/* --------------------------------------------------------------------------------------------------------
   03
 *
 * �� 768px �ȏ�
 */
@media screen and (min-width: 48em) {



    /* �r���{�[�h */
    #mainImg {
        background: url(../img/top/bil-bg.png) center no-repeat;
        background-size: cover;
    }

    #mainImg > div {
        text-align: left;
    }

    #mainImg picture ~ p {
        font-size: 1.5em;
        font-weight: bold;
        text-align: center;
        margin: -13vw 0 0;
        height: 100%;
    }

    #mainImg picture ~ ul {
        max-width: 60%;
        margin-right: auto;
        margin-left: auto;
        aspect-ratio: 44 / 5;
        height: 100%;
    }

    #mainImg picture ~ ul li {
        text-align: center;
        list-style: none;
        margin-top: 0;
    }


    /* �V����� */
    .outer.news {
    	height: 100%;
    }
    #news dl {
        display: block;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        max-width: 1000px;
        padding: .8em 0.2em;
    }

    #news dl dt {}

    #news dl dd:not(.more) {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        padding: 0 1em;
    }

    #news dl dd:not(.more) span {
        display: inline-block;
        margin-right: 1em;
        font-size: 0.8em;
    }

    #news dl dd.more {
        padding: 0 1.5em;
    }



    /* �C���g�� */
    #concept h1 {
        text-align: center;
        font-size: 36px;
    }

    .pickup-wrap:after {
        width: 116px;
    }

    .pickup-wrap ul {
        padding-right: 90px;
    }

}

/* End min 768px */



/* --------------------------------------------------------------------------------------------------------
   04
 *
 * �� 880px �ȏ�
 */
@media screen and (min-width: 55em) {



    /* �r���{�[�h */
    #mainImg picture ~ p {
        margin-top: -110px;
    }

    #mainImg picture ~ ul {
        max-width: 660px;
    }

}

/* End min 880px */



/* --------------------------------------------------------------------------------------------------------
   05
 *
 * �� 1072px �ȏ�
 */
@media screen and (min-width: 67em) {


    /* �C���g�� */
    .pickup-wrap:before {
        background-size: 100% 100%;
        right: calc((50vw - 500px) * -1);
        left: calc((50vw - 500px) * -1);
    }


}

/* End min 1072px */



/* --------------------------------------------------------------------------------------------------------
   06
 *
 * �� 1264px �ȏ�
 */
@media screen and (min-width: 79em) {



    /* �C���g�� */
    .pickup-wrap:after {
        right: -100px;
        width: 186px;
    }

    .pickup-wrap ul {
        padding-right: 30px;
    }


}

/* End min 1264px */
