@charset "utf-8";

/* ===================================================
   共通スタイル（全ページ共通：ヘッダー／フッター／見出し）
=================================================== */

body {
	font-family: Helvetica, "游ゴシック", "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;
	font-size: 14px;
	line-height: 1.9;
	color: #333;
	text-align: left;
}

.sp {
	display: block;
}
.pc {
	display: none;
}

/* ---------------------------------------------------
   header
--------------------------------------------------- */
header {
	position: relative;
	margin-bottom: 25px;
}
header .logo {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 21px 0 25px 30px;
}
header .logo img {
	width: 28px;
	height: 28px;
}
header .logo .logoType {
	font-family: "Lato", sans-serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.12em;
	color: #333;
}

nav.gNav {
	margin-bottom: 20px;
	border-top: 1px solid #d9d9d9;
}
nav.gNav ul {
	display: flex;
	flex-wrap: wrap;
}
nav.gNav li {
	width: 50%;
	border-bottom: 1px solid #d9d9d9;
	text-align: center;
}
nav.gNav li:nth-child(odd) {
	border-right: 1px solid #d9d9d9;
}
nav.gNav a {
	display: block;
	padding: 12px 0;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.1em;
}
nav.gNav a.current {
	opacity: 0.3;
}
nav.gNav a[href="/about/"],
nav.gNav a[href="/works/"],
nav.gNav a[href="/blog/"],
nav.gNav a[href="/contact/"] {
	font-family: Helvetica, "游ゴシック", "Yu Gothic", YuGothic, HiraKakuProN-W3, "メイリオ", Meiryo, sans-serif;
	letter-spacing: 0.02em;
}

.socialBtn {
	display: none;
	justify-content: center;
	gap: 14px;
	margin: 0 0 20px 0;
}
.socialBtn img {
	width: 24px;
	height: 24px;
}

/* ---------------------------------------------------
   見出し共通
--------------------------------------------------- */
#main h2.ttl {
	margin-bottom: 40px;
	text-align: center;
	line-height: 1;
	font-family: "Lato", sans-serif;
	font-weight: 100;
	font-size: 40px;
	letter-spacing: 0.05em;
}
#main h2.ttl[lang="ja"] {
	font-family: Helvetica, "游ゴシック", "Yu Gothic", YuGothic, HiraKakuProN-W3, "メイリオ", Meiryo, sans-serif;
	font-weight: 400;
	font-size: 26px;
	letter-spacing: 0.05em;
	color: #505050;
}
#main.inner h2.ttl {
	margin-bottom: 25px;
}
#main h3.ttl {
	margin-bottom: 12px;
	text-align: center;
	line-height: 1;
	font-size: 22px;
	color: #505050;
}
#main p.ttl {
	margin-bottom: 20px;
	text-align: center;
	line-height: 1;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.1em;
	color: #a5a5a5;
}

.contBox {
	margin: 0 20px;
}

.toTop {
	text-align: center;
}
.toTop a {
	display: inline-block;
	margin-bottom: 40px;
	padding: 8px 20px;
	font-size: 20px;
	color: #a5a5a5;
}

/* ---------------------------------------------------
   footer
--------------------------------------------------- */
footer {
	padding: 0 20px 20px;
}
nav.footerNav {
	margin-bottom: 20px;
	border-top: 1px solid #d9d9d9;
}
nav.footerNav ul {
	display: flex;
	flex-wrap: wrap;
}
nav.footerNav li {
	width: 50%;
	border-bottom: 1px solid #d9d9d9;
	text-align: center;
}
nav.footerNav li:nth-child(odd) {
	border-right: 1px solid #d9d9d9;
}
nav.footerNav a {
	display: block;
	padding: 12px 0;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.1em;
}
nav.footerNav a[href="/about/"],
nav.footerNav a[href="/works/"],
nav.footerNav a[href="/blog/"],
nav.footerNav a[href="/contact/"] {
	font-family: Helvetica, "游ゴシック", "Yu Gothic", YuGothic, HiraKakuProN-W3, "メイリオ", Meiryo, sans-serif;
	letter-spacing: 0.02em;
}
#copyright {
	margin-bottom: 20px;
	text-align: center;
	font-size: 12px;
}

/* =====================================================
   タブレット向け：760px～960px
===================================================== */
@media only screen and (min-width: 760px) {

	.sp { display: none; }
	.pc { display: block; }

	header {
		max-width: 960px;
		height: 270px;
		margin: 0 auto;
	}
	header .logo {
		position: absolute;
		top: 105px;
		left: 30px;
		padding: 0;
	}
	header .logo img {
		width: 34px;
		height: 34px;
	}
	header .logo .logoType {
		font-size: 26px;
	}
	nav.gNav {
		position: absolute;
		bottom: 30px;
		right: 30px;
		margin-bottom: 0;
		border-top: none;
	}
	nav.gNav ul {
		gap: 40px;
	}
	nav.gNav li {
		width: auto;
		border-bottom: none;
	}
	nav.gNav li:nth-child(odd) {
		border-right: none;
	}
	nav.gNav a {
		padding: 0;
		font-size: 14px;
	}
	.socialBtn {
		position: absolute;
		top: 34px;
		right: 30px;
		margin: 0;
	}

	#main.inner {
		max-width: 960px;
		margin: 0 auto;
	}
	#main h2.ttl.large {
		margin: 0 0 70px 0;
		text-align: left;
		font-size: 46px;
	}
	#main h2.ttl.large[lang="ja"] {
		font-size: 32px;
	}
	.contBox {
		margin: 0 40px;
	}

	footer {
		max-width: 960px;
		margin: 0 auto;
		padding-bottom: 20px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	nav.footerNav {
		margin: 0;
		border-top: none;
	}
	nav.footerNav ul {
		justify-content: flex-start;
		gap: 24px;
	}
	nav.footerNav li {
		width: auto;
		border-bottom: none;
		text-align: left;
	}
	nav.footerNav li:nth-child(odd) {
		border-right: none;
	}
	nav.footerNav a {
		display: inline;
		padding: 0;
		font-size: 14px;
	}
	#copyright {
		margin: 0;
		text-align: right;
	}
}

/* =====================================================
   PC向け：961px～
===================================================== */
@media only screen and (min-width: 961px) {

	a:hover {
		text-decoration: underline;
	}
	header .logo:hover {
		text-decoration: none;
	}
	nav.gNav a:hover,
	nav.footerNav a:hover,
	.toTop a:hover {
		text-decoration: underline;
	}

	header .logo {
		left: 0;
	}
	nav.gNav {
		right: 0;
	}
	.socialBtn {
		right: 0;
	}

	.contBox {
		margin: 0;
	}
}
