@charset "utf-8";

/*
Theme Name: sakadesign
*/

/************************************
	content
************************************/
/****** common ******/
.page-layer.page-wp .sec {
	padding: 0 0 1.6rem 0;
}
.page-layer.page-wp .works-pt3 .sec {
	padding: 0;
}
.page-layer.page-wp #blog.sec {
	padding: 0;
}
@media only screen and (min-width: 769px) {
	.page-layer.page-wp .sec {
		padding: 0 0 min(1.6rem, 160px) 0;
	}
}

.page-layer.page-wp .link-btn-item-box {
	position: relative;
	z-index: 1;
	margin-top: 1rem;
}
@media only screen and (min-width: 769px) {
	.page-layer.page-wp .link-btn-item-box {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		margin-top: min(1rem, 100px);
	}
}

.page-layer.page-wp .link-btn-item-box .list-back-btn {
	width: 5.2rem;
	margin: 0 auto;
}
@media only screen and (min-width: 769px) {
	.page-layer.page-wp .link-btn-item-box .list-back-btn {
		width: min(3.4rem, 340px);
		margin: 0 min(0.5rem, 50px);
	}
}

.page-layer.page-wp .link-btn-item-box .list-back-btn a {
	display: block;
	box-sizing: border-box;
	position: relative;
	border: 2px solid #000;
	text-align: center;
	font-weight: 700;
	font-size: 0.32rem;
	padding: 0.2rem;
}
@media only screen and (min-width: 769px) {
	.page-layer.page-wp .link-btn-item-box .list-back-btn a {
		font-size: min(0.24rem, 24px);
		padding: min(0.1rem, 10px);
	}
}

.page-layer.page-wp .link-btn-item-box .list-back-btn a::before {
	content: "";
	background: #fff;
	position: absolute;
	z-index: -1;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.page-layer.page-wp .link-btn-item-box .list-back-btn a::after {
	content: "";
	background: #E6E6E6;
	position: absolute;
	z-index: -1;
	width: 100%;
	height: 100%;
	transition: all .2s;
	top: 0.12rem;
	left: 0.16rem;
}
@media only screen and (min-width: 769px) {
	.page-layer.page-wp .link-btn-item-box .list-back-btn a::after {
		top: 0.08rem;
		left: 0.12rem;
	}
	.page-layer.page-wp .link-btn-item-box .list-back-btn a:hover::after {
		top: 0;
		left: 0;
	}
}

.page-layer.page-wp .link-btn-item-box .contact-btn.link-btn {
	margin: 0.5rem auto 0;
}
@media only screen and (min-width: 769px) {
	.page-layer.page-wp .link-btn-item-box .contact-btn.link-btn {
		width: min(3.4rem, 340px);
		margin: 0 min(0.5rem, 50px);
	}
}

.page-layer.page-wp .page-header {
	margin-bottom: 0.9rem;
}
@media only screen and (min-width: 769px) {
	.page-layer.page-wp .page-header {
		margin-bottom: min(0.9rem, 90px);
	}
}


/****** works ******/
.sec#works .conts-top {
	background-image: url("../../../../assets/images/pattern-bg-sp.png");
	background-position: top center;
	background-repeat: repeat-y;
	background-size: 100% auto;
}
.works-pt3 .sec#works .conts-top {
	padding-bottom: 1.6rem;
}
@media only screen and (min-width: 769px) {
	.sec#works .conts-top {
		background-image: url("../../../../assets/images/article-works-bg.png");
		background-repeat: no-repeat;
	}
	.works-pt3 .sec#works .conts-top {
		padding-bottom: min(1.6rem, 160px);
	}
}

.sec#works .sec-sttl {
	font-weight: 700;
	text-align: center;
	font-size: 0.36rem;
}
@media only screen and (min-width: 769px) {
	.sec#works .sec-sttl {
		font-size: min(0.28rem, 28px);
	}
}

.sec#works .sec-sttl span {
	padding: 0;
	display: block;
}
@media only screen and (min-width: 769px) {
	.sec#works .sec-sttl span {
		display: inline-block;
		font-size: min(0.28rem, 28px);
		margin-left: min(0.2rem, 20px);
	}
}
.sec#works .sec-sttl span::after {
	content: none;
}

