﻿/*
Theme Name: 内職サポートセカンドワーク
Theme URI: http://2ndwork.biz/
Description: 内職サポートセカンドワーク Responsible Web Design バージョン
Author: Inamoto co. ltd.
Author URI: http://iinamotto.com/
Version: 1.0
*/

/*
スマホ: 320px - 540px 
タブレット: 540 - 980px
PC: 980px以上　最大1600px
*/
 
/* 共通の設定 */

/*---------- Tag ----------*/

html {
	background: #f382bb;
}

body {
  font-family: Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
  font-size: medium;
  color: #222;
  max-width: 1300px;
  width: 100%;
  margin: 10px auto -10px;
  padding: 0;
  background: #fff;
}

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

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

a:link { color: #36c; }

a:visited { color: #669; }

a:hover,a:active { color: #000; }

em {
  color: #c22;
}

/* ---------- Div ---------- */

/* コンテナ */
#container {
  max-width: 100%;
  overflow: hidden;
}

/* ヘッダー */
#header {
	margin: 20px 0;
}

#header::after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}

#header-logo {
	float: left;

}

#header-right {
	float: right;
}

/* ナビゲーション */

#nav {

}

#nav::after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}

#nav ul {
	background: #931e56;
	min-height: 44px;
	width: 100%;
	padding-left: 0;

}

#nav ul li {
	list-style: none;
	float: left;
	text-align: center;
	width: 20%;
	min-height: 44px;
	padding-top: 10px;
	position: relative;
}

#nav ul li a {
	display: block;
	text-decoration: none;
	color: #fff;
	text-shadow: #621e2f 1px 1px 1px;
}

#nav ul li {
	border-left: 1px solid #fff;
}

#nav ul li a:hover {
	font-weight: bold;
}

#nav li ul.sub-menu {
  position: absolute;
}

#nav ul.sub-menu li {
	width: 100%;
  min-height: 44px;
  color: #fff;
  position: relative;
	text-align: center;
	
}
#nav ul.sub-menu li a {
  display: block;
}


/* Youtube */

.youtubebox {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: 1px solid #000;
  margin: 10px 0;
}

.youtubebox iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* トップページ */
#topinfo a {
    text-decoration: none;
    color: #333;
}
#topinfo .date {
    color: #999;
}

/* 固定ページ */


/* お問合せ */

.wpcf7-form {
  padding: 10px 30px;
  margin: 1em auto;
  background: #cbd0f4;
	max-width: 800px;
}

.wpcf7-form input {
  max-width: 100% !important;
	height: 44px;
}

.wpcf7-form textarea {
  width: 100% !important;
}

.wpcf7-submit {
  width: 100px;
  height: 50px;
}
.wpcf7-form em {
	font-weight: 700;
	font-style: normal;
}

/* 投稿 */

#contents {
	max-width: 1000px;
	margin: 0px auto;
	padding: 30px 3%;
}

#contents::after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}

.post_content {
}

.post p {
  margin: 1em 0;
}

.post h2 {
	font-size: 160%;
	margin: 30px 5px 30px 0;
	padding: 10px 20px;
	color: #000;
	background: #eee;
	border-top: 2px solid #2033c9;
	box-shadow: 2px 2px 2px #999;
}


.post h3 {
	font-size: 130%;
	border-left: 20px double #6271de;
	margin: 30px 0;
  padding-left: 10px;
 }

.post h4 {
  font-size: 140%;
	background: #6271de;
  color: #fff;
  margin: 1em 0;
	padding: 10px 20px;
	border-radius: 30px;
	width: 300px;
}

.post h4 a {
}

.post h5 {
}

.post h6 {
}

.post h6 a {
}

.post .postdate {
  font-size: 90%;
  font-weight: normal;
  color: #693;
}

.post table {
  border-collapse: collapse;
  margin: 1em auto;
  width: auto;
    max-width: 1000px;
			border-color: #6271de !important;
}

.post th,
.post td {
  border: 1px solid #ddd;
  padding: 0.2em 1em;
    vertical-align: middle;
			border-color: #6271de !important;
}

.post th {
  background: #6271de;
	color: #fff;
}

.post ol,
.post ul {
  padding-left: 3em;
}

.post ol li {
  list-style:decimal;
}

.post ul li {
  list-style:circle;
}

.oldpage {
    float: left;
}

.newpage {
    float: right;
}

/* 記事内の画像 */


.wp-caption {
  border: solid 1px #aaa;
  text-align: center;
  padding-top: 5px;
}

.wp-caption p {
  margin: 0;
}

.cb {
  clear: both;
}

.textcenter {
  text-align: center;
}

.textright {
  text-align: right;
}


/* フッター */

#footer {
	margin-top: 20px;
	padding: 20px;
  background: #931e56;
	color: #fff;
}

#footer:after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}

.footer-box {
	padding: 10px;
}


/*  トップページ　*/

.date {
  color: #1d2088;
}


/* スマホのスタイル */

#nav {
	display: none;
}

.footer-box {
  width: 100%;
}


p.thumb {
	text-align: center;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.post h2 {
    font-size: 150%;
}

#slider_pc { display: none; }
#slider_mobile { display: block; }


/* タブレットのスタイル */
 
@media all and (min-width: 760px) {
  
	#nav {
		display: block;
	}
	
	.footer-box {
  float: left;
  color: #fff;
	width: 33%;
	padding: 10px;
}



/* ブログ */
p.thumb {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
	
	.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

.alignright {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
}

.post h2 {
    font-size: 200%;
}

    #slider_mobile { display: none; }
    #slider_pc { display: block; }
}
  
/* PCのスタイル */
 
@media all and (min-width: 980px) {
  

.post h2 {
    font-size: 200%;
}

    #topinfo {
        font-size: 140%;
    }


}





