@charset "utf-8";

/* ---- リセット ---- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, main,
menu, nav, output, ruby, section, summary,
time, mark, audio, video{
	margin:0;
	padding:0;
	border: 0;
	font-size: 100%;
}

/* --- 全体設定 --- */
html {
	-webkit-text-size-adjust:100%;
	height:100%;
	font-size:18px;
}

@media screen and ( max-width:800px ){
	html {
		font-size:15px;
	}
}

img {
	border:0;
	max-width:100%;
	height:auto;
}

a {
	text-decoration: none;
	color:black;
}

/* --- フォント設定 --- */

@import url(//fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700);
body {
	font-family:"Roboto Slab" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
  padding-top:0px;
  padding-bottom:0px;
  background: #ffffff;
  margin:0;
  color:#000000;
  _display:inline;
  _zoom:1;
  position:relative;
	height:100%;
	line-height:2;
}

 /* --- ヘッダー --- */
#header {
	width:100%;
  background-color: white;
}

 /* --- ラッパー --- */

#wrap {
  max-width:940px;
  margin:0 auto;
  padding:0rem 10px 5rem 10px;
}

@media screen and ( max-width:640px ){
	#wrap {
		width:auto;
		margin:0 auto;
		padding:1.5rem 10px 3rem 10px;
	}
}

/*---- 見出し共通 ----*/
h1 {
  font-size:3rem;
  text-align:center;
  vertical-align:middle;
	margin-bottom:2rem;
}

@media screen and ( max-width:640px ){
	h1 {
	  font-size:2rem;
		margin-bottom:1.5rem;
	}
}

h1 img{
	vertical-align:middle;
	display: inline;
	padding-right:1rem;
	height:3.5rem;
}

@media screen and ( max-width:640px ){
	h1 img{
		height:2.5rem;
		padding-right:0.5rem;
	}
}

/* --- 文字種類 --- */

.mojismall {
	font-size:0.8rem;
	background-color: #FFC;
	text-align: center;
	padding:0 10px;
}

@media screen and ( max-width:640px ){
	.mojismall{
		font-size: 0.6rem;
	}
}

small {
	font-size: 0.8rem;
}

@media screen and ( max-width:640px ){
	small {
		font-size: 0.5rem;
	}
}

section.title {
  max-width:940px;
	margin-bottom:50px;
	padding:50px 10px 0px 10px;
	line-height: 2rem;
}

@media screen and ( max-width:640px ){
section.title {
	font-size:0.7rem;
	line-height: 200%;
}
}


#toiawase {
  margin-bottom:100px;
	text-align: center;
}

/* --- スライドショー --- */

#viewer {
	padding-top:2rem;
	padding-bottom: 2rem;
	max-width: 960px;
	margin:auto;
	border-bottom: 1px solid #000;
}

.ticker {
	overflow: hidden;
	height:20px;
}

@media screen and ( max-width:640px ){
	#hotnews li{
	  font-size: 0.5rem;
		line-height: 15px;
	}
	.ticker {
		height:15px;
	}
}

/*--- clearfix ---*/
.clearfix:after {/*for modern browser*/
   content: "";
   display: block;
   clear: both;
}
.clearfix { *zoom:1; } /*for IE6,IE7*/

/* --- Q&A --- */
#qamenu table{
	padding:0px;
	width:60%;
	margin:0px auto;
	border-collapse: collapse;
}

#qamenu td{
	text-decoration:none;
	border:1px solid black;
	margin:auto;
	padding:0;
	text-align:center;
}

#qamenu table a{
	padding:10px 0;
	display: block;
	cursor: pointer;
}

#qamenu table a:hover{
	background-color:#F5F5F5;
}

@media screen and ( max-width:640px ){
#qamenu td{
	font-size: 0.7rem;
}
}

#qa h2 {
	color:#747474;
	border-bottom: 1px dotted #747474;
	border-left: none;
	margin-top:4rem;
	background: url('img/Q.png') no-repeat left center;
	background-size: 1.2em 1.5em;
	font-size:1.3em;
	padding-left: 1rem;
	line-height:1.5em;
}

@media screen and ( max-width:640px ){
	#qa h2 {
		font-size:1rem;
		}
}

ul.qa_section {
		list-style: inside;
		padding-left:1em;
		text-indent: -1em;
}

ul.qa_section li {
}

.gotop_qa{
	text-align:right;
	line-height:50px;
}

/* --- works --- */

#works h2{
	font-size: 0.8rem;
	background-image:url('img/h2ami.gif') ;
	border-left: none;
	border-bottom: none;
	padding-left: 0;
	text-indent: 0;
}