.sec#works .main-visual {
	position: relative;
	z-index: 1;
}
@media only screen and (min-width: 769px) {
	.sec#works .main-visual {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: reverse;
		-ms-flex-direction: row-reverse;
		flex-direction: row-reverse;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-box-align: end;
		-ms-flex-align: end;
		align-items: flex-end;
	}
}

.works-pt4 .sec#works .main-visual {
	display: block;
}
@media only screen and (min-width: 769px) {
	.works-pt4 .sec#works .main-visual {
		width: min(7.87rem, 787px);
		margin: 0 auto;
	}
}

.works-pt4 .sec#works .main-visual img {
	border-radius: 1em;
}

.sec#works .main-visual .pc {
	position: relative;
	background: url("../../../../assets/images/article-works-pc-bg.png") left top no-repeat;
	background-size: contain;
	width: 6rem;
	height: 4.88rem;
}
@media only screen and (max-width: 768px) {
	.sec#works .main-visual .pc {
		margin: 0 auto;
	}
}
@media only screen and (min-width: 769px) {
	.sec#works .main-visual .pc {
		width: min(7.26rem, 726px);
		height: min(5.9rem, 590px);
		margin-left: min(1rem, 100px);
	}
}

.sec#works .main-visual .pc .image {
	position: absolute;
	width: 5.52rem;
	top: 0.24rem;
	left: 0.24rem;
}
@media only screen and (min-width: 769px) {
	.sec#works .main-visual .pc .image {
		width: min(6.7rem, 670px);
		top: min(0.29rem, 29px);
		left: min(0.29rem, 29px);
	}
}

.sec#works .main-visual .sp {
	position: relative;
	background: url("../../../../assets/images/article-works-sp-bg.png") left top no-repeat;
	background-size: contain;
	width: 3.2rem;
	height: 6.52rem;
}
@media only screen and (max-width: 768px) {
	.sec#works .main-visual .sp {
		margin: 0.6rem auto 0;
	}
}
@media only screen and (min-width: 769px) {
	.sec#works .main-visual .sp {
		width: min(1.6rem, 160px);
		height: min(3.26rem, 326px);
	}
}

.sec#works .main-visual .sp .image {
	position: absolute;
	z-index: -1;
	width: 2.96rem;
	top: 0.12rem;
	left: 0.12rem;
}
@media only screen and (min-width: 769px) {
	.sec#works .main-visual .sp .image {
		width: min(1.48rem, 148px);
		top: min(0.06rem, 6px);
		left: min(0.06rem, 6px);
	}
}

.sec#works .info {
	margin-top: 0.5rem;
}
@media only screen and (min-width: 769px) {
	.sec#works .info {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		margin-top: min(0.4rem, 40px);
	}
}

@media only screen and (min-width: 769px) {
	.sec#works .info .info-block {
		margin: 0 min(0.5rem, 50px);
	}
}

.sec#works .info dl {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
@media only screen and (max-width: 768px) {
	.sec#works .info dl {
		border-bottom: 2px solid #E6E6E6;
		padding-bottom: 0.3rem;
	}
}

.sec#works .info dl dt,
.sec#works .info dl dd {
	margin-top: 0.3rem;
}
@media only screen and (min-width: 769px) {
	.sec#works .info dl dt,
	.sec#works .info dl dd {
		margin-top: min(0.3rem, 30px);
	}
}

.sec#works .info dl dt {
	font-weight: 700;
	width: 35%;
}
@media only screen and (min-width: 769px) {
	.sec#works .info dl dt {
		width: min(2rem, 200px);
	}
}

.sec#works .info dl dd {
	word-break: break-all;
}
@media only screen and (max-width: 768px) {
	.sec#works .info dl dd {
		width: 65%;
	}
}

.sec#works .conts-btm {
	background: #F5EFE5;
}

@media only screen and (min-width: 769px) {
	.sec#works .design-item-box {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
}

.works-pt4 .sec#works .design-item-box {
	display: block;
}

@media only screen and (max-width: 768px) {
	.sec#works .design-item-box .design-item + .design-item {
		margin-top: 0.5rem;
	}
}
@media only screen and (min-width: 769px) {
	.sec#works .design-item-box .design-item:nth-child(2) {
		margin-left: min(0.75rem, 75px);
	}
}

@media only screen and (min-width: 769px) {
	.sec#works .design-item-box .design-item.pc {
		width: min(4.15rem, 415px);
	}
}

