@charset "utf-8";
/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, 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,table,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	background:transparent;
}

body {
	line-height:1;
	font-size:15px;
	text-align: justify;
	font-feature-settings: "palt";
}

html { 
	line-height: 0;
	font-size: 15px;
}


article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}

section {
	width: 100%;
	clear: both;
}

nav ul {
	list-style:none;
}

blockquote, q {
	quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}

a {
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
    text-decoration: none;
	color:#333;
}

sup {
	vertical-align:top;
}

/* change colours to suit your needs */
ins {
	background-color:#ccc;
	color:#000;
	text-decoration:none;
}

/* change colours to suit your needs */
mark {
	background-color:#ccc;
	color:#000; 
	font-style:italic;
	font-weight:bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom:1px dotted;
	cursor:help;
}

table {
	border-collapse:collapse;
	border-spacing:0;
	vertical-align: middle;
}

/* change border colour to suit your needs */
hr {
	display:block;
	height:1px;
	border:0;   
	border-top:1px solid #cccccc;
	margin:1em auto;
	padding:0;
    max-width:1000px; 
}

input, select {
	vertical-align:middle;
}

li {
	list-style: none;
}



/******* cleafix ********/
.clearfix:after {
		content: ".";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
}

.clearfix {
		display: inline-table;
		min-height: 1%;
}

/* Hides from IE-mac */
* html .clearfix {
		height: 1%;
}
.clearfix {
		display: block;
}


/******* setting ********/
html { font-size:15px; }
body {
	font-family: 'Cormorant Infant','Shippori Mincho','游明朝体', 'Yu Mincho', 'ヒラギノ明朝 Pro', 'Hiragino Mincho Pro', 'MS P明朝', 'MS PMincho',serif;
	line-height: 1.8;
	color: #162f60;
	background: #f8f8f8;
	-webkit-text-size-adjust: 100%;
    letter-spacing: 0.1em;
	font-feature-settings: "palt";
}

.pc_disp {display: block;}
.sp_disp {display: none;}
.pc_img {display: inline-block;}
.sp_img {display: none;}

a img:hover,
input[type=image]:hover {
    opacity: .6;
	-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;
}

a:hover {
	opacity: .6;
    -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;
}


img {
	width: 100%;
	height:auto;
	line-height: 0;
	vertical-align: middle;
}
main {
	margin: 90px 0 0 0;
}

section {
	margin: 0 auto 220px;
}
section p {
	margin: 0 auto 20px;
}

#wrapper {
    width: 85%;
	max-width: 900px;
	margin: auto;
}




/***********   ANNIMATION settng ***********/


/* 上下フェードイン設定 */

.fadein {
    opacity : 0;
    transform : translate(0, 70px);
    transition : all 1000ms;
    }
 
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
    }


/***********   TEXT SETTING ***********/

.txt_s { font-size: 0.8rem;}
.txt_m { font-size: 1.2rem;}
.txt_l { font-size: 1.8rem;}
.txt_cc { font-size:1.5rem; letter-spacing: 3px; }

.txt_cnt { text-align: center;}
.txt_right { text-align: right;}
strong { font-weight:700; }

h2 {
	position: relative;
	font-size: 3.2rem;
	font-weight: 400;
	margin: 0 0 130px 0;
	font-style: italic;
	text-align: center;
}
h2::after {
	position: absolute;
	content: "";
	width: 1px;
	height: 80px;
	background: #162f60;
	bottom:-80px;
	left: 0;
	right: 0;
	margin: auto;
	/*線の動き2秒かけて動く。永遠にループ*/
	animation: sdl 3.0s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl {
	0% {
		transform: scale(1, 0);
		transform-origin: 0 0;
	}
	50% {
		transform: scale(1, 1);
		transform-origin: 0 0;
	}
	50.1% {
		transform: scale(1, 1);
		transform-origin: 0 100%;
	}
	100% {
		transform: scale(1, 0);
		transform-origin: 0 100%;
	}
}
h3 {
	font-size: 1.8rem;
	font-weight: 400;
	margin: 0 0 30px 0;
	text-align: center;
}



/************************

HEADER

************************/

header {
	width: 70%;
	margin: 100px auto;
}
h1 { width: 100%; }



/************************

ABOUT

************************/

#about {
	text-align: center;
	padding: 0 0 100px 0;
}

