/*
	HTML5 Reset :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Eric Meyer					:: http://ericmeyer.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {
	display: block;
}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
   If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
img,
object,
embed {
	max-width: 100%;
}

/* force a vertical scrollbar to prevent a jumpy page */
html {
	overflow-y: scroll;
}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul, ol {
	list-style: none;
}

/*  */
blockquote, q {
	quotes: none;
}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {
	content: '';
	content: none;
}

p{
	text-indent: 1em;
	margin-bottom: 1.4em;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

a:hover, a:active {
	outline: none;
}

table {
	border-collapse: collapse;	/* tables still need cellspacing="0" in the markup */
	border-spacing: 0;
	font-size: inherit; font: 100%;
}
th {
	font-weight: bold;
	vertical-align: bottom;
}
td {
	font-weight: normal;
	vertical-align: top;
}
td img {
	vertical-align: top;
}

input, select {
	vertical-align: middle;
}

select, input, textarea {
	font: 99% sans-serif;
}

input[type="radio"] {
	vertical-align: text-bottom;
}
input[type="checkbox"] {
	vertical-align: bottom; *vertical-align: baseline;
}
.ie6 input {
	vertical-align: text-bottom;
}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted #000;
	cursor: help;
}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

strong{
	font-weight: bold;
}

small {
	font-size: 85%;
}

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

/* standardize any monospaced elements */
pre, code, kbd, samp {
	font-family: monospace, sans-serif;
}
ins {
	background-color: #fcd700;
	color: #000;
	text-decoration: none;
}
mark {
	background-color: #fcd700;
	color: #000;
	font-style: italic;
	font-weight: bold;
}
 
/* scale images in IE7 more attractively */
.ie7 img {
	-ms-interpolation-mode: bicubic;
}

/* prevent BG image flicker upon hover */
.ie6 html {
	filter: expression(document.execCommand("BackgroundImageCache", false, true));
}

/* let's clear some floats */
.clearfix:before, .clearfix:after {
	content: "\0020"; 
	display: block; 
	height: 0; 
	overflow: hidden; 
}
.clearfix:after {
	clear: both;
}  
.clearfix {
	zoom: 1;
}



/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/
body {
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font: 13px;
	border-top: 5px solid #333020;
	min-width:1100px;
	background-image: url(../../_images/bg_whole.jpg);
	background-repeat: repeat;
}

body, select, input, textarea {
	color: #333;	/* we like off-black for text */
}
a {
	color: #552200;
	text-decoration: none;
}
a:hover {
	color: #a05a2c;
}
/*	j.mp/webkit-tap-highlight-color */
a:link {
	-webkit-tap-highlight-color: #fcd700;
} 

/* Custom text-selection colors */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;} 




.snap{
	width: auto;
	height: auto;
	padding: 15px;
	border: 1px solid #ccc;
}
#smartPhoneArea{
	width: 980px;
	margin: 0 auto;
	position: relative;
}

#wrap{
	width: 930px;
	margin: 0 auto;
	position: relative;
}
header{
	background-image: url("../../_images/bg_header2.png");
	background-repeat: no-repeat;
	width: 930px;
	height: 200px;
	padding-bottom: 50px;
	position: relative;
}
header h1{
	position: absolute;
	width: 333px;
	height: 77px;
	top: 115px;
	right: 40px;
	font-size: 1.5em;
}
header h2{
	position: absolute;
	width: 251px;
	height: 13px;
	top: 180px;
	right: 40px;
	display: none;
}
#menu{
	position: absolute;
	width: 240px;
	height: auto;
	top: 260px;
}
nav{
    border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);	 /* CSS3草案 */  
    -webkit-border-radius: 10px;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);	/* Safari,Google Chrome用 */  
    -moz-border-radius: 10px;
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);	/* Firefox用 */	
	//background-color: #e7e5d9;
	background-color: #6c5353;
	width: 240px;
	padding: 1em 0;
	float: left;
}
nav ul{
	/*background-color: #f8f6ea;*/
	background-color: #fff;
	/*background-image: url("../../_images/bg_nav.png");*/
}
nav li{
	display: block;
	height: 40px;
	margin-bottom: 1px;
	border: 1px solid #cfcfcf;
}
nav li a{
	display: block;
	width: 100%;
	height: 40px;
}
nav li a:hover{
	opacity:0.7;
}
nav li span{
	display: none;
}

