@charset "utf-8";
/*========================================================================
    Base-Style
==========================================================================*/
*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

/* HTML5 DECLARATIONS */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, dialog {display: block}
audio[controls],canvas,video {display: inline-block; *display: inline; zoom: 1}

/* BASE */
html {height: 100%; font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%} /* Force scrollbar in non-IE and Remove iOS text size adjust without disabling user zoom */
body {margin: 0; min-height: 100%; -webkit-font-smoothing:antialiased; font-smoothing:antialiased; text-rendering:optimizeLegibility;color: #666} /* Improve default text rendering, handling of kerning pairs and ligatures */

/* DEFAULT FONT SETTINGS */
/* 16px base font size with 150% (24px) friendly, unitless line height and margin for vertical rhythm */
/* Font-size percentage is based on 16px browser default size */
body, button, input, select, textarea {font: 100%  'Lato', sans-serif; *font-size: 1em; color: #555} /* IE7 and older can't resize px based text */

body {font-family:"Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Helvetica, Arial, sans-serif;}

p, blockquote, q, pre, address, hr, code, samp, dl, ol, ul, form, table, fieldset, menu, img {margin: 0 0 1.5em; padding: 0}
.line-g{ border: #ddd 1px solid;}/*hr-style tukai*/
/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {color:#444;}

h1,h2 {margin: 0; font-size: 36px; line-height: 1em; margin-bottom: 0.5em} 
h3 {margin: 0; font-size: 2.25em; font-weight:400; line-height: 1.333em; margin-bottom: 0.6667em} /* 36px / 48px */ 
h4 {margin: 0; font-size: 1.5em; font-weight:400; line-height: 1em; margin-bottom: 1em} /* 24px / 24px */
h5 {margin: 0; font-size: 1.3em; line-height: 1.143em; margin-bottom: 1.143em} /* 21px / 24px */
h6 {margin: 0; font-size: 1.1em; line-height: 1.333em; margin-bottom: 1.333em} /* 18px / 24px */
p, ul, blockquote, pre, td, th, label {margin: 0; font-size: 1em; line-height: 1.5em; margin-bottom: 1.5em} /* 16px / 24px */
small, p.small {margin: 0; font-size: 0.875em; line-height: 1.714em; margin-bottom: 1.714em} /* 14px / 24px */

/* CODE */
pre {white-space: pre; white-space: pre-wrap; word-wrap: break-word} /* Allow line wrapping of 'pre' */
pre, code, kbd, samp {font-size: 1em; line-height: 1.5em; margin-bottom: 1.5em; font-family: Menlo, Consolas, 'DejaVu Sans Mono', Monaco, monospace}

/* TABLES */
table {border-collapse: collapse; border-spacing: 0; margin-bottom: 1.5em}
th {text-align: left}
tr, th, td {padding-right: 1.5em; border-bottom: 0 solid #333}

/* FORMS */
form {margin: 0}
fieldset {border: 0;padding: 0}
textarea {overflow: auto; vertical-align: top}
legend {*margin-left: -.75em}
button, input, select, textarea {vertical-align: baseline; *vertical-align: middle} /* IE7 and older */
button, input {line-height: normal; *overflow: visible}
button, input[type="button"], input[type="reset"], input[type="submit"] {cursor: pointer;-webkit-appearance: button}
input[type="checkbox"], input[type="radio"] {box-sizing: border-box}
input[type="search"] {-webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box}
input[type="search"]::-webkit-search-decoration {-webkit-appearance: none}
button::-moz-focus-inner, input::-moz-focus-inner {border: 0; padding: 0}

/* QUOTES */
blockquote, q {quotes: none}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none}
blockquote, q, cite {font-style: italic}
blockquote {padding-left: 1.5em; border-left: 3px solid #ccc}
blockquote > p {padding: 0}

/* LISTS */
ul, ol {list-style-position: inside; padding: 0}
li ul, li ol {margin: 0 1.5em}
dl dd {margin-left: 1.5em}
dt {font-family:Futura, "Century Gothic", AppleGothic, sans-serif}

/* HYPERLINKS */
a { 
  text-decoration: none;
  color: #E74C3C;
  -webkit-transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
  -moz-transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
  -ms-transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
  -o-transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
  transition: color 0.1s linear, border 0.1s linear, opacity 0.1s linear, background-color 0.1s linear;
}
a:hover, a:focus, a:active { text-decoration: none; border: none;color: #C0392B }
/* MEDIA */
figure {margin: 0}
img, object, embed, video {max-width: 100%; _width: 100%} /* Fluid images */
img {border: 0; -ms-interpolation-mode: bicubic} /* Improve IE's resizing of images */
svg:not(:root) {overflow: hidden} /* Correct IE9 overflow */

/* ABBREVIATION */
abbr[title], dfn[title] {border-bottom: 1px dotted #333; cursor: help}

/* MARKED/INSERTED/DELETED AND SELECTED TEXT */
ins, mark {text-decoration: none}
mark {background: #c47529}
ins {background: #d49855}
del {text-decoration: line-through}
::-moz-selection {background: #E74C3C; color: #fff; text-shadow: none} /* selected text */
::selection {background: #E74C3C; color: #fff; text-shadow: none} /* selected text */

/* OTHERS */
strong, b, dt { font-weight: bold}
dfn {font-style: italic}
var, address {font-style: normal}
sub, sup {font-size: 75%; line-height: 0; position: relative; vertical-align: baseline} /* Position 'sub' and 'sup' without affecting line-height */
sup {top: -0.5em} /* Move superscripted text up */
sub {bottom: -0.25em} /* Move subscripted text down */
span.amp{font-family:Adobe Caslon Pro,Baskerville,"Goudy Old Style","Palatino","Palatino Linotype","Book Antiqua",Georgia,"Times New Roman",Times,serif;font-style:italic;font-size:110%;line-height:0;position:relative;vertical-align:baseline} /* Best available ampersand */

/* MICRO CLEARFIX HACK */
.cf:before, .cf:after {content:"";display:table} /* For modern browsers */
.cf:after {clear:both}
.cf {zoom:1} /* For IE 6/7 (trigger hasLayout) */

/*========================================================================
    This-Site_Style
==========================================================================*/

/* DEFAULT MOBILE STYLE */
body {width: 92%; margin: 0 auto} /* Center page without wrapper */
/* column grid */
.g1,.g2,.g3{display:block; position: relative; margin-left: 1%; margin-right: 1%}
/* 1 column grid */
.g1,.g2,.g3{width:98.0%}

/* Wrapper */
.main{
  padding-top: 50px;
  max-width: 1020px;
}
.wrapper{
  margin: 0 auto;
}


/* Utility */
.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
.clear{
  clear:both;
}
.bg-fixed {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.clearfix:after { 
 content: "."; 
 visibility: hidden; 
 display: block; 
 height: 0; 
 clear: both;
}
.no-list{
  margin: 0px;
  padding: 0px;
  list-style: none;
}
.break{
  padding-bottom: 1em;
  clear: both;
}
/* Backgrounds */

.bg-1{
  background-image: url('../images/floor2.jpg');
}

/* Header */
#header{
  margin-bottom: 2em;
}
#header #logo,#mobi{
  text-align: center;
  display: none;
}

#header h4{
  margin-bottom:0px; 
}
#header .visible{
  opacity: 1;
}

/* Tabs */
.etabs{
  margin: 0;
  padding: 0px;
  text-align: center;
}
.etabs li span{
  display: none;
}
#tab-data-wrap{
  padding: 30px 20px;
  background: #fff;
  border: 1px solid #f1f1f1;
  box-shadow: 0px 6px #c0392b;
  border-radius: 0px 0px 4px 4px;
}

.tab {
  display: inline-block;
  zoom: 1;
  *display: inline;
  background: #fff;
  border: solid 1px #f1f1f1;
  border-bottom: 0px;
  -moz-border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  margin-right:10px; 
}

.tab a {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  display: block;
  padding: 2px 10px;
  outline: none;
  color: #888;
  text-decoration: none;
}

.tab a:hover {
  text-decoration: none;
}

.tab.active {
  background: #fff;
  position: relative;
  top: 1px;
  border-color: #f1f1f1;
  border-bottom: none;
}

.tab a.active {
  padding-top: 10px;
  color: #e74c3c;
}
.tab a i{
  font-size: 16px;
  margin-right: 0px;
}

/* INFO */
.info-wrap{

}
/* Photo */
.photo{
  float: left;
  width: 200px;
  margin-right: 20px;
  overflow: hidden;
}
.photo img{
 -webkit-border-radius: 4px;
 -moz-border-radius: 4px;
 border-radius: 4px;
 width: 100%;
}

/*tuika*/
.info ul{ margin-left:2em;}
.info h2, #header h1{
  text-transform: uppercase;
	font-weight:normal;/*tuika*/
  margin-bottom: 0;/*change*/
}

/*tuika-base-h4～h3change*/
.info h3, #header h2{
  color: #999;
	font-weight:normal;
	font-size:1.5em;	
}
/* Contact */
.main-links{

}
.main-links ul{
  list-style: none outside none;
  margin: 0;
  padding: 0;
}
.main-links ul li{
  border-bottom: 1px solid #F1F1F1;
  padding: 10px 0;
}
.main-links ul li a{ font-size: 14px;} 


/* Icon Styling */
.contact-info i{
  color: #333;
  font-size: 46px;
}

/* Item Box */

.item-box{
  padding: 6px 6px 6px 10px;
  border: 1px solid #f1f1f1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.item-box i{
  float: left;
  margin-right: 12px;
}
.item-box i.icon-envelope{

}
.item-box .item-data{
 margin-top: 6px;
}
.item-box .item-data h3{
  line-height: 1em;
  margin: 3px 0px 0px 0px;
  font-size: 1.5em;/*change*/
}

/*only-style*/
.small {font-size: .75em;}


.item-box .item-data p{
  margin: 0px;
  font-size: 12px;
  color: #999;
}

/* WorkExperience */
.work li{
  border-bottom: 1px solid #f1f1f1;
  margin-bottom: 2em;
}

/* Portfolio */
.image{
  position: relative;
}
.image img{
  margin: 0px;
  width: 100%;
}
.image-overlay {
  position: absolute;
  z-index: 5;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 99%;
	background-color: rgba(48, 149, 177,.6);/*change*/
  text-align: center;
  opacity:0;
  filter: alpha(opacity=0);
  -webkit-transition: all 450ms ease-out 0s;
  -moz-transition: all 450ms ease-out 0s;
  -o-transition: all 450ms ease-out 0s;
  transition: all 450ms ease-out 0s;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.image:hover .image-overlay{
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.image-overlay .image-link{
  position: relative;
  top: 50%;
  display: inline-block;
  margin-top: -20px;
}

/* tuika */
.image-link p{
	color:#fff; 
	margin-bottom:0.5em;
	padding:14px 20px;
  display:inline-block;
	background:rgba(48, 149, 177,.6);
  color: #fff;
  *display:inline;
  *zoom:1;
  position: relative;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

/* Icon Box */
.sny-icon{
  display: block;
  margin-bottom: 1em;
  text-align: center;
}
.sny-icon i{
  display: inline-block;
  font-size: 60px;
}
.sny-icon-content{
  /*text-align: center;*/
	text-align: left;/*change*/
}
.sny-icon-content h4{
  margin-bottom:6px; 
}
.sny-icon-content p{
  margin-bottom: 0px;
}
/* Buttons */
.btn{
  display:inline-block;
  margin: 0 10px 10px 0;    
  padding: 14px 20px;  
	background: #3EA4C2;/*change*/
  color: #fff;
  font-weight: bold;
	font-size: 18px;/*change*/
  line-height: 1;
  *display:inline;
  *zoom:1;
  position: relative;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.btn:hover{
  color: #ccc;
}

/* Labels */
/*.label {
  display: inline;
  padding: .25em .6em;
  font-size: 75%;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}
.label-info {
  background-color: #5bc0de;
}

.label-info[href]:hover,
.label-info[href]:focus {
  background-color: #31b0d5;
}
.label[href]:hover,
.label[href]:focus {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.label-default {
  background-color: #999999;
}

.label-default[href]:hover,
.label-default[href]:focus {
  background-color: #808080;
}

.label-danger {
  background-color: #d9534f;
}

.label-danger[href]:hover,
.label-danger[href]:focus {
  background-color: #c9302c;
}

.label-success {
  background-color: #5cb85c;
}

.label-success[href]:hover,
.label-success[href]:focus {
  background-color: #449d44;
}

.label-warning {
  background-color: #f0ad4e;
}

.label-warning[href]:hover,
.label-warning[href]:focus {
  background-color: #ec971f;
}*/

#sidebar p
#sidebar img {max-width : none;}
.center { text-align:center; font-size:0.875em;}
img.b-radius  { 
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border:1px solid #999;
}



#sidebar label{ 
width : auto;
display : inline; 
}

/* Meters */
.meter { 
  height: 24px;  /* Can be anything */
  position: relative;
  border: 1px solid #f1f1f1;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin-bottom: 1em;
}
.meter > span {
  display: block;
  height: 100%;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.meter > span  > span{
  margin-left: 4px;
  color: #fff;
}
.meter > span:after, .animate > span > span {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-image: 
  -webkit-gradient(linear, 0 0, 100% 100%, 
    color-stop(.25, rgba(255, 255, 255, .2)), 
    color-stop(.25, transparent), color-stop(.5, transparent), 
    color-stop(.5, rgba(255, 255, 255, .2)), 
    color-stop(.75, rgba(255, 255, 255, .2)), 
    color-stop(.75, transparent), to(transparent)
    );
  background-image: 
  -moz-linear-gradient(
    -45deg, 
    rgba(255, 255, 255, .2) 25%, 
    transparent 25%, 
    transparent 50%, 
    rgba(255, 255, 255, .2) 50%, 
    rgba(255, 255, 255, .2) 75%, 
    transparent 75%, 
    transparent
    );
  z-index: 1;
  -webkit-background-size: 50px 50px;
  -moz-background-size: 50px 50px;
  -webkit-animation: move 2s linear infinite;
  -webkit-border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  -moz-border-radius-bottomright: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
}

.animate > span:after {
  display: none;
}

@-webkit-keyframes move {
  0% {
   background-position: 0 0;
 }
 100% {
   background-position: 50px 50px;
 }
}

.emerald > span {
  background-color: #2ecc71;

}

.carrot > span {
  background-color: #e67e22;

}
.wisteria > span{
  background-color: #8e44ad;
}
.sunflower > span{
  background-color: #f1c40f;
}
.midnight > span{
  background-color: #2c3e50;
}
.pomengrate > span{
  background-color: #c0392b;
}
.asbestos > span{
  background-color: #7f8c8d;
}
.nostripes > span > span, .nostripes > span:after {
  -webkit-animation: none;
  background-image: none;
}
/* Footer */
footer{
  text-align: center;
  margin-top: 2em;
  padding: 10px;
  background: rgba(255, 255, 255,.8);
  box-shadow: 0px 4px #ccc;
  color: #333;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
footer p{
  margin-bottom: 0px;
}

/* media Queries

FOLDING FLUID GRID
< 767px         - 1-Column Fluid Grid
768px - 1023px  - 1-Column Fluid Grid ※change-2→1Column
> 1024px            - 3-Column Fluid Grid
Change widths as necessary
------------------------------------------- */

/* tuika style*/

@media only screen and (max-width: 600px) {
	.etabs li {width:46%;}
	.etabs li a{ display: inline-block;float:left;}
	.etabs >li span{ display: inline; }
  .tab a i{	font-size: 15px; margin-right: 6px;}
	.tab a{padding: 10px 10px 10px 20px; }
}

@media only screen and (min-width: 601px) { 
  .etabs >li span{ display: inline; }
  .tab a i{ font-size: 16px; margin-right: 6px;}
  .tab a{ padding: 10px; }
	.tab a.active{ padding-top: 20px;}
}



@media only screen and (max-width: 690px) { 
	.info h2, #header h1{ font-size:1.8em; letter-spacing:-1px; }
	.info h3, #header h3{ font-size:1.4em; letter-spacing:-1px;}
}

@media only screen and (width: 320px) {
	.etabs li {width:292px;}
	.etabs li a{ display:block;float:none; text-align:left; border-bottom:1px solid #ddd;}
	.tab a{padding: 10px 10px 10px 10px; }
	.tab.active{ top: 0;}
	.info h2 { clear:both;font-size:1.4em;}
}


@media only screen and (max-width: 767px) {
  .photo { height:180px;}
	 .photo  img { width:90%; height:90%;}
}

@media only screen and (min-width: 768px) { 
	 .g1,.g2,.g3 {display:inline; float: left}
	 .g3 {width:98.0%}
}

/* LANDSCAPE TABLET/NETBOOK/LAPTOP */
@media only screen and (min-width: 1024px) { 
 /* .etabs >li span{ display: inline; }
  .tab a i{ font-size: 16px; margin-right: 6px;}*/
  .tab a{ padding: 10px 40px 10px 40px; }
	/*.tab a.active{ padding-top: 20px;}*/
  /* 3 COLUMN GRID */
  /*.g1 {width:31.333%}
  .g2 {width:64.667%;}*//*change*/
	.g1 {width:28%}
  .g2 {width:68%;padding-right: 20px;border-right: 1px solid #f1f1f1;}
  .g3 {width:98.0%}
	
	#service .g1 {width:31.333%;}
	#resume .g2,
	#contact .g2{width:61%;padding-right: 0;border-right:none; }
	
	#resume .g1,
	#contact .g1{width:35%; padding-left: 20px;border-left: 1px solid #f1f1f1;}

}

/* PRINT */
@media print {
  * {background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important} /* Black prints faster */
  a, a:visited {color: #444 !important; text-decoration: underline}
  a[href]:after {content: " (" attr(href) ")"}
  abbr[title]:after {content: " (" attr(title) ")"}
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {content: ""}  /* Don't print links for images, javascript or internal links */
  pre, blockquote {border: 1px solid #999; page-break-inside: avoid; }
  thead {display: table-header-group; } /* Repeat header row at top of each printed page */
  tr, img {page-break-inside: avoid; }
  img {max-width: 100% !important; }
  @page {margin: 0.5cm}
  p, h2, h3 {orphans: 3; widows: 3}
  h2, h3{page-break-after: avoid}
}

/*============================================================
     IEレガシーブラウザIE8/7
===============================================================*/
.lt-ie9 .etabs >li span { display: inline; }
.lt-ie9 .tab a i{
  font-size: 16px;
  margin-right: 6px;
}
.lt-ie9 .tab a{ padding: 10px 40px 10px 40px; }
.lt-ie9 .tab a.active{ padding-top: 20px;}

.lt-ie9 #main-container,
.lt-ie9 .main { min-width:800px;}
.lt-ie9 .info ul { margin-top:2em;}

/*============================================================
     ! This Site ICON Font / only-style 
===============================================================*/
@font-face {
	font-family: 'icon-hal';
	src:url('../fonts/icon-hal.eot?y1l39p');
	src:url('../fonts/icon-hal.eot?#iefixy1l39p') format('embedded-opentype'),
		url('../fonts/icon-hal.woff?y1l39p') format('woff'),
		url('../fonts/icon-hal.ttf?y1l39p') format('truetype'),
		url('../fonts/icon-hal.svg?y1l39p#icon-hal') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icon-hal';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-service:before {
	content: "\e602";
}
.icon-mail:before {
	content: "\e60c";
}
.icon-office:before {
	content: "\e600";
}
.icon-phone:before {
	content: "\e601";
}
.icon-about:before {
	content: "\e604";
}

.icon-service,
.icon-mail,
.icon-office,
.icon-phone, 
.icon-about {
	 line-height:2;  
}

/* MOBILE PORTRAIT */
@media only screen and (max-width: 320px) {
	.icon-service,
	.icon-mail,
	.icon-office,
	.icon-phone, 
	.icon-about {
		 padding-left:20px;
	}
}