/************************

SERVICE

************************/

#service p {
	text-align: center;
}


/************************

WORKS

************************/
#works {text-align:center;}
#works h3 {font-style: italic; margin-bottom: 0;}
#works p {margin-bottom: 30px;}


/************************

outline

************************/
.table_box,
.table_box dt,
.table_box dd {
    box-sizing: border-box;
}

.table_box dt,
.table_box dd {
    padding: 1em;
    margin: 0px;
}
.table_box dd {
}
.table_box {
	display: flex;
    flex-wrap: wrap;
	margin: 30px 0 0 0;
}
.table_box > dt,
.table_box > dd {
	display: flex;
	flex-direction: column;
	justify-content: top;
}
.table_box > dt {
	width: 20%;
}
.table_box > dd {
	width: 80%;
}
.table_box > dt:nth-child(4n-3),
.table_box > dd:nth-child(4n-2){
	background: #fff;
}


/************************

FOOTER

************************/

footer {
	width: 100%;
	padding:5% 0 10% ;
	margin-bottom: 50px;
	text-align:center;
	background: url("../images/footer_bg.png") no-repeat bottom center;
	background-size: 100%;
}
footer img {
	width: 150px;
	padding:0 0 20px ;
}
footer .cap {
	font-size: 0.6rem;
	letter-spacing: 1px;
}
.pagetop {
	position:fixed;
	bottom:35px;
	right: 20px;
	font-style: italic;
	background: url("../images/glassy_web_slice_08.png")no-repeat center top;
	background-size: 40px;
	padding:20px 15px 0;
	display: block;
}


@media screen and (max-width: 767px) {
	
img { width: 100%; }

.pc_disp {display: none;}
.sp_disp {display: block;}
.pc_img {display: none;}
.sp_img {display: inline-block;}
	
body { font-size:13px; }
main {
	margin: 5% 0 0 0;
}

section {
	margin: 0 auto 40%;
}
section p {
	margin: 0 auto 5%;
}

h2 {
	position: relative;
	font-size: 2.5rem;
	margin: 0 0 100px 0;
}
h2::after {
	position: absolute;
	content: "";
	width: 1px;
	height: 70px;
	background: #162f60;
	bottom:-70px;
	left: 0;
	right: 0;
	margin: auto;
	/*線の動き2秒かけて動く。永遠にループ*/
	animation: sdl 3.0s cubic-bezier(1, 0, 0, 1) infinite;
}
h3 {
	font-size: 1.2rem;
	text-align: left;
	margin: 0 0 3% 0;
}

	
	

/************************

HEADER

************************/

header {
	margin: 20% auto 30%;
}


/************************

ABOUT

************************/

#about {
	text-align: left;
	padding: 0;
}

/************************

SERVICE

************************/

#service p {
	text-align: left;
}


/************************

WORKS

************************/
#works {text-align:left;}
#works p {
	margin-bottom: 30px;
	padding-left:1em;
	text-indent:-1em;
	}

/************************

outline

************************/
.table_box,
.table_box dt,
.table_box dd {
    box-sizing: border-box;
}

.table_box dt,
.table_box dd {
    padding: 0.5em 1em 1em;
    margin: 0px;
}
.table_box dt {
	font-weight: 700;
	padding: 1em 1em 0;
}
.table_box {
	display: inherit;
    flex-wrap: wrap;
	margin: 30px 0 0 0;
}
.table_box > dd {
	border:none;
}
.table_box > dt {
	width: 100%;
}
.table_box > dd {
	width: 100%;
}

/************************

FOOTER

************************/

footer {
	width: 100%;
	padding:5% 0 15% ;
	margin-bottom: 50px;
	background-size: 120%;
}
footer img {
	width: 30%;
	padding:0 0 3%;
}
footer .cap {
	font-size: 0.6rem;
	letter-spacing: 1px;
}
.pagetop {
	position:fixed;
	bottom:15px;
	right: 10px;
	font-style: italic;
	background: url("../images/glassy_web_slice_08.png")no-repeat center top;
	background-size: 30px;
	padding:10px 10px 0;
	display: block;
}
	
	
}
