/* TABLE OF CONTENTS:
 * 00 どのサイズでも共通で適用されるスタイル
 *    - ビルボード
 *    - 子カテページのリンク（絵画）
 *    - 対応地域
 *    - 店舗案内
 * 
 * 01 幅 768px 未満
 *    - ビルボード
 *    - 子カテページのリンク（絵画）
 * 
 * 02 幅 768px 以上
 *    - 画像とテキストが左右に並ぶときに画像の位置を下げて開始位置を揃える
 *    - ビルボード
 *    - 対応地域
 *    - 店舗案内
 * 
 * 03 幅 1072px 以上
 *    - 
 *    - 
 * 
 */
/* --------------------------------------------------------------------------------------------------------
   00
 *
 * どのサイズでも共通で適用されるスタイル

  /* ビルボード */
  #mainImg {
    background-repeat: no-repeat;
    background-size: auto 100%;
    /* padding: 0 !important; */
}
#mainImg.omihachiman {
    padding: 1em 0 2.5em 0 !important;
}
#mainImg:not(.kimono).white {
    background-color: #f2ede4;
}

#mainImg.omihachiman > div {
    background-image: unset;
}

#mainImg:not(.kimono).kaiga > div,
#mainImg:not(.kimono).kakejiku > div {
    background-image: none;
}

#mainImg.white:not(.kimono) > div {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQImWN49eD8fwY4YGBgAAA3rwOZXEZYwAAAAABJRU5ErkJggg==);
}

  /* 子カテページのリンク（絵画） */
.kaiga-list p {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 2em;
}

.kaiga-list ul {
    border-top: 1px #CCC solid;
    border-left: 1px #CCC solid;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 0.5em !important;
}

.kaiga-list ul li {
    border-right: 1px #CCC solid;
    border-bottom: 1px #CCC solid;
    list-style: none;
}

.kaiga-list ul li > a {
    background-color: #eeeadd;
    color: #333333;
    text-decoration: none !important;
}

.kaiga-list ul li > a:hover {
    color: #df9200 !important;
}

.kaiga-list ul li > span {
    background-color: #FFF;
    color: #877848;
}

.kaiga-list ul li > a,
.kaiga-list ul li > span {
    display: block;
    padding-right: 0.5em;
    position: relative;
}

.kaiga-list ul li > a:after,
.kaiga-list ul li > span:after {
    content: "";
    display: block;
    background-image: url(../img/contents/sprite-thumb-painting.jpg);
    background-position: left top;
    height: 50px;
    width: 50px;
    margin: auto 0;
    position: absolute;
    top: 0;
    bottom: 0;
}

.kaiga-list ul li:first-child > a:after,
.kaiga-list ul li:first-child > span:after {
    background-position: left -50px;
}

.kaiga-list ul li.oil-painting > a:after,
.kaiga-list ul li.oil-painting > span:after {
    background-position: -50px -50px;
}

.kaiga-list ul li.watercolor-painting > a:after,
.kaiga-list ul li.watercolor-painting > span:after {
    background-position: -100px -50px;
}

.kaiga-list ul li.ink-painting > a:after,
.kaiga-list ul li.ink-painting > span:after {
    background-position: -150px -50px;
}

.kaiga-list ul li.japanese-painting > a:after,
.kaiga-list ul li.japanese-painting > span:after {
    background-position: left -100px;
}

.kaiga-list ul li.ukiyoe > a:after,
.kaiga-list ul li.ukiyoe > span:after {
    background-position: -50px -100px;
}

.kaiga-list ul li.print > a:after,
.kaiga-list ul li.print > span:after {
    background-position: -100px -100px;
}

.kaiga-list ul li.lithograph > a:after,
.kaiga-list ul li.lithograph > span:after {
    background-position: -150px -100px;
}

.kaiga-list ul li.abstract-painting > a:after,
.kaiga-list ul li.abstract-painting > span:after {
    background-position: left -150px;
}

.kaiga-list ul li.modern-art > a:after,
.kaiga-list ul li.modern-art > span:after {
    background-position: -50px -150px;
}

/* イントロ */
.intro h1 {
    font-size: 1.6rem;
}

.intro h1 span {
    font-size: 1.6rem;
}


