@charset "UTF-8"; /*ギャラリーシングルレイアウトパターン2 .dlt_lay_gallery_single .dlt_inner, .dlt_lay_gallery_single .dlt_td1, .dlt_lay_gallery_single .dlt_td2{ display: block !important; float:none !important; clear: both !important; width: 100% !important; margin-bottom: 0; } .dlt_lay_gallery_single{ width: 100%; overflow: hidden; margin-bottom: 40px; } .dlt_lay_gallery_single .dlt_mainimg{ width: 100% !important; //任意 height: 340px !important; //任意 } .dlt_lay_gallery_single .dlt_mainimg a img{ max-height: 320px !important; //任意 pxで指定 } .dlt_lay_gallery_single .dlt_thumimg{ margin: 0 auto 15px !important; } */ /* #システム以外 ============================================*/ // バナー非表示 #under_contact { img[src="/seikatsu-sc/images/zensoren-logo.gif"] { display: none; } } // ナビゲーション .archive.tax-mygallery_cat { .case-nav-cat { display: none; } } .archive.post-type-archive { .case-nav-tax { display: none; } } /* #記事一覧 ============================================*/ .case-wrap { margin: 0 0 30px; } .cat-title { .cat-title__text { font-weight: bold; font-family: -apple-system, 'Helvetica Neue', '游ゴシック Medium', 'メイリオ', meiryo, sans-serif; letter-spacing: 3px; font-size: 18px; padding: 5px 8px; color: #fff; background: #f5b875; /* Old browsers */ background: -moz-linear-gradient(top, #f5b875 0%, #f5b875 44%, #ef8c1a 49%, #f09c3c 53%, #f09c3c 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(top, #f5b875 0%,#f5b875 44%,#ef8c1a 49%,#f09c3c 53%,#f09c3c 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, #f5b875 0%,#f5b875 44%,#ef8c1a 49%,#f09c3c 53%,#f09c3c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5b875', endColorstr='#f09c3c',GradientType=0 ); /* IE6-9 */ &:nth-of-type(3n+1) { background-color: blue; } } } .case-list { display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; flex-wrap: wrap; -webkit-flex-wrap: wrap; .case-list__item { width: 330px; box-sizing: border-box; border: 1px solid #959495; padding: 10px 11px; margin: 0 20px 18px 0; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; justify-content: space-between; -webkit-justify-content: space-between; &:nth-of-type(2n) { margin: 0 0 18px 0; } .case-list__img { width: 161px; img { width: auto; height: auto; max-width: 100%; } } .case-list__content { width: 138px; .case-list__title { text-align: center; margin: 0 0 10px; img { width: auto; height: auto; max-width: 100%; } h4 { font-size: 15px; width: 100%; box-sizing: border-box; padding: 5px; background-color: #D697B4; color: #fff; border-radius: 6px; text-align: center; margin: 0 !important; font-family: -apple-system, 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', 'メイリオ', meiryo, sans-serif; } } .archive-date { margin: 0 0 10px; } } } } /* #記事詳細 ============================================*/ // ナビゲーション非表示 .single-mygallery { .case-nav-cat, .case-nav-tax { display: none; } } // 全体 .dlt_lay_gallery_single { box-sizing: border-box; padding: 20px 18px 28px; margin-bottom: 35px; border: 1px solid #959495; .dlt_inner { margin: 0; } } // 見出し画像 .single-title { .single-title__img { img { width: auto; height: auto; max-width: 100%; } } } // 葬儀の日などの項目 .case-date { .case-date__list { display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; margin: 0 0 10px; width: 643px; & > dl { margin: 0; width: 33%; box-sizing: border-box; padding: 0 5px 0 0; } &--1clm { display: block; dl { width: 100%; } } } .case-date__title { font-size: 17px; font-weight: bold; color: #FF9F3B; padding: 5px 0; } .case-date__text { font-size: 18px; padding: 5px 0; } } // 画像表示部 .case-gallery { .mainimg { margin: 0 0 10px; width: 643px; img { display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; } } .img-list { display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; flex-wrap: wrap; -webkit-flex-wrap: wrap; width: 643px; .img-list__item { width: 315px; margin: 0 12px 12px 0; &:nth-of-type(2n) { margin: 0 0 12px 0; } a { img { width: auto; height: auto; max-width: 100%; } } } } } .msg-img { text-align: center; }