@charset "utf-8";

/* =====================================================
   トップページ：Hero
===================================================== */
#mainVisual {
	background-color: #ecebeb;
	margin-bottom: 50px;
}
#mainVisual .heroInner {
	display: flex;
	align-items: stretch;
	aspect-ratio: 640 / 760;
	max-width: 960px;
	margin: 0 auto;
}
#mainVisual .heroBubble {
	flex: 0 0 42%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 4px;
}
#mainVisual .heroBubble p {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-size: 15px;
	font-weight: normal;
	line-height: 2;
	letter-spacing: 0.05em;
	color: #4a4a4a;
	margin: 0 auto;
}
#mainVisual .heroBubble p.sub {
	margin-right: 16px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.8;
	color: #666;
}
#mainVisual .heroPhoto {
	flex: 0 0 58%;
}
#mainVisual .heroPhoto img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
	border-radius: 0;
}

/* =====================================================
   Service
===================================================== */
#sevice {
	margin: 0 0 60px;
	padding: 0 30px;
}
#sevice .serviceList {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
#sevice .serviceItem .icon {
	margin-bottom: 20px;
	text-align: center;
}
#sevice .serviceItem .icon img {
	width: 49px;
	height: 51px;
}

/* =====================================================
   Works（トップページのグリッド抜粋／一覧ページ共通）
===================================================== */
#works {
	margin: 0 0 70px;
	padding: 0 20px;
}
#works .worksGrid {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
#works .worksGrid li {
	display: flex;
	flex-direction: column;
	text-align: right;
}
#works .worksGrid .photo {
	margin-bottom: 20px;
	text-align: center;
}
#works .worksGrid .photo img {
	width: 100%;
	max-width: 280px;
	height: 260px;
	object-fit: cover;
	border: 1px solid #e0e0e0;
}
#works .worksGrid .cont {
	margin-bottom: 15px;
	text-align: left;
}
#works .worksGrid .detail {
	display: inline-block;
	margin-top: auto;
	align-self: flex-end;
	padding: 8px 12px;
	background-color: #eee;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.1em;
}

/* =====================================================
   Blog（トップページのグリッド抜粋／一覧ページ共通）
===================================================== */
#blog {
	margin: 0 0 30px;
	padding: 0 30px;
}
.blogGrid {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.blogGrid li {
	display: flex;
	flex-direction: column;
	text-align: right;
}
.blogGrid .photo {
	margin-bottom: 20px;
	text-align: center;
}
.blogGrid .photo img {
	width: 100%;
	max-width: 280px;
	height: 260px;
	object-fit: cover;
}
.blogGrid .cont {
	margin-bottom: 15px;
	text-align: left;
}
.blogGrid .detail {
	display: inline-block;
	margin-top: auto;
	align-self: flex-end;
	padding: 8px 12px;
	background-color: #eee;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.1em;
}

/* =====================================================
   About
===================================================== */
.txtBox {
	margin-bottom: 30px;
}
.fBox01 {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.fBox01 .imgFace img {
	width: 160px;
	height: 160px;
	object-fit: cover;
	object-position: center top;
	border-radius: 0;
	margin: 0 auto;
	display: block;
}
.companyProf {
	margin-bottom: 25px;
	font-size: 13px;
}
.companyProf .row {
	display: flex;
	flex-direction: column;
	padding: 8px 0;
	border-bottom: 1px solid #e0e0e0;
}
.companyProf dt {
	color: #999;
	margin-bottom: 2px;
}
.fBoxRight h2 {
	margin: 10px 0 15px;
	font-size: 16px;
	letter-spacing: 0.05em;
}

/* =====================================================
   Works 一覧ページ（詳細リスト）
===================================================== */
#worksList {
	margin-bottom: 30px;
}
#worksList > li {
	margin-bottom: 60px;
}
#worksList > li:last-child {
	margin-bottom: 0;
}
#worksList .img {
	margin-bottom: 35px;
	text-align: center;
}
#worksList .img img {
	width: 100%;
	height: auto;
}
#worksList h3.ttl {
	margin-bottom: 15px;
	text-align: left;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.5;
	color: #333;
}
#worksList .popup {
	width: 11px;
	height: 9px;
	margin-left: 4px;
	vertical-align: middle;
}
#worksList .skill {
	margin-bottom: 15px;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #a5a5a5;
}
#worksList .readLast {
	margin-bottom: 0;
}
#worksList .readLast p {
	margin-bottom: 20px;
}
#worksList .readLast p:last-child {
	margin-bottom: 0;
}
#worksList .readLast h2 {
	margin: 40px 0 20px;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.6;
	letter-spacing: 0.03em;
	color: #333;
}
#worksList .readLast ul {
	margin: 0 0 20px 1.2em;
}
#worksList .readLast li {
	margin-bottom: 8px;
	list-style: disc;
}
#worksList .readLast img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 20px;
	border: 1px solid #e0e0e0;
}