@media only screen and (min-width: 769px) {
	.sec#works .design-item-box .design-item.sp {
		width: min(2.2rem, 220px);
		margin-left: min(0.75rem, 75px);
	}
}

.sec#works .design-item-box .design-item .caption {
	text-align: center;
	font-weight: 700;
	margin-bottom: 0.2rem;
}
@media only screen and (min-width: 769px) {
	.sec#works .design-item-box .design-item .caption {
		margin-bottom: min(0.2rem, 20px);
	}
}

.sec#works .design-item-box .design-item .image {
	border: 2px solid #333;
	overflow-y: scroll;
	height: 8rem;
}
@media only screen and (min-width: 769px) {
	.sec#works .design-item-box .design-item .image {
		height: min(5.8rem, 580px);
	}
}

.works-pt4 .sec#works .design-item-box .design-item .image {
	border: none;
	overflow-y: visible;
	height: auto;
}
@media only screen and (min-width: 769px) {
	.works-pt4 .sec#works .design-item-box .design-item .image {
		width: min(7.82rem, 782px);
		margin: 0 auto;
	}
}

.works-pt4 .sec#works .design-item-box .design-item .image img {
	border-radius: 1em;
}


/****** blog ******/
.sec#blog .conts {
	background-image: url("../../../../assets/images/pattern-bg-sp.png");
	background-position: top center;
	background-repeat: repeat-y;
	background-size: 100% auto;
	padding-bottom: 1.6rem;
}
@media only screen and (min-width: 769px) {
	.sec#blog .conts {
		background-image: url("../../../../assets/images/article-blog-bg.png");
		background-repeat: repeat-y;
		padding-bottom: min(1.6rem, 160px);
	}
}

.sec#blog .article-date {
	font-weight: 700;
	text-align: center;
	color: #B2B2B3;
	margin-bottom: 0.15rem;
	font-size: 0.28rem;
}
@media only screen and (min-width: 769px) {
	.sec#blog .article-date {
		margin-bottom: min(0.15rem, 15px);
		font-size: min(0.2rem, 20px);
	}
}

.sec#blog .sec-sttl {
	font-weight: 700;
	text-align: center;
	font-size: 0.36rem;
}
@media only screen and (min-width: 769px) {
	.sec#blog .sec-sttl {
		font-size: min(0.28rem, 28px);
	}
}

.sec#blog .main-visual {
	margin-bottom: 0.45rem;
}
@media only screen and (min-width: 769px) {
	.sec#blog .main-visual {
		width: min(9rem, 900px);
		margin: 0 auto min(0.45rem, 45px);
	}
}

.sec#blog .article-content p + p {
	margin-top: 0.3rem;
}
@media only screen and (min-width: 769px) {
	.sec#blog .article-content p + p {
		margin-top: min(0.3rem, 30px);
	}
}

.sec#blog .article-content figure {
	margin:  0.45rem 0;
}
@media only screen and (min-width: 769px) {
	.sec#blog .article-content figure {
		width: min(9rem, 900px);
		margin: min(0.45rem, 45px) auto;
	}
}

.sec#blog .article-content a {
	color: #5FC9D3;
	text-decoration: underline;
}
@media only screen and (min-width: 769px) {
	.sec#blog .article-content a {
		transition: color .2s ease;
	}
	.sec#blog .article-content a:hover {
		color: #239af3;
	}
}

.sec#blog .article-content h4 {
	font-weight: 700;
	line-height: 1.3;
	border-left: solid 5px #5FC9D3;
	font-size: 0.3rem;
	padding: 0.03rem 0 0.03rem 0.1rem;
	margin: 0.6rem 0 0.3rem;
}
@media only screen and (min-width: 769px) {
	.sec#blog .article-content h4 {
		font-size: min(0.22rem, 22px);
		padding: min(0.03rem, 3px) 0 min(0.03rem, 3px) min(0.1rem, 10px);
		margin: min(0.6rem, 60px) 0 min(0.3rem, 30px);
	}
}

.sec#blog .article-content .has-background {
	margin-bottom: 0.6rem;
}
@media only screen and (min-width: 769px) {
	.sec#blog .article-content .has-background {
		margin-bottom: min(0.6rem, 60px);
	}
}


/****** contact ******/
.sec#contact .form-item {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 0 0 0.7rem;
}
@media screen and (min-width: 769px) {
	.sec#contact .form-item {
		padding: min(0.24rem, 24px) 0;
	}
	.sec#contact .form-item:first-child {
		padding: 0 0 min(0.24rem, 24px) 0;
	}
}