@media screen and ( max-width:640px ){
	#works h2{
		font-size: 0.7rem;
		background-image:url('img/h2ami.gif') ;
	}
}

.inworksretu {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.inworksretu div {
	border:1px dotted black;
	margin:1rem 1% 1rem 1%;
	padding:15px;
	box-sizing: padding-box;
	font-size: 0.8rem;
}

.inworksretu img{
	display:block;
	margin:auto;
	margin-bottom: 10px;
	width:80%;
	border:none;
}

.inworksretu h2,.inworksyoutube h2{
	text-align: center;
}

.inworksyoutube{
	float:left;
	width:45%;
	border:1px dotted;
	margin-right:1%;
	margin-left:1%;
	padding:1%;
	box-sizing: padding-box;
	margin-bottom:20px;
	font-size: 0.8rem;
}

@media screen and ( max-width:640px ){
	.inworksyoutube{
		width:90%;
		margin-right:2%;
		margin-left:2%;
		padding:2%;
		font-size: 0.7rem;
	}
}

iframe {
	display:block;
	margin:auto;
	margin-bottom: 10px
}

.right {
	float:right;
}

.left {
	float: left;
}

.centered {
		text-align: center;
}

.mgtop {
	margin-top: 50px;
}

/* --- フェード効果 --- */

.fade {
    -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;
}
.fade:hover {
    opacity: 0.4;
    filter: alpha(opacity=60);
}


/* --- company --- */
.com_contents {
	margin-bottom:3rem;
	font-size: 0.8rem;
}

.com_contents table {
	width:50%;
	padding-top:2rem;
	margin-right:10%;
	font-size: 0.8rem;
}

.com_contents table tr {
	height:3rem;
}

@media screen and ( max-width:640px ){
.com_contents table {
	float:none;
	width:auto;
	margin:0 auto;
}
}

.kenchikushi {
	float:left;
	width:30%;
	margin-left:10%;
	padding-top:50px;
}

@media screen and ( max-width:640px ){
	.kenchikushi {
		float:none;
		width:100%;
		margin-left:0;
		text-align: center;
	}
}

.f_right {
float:right;
padding-left:20px;
}

dt {
	font-weight: bold;
	line-height: 1rem;
}

/*-- gotop --*/
	#back-top a img {
	    position:fixed;
	    bottom:0px;
	    right:30px;
	}

/* --- フッター --- */

	footer ul{
		list-style: none;
	}

	#footer {
	  height:auto;
	  background-image:url(img/footer.png);
	  background-repeat:repeat-x;
	  width:100% !important;
	  margin:0;
	  padding:0px;
	  text-align:center;
		bottom: 0px;
	}

.footleft{
	float:left;
}

.infooter {
	padding-top:50px;
	max-width: 960px;
	margin: 0 auto;
}

.infooter:last-child {
	padding-top:1em;
}

.sitemap {
	text-align: left;
	font-size: 0.6rem;
	line-height: 200%;
	text-indent: 1em;
}

nav.right {
	margin-right:1rem;
}

h3 {
	font-size: 0.8rem;
}

@media screen and ( max-width:640px ){
	h3 {
		font-size: 0.6rem;
	}
	.sitemap li {
		font-size:10px;
	}
	.sitemap {
		padding-right:10px;
	}
	.footleft{
		max-width:70%;
	}
}

#sitemaptitle {
	font-size: 0.7rem;
	font-weight: bold;
}

@media screen and ( max-width:640px ){
	#sitemaptitle {
		font-size: 0.6rem;
		font-weight: bold;
	}
}

.sitemap li a {
	background: #EEE url('img/pagelink.png') no-repeat left;
	background-size: 0.8rem 0.8rem;
	padding-left:1rem;
}

.smalltext {
	font-size:0.7rem;
	font-weight: normal;
	line-height: 1rem;
}

/* --- ps --- */

nav#psmenu ul{
	list-style: none;
	width:25%;
	float: left;
	box-sizing: border-box;
	margin-right: 3%;
	margin-top: 2rem;
	}

@media screen and ( max-width:640px ){
	nav#psmenu ul {
		float: none;
		width:60%;
		margin: auto;
		text-align: center;
			}
	}

#psmenu ul li{
	height:2.4rem;
	width:100%;
	border-top: 1px solid #AAA;
}

#psmenu ul li:last-child {
	border-bottom: 1px solid #AAA;
}

#psmenu ul li a{
	display:block;
	vertical-align: middle;
	line-height:2.4rem;
	width:100%;
	font-size: 0.8rem;
	text-indent:2em;
	background: #EEE url('img/pagelink.png') no-repeat;
	background-position: 0.5rem 0.7rem;
	background-size: 0.8rem 0.8rem;
}