/* =====================================================
   Blog 詳細ページ
===================================================== */
.ttlSet {
	margin-bottom: 30px;
	text-align: center;
}
.ttlSet h3 {
	font-size: 22px;
	letter-spacing: 0.05em;
}
.ttlSet .date {
	margin-bottom: 10px;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	color: #a5a5a5;
}
.blogArea .photoCenter {
	margin-bottom: 30px;
	text-align: center;
}
.blogArea .photoCenter img {
	width: 100%;
	height: auto;
}
.blogArea .text {
	margin-bottom: 30px;
}
.blogArea p img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	border: 1px solid #e0e0e0;
}
.blogArea .imgCaption {
	margin: -12px 0 20px;
	font-size: 12px;
	line-height: 1.6;
	color: #a5a5a5;
	text-align: center;
}
.blogArea p {
	margin-bottom: 20px;
}
.blogArea > h2 {
	margin: 45px 0 22px;
	font-size: 19px;
	font-weight: bold;
	line-height: 1.6;
	letter-spacing: 0.03em;
	color: #333;
}
.blogArea > h3 {
	margin: 35px 0 18px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
	letter-spacing: 0.03em;
	color: #333;
}
.blogArea ul {
	margin: 0 0 20px 1.2em;
}
.blogArea li {
	margin-bottom: 8px;
	list-style: disc;
}
.blogArea .tableWrap {
	margin: 0 0 30px;
	overflow-x: auto;
}
.blogArea table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 13px;
}
.blogArea th,
.blogArea td {
	padding: 10px 12px;
	border: 1px solid #ddd;
	text-align: left;
	line-height: 1.5;
}
.blogArea th {
	background-color: #f2f2f2;
	font-weight: bold;
	white-space: nowrap;
}
.backList {
	text-align: center;
	margin-bottom: 30px;
}
.backList a {
	display: inline-block;
	padding: 8px 16px;
	background-color: #eee;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	letter-spacing: 0.1em;
}
.pageNation {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
	font-size: 14px;
}
.pageNation a {
	font-family: "Lato", sans-serif;
	letter-spacing: 0.05em;
}

