source: branches/version-2_11-dev/html/user_data/packages/sphone/css/common.css @ 21093

Revision 21093, 13.1 KB checked in by 468, 13 years ago (diff)

#1413 スマートフォン版スタイルシート修正対応

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
Line 
1@charset "utf-8";
2/* ===================================================================
3CSS information
4file name  :common.css
5style info :共通
6=================================================================== */
7/*-----------------------------------------------
8body
9----------------------------------------------- */
10body {
11background: #FFF;
12font-family: Helvetica, san-serif;
13line-height: 1.5;
14font-size: 14px;
15margin: 0;
16padding: 0;
17-webkit-user-select: none;
18-webkit-text-size-adjust: none;
19-webkit-touch-callout:none;
20-webkit-tap-highlight-color: rgba(0,0,0,0.50);
21}
22/*-----------------------------------------------
23リンク指定
24----------------------------------------------- */
25a:link{
26color:#324E85;
27text-decoration: none;
28}
29a:visited {
30color: #603E7D;
31text-decoration: none;
32}
33a:hover{
34text-decoration:none;
35cursor:pointer;
36}
37
38/*右矢印リンクテキスト*/
39.arrowRtxt{
40display:inline;
41clear:both;
42margin:5px auto;
43padding-right:15px;
44background:url(../img/common/ico_arrowR.png) right center no-repeat;
45}
46@media only screen and (-webkit-min-device-pixel-ratio: 2) {
47.arrowRtxt {
48background: url(../img/common/ico_arrowR2.png) right center no-repeat;
49-webkit-background-size: 10px 15px;
50background-size: 10px 15px;
51}
52}
53div,li,p{
54-webkit-tap-highlight-color: rgba(0,0,0,0.50);}
55/*-----------------------------------------------
56clearfix
57----------------------------------------------- */
58.clearfix:after {
59content: "."; 
60display: block;
61clear: both;
62height: 0;
63visibility: hidden;
64}
65ul:after{
66content: "."; 
67display: block;
68clear: both;
69height: 0;
70visibility: hidden;
71}
72dl:after{
73content: "."; 
74display: block;
75clear: both;
76height: 0;
77visibility: hidden;
78}
79/*-----------------------------------------------
80汎用
81----------------------------------------------- */
82.photoL{
83float:left;
84clear:left;
85}
86.photoR{
87float:right;
88clear:right;
89}
90.clear{
91clear:both;
92}
93.inner{
94padding:10px;
95}
96.intro{
97padding:5px 10px 10px;
98font-weight:bold;
99}
100.intro p{
101line-height:1.3;
102}
103.hidden {
104display: none;
105}
106.end{
107border-bottom:none!important;
108}
109.top{
110margin-bottom:8px!important;
111}
112.bg_head{
113background:#EEE;
114}
115/*-----------------------------------------------
116font
117----------------------------------------------- */
118h2{
119font-size:20px;
120}
121h3,h4,h5 {
122font-size: 100%;
123font-weight:bold;
124}
125em{
126font-weight:bold;
127}
128.attention {
129color: #CC0000; }
130.mini {
131font-size: 11px;
132font-weight:normal; }
133.fb{
134font-size:14px;
135font-weight:bold;
136}
137.fn{
138font-weight:normal;
139}
140.price{
141color:#CC0000;
142font-weight:bold;
143}
144.attentionSt{
145color:#CC0000;
146font-weight:bold;
147}
148/*-------------------------------------------------
149レイアウト
150----------------------------------------------- */
151.frame_outer {
152overflow: hidden;
153width: 100%;
154background: #FFF;
155}
156#main-content{
157}
158/*-----------------------------------------------
159タイトル
160----------------------------------------------- */
161h2.title {
162color: #FFF;
163font-size:20px;
164font-weight:bold;
165line-height:45px;
166text-align:center;
167text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
168margin: 0 0 15px 0;
169padding:0 10px;
170background:#494E57;
171background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494e57 100%);
172background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #6D7481),color-stop(0.8, #505765),color-stop(1, #494e57));
173border-top:#868D99 1px solid;
174border-bottom:#C6C2C8 1px solid;
175-webkit-box-shadow: 1px 5px 5px #CCC;
176-moz-box-shadow: 1px 5px 5px #CCC;
177vertical-align: middle;
178white-space:nowrap;
179overflow:hidden;
180text-overflow: ellipsis;
181clear:both;
182}
183/*ボタンで展開するタイトルバー*/
184.title_box{
185color: #FFF;
186text-shadow: 0px -1px 1px rgba(0,0,0,0.3);
187line-height:45px;
188padding:0 10px;
189margin: 0 0 15px 0;
190background:#494e57;
191background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494e57 100%);
192background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #6D7481),color-stop(0.8, #505765),color-stop(1, #494e57));
193border-top: #74828B solid 1px;
194border-bottom:#74828B solid 1px;
195vertical-align: middle;
196clear:both;
197}
198.title_box h2{
199font-size:20px;
200text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
201width:85%;
202float:left;
203clear:left;
204white-space:nowrap;
205overflow:hidden;
206text-overflow: ellipsis;
207line-height:45px;
208vertical-align:middle;
209}
210.title_box h3{
211width:85%;
212float:left;
213clear:left;
214font-size:18px;
215text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
216white-space:nowrap;
217overflow:hidden;
218text-overflow: ellipsis;
219line-height:30px;
220vertical-align:middle;
221}
222/*サブタイトル*/
223h3.subtitle{
224font-size:18px;
225color: #FFF;
226line-height:30px;
227text-shadow: 0px -1px 1px rgba(0,0,0,0.3);
228padding:0 10px;
229margin: 0 0 10px 0;
230background:#84949F;
231background: -moz-linear-gradient(center top, #96A4AF 0%,#84949F 100%);
232background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #96A4AF),color-stop(1, #84949F));
233border-top: #74828B solid 1px;
234border-bottom:#74828B solid 1px;vertical-align: middle;
235white-space:nowrap;
236overflow:hidden;
237text-overflow: ellipsis;
238clear:both;
239-webkit-box-shadow: 1px 0px 1px #FFF;
240-moz-box-shadow: 1px 0px 1px #FFF;
241position:relative;
242}
243/*ボタンで展開するサブタイトルバー*/
244.title_box_sub{
245color: #FFF;
246line-height:30px;
247padding:0 10px;
248margin: 0 0 20px 0;
249background:#84949F;
250background: -moz-linear-gradient(center top, #96A4AF 0%,#84949F 100%);
251background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #96A4AF),color-stop(1, #84949F));
252border-top: #74828B solid 1px;
253border-bottom:#74828B solid 1px;
254vertical-align: middle;
255clear:both;
256position:relative;
257}
258.title_box_sub h2,.title_box_sub h3{
259font-size:18px;
260text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
261width:85%;
262float:left;
263clear:left;
264white-space:nowrap;
265overflow:hidden;
266text-overflow: ellipsis;
267line-height:30px;
268vertical-align:middle;
269}
270.title_box_sub .b_expand{
271width:22px;
272height:21px;
273float:right;
274clear:right;
275position:absolute;
276top:-6px;
277right:15px;
278z-index:2;
279padding:2px;
280}
281/*----------------------------------------------------
282input/select
283----------------------------------------------------*/
284input {
285margin:5px 0;
286padding:5px;
287-webkit-box-shadow:none;
288-moz-box-shadow:none;
289}
290input[type="text"]{
291}
292input[type="number"]{
293padding:5px 0;
294text-indent:5px;
295}
296input[type="number"]:first-child{
297margin-right:-2px;
298}
299input[type="radio"],input[type="check"]{
300vertical-align:bottom;
301padding:5px;
302line-height:1.5;
303margin-right:0.5em;
304}
305.text, .textarea, .dropdown{
306padding:0.5em;
307margin:0;
308border:#4C4C4C solid 1px;
309background: #FFF;
310border-radius: 5px;
311-webkit-border-radius: 5px;
312-moz-border-radius: 5px;
313}
314.textarea{
315width:97%;
316padding:0.5em;
317margin:0 0 10px 0;
318height:auto;
319min-height:70px;
320overflow:visible;
321}
322.cartin_quantity,.box_point{
323width:2em;
324}
325.boxLong{
326width:95%;
327}
328.boxMedium{
329width:35%;
330}
331.boxShort {
332width: 22%;
333}
334.boxHarf{
335width:42%;
336}
337
338select.boxLong{
339width:100%;
340}
341select.boxMedium{
342width:40%;
343}
344select.boxShort{
345width:25%;
346}
347select.boxHarf{
348width:46%;
349}
350/*----------------------------------------------------
351header
352----------------------------------------------------*/
353
354/* ヘッダーロゴ
355------------------------------------------------ */
356header {
357width:100%;
358background: #FFF;
359margin: 0 auto;
360padding:10px 0;
361clear:both;
362}
363header h1{
364width:47%;
365height:25px;
366float:left;
367clear:left;
368padding-right:5px;
369margin:0 0 0 5px;
370max-width:150px;
371position:relative;
372}
373header h1 a{
374display:block;
375padding:0;
376margin:0;
377cursor:pointer;
378vertical-align:middle;
379}
380header h1 img{
381width:150px;
382height:25px;
383margin:-5px 0 0 0;
384padding:0;
385vertical-align:middle;
386}
387
388/* ヘッダーナビ
389------------------------------------------------ */
390.header_utility{
391width:47%;
392padding:0 5px;
393float:right;
394}
395.header_navi{
396font-size:11px;
397padding-top:5px;
398float:right;
399display:inline;
400text-align:right;
401line-height:1.2;
402}
403.header_navi ul{
404display:inline;
405float:right;
406}
407.header_navi li{
408float:left;
409margin:0;
410padding:8px 5px;
411border:#A9ABAD solid 1px;
412border-radius: 5px;
413-moz-border-radius: 5px;
414-webkit-border-radius: 5px;
415background:#FDFDfD;
416background: -moz-linear-gradient(center top, #FDFDFD 0%,#D7DDE3 100%);
417background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #D7DDE3));
418}
419.header_navi li:first-child{
420margin-right:1em;
421}
422.header_navi p {
423line-height:1.3;
424}
425.popup_mypage{
426font-size:small;
427width:auto;
428min-width:100px;
429padding:10px;
430display: none;
431position: absolute;
432line-height:1.2;
433top: 55px;
434z-index: 1;
435background:#FFF;
436background: -moz-linear-gradient(center top, #FDFDFD 0%,#E5E5E5 100%);
437background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #E5E5E5));
438border:#CCC solid 1px;
439border-radius: 5px;
440-webkit-border-radius: 5px;
441-moz-border-radius: 5px;
442}
443.popup_mypage p:first-child{
444line-height:1.3;
445margin-bottom:0.5em;
446}
447.popup_cart{
448font-size:small;
449width:auto;
450min-width:100px;
451padding:10px;
452display: none;
453position: absolute;
454top: 55px;
455margin-right:5px;
456z-index: 1;
457background:#FFF;
458background: -moz-linear-gradient(center top, #FDFDFD 0%,#E5E5E5 100%);
459background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #E5E5E5));
460border:#CCC solid 1px;
461border-radius: 5px;
462-webkit-border-radius: 5px;
463-moz-border-radius: 5px;
464}
465.popup_mypage a,.popup_cart a{
466text-decoration:underline;
467}
468
469.popup_mypage h2,.popup_cart h2{
470font-size:1.2em;
471}
472.quantity,.money{
473font-size:14px;
474font-weight:bold;
475}
476.popup_cart hr.dashed:last-child{
477display:none;
478}
479hr.dashed{
480display:block;
481height:1px;
482border:0;   
483border-top:#CCC dashed 1px;
484margin:0.2em 0;
485padding:0;}
486.free_money_area{
487font-size:11px;
488}
489.dl_item{
490margin-top:5px;
491}
492
493/*index menu/トップページヘッダー3列ボタン*/
494.top_menu{
495width:100%;
496margin-bottom:10px;
497-webkit-box-shadow: 1px 5px 5px #ccc;
498-moz-box-shadow: 1px 5px 5px #ccc;
499background:#494E57;
500background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494E57 100%);
501background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6D7481),color-stop(0.8, #505765),color-stop(1, #494E57));
502}
503.top_menu ul{
504width:auto;
505margin:0 auto;
506clear:both;
507}
508.top_menu ul li{
509width:33%;
510float:left;
511text-align:center;
512border-left:#747B83 solid 1px;
513border-right:#3D3D3D solid 1px;
514border-bottom:#141517 solid 1px;
515border-top:#A1A7AF solid 2px;
516}
517.top_menu ul li img{
518margin:0 auto;
519display:block;
520clear:both;
521}
522.top_menu ul li a:link,.top_menu ul li a:visited{
523color:#FFF;
524text-shadow: 0px 1px 1px rgba(0,0,0,1);
525padding:9px 0 8px 0;
526display:block;
527background:#494E57;
528background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494E57 100%);
529background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6D7481),color-stop(0.8, #505765),color-stop(1, #494E57));
530-webkit-transition:background-color 0.5s ease-in;
531-moz-transition:background-color 0.5s ease-in;
532}
533.top_menu ul li a:hover{
534color:#FFF;
535text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
536background:#5393C5;
537background: -moz-linear-gradient(center top, #5393C5 10%,#80B6E2 100%);
538background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5393C5),color-stop(1, #80B6E2));
539text-decoration:none;
540}
541.top_menu li:first-child{
542border-left:none;
543}
544.top_menu li:last-child{
545border-right:none;
546}
547/*-------------------------------------------------
548footer
549----------------------------------------------- */
550footer.global_footer {
551padding:0 0 10px 0;
552background: #E6E6E6;
553text-align:center;
554}
555.footer_utility{
556background: #E6E6E6;
557}
558/*フッター4列ボタン*/
559.footer_navi {
560width:100%;
561display:block;
562clear:both;
563padding:0.5em 0;
564-webkit-box-shadow: 1px 1px 1px #FFF;
565-moz-box-shadow: 1px 1px 1px #FFF;
566background:#272a2b;
567background: -moz-linear-gradient(center top, #808080 0%,#272a2b 100%);
568background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #808080),color-stop(1, #272a2b));
569}
570.footer_navi ul{
571width:100%;
572display:block;
573}
574.footer_navi:after {
575content: ".";
576display: block;
577clear: both;
578height:0;
579}
580.footer_navi li{
581width:23%;
582height:49px;
583display:block;
584margin:0 1%;
585padding:0;
586float:left;
587background:#202223;
588background: -moz-linear-gradient(center top, #282A2A 0%,#202223 100%);
589background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282A2A),color-stop(1, #202223));
590text-align:center;
591color:#FFF;
592font-size:10px;
593border-radius: 8px;
594-webkit-border-radius: 8px;
595-moz-border-radius: 8px;
596-webkit-box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.2) inset,-3px -3px 3px 3px rgba(0,0,0,0.2) inset;
597-moz-box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.2) inset,-3px -3px 3px 3px rgba(0,0,0,0.2) inset;
598position:relative;
599}
600.footer_status_area{
601margin:0;
602padding:20px 10px 10px;
603text-align:center;
604background: #E6E6E6;
605}
606.footer_status_area p:last-child{
607margin:10px auto;
608}
609.guide_area{
610clear:both;
611margin:0;
612padding:10px 0 0 0;
613text-align:center;
614border-top:#999 solid 1px;
615}
616.guide_area p{
617font-size:14px;
618font-weight:bold;
619line-height:2.4;
620}
621.guide_area a{
622padding:0.5em 0.3em;
623margin:0.5em 0.1em;
624}
625@media only screen and (-webkit-min-device-pixel-ratio: 2) {
626.guide_area p{
627font-size:12px;
628}
629}
630footer.global_footer p.copyright {
631margin: 0;
632text-align: center;
633padding:10px 0;
634}
635/*-------------------------------------------------
636検索バー
637----------------------------------------------- */
638#search_area {
639padding: 10px;
640background: #E7E8E9;
641clear:both;
642text-align: center;
643}
644/*jqm追記*/
645#search_area .ui-input-search{
646border-radius: 20px;
647-webkit-border-radius: 20px;
648-moz-border-radius: 20px;
649border:#CCC solid 1px;
650}
Note: See TracBrowser for help on using the repository browser.