.sec#contact .form-item-label {
	width: 100%;
	letter-spacing: 0.05em;
	font-weight: 700;
}
@media screen and (max-width: 768px) {
	.sec#contact .form-item-label {
		display: flex;
		align-items: center;
	}
}
@media screen and (min-width: 769px) {
	.sec#contact .form-item-label {
		width: min(2.8rem, 280px);
	}
}

.sec#contact .form-item-label small {
	display: block;
	font-weight: 400;
	font-size: 0.2rem;
}
@media screen and (max-width: 768px) {
	.sec#contact .form-item-label small {
		margin-left: 0.1rem;
	}
}
@media screen and (min-width: 769px) {
	.sec#contact .form-item-label small {
		font-size: min(0.12rem, 12px);
		margin-top: min(0.1rem, 10px);
	}
}

@media screen and (max-width: 768px) {
	.sec#contact .form-radio .form-item-label + p,
	.sec#contact .form-check .form-item-label + p {
		margin-top: 0.15rem;
	}
}
@media screen and (min-width: 769px) {
	.sec#contact .form-item-label + p {
		width: 75%;
	}
}

@media screen and (min-width: 769px) {
	.sec#contact .form-item.flex-start {
		align-items: flex-start;
	}
	.sec#contact .form-item.flex-start .form-item-label.isMsg {
		margin-top: min(0.08rem, 8px);
	}
}

.sec#contact .form-item-label-badge {
	line-height: 1;
	display: inline-block;
	text-align: center;
	border-radius: 0.2em;
	margin-right: 0.1rem;
	padding: 0.06rem 0;
	width: 0.56rem;
	font-size: 0.2rem;
}
@media screen and (min-width: 769px) {
	.sec#contact .form-item-label-badge {
		margin-right: min(0.08rem, 8px);
		padding: min(0.06rem, 6px) 0;
		width: min(0.36rem, 36px);
		font-size: min(0.12rem, 12px);
	}
}

.sec#contact .form-item-label-badge.required {
	background: #E56464;
	color: #fff;
}

.sec#contact .form-item-label-badge.optional {
	border: 1px solid #BEBEBE;
}

.sec#contact .form-item-input {
	background: #F5EFE5;
	font-family: inherit;
	border: none;
	border-radius: 2em;
	width: 100%;
	padding: 0 0.3rem;
	height: 0.7rem;
	font-size: 0.24rem;
}
@media screen and (max-width: 768px) {
	.sec#contact .form-item-input {
		margin-top: 0.2rem;
	}
}
@media screen and (min-width: 769px) {
	.sec#contact .form-item-input {
		padding: 0 min(0.2rem, 20px);
		height: min(0.45rem, 45px);
		font-size: min(0.18rem, 18px);
	}
}

.sec#contact .form-item-textarea {
	background: #F5EFE5;
	font-family: inherit;
	border: none;
	border-radius: 2em;
	width: 100%;
	padding: 0.2rem 0.3rem;
	height: 2rem;
	font-size: 0.24rem;
}
@media screen and (max-width: 768px) {
	.sec#contact .form-item-textarea {
		margin-top: 0.2rem;
	}
}
@media screen and (min-width: 769px) {
	.sec#contact .form-item-textarea {
		padding: min(0.2rem, 20px);
		height: min(2rem, 200px);
		font-size: min(0.18rem, 18px);
	}
}

.sec#contact .form-item-radio input,
.sec#contact .form-item-check input {
	vertical-align: baseline;
}

.wpcf7-list-item {
	margin: 0 0 0 0.2rem;
}
@media screen and (min-width: 769px) {
	.wpcf7-list-item {
		margin: 0 0 0 0.3rem;
	}
}
.wpcf7-list-item.first {
	margin: 0;
}
@media screen and (max-width: 768px) {
	#radio1 .wpcf7-list-item:nth-child(2) {
		width: 50%;
	}
	#radio1 .wpcf7-list-item:nth-child(3) {
		margin: 0;
	}
	#radio1 .wpcf7-list-item:nth-child( n +3 ) {
		margin-top: 0.05rem;
	}

}
@media screen and (max-width: 768px) {
	#check2 .wpcf7-list-item:nth-child(3), 
	#check2 .wpcf7-list-item:nth-child(4),
	#check2 .wpcf7-list-item:nth-child(7) {
		margin: 0;
	}
	#check2 .wpcf7-list-item:nth-child(3) {
		width: 100%;
	}
	#check2 .wpcf7-list-item:nth-child(6) {
		width: 35%;
	}
	#check2 .wpcf7-list-item:nth-child( n + 3 ) {
		margin-top: 0.05rem;
	}
}
@media screen and (min-width: 769px) {
	#check2 .wpcf7-list-item:nth-child(5) {
		margin: 0;
	}
	#check2 .wpcf7-list-item:nth-child( n + 5 ) {
		margin-top: 0.05rem;
	}
}