nav li#n_joinUs a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 0px;
	background-repeat: no-repeat;
}
nav li#n_orientation a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -40px;
	background-repeat: no-repeat;
}
nav li#n_flow a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -80px;
	background-repeat: no-repeat;
}
nav li#n_materials a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -120px;
	background-repeat: no-repeat;
}
nav li#n_tools a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -160px;
	background-repeat: no-repeat;
}
nav li#n_lisence a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -200px;
	background-repeat: no-repeat;
}
nav li#n_instructar a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -240px;
	background-repeat: no-repeat;
}
nav li#n_sample a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -280px;
	background-repeat: no-repeat;
}
nav li#n_access a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -320px;
	background-repeat: no-repeat;
}
nav li#n_workshop a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -360px;
	background-repeat: no-repeat;
}
nav li#n_contact a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -400px;
	background-repeat: no-repeat;
}
nav li#n_pagetop a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -440px;
	background-repeat: no-repeat;
}
nav li#n_home a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -480px;
	background-repeat: no-repeat;
}
nav li#n_koushi a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -520px;
	background-repeat: no-repeat;
}
nav li#n_seito a{
	background-image: url("../../_images/bg_nav.png");
	background-position: 0 -560px;
	background-repeat: no-repeat;
}

#mainContent{
    border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);	 /* CSS3草案 */  
    -webkit-border-radius: 10px;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);	/* Safari,Google Chrome用 */  
    -moz-border-radius: 10px;
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);	/* Firefox用 */	
	/*background-color: #f8f6ea;*/
	background-color: #fff;
	margin-bottom: 1em;
	width: 650px;
	float: right;
}

section.info, section.gallery{
	padding: 1em;
	font-size: 0.9em;
}

section.info h1{
	margin-left: -57px;
	margin-top: -15px;
	width: 680px;
	height: 66px;
	line-height: 40px;
	color: #552200;
	text-indent: 1em;
	font-size: 1.1em;
}

section.info dt{
	font-weight: bold;
	color: #6c5d53;
	border-bottom: solid 1px #cccccc;
	margin-top: 1em;
}
section.info dl dd{
	padding: 0.5em;
	padding-left: 1.5em;
	font-size: 0.9em;
}


section.gallery div.noPhoto{
	width: auto;
	height: 200px;
	text-align: center;
	margin: 180px 0 15px 2em;
	font-size: 1.2em;
	font-weight: bold;
}
section.gallery figure {
	width: 95%;
	margin: 0 auto 1.5em;
}
section.gallery figure.seito {
	width: 95%;
	margin: 0 auto 1.5em;
}
section.gallery figure figcaption{
	font-weight: bold;
}

section.gallery h1{
	background-image: url("../../_images/titleFree.png");
	color: #fff;
	width: 680px;
	height: 66px;
	margin-left: -43px;
	line-height: 68px;
	text-indent: 1.5em;
	font-size: 1.2em;
}
section.gallery div.portfolio{
	float: left;
	width: 192px;
	height: 245px;
	margin-bottom: 40px;
	margin-right: 10px;
	border: 1px solid #ac9d93;
	background-color: #efead6;
	overflow: hidden;
}
section.gallery div.portfolio figure{
    position: relative;
    top: 51%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  	display: block;
  	overflow: hidden;
}
 