/* 買取対象の絵画 */
.cate-child-list {
    display: block;
    font-family: 'Yu Mincho',YuMincho,'Hiragino Mincho ProN','Hiragino Mincho Pro','HGP明朝B',serif;

}
.cate-child-list .taisho-heading {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}
.cate-child-list ul {
    border-left: 1px solid #cccbc6;
    border-top: 1px solid #cccbc6;
    margin-top: 0.5em;
}
.cate-child-list ul li,
.cate-child-list ul li:nth-child(2n+1) {
    border-right: 1px solid #cccbc6;
    border-bottom: 1px solid #cccbc6;
    display: table;
    font-weight: bold;
    list-style: none;
    margin: 0;
    width: 50%;
}
.cate-child-list ul li a {
    background: #eeeade;
    color: #333;
    display: table-cell;
    font-family: ;
    font-size: 0.9em;
    line-height: 1.2em;
    padding: 4px;
    text-decoration: none;
}
.cate-child-list ul li a:hover {
    background: #fff;
    color: #877848;
}
.cate-child-list ul li a img {
    display: inline;
    height: 40px;
    margin-right: 1em;
    vertical-align: middle;
    width: 40px;
}
.cate-child-list ul li a span {
    display: inline-block;
    vertical-align: middle;
}


/* 絵画・掛軸の買取品目 */
.hinmoku h3 {
    margin-top: 1.5em;
    text-align: center;
}
.kaiga-hinmoku .genre-list li {
    border-color: #664a35;
    display: flex;
}
.kaiga-hinmoku .genre-list li a {
    display: flex;
    text-decoration: none;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.kaiga-hinmoku .genre-list li a span {
    background: #664a35;
    flex-grow: 1;
}

.kaiga-hinmoku table tr {
    display: flex;
    flex-wrap: wrap;
}
.kaiga-hinmoku table td {
    background: #ebeae8;
    border: 1px solid #fff;
    padding: 10px 8px;
    width: 50%;
    box-sizing: border-box;
}


/* 対象品目 */
.hinmoku .kaiga-hinmoku + .box .genre-list li:last-child {
    align-items: center;
    border: none;
    display: flex;
}

/* 売る時のチェック */
.point .catch {
    font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'HGP明朝B', serif;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 0.5em;
    text-align: left;
}

.point .catch span {
    font-size: 1.4em;
}


/* 対応地域 */
.outer.visit {
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.visit .area h3,
.visit .local h3 {
    border-bottom: 1px #333 solid;
    padding: 0.5em;
}

.outer .visit .local h3,
.outer .visit .station h3 {
    background: #e9e4d4;
    border: 0;
    border-radius: 5px;
    padding: .5em;
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) 12px;
}

.outer .visit .local h3.open,
.outer .visit .station h3.open {
}

.visit .station h3 {
    background: #e9e4d4;
    border-radius: 5px;
    padding: 0.5em;
}

.visit .list-wrap ul {
    margin-top: 1em;
    margin-bottom: 0;
}

.visit .list-wrap ul li {
    list-style: none;
    display: inline-block;
    text-align: center;
    padding: 0 0.5em;
}

.visit .list-wrap ul:not(.rosen) li {
    border-right: 1px #666 solid;
    border-left: 1px #666 solid;
    line-height: 1.2em;
    margin-left: -1px;
    width: 8em;
}

.visit .local ul li {
    list-style: none;
}

/* 店舗案内 */
#shop-info-heading {
    background: none;
    margin: 1.2em 0 0;
    padding: 0;
}


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

    /* ビルボード */
    #mainImg.kimono,
    #mainImg.kakejiku,
    #mainImg.kottou,
    #mainImg.kaiga,
    #mainImg.ceramics {
        background-position: center;
        background-size: cover;
        aspect-ratio: 39 / 35;
        display: flex;
        align-items: center;
    }
    #mainImg.omihachiman {
        aspect-ratio: 39/35;
        align-items: center;
        display: flex;
    }

    #mainImg:not(.kimono).white {
        background-image: none;
    }




    /* 子カテページのリンク（絵画） */
    .kaiga-list ul li {
        width: 50%;
    }

    .kaiga-list ul li > a,
    .kaiga-list ul li > span {
        display: flex;
        align-items: center;
        height: 50px;
        padding-left: 50px;
    }

    .kaiga-list ul li > a:after,
    .kaiga-list ul li > span:after {
        -webkit-transform: scale(0.8);
        -ms-transform: scale(0.8);
        transform: scale(0.8);
        left: 0;
    }

    .kaiga-list,
    .kokate-list {
        margin-bottom: 50px;
    }

    /* 対象品目 */
    .hinmoku p img[src*="-sonota"] {
        margin-bottom: -50px;
        vertical-align: bottom;
    }



    /* 対応地域 */
    .outer.visit {}


   /* 店舗案内 */
   #shop-info-heading {
   }

}

/* End max 767px */



/* --------------------------------------------------------------------------------------------------------
   02
 *
 * 幅 768px 以上
 */
