@charset "utf-8"; /* =========================================================================================== 初期設定 =========================================================================================== */ @color_main: #372616;//メインカラー @color_effect: #E67676;//差し色 @color_effect2: #E67676;//差し色2 @color_bg: #f8f7f1;//薄め背景色 @color_gray: #f5f5f5;//グレー @color_border: #ccc;//ボーダーカラー @color_h4_border: #dfdfdf;//h4ボーダーボトムカラー .transitionCom { -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; -o-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out; } .opacityCom(@filter,@opacity) { filter: alpha(opacity=@filter); -moz-opacity: @opacity; opacity: @opacity; } /* =========================================================================================== タイトル設定 =========================================================================================== */ .dlt_h3 { text-align: left; clear: both; margin-bottom: 50px; border-bottom: 1px solid #eee; color: #080808; font-size: 160%; } .dlt_h4 { font-weight: bold; font-size: 140%; width: 100%; height: auto; border-bottom: 4px solid @color_h4_border; margin-bottom: 15px; padding-bottom: 5px; } /* =========================================================================================== SEO設定 =========================================================================================== */ .dlt_free { overflow: hidden; margin-bottom: 15px; text-align: left; clear: both; } .dlt_free, .dlt_free * { font-size: 13px !important; line-height: 160% !important; /*font-family: "メイリオ", "Meiryo", "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS P Gothic", Verdana,Arial, Helvetica, sans-serif;*/ } .dlt_freetitle { text-align: left; clear: both; margin-bottom: 10px; font-weight: bold; color: #fff; padding: 5px 10px; background: @color_effect2; } /* =========================================================================================== ベース設定 =========================================================================================== */ *{ margin: 0; padding: 0; } html, body{ /* height: 100%; */ } body{ /* line-break: strict; font-size: 78%; line-height: 160%; text-align: center; font-family: "メイリオ", "Meiryo", "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS P Gothic", Verdana,Arial, Helvetica, sans-serif; word-break: break-all; word-wrap: break-word; */ word-break: break-all; } a { color: #444; text-decoration: none; outline: 0; &:hover{ //color: #f09300; text-decoration: none; } } .mb5 { margin-bottom: 5px !important; } .mb10 { margin-bottom: 10px !important; } .mb15 { margin-bottom: 15px !important; } .mb20 { margin-bottom: 20px !important; } .mb30 { margin-bottom: 30px !important; } .mb40 { margin-bottom: 40px !important; } .mb60 { margin-bottom: 60px !important; } a.fade0 { .transitionCom; &:hover { .opacityCom(0,0);// 引数に数値@filterと@opacityの順番 } } a.fade8 { .transitionCom; &:hover { .opacityCom(80,0.8);// 引数に数値@filterと@opacityの順番 } } .pc_none{ display: none !important; } .mysns *{ vertical-align: bottom !important; } img { //vertical-align: top; background: url(/wp-content/themes/cmn/images/spacer.gif); } img, a img { border: 0; } .dlt_category_txt { text-align: left; margin-bottom: 20px; } /* =========================================================================================== 基本レイアウト設定 =========================================================================================== */ // header { // background-color: @color_effect2; // margin-bottom: 20px; // padding: 20px 0px; // color: #FFF; // } // // /* footer Sample */ // footer { // background-color: @color_effect2; // margin-top: 20px; // padding: 20px 0px; // color: #FFF; // } /* ================================================ コンテンツボディ 設定 ================================================ */ #dlt_content { display: inline-block; width: 100%; .dlt_container { margin: 0 auto; width: 1100px; &:after { display: block; content: ''; clear: both; } #dlt_main { display: inline-block; padding: 20px 0px; width: 70%; float: left; } } } /* ================================================ グローバルナビ 設定 ================================================ */ #global { width: 100%; display: table; border-collapse: collapse; margin: 10px 0px; } #global li { display: table-cell; padding: 2px 8px; text-align: center; border: 1px solid #CCC; } #global li a { width: 100%; display: inline-block; } /* =========================================================================================== ページャー設定 =========================================================================================== */ #dlt_pager { clear: both; overflow: hidden; padding-top: 20px; margin-bottom: 30px; width: 100%; display: flex; .dlt_pagerprev { width: 33%; text-align: left; } .dlt_pagertop { width: 33%; text-align: center; } .dlt_pagernext{ width: 33%; text-align: right; } .dlt_pagernext a, .dlt_pagerprev a { display: inline-block; width: 80px; width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; } .pagination { display: block; overflow: hidden; text-align: center; line-height: 100%; width: 100%; span { display: inline-block; margin: 0 2px; } a { display: block; padding: 9px; background: @color_gray; border: 1px solid @color_border; text-decoration: none; } .current { border: 1px solid @color_border; a { padding: 8px; background: #fff; border: 1px solid @color_border; } } } }// #dlt_pager END /* =========================================================================================== Side(デフォルト)設定 =========================================================================================== */ /* ================================================ 共通設定 ================================================ */ .sidebarCom { display: inline-block; // padding: 20px 0px; width: 25%; float: right; // font-size: 90%; #dlt_archives, #dlt_categories{ width: auto; text-align: left; overflow: hidden; // font-size: 90%; p { margin: 0; padding: 7px; // color: #fff; } ul { display: block; background: #fff; li { a { display: block; padding: 7px 10px; border-top: 1px solid #fff; margin: 0; } &:first-child { border-top: none !important; } } } } } /* ================================================ レイアウトパターン1設定 ================================================ */ #dlt_sidebar { .sidebarCom; #dlt_archives, #dlt_categories { margin-bottom: 20px; p { border-bottom: 1px solid @color_border; } ul { li{ display: block; border-top: 1px dotted @color_border; &:last-child{ border-bottom: 1px dotted @color_border; } } } } } /* ================================================ レイアウトパターン2設定 ================================================ */ #dlt_sidebar2 { .sidebarCom; #dlt_archives, #dlt_categories { margin-bottom: 10px; background: @color_gray; p { font-weight: bold; text-shadow: 1px 1px 0 rgba(0,0,0,0.5); border: 1px solid darken(@color_effect2, 10%); background: @color_effect2; /* Old browsers */ } ul { border-right: 1px solid @color_border; border-left: 1px solid @color_border; border-bottom: 1px solid @color_border; li { display: block; border-top: 1px dotted @color_border; a:hover{ background: @color_bg; } } } } } /* ================================================ レイアウトパターン3設定 ================================================ */ #dlt_sidebar3 { .sidebarCom; #dlt_archives, #dlt_categories { margin-bottom: 20px; p { background-color: @color_effect2; } ul { list-style-type: disc !important; li { display: list-item; list-style-type: disc !important; list-style-position: inside; } } } } /* =========================================================================================== Slider設定 =========================================================================================== */ #top_slider { width: 100%; } .dlt_slider_wrapper { width: 978px; /*要調整*/ margin: 0px auto; } #dlt_slider { list-style-type: none; li { display: flex; justify-content: center; align-items: center; height: 499px; /*要調整*/ img { width: auto; height: auto; max-width: 978px; /*要調整*/ max-height: 499px; /*要調整*/ } } } /*下部ページャーの色味*/ .bx-wrapper .bx-pager.bx-default-pager a { background: lighten(@color_effect2, 10%) !important; &.active { background: darken(@color_effect2, 10%) !important; } } /* =========================================================================================== Post設定 =========================================================================================== */ em { font-style: italic; font-family: "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS P Gothic", Verdana,Arial, Helvetica, sans-serif; } .dlt_entry_content img, .dlt_entry_content2 img { max-width: 100%; height: auto; } .dlt_entry_content p, .dlt_entry_content2 p { margin: 0; } .dlt_entry_footer { clear: both; background: @color_bg; padding: 5px; text-align: right; } .dlt_entry_content strong, .dlt_entry_content2 strong { color: inherit; } .dlt_entry_content em, .dlt_entry_content2 em { color: inherit; font-style: italic; } .dlt_entry_content ul li, .dlt_entry_content2 ul li { list-style: disc; margin-left: 25px; } .dlt_entry_content ol li, .dlt_entry_content2 ol li { list-style: decimal; margin-left: 25px; } .dlt_entry_content blockquote, .dlt_entry_content2 blockquote { background-color: @color_bg; padding: 15px 40px; margin: 15px 0; position: relative; display: block; overflow: hidden; &:before,&:after { font-size: 600%; color: @color_border; position: absolute; } &:before { content: "“"; line-height: 1em; left: 5px; top: 5px; } &:after { content: "”"; line-height: 0em; right: 5px; bottom: 0; } } .dlt_entry_content hr, .dlt_entry_content2 hr { size: 0; color: transparent; border-bottom: 1px dotted @color_border; clear: both; margin: 10px 0; display: block; width: 100%; } .alignleft { float: left; margin: 0 15px 15px 0; } .aligncenter { float: none; display: block; margin: 0 auto 15px; clear: both; } .alignright { float: right; margin: 0 0 15px 15px; } .single .dlt_entry { margin-bottom: 40px; } /* =========================================================================================== 投稿一覧レイアウト設定 =========================================================================================== */ /* ================================================ 共通設定 ================================================ */ .layPostCom { width: 100%; overflow: hidden; .dlt_entry { overflow: hidden; text-align: left; width: auto; a { overflow: hidden; text-decoration: none; &:hover { .opacityCom(80,0.8);// 引数に数値@filterと@opacityの順番 } } } .dlt_simg { overflow: hidden; span { display: table-cell; vertical-align: middle; overflow: hidden; } img { display: block; margin: 0 auto; } } } /* ================================================ レイアウトパターン1設定 ================================================ */ .dlt_lay_post { .layPostCom; .dlt_entry { margin-bottom: 40px; word-wrap: break-word; clear: both; } .archive & .dlt_entry a { display: inline; } .dlt_simg { display: none; } .dlt_entry_header { overflow: hidden; border-bottom: 1px dotted @color_border; margin-bottom: 7px; div { font-size: 80%; padding: 1px 0 0 7px; border-left: 3px solid @color_effect; } h4 { font-size: 110%; display: block; border-left: 3px solid @color_effect; padding: 0 0 1px 7px; margin-bottom: 5px; } } .dlt_entry_content { overflow: hidden; width: 100%; margin-bottom: 40px; } } /* ================================================ レイアウトパターン2設定 ================================================ */ .dlt_lay_post2 { .layPostCom; margin-bottom: 40px; .dlt_entry { word-wrap: break-word; clear: both; a { display: block; } } .dlt_simg { display: none; } .dlt_entry_header { display: table; border-bottom: 1px dotted @color_border; width: 100%; div { display: table-cell; vertical-align: middle; width: 100px; font-size: 90%; padding: 10px 0; } h4 { vertical-align: middle; display: table-cell; padding: 10px 0 10px 17px; position: relative; &:after { position: absolute; top: 50%; left: 3px; display: block; content: ''; width: 5px; height: 5px; margin-top: -4px; border-top: 2px solid @color_effect; border-right: 2px solid @color_effect; -webkit-transform: rotate(45deg); transform: rotate(45deg); } } } .dlt_entry_content { display: none; } } /* ================================================ レイアウトパターン3設定 ================================================ */ .dlt_lay_post3 { .layPostCom; margin-bottom: 40px; .dlt_entry { text-align: center; width: 25%; float: left; a { display: block; padding: 10px; border-bottom: 1px solid @color_border; border-right: 1px solid @color_border; } &:nth-of-type(-n+4) a{ border-top: 1px solid @color_border; } &:nth-of-type(4n+1) a{ border-left: 1px solid @color_border; } } .dlt_simg { display: table; width: 100%; img { max-height: 160px;/*画像の幅をpxで指定 要変更*/ } } .dlt_entry_header, .dlt_entry_content { display: none; } } /* ================================================ レイアウトパターン4設定 ================================================ */ .dlt_lay_post4 { .layPostCom; margin-bottom: 40px; .dlt_entry { word-wrap: break-word; text-align: center; width: 25%; float: left; a { display: block; padding: 10px; border-bottom: 1px solid @color_border; border-right: 1px solid @color_border; &:hover{ .opacityCom(80,0.8);// 引数に数値@filterと@opacityの順番 } } &:nth-of-type(-n+4) a { border-top: 1px solid @color_border; } &:nth-of-type(4n+1) a { border-left: 1px solid @color_border; } } .dlt_simg { display: table; width: 100%; img { max-height: 160px;/*画像の幅をpxで指定 要変更*/ } } .dlt_entry_header div { font-size: 90%; padding-top: 5px; } .dlt_entry_content{ display: none; } } /* ================================================ レイアウトパターン5設定 ================================================ */ .dlt_lay_post5 { .layPostCom; text-align: left; margin-top: 30px; .dlt_entry { clear: both; padding-bottom: 15px; border-bottom: 1px dotted @color_border; margin-bottom: 15px; } .dlt_entry_header, .dlt_entry_content { margin-left: 190px; margin-top: 0 !important; } .dlt_simg { display: table; width: 150px; height: 180px; background: #fff; padding: 8px; border: 1px solid @color_border; float: left; span { width: 150px; height: 180px; } img { max-width: 150px; max-height: 180px; width: auto; height: auto; } } } /* =========================================================================================== ギャラリーレイアウト アーカイブ設定 =========================================================================================== */ /* ================================================ 共通設定 ================================================ */ .dlt_archive_gallery:after { display: block; content: ''; clear: both; } /* ================================================ レイアウトパターン1(1列)設定 ================================================ */ .dlt_lay_gallery1 { width: 100%; overflow: hidden; .dlt_entry { position: relative; margin: 0 0 30px; h4 { margin: 0 0 15px; padding: 0 0 5px; font-weight: bold; font-size: 140%; width: 100%; height: auto; border-bottom: 4px solid @color_h4_border; } a:hover { .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } .dlt_lay_gallery_inner { &:after { display: block; content: ''; clear: both; } } .dlt_lay_gallery_img { float: left; display: inline-block; width: 40%; text-align: center; border: 1px solid #ccc; box-sizing: border-box; transition: .5s; img { max-width: 100%; max-height: 270px; } &:hover { .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } } .dlt_entry_header { position: relative; float: right; padding: 0 0 40px 10px; width: 60%; text-align: left; box-sizing: border-box; .dlt_lay_gallery3_com { margin: 0 0 20px; font-size: 90%; word-wrap: break-word; } } a.dlt_more_button { position: absolute; bottom: 0; right: 10px; padding: 5px 15px; color: #fff; font-size: 90%; background: @color_effect2; } } .dlt_entry:after { display: block; content: ''; clear: both; } } /* ================================================ レイアウトパターン2(2列)設定 ================================================ */ .dlt_lay_gallery2 { .dlt_entry:nth-child(2n + 1) { margin-right: 10px; } .dlt_entry { display: inline-block; margin-bottom: 10px; width: calc(~"(100% - 20px) / 2"); height: 300px; box-sizing: border-box; text-align: center; word-wrap: break-word; overflow: hidden; .dlt_lay_gallery_img { position: relative; display: block; height: 100%; transition: .5s; span { display: inline-block; width: 100%; height: 100%; background-position: center center; background-repeat: no-repeat; background-size: cover; } &:hover { .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } } } } /* ================================================ レイアウトパターン3(3列)設定 ================================================ */ .dlt_lay_gallery3 { .dlt_entry { display: inline-block; float: left; margin-bottom: 10px; width: calc(~"(100% - 20px) / 3"); height: 250px; text-align: center; word-wrap: break-word; overflow: hidden; box-sizing: border-box; &:nth-child(3n + 2) { margin-left: 10px; margin-right: 10px; } .dlt_lay_gallery_img { position: relative; display: block; margin: 0 0 10px; height: 200px; transition: .5s; span { display: inline-block; width: 100%; height: 100%; background-position: center center; background-repeat: no-repeat; background-size: cover; } &:hover { .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } } } } /* ================================================ レイアウトパターン4(4列)設定 ================================================ */ .dlt_lay_gallery4 { .dlt_entry { position: relative; float: left; margin: 10px; width: 200px; height: 200px; text-align: center; word-wrap: break-word; overflow: hidden; a { display: block; overflow: hidden; font-weight: normal; text-decoration: none; .dlt_entry_header { height: 0; transition: height 0.3s ease-out 0.1s; h4 { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } } &:hover .dlt_entry_header {height: 25px;} } } .dlt_lay_gallery_img { max-width: 200px; width: 200px; height: 200px; overflow: hidden; background: #000; text-align: center; display: table-cell; vertical-align: middle; box-sizing: border-box; img { max-width: 100%; max-height: 100%; height: auto; } } .dlt_entry_header { position: absolute; bottom: 0; width: 100%; color: #444; background: rgba(255, 255, 255, 0.5); } a .dlt_lay_gallery_img img { transition: opacity 0.3s ease-out 0.1s; &:hover { .opacityCom(80,0.8);// 引数に数値@filterと@opacityの順番 } } } /* ================================================ レイアウトパターン5(5列・画像のみ・シングルページ未使用)設定 ================================================ */ .dlt_lay_gallery5 { .dlt_lay_gallery_single { .dlt_td1 { float: none; width: 100%; .dlt_thumimg { width: 100%; display: flex; flex-flow: row wrap; div { margin: 0 1% 10px 0 ; padding: 2px; width: 200px; height: 200px; background: #fff; border: 1px solid #ccc; box-sizing: border-box; &:nth-child(5n) {margin-right: 0;} a {transition: .7s} a:hover { .opacityCom(50,0.5);// 引数に数値@filterと@opacityの順番 } } } } } } .dlt_lay_gallery_single >.dlt_inner { position: relative; .dlt_pagelink { position: absolute; bottom: 0; right: 0; border-radius: 3px; padding: 2px 4px; background: @color_bg; border: 1px solid @color_border; } } /* ================================================ レイアウトパターン6(1列・詳細レイアウト・シングルページ未使用) ================================================ */ .dlt_lay_gallery6 { .dlt_lay_gallery_single { margin-top: 20px; .dlt_lay_gallery_table { width: 100%; } .dlt_entry_header { border-left: 10px solid @color_effect2; border-bottom: 1px solid darken(@color_effect2, 10%); font-size: 120%; padding-left: 10px; margin-bottom: 15px; } } .dlt_td2 .inner { word-wrap: break-word; } } .dlt_lay_gallery_table { border-spacing: 0; border-collapse: collapse; th,td { border: 1px solid darken(@color_effect2, 10%); width: 50%; text-align: center; vertical-align: middle; box-sizing: border-box; padding: 10px; } th { background: @color_effect2; letter-spacing: 1px; color: #fff; } } /* ================================================ 商品ギャラリーレイアウト ================================================ */ .dlt_product { .dlt_entry:nth-child(3n + 2) { margin-left: 10px; margin-right: 10px; } .dlt_entry { display: inline-block; float: left; margin-bottom: 10px; width: calc(~"(100% - 20px) / 3"); height: 300px; text-align: center; word-wrap: break-word; overflow: hidden; box-sizing: border-box; .dlt_lay_gallery_img { position: relative; display: block; margin: 0 0 10px; height: 200px; span { display: inline-block; width: 100%; height: 100%; background-position: center center; background-repeat: no-repeat; background-size: cover; } } .dlt_more_button { bottom: 0; right: 10px; padding: 5px 15px; color: #fff; font-size: 90%; background: #212121; margin-top: 5px; display: inline-block; transition: .5s; &:hover { .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } } } } /* =========================================================================================== ギャラリーレイアウト シングル設定 =========================================================================================== */ /* ================================================ 共通設定 ================================================ */ .dlt_lay_gallery_table { width: 100%; & > .dlt_inner { zoom: 1 !important; &:after { content: ""; display: block; clear: both; height: 0; visibility: hidden; } } } /* ================================================ レイアウトパターン1設定 ================================================ */ .dlt_lay_gallery_single { width: 100%; overflow: hidden; .dlt_entry_header h4 { padding: 10px 0; border-bottom: 1px dotted @color_border; margin-bottom: 10px; font-size: 120%; text-align: left; } .dlt_mainimg { width: 300px !important;/*任意*/ height: 300px !important;/*任意*/ display: table !important; table-layout: fixed; margin: 0 0 10px !important; background: #EFEFEF; a { display: table-cell !important; width: 100%; height: 100%; vertical-align: middle; text-align: center; img{ display: block; width: auto !important; height: auto !important; margin: 0 auto !important; max-width: 100% !important; max-height: 300px !important;/*任意 pxで指定*/ } } } .dlt_singleimg {/*画像が1枚の時*/ height: auto !important; a { height: auto !important; vertical-align: top !important; } } .dlt_thumimg { overflow: hidden; margin-bottom: 15px; width: 300px;/*上記.dlt_mainimgのwidth値*/ div { width: 93px;/*上記.dlt_thumimgのwidth値 - (サムネイル列数-1)×marginRight*/ height: 93px; display: block; float: left; margin: 0 10px 10px 0; &:nth-of-type(3n) {/*サムネイル列数*/ margin-right: 0; } &.off { display: none !important; } a { display: block; width: 100%; height: 100%; overflow: hidden; background-position: 50% 50%; background-repeat: no-repeat; background-size: cover !important; span { display: none; } } img { display: block; display: none; } hr { display: none !important; } } } .dlt_entry_content { text-align: left; margin-bottom: 40px; clear: both; } .dlt_caption { clear: both; height: 2em; } .dlt_fig dl { display: table; width: 100%; dt { display: table-cell; border-bottom: none; vertical-align: middle; width: 90px; &:after { margin-top: -3px; -webkit-transform: rotate(45deg); transform: rotate(45deg); } } dd { display: table-cell; vertical-align: middle; margin-top: 0 !important; } } .dlt_lay_gallery .dlt_entry {/* ヘアカタに使用しているっぽい */ margin-bottom: 0; } .dlt_td1 { display: block; float: left; } .dlt_td2 { display: block; float: right; width: calc(~"100% - 320px"); .com1 { margin-bottom: 30px; .inner {word-wrap: break-word;} } &.fulltable { float: none; width: 100%; } } } /* ================================================ レイアウトパターン2設定 ================================================ */ .dlt_lay_gallery_single2 { .dlt_entry_header { border-bottom: 1px solid @color_main; border-left: 10px solid @color_main; font-size: 120%; padding-left: 10px; margin-bottom: 15px; } .dlt_inner, .dlt_td1, .dlt_td2 { display: block !important; float: none !important; clear: both !important; width: 100% !important; margin-bottom: 0; word-wrap: break-word; } .dlt_td1 { .dlt_mainimg { margin-bottom: 20px; background: #fff; border: 1px solid @color_border; /*確認用*/ box-sizing: border-box; /*確認用*/ text-align: center; height: 400px; /*任意調整*/ overflow: hidden; img { } } .dlt_thumimg { overflow: hidden; div { display: block; float: left; margin-right: 20px; width: 85px; /*任意調整*/ height: 85px; /*任意調整*/ &:nth-child(8n) {margin-right: 0;} /*8列の場合*/ &.off {display: none !important;} a { display: block; width: 100%; height: 100%; overflow: hidden; background-position: 50% 50%; background-repeat: no-repeat; background-size: cover !important; } img { display: block; display: none; } } } } .dlt_td2 { margin: 20px 0; .com1 { margin: 20px 0; } } .dlt_lay_gallery_table {margin: auto;} } /* ================================================ レイアウトパターン Before After機能 共通設定 ================================================ */ .beforeAfterCom { width: 100%; overflow: hidden; .dlt_inner, .dlt_td1, .dlt_td2 { display: block !important; float: none !important; clear: both !important; width: 100% !important; margin-bottom: 0; } .dlt_mainimg {display: none;} .dlt_thumimg { overflow: hidden; margin-bottom: 15px; div { &.off {display: none !important;} &:nth-of-type(even) { position: relative; &:after { position: absolute; display: block; content: ''; width: 20px; height: 20px; margin-top: -10px; border-top: 5px solid @color_effect2; border-right: 5px solid @color_effect2; } } a { vertical-align: middle; width: 100%; height: 100%; text-align: center; background: #fff; background: none !important; } img { display: block; max-width: 75% !important; max-height: 200px !important;/*任意 pxで指定*/ width: auto !important; height: auto !important; margin: 0 auto !important; } span {display: none;} } hr:nth-of-type(even) { display: block; width: 100%; height: 0; size: 0; border: none; border-bottom: none;/*適宜*/ clear: both; } hr:nth-of-type(odd) { display: none !important; } }// .dlt_thumimg END .dlt_entry_content { text-align: left; margin-bottom: 40px; clear: both; } #before,#after { display: block; width: 50%; text-align: center; } #before { float: left; background: #ddd; } #after { float: right; background: #ccc; } .dlt_caption { clear: both; height: 2em; } .dlt_td2 { margin: 20px 0; .com1 { margin: 20px 0; .inner { width: 100%; word-wrap: break-word; } } } .dlt_lay_gallery_table {margin: auto;} } /* ================================================ レイアウトパターン Before After機能1 設定 ================================================ */ .dlt_lay_gallery_single3 { .beforeAfterCom; .dlt_thumimg { div { width: 50%; height: 230px;/*任意*/ display: table; table-layout: fixed; &:nth-of-type(odd) { float: left; } &:nth-of-type(even) { float: right; &:after { top: 45%; left: -19px;/*任意*/ -webkit-transform: rotate(45deg); transform: rotate(45deg); } } a { display: table-cell !important; } }// .dlt_thumimg div END }// .dlt_thumimg END } /* ================================================ レイアウトパターン Before After機能2 設定 ================================================ */ .dlt_lay_gallery_single4 { .beforeAfterCom; h3 { margin: 20px 0; border-bottom: 1px solid @color_main; border-left: 10px solid @color_main; font-size: 120%; padding: 0 0 0 10px; background: none; color: #444; } .dlt_thumimg { div { height: 290px;/*任意*/ &:nth-of-type(even) { border-bottom: 1px dashed @color_border; margin-bottom: 50px; &:after { top: -20%;/*任意*/ left: 48.5%;/*任意*/ -webkit-transform: rotate(135deg); transform: rotate(135deg); } } &:last-child { margin-bottom: 0; } } }// .dlt_thumimg END } /* ================================================ レイアウトパターン Slider機能 設定 ================================================ */ .dlt_lay_gallery_single5 { margin-bottom: 20px; h3 { margin: 20px 0; border-bottom: 1px solid @color_main; border-left: 10px solid @color_main; font-size: 120%; padding-left: 10px; } .bx-wrapper { border: 1px solid #ccc; box-sizing: border-box; #dlt_slider { li { display: flex; justify-content: center; align-items: center; height: 400px; /*適宜*/ img { margin: auto; } } } } .dlt_td2 { display: block; .com1 { margin: 20px 0; word-wrap: break-word; } .dlt_lay_gallery_table {margin: auto;} } } /* =========================================================================================== メニューレイアウト設定 =========================================================================================== */ /* ================================================ 共通設定 ================================================ */ .dlt_menu_title{/*商品名*/ font-weight: bold; font-size: 140%; width: 100%; height: auto; border-bottom: 4px solid @color_h4_border; margin-bottom: 15px; padding-bottom: 5px; } /* ================================================ レイアウトパターン1 設定 ================================================ */ .dlt_lay_menu1 { text-align: left; overflow: hidden; clear: both; .dlt_entry { margin-bottom: 20px; &:last-child { margin-bottom: 40px; } dl{ margin: 0; display: block; width: 100%; dt { margin: 0; display: block; vertical-align: middle; margin-bottom: 10px; ul { margin: 0; display: table; width: 100%; border-bottom: 1px dashed #6d6057; li { padding: 8px 0; display: table-cell; &.dlt_menu_price{/*商品価格*/ text-align: right; word-break: keep-all; } } } } dd { display: block; margin: 0; vertical-align: middle; width: auto; } } }// .dlt_entry END .menu_img { margin-bottom: 5px; float: left; width: 35%; img { max-width: 100%; max-height: 150px;/*任意*/ width: auto !important; height: auto !important; display: block; margin: 0 auto; } } .dlt_contents { width: 100%; display: flex; } .dlt_menu_cap {/*商品説明*/ font-size: 90%; .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } } /* ================================================ レイアウトパターン2(カラムレイアウト) 設定 ================================================ */ .dlt_lay_menu2 { .dlt_entry { margin-bottom: 30px; float: left; width: 47.7%;/*任意*/ margin-left: 1.15%; margin-right: 1.15%; } .menu_img { width: 100%; height: auto; background: #fff; margin-bottom: 25px; img { display: block; width: auto; height: auto; max-width: 100%; max-height: 200px;/*任意*/ margin: 0 auto 5px; } } .dlt_menu_title {/*商品名*/ font-weight: bold; font-size: 140%; width: 100%; height: auto; border-bottom: 4px solid @color_h4_border; margin-bottom: 15px; padding-bottom: 5px; } .dlt_menu_cap { padding: 0 0 10px; margin: 0 0 10px; font-size: 90%; .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } dt ul { display: table !important; margin-bottom: 0 !important; padding-bottom: 0 !important; width: 100%; border-bottom: 1px dashed #6d6057; line-height: 40px; &:nth-last-of-type(1) { margin-bottom: 10px !important; } li { display: table-cell !important; float: none !important; width: auto !important; margin: 0 !important; &.dlt_menu_price { text-align: right; } } } .dlt_separate { display: block; &:after { display: block; content: ''; clear: both; } } } /* ================================================ レイアウトパターン3(テーブルレイアウト) 設定 ================================================ */ .dlt_lay_menu3 .dlt_entry { margin-bottom: 30px; dl{ display: table; border-top: 1px solid @color_border; border-left: 1px solid @color_border; border-right: 1px solid @color_border; width: 100%; &:last-of-type { border-bottom: 1px solid @color_border; margin-bottom: 10px; } dt{ display: table-cell; border-right: 1px solid @color_border; padding: 8px; width: 150px;/*任意*/ background: @color_bg; } dd{ display: table-cell; padding: 8px; text-align: right; } } .menu_img { width: 100%; height: auto; background: #fff; margin-bottom: 25px; img { display: block; width: auto; height: auto; max-width: 100%; max-height: 500px;/*任意*/ } } .dlt_menu_cap { font-size: 90%; .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } } /* =========================================================================================== スタッフレイアウト アーカイブ設定 =========================================================================================== */ /* ================================================ レイアウトパターン1(画像のみレイアウト) 設定 ================================================ */ .dlt_lay_staff1 { .dlt_entry { position: relative; float: left; margin: 20px; width: 280px; height: 280px; text-align: center; word-wrap: break-word; overflow: hidden; a { display: block; overflow: hidden; font-weight: normal; text-decoration: none; .dlt_entry_header { height: 0; transition: height 0.3s ease-out 0.1s; h4 { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .dlt_staff_yomi { font-size: 80%; } } &:hover .dlt_entry_header {height: 40px;} } } .dlt_lay_staff_img { max-width: 280px; width: 280px; height: 280px; overflow: hidden; background: #000; text-align: center; display: table-cell; vertical-align: middle; box-sizing: border-box; img { max-width: 100%; max-height: 100%; height: auto; width: auto !important; } } .dlt_entry_header { position: absolute; bottom: 0; width: 100%; color: #444; background: rgba(255, 255, 255, 0.5); } a .dlt_lay_staff_img img { transition: opacity 0.3s ease-out 0.1s; } a:hover .dlt_lay_staff_img img { .opacityCom(80,0.8);// 引数に数値@filterと@opacityの順番 } } /* ================================================ レイアウトパターン2(シングル無し) 設定 ================================================ */ .dlt_lay_staff2 { .dlt_entry { margin-bottom: 30px; overflow: hidden; } .dlt_entry_header { font-weight: bold; font-size: 140%; width: 100%; height: auto; border-bottom: 4px solid @color_h4_border; margin-bottom: 15px; padding-bottom: 5px; .dlt_staff_title { display: inline; } .dlt_staff_yomi { display: inline; } .dlt_staff_job { display: inline; font-size: 80%; } } .dlt_lay_staff_content { overflow: hidden; width: 100%; } .dlt_lay_staff_img { float: left; width: 35%; img { max-width: 96%; max-height: 300px; width: auto !important; height: auto !important; display: block; margin: 0 auto; } } .dlt_staff_infofree { float: right; width: 63%; margin-bottom: 15px; img { display:block; max-width:100%; height:auto; } } .dlt_fig { float: right; width: 63%; border-left: 1px solid @color_border; border-right: 1px solid @color_border; dl { display: table; width: 100%; } dt { display: table-cell; border-bottom: none; border-right: 1px solid @color_border; width: 25%; vertical-align: middle; } dd { display: table-cell; } } } /* ================================================ レイアウトパターン3(シングル無し(2列レイアウト)) 設定 ================================================ */ .dlt_lay_staff3 { .dlt_entry { margin-bottom: 30px; float: left; width: 47.7%;/*任意*/ margin-left: 1.15%; margin-right: 1.15%; } .dlt_entry_header { font-weight: bold; font-size: 140%; width: 100%; height: auto; border-bottom: 4px solid @color_h4_border; margin-bottom: 15px; padding-bottom: 5px; .dlt_staff_title { display: inline; } .dlt_staff_yomi { display: inline; } .dlt_staff_job { display: block; font-size: 80%; } } .dlt_lay_staff_img { width: 100%; height: auto; background: #fff; margin-bottom: 10px; img { display: block; width: auto; height: auto; max-width: 100%; max-height: 200px;/*任意*/ margin: 0 auto; } } .dlt_staff_infofree { margin-bottom: 10px; img { display:block; max-width:100%; height:auto; } } .dlt_separate { display: block; } .dlt_separate:after { display: block; content: ''; clear: both; } .dlt_fig { border-left: 1px solid @color_border; border-right: 1px solid @color_border; } } /* =========================================================================================== スタッフレイアウト シングル設定 =========================================================================================== */ .dlt_lay_staff_single { .dlt_entry { margin-bottom: 30px; overflow: hidden; } .dlt_entry_header { font-weight: bold; font-size: 140%; width: 100%; height: auto; border-bottom: 4px solid @color_h4_border; margin-bottom: 15px; padding-bottom: 5px; .dlt_staff_title { display: inline; } .dlt_staff_yomi { display: inline; } .dlt_staff_job { display: inline; font-size: 80%; } } .dlt_lay_staff_content { overflow: hidden; width: 100%; } .dlt_lay_staff_img { float: left; width: 35%; img { max-width: 96%; max-height: 300px; width: auto !important; height: auto !important; display: block; margin: 0 auto; } } .dlt_staff_infofree { float: right; width: 63%; margin-bottom: 15px; img { display:block; max-width:100%; height:auto; } } .dlt_fig { float: right; width: 63%; border-left: 1px solid @color_border; border-right: 1px solid @color_border; dl { display: table; width: 100%; } dt { display: table-cell; border-bottom: none; border-right: 1px solid @color_border; width: 25%; vertical-align: middle; } dd { display: table-cell; } } } /* ================================================ 紐づけ レイアウト 設定 ================================================ */ .dlt_lay_list { .dlt_entry { position: relative; float: left; margin: 20px; width: 155px; height: 155px; text-align: center; word-wrap: break-word; overflow: hidden; } .dlt_entry a { display: block; overflow: hidden; font-weight: normal; text-decoration: none; .dlt_entry_header { height: 0; transition: height 0.3s ease-out 0.1s; h4 { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } } &:hover .dlt_entry_header {height: 25px;} } .dlt_list_img { max-width: 155px; width: 155px; height: 155px; overflow: hidden; background: #000; text-align: center; display: table-cell; vertical-align: middle; box-sizing: border-box; img { max-width: 100%; max-height: 100%; height: auto; width: auto !important; } } .dlt_entry_header { position: absolute; bottom: 0; width: 100%; color: #444; background: rgba(255, 255, 255, 0.5); } a .dlt_list_img img { transition: opacity 0.3s ease-out 0.1s; } a:hover .dlt_list_img img { .opacityCom(80,0.8);// 引数に数値@filterと@opacityの順番 } } /* =========================================================================================== お客様の声レイアウト 設定 =========================================================================================== */ .dlt_lay_voice { .dlt_entry { clear: both; overflow: hidden; width: auto; word-wrap: break-word; margin-bottom: 40px; text-align: left; } .dlt_entry_header { overflow: hidden; border-bottom: 1px dotted @color_border; margin-bottom: 7px; h4 { font-size: 110%; display: block; border-left: 3px solid @color_effect; padding: 0 0 1px 7px; margin-bottom: 5px; } } .dlt_entry_content { overflow: hidden; width: 100%; margin-bottom: 40px; } } /* =========================================================================================== Q&Aレイアウト 設定 =========================================================================================== */ .dlt_lay_questions { margin-bottom: 40px; text-align: left; } .dlt_lay_questions ul { display: block; li { display: block; border-bottom: 1px dotted @color_border; a { display: block; padding: 5px 0 5px 18px; position: relative; &:after { position: absolute; top: 50%; left: 3px; display: block; content: ''; width: 5px; height: 5px; margin-top: -4px; border-top: 2px solid @color_effect; border-right: 2px solid @color_effect; -webkit-transform: rotate(45deg); transform: rotate(45deg); } } } } .dlt_lay_qa { .dlt_entry { clear: both; overflow: hidden; width: auto; word-wrap: break-word; margin-bottom: 20px; text-align: left; } .dlt_entry_header { overflow: hidden; border-bottom: 1px dotted @color_border; margin-bottom: 7px; h4 { font-size: 110%; display: block; border-left: 3px solid @color_effect; padding: 0 0 1px 7px; margin-bottom: 5px; } } .dlt_entry_content { overflow: hidden; width: 100%; } .dlt_qa1 { overflow: hidden; width: auto; margin-bottom: 15px; } .dlt_qa2 { overflow: hidden; width: auto; background: @color_bg; border: 1px solid @color_border; border-radius: 3px; padding: 7px; } } /* =========================================================================================== クーポンレイアウト 設定 =========================================================================================== */ .dlt_lay_coupon { .dlt_entry { width: auto; border: 1px solid @color_border; padding: 1px; margin-bottom: 20px; clear: both; } .dlt_inner { display: table; width: 100%; margin-bottom: 0; } .dlt_td1 { display: table-cell; text-align: center; width: 30px; vertical-align: middle; padding: 0; background: @color_effect2; color: #fff; span { display: block; } } .dlt_td2 { display: table-cell; vertical-align: middle; padding: 15px 15px; } .dlt_entry_header { display: table; margin-bottom: 10px; width: 100%; border-bottom: 1px dotted @color_border; padding-bottom: 10px; h4, p { display: table-cell; } p { text-align: right; } .dlt_not { text-decoration: line-through; } .dlt_price { color: @color_effect; } } .dlt_td2 dl.dlt_txt { display: block; dt, dd { display: inline; } dt { color: @color_effect; } dd { padding-right: 10px; } } } /* =========================================================================================== 店舗レイアウト 設定 =========================================================================================== */ .dlt_lay_shop { margin-bottom: 40px; overflow: hidden; .dlt_entry { width: 50%; max-width: 600px; float: left; text-align: center; a { display: block; padding: 10px 15px; text-decoration: none !important; &:hover { .opacityCom(90,0.9);// 引数に数値@filterと@opacityの順番 } } } .dlt_simg { width: 100%; height: 100px; overflow: hidden; margin: 0 auto 5px; img { display: block; } } .dlt_entry_content { text-align: left; position: relative; h4 { margin-bottom: 5px !important; padding: 5px 0; border-bottom: 1px dotted @color_border; font-size: 120%; font-weight: bold; padding-right: 90px; } ul { display: table; width: 100%; li { display: table-cell; list-style: none; margin-left: 0; &:first-child { min-width: 70px; width: 20%; } } } .dlt_btn { position: absolute; top: 1px; right: 0; } } } #gmap { clear: both; width: 100%; margin-bottom: 30px; } /* =========================================================================================== ムービーレイアウト 設定 =========================================================================================== */ /* ================================================ 共通設定 ================================================ */ .layMoveiCom { .dlt_entry_content { width: 100%; iframe { display: block; width: 100%; height: auto; } } hr { display: none; } } /* ================================================ レイアウトパターン1列 設定 ================================================ */ .dlt_lay_movie_1 { .dlt_entry { margin-bottom: 40px; } .layMoveiCom; .dlt_movie { margin-bottom: 10px; } } /* ================================================ レイアウトパターン2列 設定 ================================================ */ .dlt_lay_movie_2 { overflow: hidden; .dlt_entry { width: 48%; float: left; margin: 0 1% 40px 1%; } .layMoveiCom; hr:nth-of-type(2n) { display: block; clear: both; width: 100%; height: 0; size: 0; border: none; background: none; } } /* ================================================ レイアウトパターン3列 設定 ================================================ */ .dlt_lay_movie_3 { overflow: hidden; .dlt_entry { width: 31.3%; float: left; margin: 0 1% 40px 1%; } .layMoveiCom; hr:nth-of-type(3n) { display: block; clear: both; width: 100%; height: 0; size: 0; border: none; background: none; } } /* ================================================ レイアウトパターン4列 設定 ================================================ */ .dlt_lay_movie_4 { overflow: hidden; .dlt_entry { width: 23%; float: left; margin: 0 1% 40px 1%; } .layMoveiCom; hr:nth-of-type(4n) { display: block; clear: both; width: 100%; height: 0; size: 0; border: none; background: none; } } /* =========================================================================================== リンクレイアウト 設定 =========================================================================================== */ .dlt_lay_link { text-align: left; margin-bottom: 40px; overflow: hidden; clear: both; .dlt_entry:last-child { margin-bottom: 20px; } .dlt_entry_header h4 { font-size: 110%; display: block; border-left: 3px solid @color_effect; padding: 0 0 1px 7px; margin-bottom: 5px; } .dlt_entry dl { margin: 0; display: table; width: 100%; table-layout: fixed; dt { display: table-cell; margin: 0; vertical-align: middle; padding: 8px; width: 150px;/*任意*/ padding: 10px 10px 10px 0; img { display: block; width: auto; height: auto; max-width: 100%; margin: 0 auto; vertical-align: middle; } } dd { text-align: left; margin: 0; display: table-cell; vertical-align: middle; padding: 10px 0; } } } /* =========================================================================================== 投稿関連付け(ヘアカタ-スタッフ) 設定 =========================================================================================== */ .dlt_haircata_to_staff dd { display: block !important; border-bottom: 1px dotted @color_border; &:last-child { border-bottom: none; } a { display: block; &:hover img { font-size: 90%; .opacityCom(70,0.7);// 引数に数値@filterと@opacityの順番 } } &>div { display: table; } div div { display: table-cell; vertical-align: middle; width: 80px; img { display: block; width: 80px; height: auto; } } h5 { display: table-cell; vertical-align: middle; padding-left: 10px; font-size: 100%; font-weight: normal; } } /* =========================================================================================== タクソノミーナビ 設定 =========================================================================================== */ #dlt_snav { display: table; margin-bottom: 20px; width: 100%; ul { display: table-row; width: 100%; li { display: table-cell; vertical-align: middle; text-align: center; padding-bottom: 8px; width: auto; a { display: block; border-right: 1px solid @color_border; } &:nth-child(5n+1) a { border-left: 1px solid @color_border; } } } } /* =========================================================================================== 必要なのかよくわからない 設定 =========================================================================================== */ /*--------------------------------------*/ /* /*--------------------------------------*/ .dlt_inner{ width: 100%; display: table; margin-bottom: 30px; text-align: left; } .dlt_td1{ display: table-cell; padding-right: 20px; vertical-align: top; } .dlt_td2{ display: table-cell; vertical-align: top; } /*--------------------------------------*/ .dlt_fig{ border-top: 1px solid @color_border; } .dlt_fig dl{ display: block; border-bottom: 1px solid @color_border; margin: 0; text-align: left; } .dlt_fig dt{ display: block; border-bottom: 1px dotted @color_border; background: @color_bg; padding: 7px 7px 7px 22px; margin: 0; position:relative; } .dlt_fig dt:after{ position: absolute; top: 50%; left: 7px; display: block; content: ''; width: 5px; height: 5px; margin-top: -5px; border-top: 1px solid @color_effect; border-right: 1px solid @color_effect; -webkit-transform: rotate(135deg); transform: rotate(135deg); } .dlt_fig dd{ display: block; padding: 7px; margin: 0; } /*--------------------------------------*/ .dlt_tag{ display: table; overflow: hidden; width: 100%; font-size: 100%; } .dlt_tag li{ display: table-cell; vertical-align: middle; text-align: center; background: #dfdfdf; border-right: 1px solid #fff; color: #fff; line-height: 120%; padding: 2px 0 2px; line-height: 150%; letter-spacing: 1px; font-size: 90%; } .dlt_tag li.dlt_ac{ background: @color_effect2; } .dlt_tag4{ margin-bottom: 1px; } .dlt_tag4 li{ width: 25%; } .dlt_tag3 li{ width: 33.3%; } .dlt_tag li:first-child{ width: auto; } .dlt_tag li:empty{ background: none; } .dlt_tag4 img{ margin: 0 auto 3px; width: 30px; display: block; } /* =========================================================================================== 画像ライトボックス 設定 =========================================================================================== */ .dlt_shade { position: fixed; top: 0; left: 0; display: table; height: 100%; width: 100%; z-index: 1000; background: rgba(0,0,0,0.6); .dlt_popimg { display: table-cell; vertical-align: middle; text-align: center; img { box-shadow: 0 0 10px rgba(0,0,0,0.6); z-index: 1000; position: absolute; } } span { position: absolute; z-index: 1000; &.dlt_close { display: table; height: 34px; width: 34px; top: 50%; left: 50%; border-radius: 20px; overflow: hidden; box-shadow: 0 0 2px rgba(0,0,0,0.6); a { line-height: 0; display: table-cell; vertical-align: middle; background: @color_effect; color: #fff; text-decoration: none !important; text-shadow: 1px 1px 0 rgba(0,0,0,0.3); font-size: 20px; text-align: center; &:hover { text-shadow: -1px 1px 0 rgba(0,0,0,0.3); .opacityCom(90,0.9);// 引数に数値@filterと@opacityの順番 } } } } span.dlt_bprev, span.dlt_bnext { display: block; height: 90px; width: 90px; top: 50%; margin: -25px 0 0 0 !important; text-indent: -10000px; outline:none; line-height:1px; font-size:1px; background: rgba(0,0,0,0.3); a { display: block; height: 100%; width: 100%; position: relative; &:after { position: absolute; top: 50%; left: 0; display: block; content: ''; width: 40px; height: 40px; margin-top: -22px; border-top: 5px solid @color_effect; border-right: 5px solid @color_effect; -webkit-transform: rotate(45deg); transform: rotate(45deg); } &:hover:after { .opacityCom(80,0.8);// 引数に数値@filterと@opacityの順番 } } } span.dlt_bprev { left: 0 !important; a:after { -webkit-transform: rotate(225deg); transform: rotate(225deg); margin-left: 30px; } } span.dlt_bnext { left: auto !important; right: 0 !important; a:after { margin-left: 10px; } } } #dlt_imgloader { top: 50%; left: 50%; margin: -10px 0 0 -10px; position: absolute !important; width: 20px; height: 20px; border-radius: 50%; border: 5px solid #fff; border-right-color: transparent !important; animation: spin 1s linear infinite; -webkit-animation: spin 1s linear infinite; -moz-animation: spin 1s linear infinite; } .dlt_poptxt { position: absolute; top: 50%; left: 50%; min-width: 300px; color: rgba(255,255,255,0.8); z-index: 1000; text-shadow: 1px 1px 1px rgba(0,0,0,0.2); } .dlt_poptxt p { letter-spacing: 0.5px; font-size: 11.5px; margin: 0 !important; padding: 0 0 10px !important; line-height: 150% !important; } .dlt_poptxt p.dlt_poptitle { font-weight: bold; padding: 10px 0 5px !important; } @-webkit-keyframes spin { 0% { transform: rotate(0deg); opacity: 0.2; } /*0%の時は20%の透明度*/ 50% { transform: rotate(180deg); opacity: 0.5; } /*50%の時は50%の透明度*/ 100% { transform: rotate(360deg); opacity: 0.2; } /*100%の時に20%の透明度に戻る*/ } @-moz-keyframes spin { 0% { transform: rotate(0deg); opacity: 0.2; } /*0%の時は20%の透明度*/ 50% { transform: rotate(180deg); opacity: 0.5; } /*50%の時は50%の透明度*/ 100% { transform: rotate(360deg); opacity: 0.2; } /*100%の時に20%の透明度に戻る*/ } /* =========================================================================================== 「もっと見る」ボタン 設定 =========================================================================================== */ .dlt_btn { display: inline-block; border: 1px solid darken(@color_effect2, 50%); background: @color_effect2; color: #fff; border-radius: 3px; text-shadow: -1px -1px 0px rgba(0,0,0,0.3); } .dlt_btn a, .dlt_btn span { font-size: 85%; line-height: 110%; letter-spacing: 2px; display: block; width: auto; cursor: pointer; padding: 4px 10px; border-radius: 3px; border-top: 1px solid rgba(255,255,255,0.5); } .dlt_btn a:hover, a:hover .dlt_btn span { background: lighten(@color_effect2, 10%); } .dlt_btn a:active, a:active .dlt_btn span { background: darken(@color_effect2, 10%); } /* =========================================================================================== 問い合わせフォーム 設定 =========================================================================================== */ /* ================================================ 問い合わせフロント 設定 ================================================ */ #sk_form_front { text-align: left; /* ------------------------------------------------ タイトル 設定 ------------------------------------------------ */ #sk_form_alert_title { margin-bottom: 10px; padding-bottom: 5px; } /* ------------------------------------------------ 本文 設定 ------------------------------------------------ */ #sk_form_alert_content { border: none !important; padding: 0 !important; margin-bottom: 15px; } /* ------------------------------------------------ プライバシーポリシー 設定 ------------------------------------------------ */ #sk_form_privacy_content { max-height: 200px !important; overflow: auto; border: 1px solid @color_border; padding: 10px !important; margin-bottom: 15px; } /* ------------------------------------------------ 電話番号・電話対応時間 設定 ------------------------------------------------ */ #sk_form_admin_tel { display: inline; padding-right: 15px; } #sk_form_admin_tel_time { display: inline; } } /* ================================================ フォーム 設定 ================================================ */ .sk_form_table { width: 100%; text-align: left; display: table; border-collapse: collapse; margin:20px auto; .sk_form_table_dl { display: table-row; /* ------------------------------------------------ 項目タイトル 設定 ------------------------------------------------ */ .sk_form_table_dt { display: table-cell; vertical-align: middle; width: 150px !important; padding: 7px; background: @color_bg; border: 1px solid @color_border; span.sk_form_must { color: #dd0000; img { max-width: 40px; max-height: 20px; width: auto; height: auto; } } } /* ------------------------------------------------ 項目内容 設定 ------------------------------------------------ */ .sk_form_table_dd { border: 1px solid @color_border; width: 450px !important; display: table-cell; vertical-align: middle; padding: 7px; .zip { display: block; margin-bottom: 5px; } p.form_option_area { margin: 5px 0 0 !important; padding: 0 !important; &:empty{ display: none !important; } } .error_message { color: #d00; } } }// .sk_form_table_dl END }// .sk_form_table END /* ================================================ フォーム分割用自由入力テキスト 設定 ================================================ */ .sk_form_table_free { text-align: center; padding: 20px; font-size: 24px; font-weight: bold; } /* ================================================ Submitボタン 設定 ================================================ */ #sk_form_submit { text-align: center; margin-bottom:20px; input[type=submit] { width: 150px; padding: 7px; cursor: pointer; text-align: center; display: block; margin: 0 auto; font-size: 100%; font-weight: normal; outline: none; .submitLay03;// ボタンレイアウト &::-moz-focus-inner{ border: 0; } } }// #sk_form_submit END /* ------------------------------------------------ ボタンレイアウト1(シンプル)設定 ------------------------------------------------ */ .submitLay01 { background: @color_effect2; -webkit-transition-property: all; transition-property: all; -webkit-transition-duration: .2s; transition-duration: .2s; color: #fff; &:hover, &:focus { background: lighten(@color_effect2, 10%); } &:active { background: darken(@color_effect2, 10%); box-shadow: inset 0 2px 3px rgba(0,0,0,.3),0 1px 0 #fff; } } /* ------------------------------------------------ ボタンレイアウト2(ボーダー ホバー・アクティブでボーダー色が変化)設定 ------------------------------------------------ */ .submitLay02 { background: @color_effect2; border: 2px solid @color_effect2; -webkit-transition-property: all; transition-property: all; -webkit-transition-duration: .3s; transition-duration: .3s; color: #fff; &:hover, &:focus { border: 2px solid lighten(@color_effect2, 20%); color: lighten(@color_effect2, 20%); } &:active { border: 2px solid darken(@color_effect2, 10%); color: darken(@color_effect2, 10%); box-shadow: inset 0 2px 3px rgba(0,0,0,.3),0 1px 0 #fff; text-shadow: 0 1px 0 rgba(255,255,255,.4); } } /* ------------------------------------------------ ボタンレイアウト3(グラデーション デフォルト:グレー)設定 ------------------------------------------------ */ .submitLay03 { -moz-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5); -webkit-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5); box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5); text-shadow: 1px 1px 0px #fff; border-radius: 1px; border: 1px solid #989898; background-image: -moz-linear-gradient( 90deg, rgb(222,222,222) 0%, rgb(246,246,246) 100%); background-image: -webkit-linear-gradient( 90deg, rgb(222,222,222) 0%, rgb(246,246,246) 100%); background-image: -ms-linear-gradient( 90deg, rgb(222,222,222) 0%, rgb(246,246,246) 100%); color: #333; &:hover, &:focus { border: 1px solid #6e6e6e; } &:active { background-image: -moz-linear-gradient( 90deg, rgb(245,245,245) 0%, rgb(224,223,224) 100%); background-image: -webkit-linear-gradient( 90deg, rgb(245,245,245) 0%, rgb(224,223,224) 100%); background-image: -ms-linear-gradient( 90deg, rgb(245,245,245) 0%, rgb(224,223,224) 100%); } } form input, form textarea { display:; background: #fff; border: 1px solid @color_border; padding: 5px; font-size: 13px; color: #333; font-family: "メイリオ", "Meiryo", "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS P Gothic", Verdana,Arial, Helvetica, sans-serif; } form textarea { width: 90%; } form select { background: #fff; padding: 0 5px; border: 1px solid @color_border; font-family: "メイリオ", "Meiryo", "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS P Gothic", Verdana,Arial, Helvetica, sans-serif; option { padding: 1px 5px; border: none; } } form input[type=radio], form input[type=checkbox] { display: none; margin: 0; + label { position: relative; display: inline-block; font-size: 14px; line-height: 30px; cursor: pointer; padding: 0 0 0 24px; &:before { content: ""; position: absolute; top: 50%; left: 0; -moz-box-sizing: border-box; box-sizing: border-box; display: block; width: 18px; height: 18px; margin-top: -9px; background: #FFF; } &:after{ content: ""; position: absolute; top: 50%; -moz-box-sizing: border-box; box-sizing: border-box; display: block; } } } form input[type=radio] + label::before { border: 2px solid @color_border; border-radius: 30px; } form input[type=checkbox] + label::before{ border: 2px solid @color_border; } form input[type=radio]:checked + label:after{ left: 5px; width: 8px; height: 8px; margin-top: -4px; background: @color_effect; border-radius: 8px; } form input[type=checkbox]:checked + label:after{ left: 3px; display: block; content: ''; width: 12px; height: 8px; margin-top: -5px; border-top: 3px solid @color_effect; border-right: 3px solid @color_effect; -webkit-transform: rotate(120deg); transform: rotate(120deg); } form input[type=file] { border: none; } form input[type="tel"] { width: 20%; } /* =========================================================================================== jetpack ギャラリーレイアウト 設定(投稿記事のメディアからギャラリーを作成) =========================================================================================== */ .gallery { padding-top: 0 !important; } dl.gallery-item { margin: 0 !important; padding: 0 !important; dt { display: block !important; width: auto !important; margin-bottom: 10px; padding: 0 3% !important; a { display: block !important; padding: 0 !important; overflow: hidden !important; margin-left: auto !important; margin-right: auto !important; width: auto !important; border: none !important; background: none !important; img{ border: none !important; width: auto !important; max-width: 100% !important; height: auto !important; padding: 0; margin: 0 auto; } } } } .gallery-columns-1 dl.gallery-item { width: 100% !important; } .gallery-columns-2 dl.gallery-item { width: 50% !important; } .gallery-columns-3 dl.gallery-item { width: 33.3% !important; } .gallery-columns-4 dl.gallery-item { width: 25% !important; } .gallery-columns-5 dl.gallery-item { width: 20% !important; } .gallery-columns-6 dl.gallery-item { width: 16.6% !important; } .gallery-columns-7 dl.gallery-item { width: 14.2% !important; } .gallery-columns-8 dl.gallery-item { width: 12.5% !important; } .gallery-columns-9 dl.gallery-item { width: 11.1% !important; } /*========================================== #追加レイアウト ============================================*/ /* #ASAKAアートスクールとは */ .page-about { .history__title { position: relative; &::after { content: ""; display: block; border-bottom: 1px dashed #000; width: 772px; height: 0; position: absolute; left: 80px; top: 18px; } } }