section.gallery div.portfolio figcaption {
  position: absolute;
  background: rgba(0,0,0,0.55);
  color: white;
  padding: 10px 20px;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 11px;
  font-weight: normal;
  width: 152px;
  
  opacity: 0;
  -webkit-transition: all 0.6s ease;
  -moz-transition:    all 0.6s ease;
  -o-transition:      all 0.6s ease;
}
section.gallery div.portfolio figure:before {
/*
  content: "i";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  background: rgba(255,255,255,0.75);
  color: black;
  -webkit-border-radius: 12px;
  -moz-border-radius:    12px;
  border-radius:         12px;
  text-align: center;
  font-size: 14px;
  /* Only Fx 4 supporting transitions on psuedo elements so far... */
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  opacity: 0.75;
*/
}
 
section.gallery div.portfolio figure:hover figcaption {
  opacity: 1;
  left: 0;
}
.spaceB{
  margin-bottom: 15px;
}
.ryouhaji{
  width: 84%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.pager{
	text-align: center;
	margin-top: 1.2em;
}
.page{
	margin: 0 0.8em;
	padding: 0.5em;
}
.here{
	border: 1px solid #ccc;
	background-color: #d6dcd3;
	font-weight: bold;
}

div.seito{
  display: grid;
  grid-template-columns: 150px 150px 150px 150px;
  gap: 5px;
}
.slide{
  width: 150px;
  height: 150px;
}
.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#flow{
	position: relative;
}
section#flow .snap{
	width: 120px;
	padding:0;
	position: absolute;
}

section#flow img#ex1{
	top: 210px;
	right: 75px;
	border:none;
	-moz-box-shadow: 10px 10px 10px #aaa;
	-webkit-box-shadow: 10px 10px 10px #aaa;
	box-shadow: 10px 10px 10px #aaa;
	-moz-transform: rotate(-7deg);
	-webkit-transform: rotate(-7deg);
	-o-transform: rotate(-7deg);
	transform: rotate(-7deg);
	-moz-transform-origin: -7% 95%;
	-webkit-transform-origin: -7% 95%;
	-o-transform-origin: -7% 95%;
	transform-origin: -7% 95%;
}
section#flow img#ex2{
	top: 240px;
	right: -10px;
	border:none;
	-moz-box-shadow: 10px 10px 10px #aaa;
	-webkit-box-shadow: 10px 10px 10px #aaa;
	box-shadow: 10px 10px 10px #aaa;
	-moz-transform: rotate(15deg);
	-webkit-transform: rotate(15deg);
	-o-transform: rotate(15deg);
	transform: rotate(15deg);
	-moz-transform-origin: 15% 95%;
	-webkit-transform-origin: 15% 95%;
	-o-transform-origin: 15% 95%;
	transform-origin: 15% 95%;
}
section#tools dl{
	position: relative;
	height: 328px;
}
section#tools dt{
	display: none;
}
section#tools dd.scissor{
	position: absolute;
	width = 233px;
	height: 155px;
	top: 0;
	left:0;
}
section#tools dd.flowerBag{
	position: absolute;
	width: 308px;
	height: 286px;
	top: 20px;
	left:280px;
}
section#tools dd.tawol{
	position: absolute;
	width: 236px;
	height: 189px;
	top: 100px;
	left:0;
}
section#instructar figure {
	width: 100%;
	margin-bottom: 1.5em;
	margin-left: 5em;
}
section#instructar figure img{
}
section#instructar figure figcaption{
}
section#instructar section h2{
	font-size: 1.1em;
}
section#instructar section ul,
section#instructar section p{
	padding-left: 1em;
	margin-bottom: 2em;
	line-height: 1.6em;
}
section#instructar dt{
	border: none;
	border-top: solid 1px #ccc;
	padding-top: 0.7em;
}
section#instructar dl{
	border-bottom: solid 1px #ccc;
	margin-bottom: 1em;
	padding-bottom: 1em;
}
section#access dl{
	margin-left: 1em;
}
section#sample div#koushi{
	width: 100%;
	margin: 0 auto;
	text-align: center;
}
section#sample img.photo{
	width: 95%;
	margin-bottom: 15px;
}
section div#work p{
	margin-bottom: 0;
}
div.flowerwork{
	width : 220px;
	margin-bottom: 15px;
	padding: 0 2em;
}
div.flowerwork img.photo{
}