/* =====================================================
   Contact
===================================================== */
.contactForm dt {
	margin-bottom: 5px;
	font-size: 13px;
}
.contactForm dt .required {
	margin-left: 8px;
	padding: 1px 5px;
	background-color: #f45555;
	font-size: 10px;
	color: #fff;
	vertical-align: middle;
}
.contactForm dd {
	margin-bottom: 20px;
}
.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm input[type="tel"] {
	width: 100%;
	max-width: 350px;
	height: 36px;
	padding: 0 10px;
	font-size: 15px;
	border: 1px solid #bbb;
}
.contactForm textarea {
	width: 100%;
	max-width: 400px;
	height: 160px;
	padding: 8px 10px;
	font-size: 15px;
	border: 1px solid #bbb;
}
.recaptchaBox {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 340px;
	max-width: 100%;
	padding: 16px 20px;
	margin-bottom: 20px;
	background-color: #f9f9f9;
	border: 1px solid #d3d3d3;
	border-radius: 3px;
}
.recaptchaCheck {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
.recaptchaCheck input[type="checkbox"] {
	width: 24px;
	height: 24px;
	margin: 0;
	cursor: pointer;
}
.recaptchaText {
	font-size: 13px;
	white-space: nowrap;
}
.recaptchaLogo {
	flex-shrink: 0;
	text-align: center;
	line-height: 1.3;
}
.recaptchaLogoText {
	display: block;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #999;
}
.recaptchaLogoSub {
	display: block;
	font-size: 9px;
	color: #aaa;
}

.submitWrap {
	text-align: center;
}
.contactForm .submitBtn {
	width: 228px;
	max-width: 100%;
	height: 54px;
	margin-top: 20px;
	background-color: #8e8e8e;
	border: none;
	font-size: 15px;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
}
.contactForm .submitBtn:hover {
	background-color: #777;
}
.thanksBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 228px;
	max-width: 100%;
	height: 54px;
	margin-top: 20px;
	background-color: #8e8e8e;
	border: none;
	font-size: 15px;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
}
.thanksBtn:hover {
	background-color: #777;
}
.formNote {
	margin-top: 16px;
	text-align: center;
	font-size: 12px;
	color: #999;
}

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

	/* Hero */
	#mainVisual {
		margin-bottom: 80px;
		padding: 0;
	}
	#mainVisual .heroInner {
		display: flex;
		align-items: center;
		aspect-ratio: 5 / 3;
	}
	#mainVisual .heroBubble {
		display: flex;
		align-items: center;
		flex: 0 0 60%;
		aspect-ratio: 760 / 320;
		margin: 0;
		padding: 15% 12%;
		max-width: none;
		background: url("/images/hero-bubble-shape.svg") center / 100% 100% no-repeat;
		text-align: left;
	}
	#mainVisual .heroBubble p {
		writing-mode: horizontal-tb;
		font-size: 19px;
	}
	#mainVisual .heroBubble p.sub {
		margin-top: 16px;
		margin-right: 0;
		font-size: 15px;
	}
	#mainVisual .heroPhoto {
		flex: 0 0 40%;
		align-self: stretch;
	}
	#mainVisual .heroPhoto img {
		max-width: none;
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 0;
	}

	/* Service */
	#sevice {
		max-width: 920px;
		margin: 0 auto 130px;
		padding: 0;
	}
	#sevice .serviceList {
		flex-direction: row;
		gap: 5%;
	}
	#sevice .serviceItem {
		flex: 1 1 30%;
	}
	#sevice .serviceItem .icon {
		margin-bottom: 40px;
	}
	#sevice .serviceItem .icon img {
		width: 78px;
		height: 82px;
	}

	/* Works grid */
	#works {
		max-width: 920px;
		margin: 0 auto 150px;
		padding: 0;
	}
	#works .worksGrid {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 5% 5%;
	}
	#works .worksGrid li {
		flex: 0 0 30%;
	}

	/* Blog grid */
	#blog {
		max-width: 920px;
		margin: 0 auto 50px;
		padding: 0;
	}
	.blogGrid {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0 5%;
	}
	.blogGrid li {
		flex: 0 0 30%;
	}

	/* About */
	.fBox01 {
		flex-direction: row;
		gap: 60px;
	}
	.fBox01 .imgFace {
		flex: 0 0 200px;
	}
	.fBox01 .imgFace img {
		width: 200px;
		height: 200px;
		margin: 0;
	}
	.fBoxRight {
		flex: 1;
	}
	.companyProf .row {
		flex-direction: row;
	}
	.companyProf dt {
		flex: 0 0 130px;
		margin-bottom: 0;
	}

	/* Works list page */
	#worksList {
		margin-bottom: 50px;
		font-size: 15px;
	}
	#worksList > li {
		margin-bottom: 120px;
	}
	#worksList h3.ttl {
		font-size: 17px;
	}

	/* Blog post */
	.ttlSet {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		margin: 0 40px 40px;
		text-align: left;
	}
	.ttlSet h3 {
		font-size: 30px;
	}
	.ttlSet .date {
		margin-bottom: 0;
	}

	/* Contact */
	.contactForm dd.w01 input {
		max-width: 350px;
	}
	.contactForm dd.w02 textarea {
		max-width: 400px;
	}
}

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

	#sevice { width: 920px; }
	#works { width: 920px; }
	#blog { width: 920px; }

	#sevice .serviceItem .icon img {
		width: 98px;
		height: 102px;
	}
}