@media screen and ( max-width:750px ){
	#psmenu ul li a{
		font-size: 0.7rem;
	}
}

@media screen and ( max-width:640px ){
	#psmenu ul li a{
		font-size: 0.6rem;
		text-indent: 0;
		background-image:none;
	}
}

#psmenu ul li;last-child{
	margin-right:0%;
	color:red;
}

.pstezyun {
	border:dotted 1px black;
	padding:10px;
	width:90%;
	background-color: #EDB;
	margin: auto;
}

.pstezyun h3{
	margin-bottom:0.5rem;
	border-bottom: dotted 1px #000;
	font-size:0.85rem;
}

.yazirushi{
	font-size:3rem;
	text-align: center;
	color:#555;
}

.lk {
	text-decoration: underline;
	color:blue;
}

#about,#nagare,#psworks,#price {
	box-sizing: border-box;
	padding:0;
	margin-top: 2rem;
	font-size: 0.8em;
	padding-top: 1rem;
}

#about {
	padding-top: 0;
}

h2 {
	color:#555;
	border-left: 10px gray solid;
	border-bottom: 1px gray dotted;
	text-indent: 1rem;
	font-size:1rem;
	margin-bottom: 0.8rem
}

@media screen and ( max-width:640px ){
	h2 {
		font-size:0.8rem;
		}
}

table.psprice,.psprice th,.psprice td {
	border:1px solid #DDD;
	text-align: center;
	height:50px;
}

.psprice th,.psprice td {
	padding-left:1em;
	padding-right: 1em;
}

.psprice th {
	background: #EEE;
}

table.psprice {
	margin: auto;
	border-collapse: collapse;
	padding-bottom: 20px;
}

caption span {
	padding:0 1em;
	font-size: 0.9rem;
	font-weight: bold;
	border-bottom: solid 1px #DDD;
	color: #555;
}

caption {
	margin-bottom:1rem;
	margin-top: 2em;
}

#ps div.right {
	width:72%;
}

@media screen and ( max-width:640px ){
	#ps div.right {
		float: none;
		margin:auto;
		width:100%;
			}
	}

/* --- ヘッダー部 --- */

#headbar {
	width:100%;
}

#headwrap {
	border-bottom: 1px solid #000;
	max-width:960px;
	margin:auto;
	padding-top:5px;
	position:relative;;
}

/* --- グローバルメニュー --- */

#gmenubutton {
	top:0px;
	cursor: pointer;
	z-index:20;
	position:fixed;
	right:20px;
}

#gmenu {
	display:none;
	width:100%;
	height:100%;
	padding:0px;
	margin:0px;
	z-index:12;
	position:fixed;
	top:0px;
}

#gmenu ul {
	width:100%;
	height:100%;
	margin:0;
	padding:0;
	cursor: pointer;
	background: #FFF;
}

#gmenu li {
	width:100%;
}

#gmenu li a {
	display:block;
	width:100%;
	text-align: center;
	font-size:1rem;
	text-decoration: none;
	background-color:#FFF;
	cursor: pointer;
}

#gmenu li a:hover{
	background-color:#F5F5F5;
}

.migi {
	height:50px;
}

/* --- ハイライトメニュー --- */

#topHighlight {
	width:100%;
}

.highlight h2,.firsthighlight h2 {
	color:#555;
	font-size:0.8rem;
	text-indent: 1rem;
	border-bottom: 1px dotted gray;
	border-left: 10px solid #gray;
}

.highlight p,.firsthighlight p {
	font-size:0.7rem;
}

div.highlight {
	float:left;
	width:33%;
	box-sizing: border-box;
	border-left:1px dotted #DDD;
	padding:20px 10px 20px 10px;
	margin:0;
	margin-top:20px;
	margin-bottom: 20px;
	position: relative;
}

div.highlight:nth-child(1),div.highlight:nth-child(4) {
	width:34%;
	border:0;
}

.highlight:last-child {
	width:66%;
}

p.more a {
	display: block;
	height: 100%;
	color:#000;
}

p.more {
	text-align:right;
	color:#080;
	text-decoration: underline;
	font-weight: bold;
	position: absolute;
	bottom: 1rem;
	right:10px;
	background: #FFC;
	padding-left: 5px;
	padding-right: 5px;
	cursor: pointer;
}

p.more:hover {
	opacity: 0.5;
}

.highlight p img {
	float:left;
	width:25%;
	padding-right: 5%;
}

/* --- ボタン --- */
.button {
	height:3em;
	background: #999;
	width:9em;
	margin:0 auto;
	border-radius: 15px;
}

.button p a {
	display:block;
	line-height:3em;
	color:#FFF;
	width: 100%;
}