footer{
	background-color: #333020;
	color: #fff;
	padding-top: 1em;
	height: 50px;
}
#footerInner{
	width: 960px;
	margin: 0 auto;
	text-align: center;
}

/* トップページ　スライドショー */
/*
#seito{
	overflow:hidden;
	_zoom:1;
}
#seito #sakuhin1,
#seito #sakuhin2,
#seito #sakuhin3{
 	float: left;
	width: 190px;
	height: 190px;
	padding: 0 7px;
	position: relative;
}

#seito #sakuhin1 canvas,
#seito #sakuhin2 canvas,
#seito #sakuhin3 canvas{
	position: absolute;
	top: 0px;
}
*/

/* フォーム関連 */
.form{
	padding: 2em;
}
		input:not([type=radio]), textarea {
			border:1px solid #ccc;
			font-size:20px;
			width:90%;
			min-height:40px;
			display:block;
			margin-bottom:16px;
			margin-top:8px;
			
			-webkit-border-radius:5px;
			-moz-border-radius:5px;
			border-radius:5px;
			
			-webkit-transition: all 0.5s ease-in-out;
			-moz-transition: all 0.5s ease-in-out;
			transition: all 0.5s ease-in-out;
		}
		input[type=submit] {
			padding:10px;
			background:none;
			opacity:1.0;
		}

		input[type=radio] {
			background-color:#fff;
			font-size:20px;
			width:20%;
			min-height:30px;
			display:inline-block;
			margin-bottom:16px;
			margin-top:8px;
			vertical-align:middle;
		}
		
		label.radioLabel{
			display:inline-block;
			width:48%;
			min-height:30px;
			line-height:30px;
		}
		
		textarea {
				min-height:200px;
		}

		input:focus, textarea:focus {
			-webkit-box-shadow:0 0 25px #ccc;
			-moz-box-shadow:0 0 25px #ccc;
			box-shadow:0 0 25px #ccc;
			
			-webkit-transform: scale(1.05);
			-moz-transform: scale(1.05);
			transform: scale(1.05);
		}

/* 検索窓 */
#search_box{
	font-size: 20px;
}
.search_red a, .search_red a:hover, .search_red a:visited, .search_red a:link, .search_red a:active {
	color: #c00;
	font-weight: bold;
}
.search_orange a, .search_orange a:hover, .search_orange a:visited, .search_orange a:link, .search_orange a:active {
	color: #f63;
	font-weight: bold;
}
.search_pink a, .search_pink a:hover, .search_pink a:visited, .search_pink a:link, .search_pink a:active {
	color: #f6c;
	font-weight: bold;
}
.search_purple a, .search_purple a:hover, .search_purple a:visited, .search_purple a:link, .search_purple a:active {
	color: #c0c;
	font-weight: bold;
}
.search_blue a, .search_blue a:hover, .search_blue a:visited, .search_blue a:link, .search_blue a:active {
	color: #33f;
	font-weight: bold;
}
.search_yellow a, .search_yellow a:hover, .search_yellow a:visited, .search_yellow a:link, .search_yellow a:active {
	color: #fc3;
}
.search_white a, .search_white a:hover, .search_white a:visited, .search_white a:link, .search_white a:active {
	color: #000;
	font-size: 18px;
}
#search_box input[type=submit] ,
#search_box input[type=text] {
	font-size: 12px;
	border:1px solid #ccc;
	font-size:11px;
	display: inline;
	width:auto;
	min-height:auto;
	margin-bottom:16px;
	margin-top:8px;
	
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	padding:2px;
	background:none;
	opacity:1.0;
}

/* Print styles!
-------------------------------------------------------------------------------*/
@media print {



}


/* Media queries!
-------------------------------------------------------------------------------*/

/* Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
	
		
}

@media all and (orientation: portrait) {
	
}

@media all and (orientation: landscape) {
	
}

