﻿@charset "utf-8";
/*
Theme Name:	 	ポートフォリオ
Description:	自作のポートフォリオ
Author:			阿部まり子
Version:		1.0.1
*/

* {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	text-decoration: none;
	list-style: none;
	box-sizing: border-box;
	border: none;
}
html {
	font-size: 62.5%; /* -> 10px */
	background: #fff;
	width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
 /* リンク */
a:hover ,
input[type="submit"]:hover {
	opacity: 0.75;
	position: relative;
	top: 1px;
}
main a {
	text-decoration: underline;
}
main a:hover {
	text-decoration: none;
}
 /* アイコン */
i {
	margin-right: 0.5rem;
}
 /* 画像 */
img {
	width: 100%;
	height: auto;
}

/**************************************************/
/* 色 */
/**************************************************/
/* メインカラー */
html , a {
	color: #555;
}
/* ポイントカラー */
header ,
footer .copy ,
#pageTitle ,
h1 , h2 , h3 , h4 {
	color: #000;
}
.btn a ,
input[type="submit"] {
	background: #000;
}
/* サブカラー */
#pageTitle span ,
h1 span , h2 span , h3 span , h4 span {
	color: #bbb;
}
/* 画像の枠線 */
.home #work .flex article img ,
#archivePage .flex article img ,
.postPage .thm img {
	border: 1px solid #eee;
}

/**************************************************/
 /* 角丸 */
/**************************************************/
img ,
.btn a ,
.pageNav a ,
input[type="submit"] ,
input[type="text"] ,
input[type="url"] ,
input[type="email"] ,
textarea {
	border-radius: 4px;
}

/**************************************************/
/* ボタン */
/**************************************************/
.btn a ,
input[type="submit"] {
	display: inline-block;
	padding: 1.5rem 4rem;
	font-size: 1.5rem;
	line-height: 1rem !important;
	text-align: center;
	color: #fff;
	text-decoration: none !important;
}
header .nav .btn a {
	display: block;
	font-size: 1.4rem;
	padding: 1.4rem;
}

/**************************************************/
/* フォント・文字サイズ */
/**************************************************/
html {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 400;
	font-style: normal;
}
/* 20px */
#pageTitle ,
h1 , h2 {
	font-size: 2rem;
	line-height: 1.2;
}
/* 16px */
h3 {
	font-size: 1.6rem;
	line-height: 1.2;
}
/* 15px */
header li {
	font-size: 1.5rem;
}
/* 標準 */
main p ,
main li ,
main dt ,
main dd ,
main td {
	font-size: 1.3rem;
	line-height: 1.6;
}
/* 13px */
header .nav li ,
footer {
	font-size: 1.3rem;
}

/**************************************************/
/* ブロック */
/**************************************************/
body {
	margin: 0 5%;
}
h2 ,
main ,
section ,
#pageTitle ,
#pankuzu ,
.pageNav ,
#categorieNav ,
.pagination ,
main form ,
.postPage p.thm ,
.postPage section h1 ,
.postPage section dl ,
.postPage section div ,
.postPage .theContent {
	margin: 4rem 0;
}
section section {
	margin: 0;
}
p {
	margin: 2rem 0;
	line-height: 1.6;
}

/**************************************************/
/* 本文 */
/**************************************************/
/* ページタイトル */
#pageTitle {
	text-align: center;
}
.home #work h2 em ,
#pageTitle em {
	writing-mode: vertical-rl;
}
#pageTitle span {
	writing-mode: horizontal-tb;
}
/* 見出し */
#pageTitle span ,
h1 span , h2 span , h3 span , h4 span {
	display: block;
	margin: 0.5rem 0 0;
	font-size: 1rem;
	line-height: 1rem;
}

/* リスト */
main li {
	margin-left: 3rem;
	margin-right: 1rem;
	list-style: disc;
}

/* テーブル */
main table {
	width: 100%;
	border-collapse: collapse;
}
main th ,
main td {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	line-height: 1.4;
}
main th {
	padding: 1rem ;
	background: #eee;
	white-space: nowrap;
}
main td {
	width: 100%;
	padding: 1rem 2rem;
}

/**************************************************/
/* パンくずリスト */
/**************************************************/
#pankuzu li {
	display: inline;
	line-height: 1.4;
}
#pankuzu ul li:after {
	content: ">";
	margin: 0 0.5rem;
	line-height: 1.4;
}
#pankuzu ul li:last-child:after {
	content: "";
}

/**************************************************/
/* ページナビゲーション */
/**************************************************/

/* 前後記事ナビ */
.pageNav ul {
	display: flex;
	justify-content: flex-end;
}
.pageNav li {
	margin: 0 0 0 0.5rem;
	list-style: none;
}
.pageNav a {
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 32.5px;
	font-size: 20px;
	text-align: center;
	text-decoration: none;
	background: #000;
	color: #fff;
}

/**************************************************/
/* タブレットの時 */
/**************************************************/
@media only screen and (min-width: 768px) {
	/* ブロック */
	#pageTitle {
		margin-top: 1.5rem;
	}
	#categorieNav ,
	#archivePage .flex {
		margin: 8rem 0;
	}
	#error404Page,
	#contactPage {
		width: 800px;
		margin: 8rem auto;
	}
	/* 横並び */
	.flex {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	/* 3列 */
	footer .flex section,
	footer .flex .column3 ,
	.home #skill section section {
		width: 30%;
	}
	/* テーブル */
	main th {
		padding: 1.5rem 2rem;
	}
	main td {
		padding: 1.5rem 4rem;
	}
	/* ヘッダー */
	header .nav .btn a {
		padding: 1.5rem 4rem;
	}
}

/**************************************************/
/* PCの時 */
/**************************************************/
@media only screen and (min-width: 1000px) {
	/* 13px */
	main th {
		min-width: 20%;
		font-size: 1.3rem;
	}
	/* 標準 */
	main p ,
	main li ,
	main dt ,
	main dd ,
	main td {
		font-size: 1.5rem;
	}
}