.sec#contact .link-btn {
	margin-left: auto;
	margin-right: auto;
	width: 5.2rem;
	margin-top: 0.7rem;
}
@media only screen and (min-width: 769px) {
	.sec#contact .link-btn {
		width: min(3.4rem, 340px);
		margin-top: min(0.6rem, 60px);
	}
}

.sec#contact .link-btn input {
	font-family: inherit;
	font-weight: 700;
	color: #333;
	width: 100%;
	height: 100%;
	background: rgb(255,239,129);
	background: linear-gradient(90deg, rgba(255,239,129,1) 0%, rgba(144,247,255,1) 100%);
	border: 2px solid #000;
	text-align: center;
	cursor: pointer;
	padding: 0.2rem;
	font-size: 0.32rem;
}
@media only screen and (min-width: 769px) {
	.sec#contact .link-btn input {
		padding: min(0.15rem, 15px);
		font-size: min(0.24rem, 24px);
	}
}

.sec#contact .link-btn input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
	transition: background .2s ease, color .2s ease, border .2s ease;
}
.sec#contact .link-btn input[type="submit"]:disabled {
	background: #E6E6E6;
	color: #999;
	border: 2px solid #ccc;
	cursor: not-allowed;
}

.wpcf7-spinner {
	opacity: 0;
}
.wpcf7-form.invalid .wpcf7-response-output {
  display: none;
}

.sec#contact .privacy-policy {
	text-align: center;
	margin-top: 0.3rem;
}
@media only screen and (min-width: 769px) {
	.sec#contact .privacy-policy {
		margin-top: min(0.3rem, 30px);
	}
}

.sec#contact .privacy-policy .text {
	margin-bottom: 0.3rem;
}
@media only screen and (min-width: 769px) {
	.sec#contact .privacy-policy .text {
		margin-bottom: min(0.3rem, 30px);
	}
}

.sec#contact .privacy-policy .text a {
	text-decoration: underline;
}
@media only screen and (min-width: 769px) {
	.sec#contact .privacy-policy .text a:hover {
		text-decoration: none;
	}
}

.sec#contact .privacy-policy .wpcf7-list-item {
	margin: 0;
}


/****** thanks ******/
.sec#thanks h3 {
	text-align: center;
	font-weight: 700;
	font-size: 0.34rem;
	margin: 0 0 0.6rem;
}
@media only screen and (min-width: 769px) {
	.sec#thanks h3 {
		font-size: min(0.26rem, 26px);
		margin: 0 0 min(0.4rem, 40px);
	}
}

@media screen and (min-width: 769px) {
	.sec#thanks .text {
		text-align: center;
	}
}

/****** privacy-policy ******/
.sec#privacy-policy .text-block {
	margin-top: 0.8rem;
}
@media only screen and (min-width: 769px) {
	.sec#privacy-policy .text-block {
		margin-top: min(0.6rem, 60px);
	}
}

.sec#privacy-policy .text-block h3 {
	font-weight: 700;
	font-size: 0.34rem;
	margin: 0 0 0.4rem;
}
@media only screen and (min-width: 769px) {
	.sec#privacy-policy .text-block h3 {
		font-size: min(0.26rem, 26px);
		margin: 0 0 min(0.3rem, 30px);
	}
}

.sec#privacy-policy .text-block .text + .text {
	margin-top: 0.3rem;
}
@media only screen and (min-width: 769px) {
	.sec#privacy-policy .text-block .text + .text {
		margin-top: min(0.2rem, 20px);
	}
}

.sec#privacy-policy .text a {
	text-decoration: underline;
}
@media only screen and (min-width: 769px) {
	.sec#privacy-policy .text a:hover {
		text-decoration: none;
	}
}