@media screen and (min-width: 48em) {
    /* 画像とテキストが左右に並ぶときに画像の位置を下げて開始位置を揃える */
    .img-r .image, .img-l .image {
        padding-top: 1.3em;
    }

    /* ビルボード */

    #mainImg {
        background-size: auto;
    }

    /* #mainImg:not(.kimono).kakejiku {
        background-color: #554f3f;
        background-image: url(/wp-content/themes/twentyseventeench/img/bg/kakejiku-bil-bg-l.png), url(/wp-content/themes/twentyseventeench/img/bg/kakejiku-bil-bg.jpg);
        background-position: calc(50% - 672px) center, center center;
        background-size: auto, auto, cover;
        height: 525px;
    } */

    #mainImg.omihachiman {
        background-image: url(/wp-content/themes/twentyseventeench/img/contents/bil-bg-pc.webp);
        background-position: center;
        background-size: cover;
    }
    #mainImg > div {
        padding: 1em;
    }

    #mainImg.kimono  > div,
    #mainImg.kakejiku > div,
    #mainImg.kottou > div,
    #mainImg.kaiga > div,
    #mainImg.ceramics > div,
    #mainImg.old-coin > div     {
        padding: 1em 0 0 0;
    }

    #mainImg.kimono {
        background-image: url(/wp-content/themes/twentyseventeench/img/contents/bil-bg-pc.webp);
    }

    #mainImg:not(.kimono).white > div {
        padding-top: 0.5em !important;
    }



    /* イントロ */
    .intro h1 span {
        font-size: 2.5rem;
    }
    #content .intro h1 + p {
        margin-left: auto;
        margin-right: auto;
        max-width: 768px;
        width: 100%;
    }

    /* 子カテページのリンク（絵画） */
    .kaiga-list ul li {
        width: 25%;
    }

    .kaiga-list ul li > a,
    .kaiga-list ul li > span {
        display: flex;
        align-items: center;
        height: 70px;
        padding-left: 80px;
        font-size: 1.2em;
    }

    .kaiga-list ul li > a:after,
    .kaiga-list ul li > span:after {
        left: 10px;
    }

    /* 買取対象の絵画 */
    .cate-child-list ul li,
    .cate-child-list ul li:nth-child(2n+1) {
         width: 25%;
     }



    /* 絵画・掛軸の買取品目 */
    .hinmoku h2 {
        padding-bottom: 0;
    }
    .hinmoku h2[id*=-heading]+p.txt-c {
        padding-bottom: 0;
    }
    .hinmoku h3 {
        font-size: 1.6em;
    }
    #content .hinmoku ul {
        margin-top: 0.3em;
    }
    .kaiga-hinmoku .genre-list li {
        display: block;
    }
    .kaiga-hinmoku .genre-list li a {
        display: block;
    }

    .kaiga-hinmoku table tr {
        display: table-row;
        flex-wrap: wrap;
    }
    .kaiga-hinmoku table td {
        width: 25%;
    }


    /* 対象品目 */
    .hinmoku p img[src*="-sonota"] {
        margin-bottom: -100px;
        vertical-align: bottom;
    }
    .hinmoku .kaiga-hinmoku + .box .genre-list li span {
        font-family: 'Yu Mincho',YuMincho,'Hiragino Mincho ProN','Hiragino Mincho Pro','HGP明朝B',serif;
        font-size: 1.2em;
        font-weight: bold;
    }
    .hinmoku .kaiga-hinmoku + .box .genre-list li:last-child {
        font-size: 18px;
        justify-content: center;
        text-align: center;
        width: 74.5%;
    }

    .kaiga-list,
    .kokate-list {
        margin-bottom: 100px;
    }

    section[id$="-hinmoku"] > p.other-hinmoku {
        font-size: 1.6em;
    }

    .kaiga-hinmoku .other-hinmoku {
        text-align: center;
    }

    /* 対応地域 */
    .outer.visit {
        background-image: url(../img/bg/ci-visitbg-l.png), url(../img/bg/ci-visitbg-r.png);
        background-position: left center, right center;
    }

    .visit h3 {
        text-align: center;
    }

    .outer .visit .station h3,
    .outer .visit .local h3,
    .outer .visit .local h3.open,
    .outer .visit .station h3.open {
        background-image: none;
    }

    .visit .list-wrap ul.rosen {
        text-align: center;
    }




    /* 店舗案内 */
    #shop-info-heading {
    }


}

/* End min 768px */


/* --------------------------------------------------------------------------------------------------------
   03
 *
 * 幅 1072px 以上
 */
@media screen and (min-width: 67em) {
/* 買取対象の絵画 */
  .cate-child-list ul li a {
    font-size: 1.2em;
    padding: 8px;
  }
  .cate-child-list ul li a img {
    height: 50px;
    width: 50px;
  }
/* End min 1072px */
