@charset "UTF-8";

.topomg {
	padding-top: 15px;
}
.secondimg {
	display: flex;
	justify-content: space-between;
	padding-top: 15px;
}
.secondimg > .imgs {
	width: 23%;
	min-width: 250px;
}
.secondimg > .lead {
	width: 75%;
}
@media(max-width: 500px) {
	.topomg {
		padding-top: 0px;
	}
	.secondimg {
		display: block;
		padding-top: 5px;
	}
	.secondimg > .imgs {
		display: none
	}
	.secondimg > .lead {
		width: auto;
	}
	.spimg {
		width: 45%;
		float: left;
	}
}

/* タブ */
.tab-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0 10px;
}
.tab-wrap > label {
	flex: 1 1;
	order: -1;
	opacity: .5;
	width: 32%;
	height: 72px;
	padding-right: 60px;
	color: #fff;
	font-size: 140%;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
	transition: 0.5s;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	position: relative;
	background-position: left;
	background-repeat: no-repeat;
	background-size: auto 72px;
}
@media(max-width: 500px) {
	.tab-wrap {
		gap: 0 5px;
	}
	.tab-wrap > label {
		width: 33%;
		height: 50px;
		padding-right: 8px;
		justify-content: center;
		font-size: 105%;
		line-height: 1.1em;
	}
}
.tab-wrap > label::after {
	content: '';
	width:0;
	height:0;
	border-style:solid;
	border-width: 12px 6px 0 6px;
	border-color: #fff transparent transparent transparent;
	position: absolute;
	top: 0;
	right: 20px;
	bottom: 0;
	margin: auto;
}
@media(max-width: 500px) {
	.tab-wrap > label::after {
		border-width: 6px 3px 0 3px;
		right: 6px;
	}
}
.tab-wrap > label:nth-of-type(1) {
	background-color: #001446;
	background-image: url("../images/btn_mases-formingbox-01.webp");
}
.tab-wrap > label:nth-of-type(2) {
	background-color: #006ea8;
	background-image: url("../images/btn_mases-formingbox-02.webp");
}
.tab-wrap > label:nth-of-type(3) {
	background-color: #8d3b3b;
	background-image: url("../images/btn_mases-formingbox-03.webp");
}
@media(max-width: 500px) {
	.tab-wrap > label {
		background-image: none !important;
	}
}
.tab-wrap > label:hover {
	opacity: 1.0;
}
.tab-wrap input {
	display: none;
}
.tab-wrap > .tab-box {
	display: none;
	width: 100%;
	padding: 30px 40px 40px 40px;
	animation: fadeIn 1.5s forwards;
	position: relative;
}
@media(max-width: 500px) {
	.tab-wrap > .tab-box {
		padding: 30px 20px 30px 20px;
	}
}
label:nth-of-type(1) + .tab-box {
	background-color: #001446;
}
label:nth-of-type(2) + .tab-box {
	background-color: #006ea8;
}
label:nth-of-type(3) + .tab-box {
	background-color: #8d3b3b;
}

@media(min-width: 900px) {
.tab-wrap > .tab-box::before {
   content:"";
   display:inline-block;
   width: 1000px;
   height: 30px;
   position:absolute;
   top: 0;
   left: -1000px;
}
.tab-wrap > .tab-box::after {
   content:"";
   display:inline-block;
   width: 1000px;
   height: 30px;
   position:absolute;
   top: 0;
   right: -1000px;
}
label:nth-of-type(1) + .tab-box::before,
label:nth-of-type(1) + .tab-box::after {
	background-color:#001446;
}
label:nth-of-type(2) + .tab-box::before,
label:nth-of-type(2) + .tab-box::after {
	background-color:#006ea8;
}
label:nth-of-type(3) + .tab-box::before,
label:nth-of-type(3) + .tab-box::after {
	background-color:#8d3b3b;
}
}

.tab-wrap label:has(:checked) {
	opacity: 1;
}
.tab-wrap label:has(:checked) + div {
	display: block;
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* タブ コンテンツ */
.tab-wrap > .tab-box h2 {
	color: #fff;
	font-size: 180%;
	font-weight: 500;
	position: relative;
	padding-left: 70px;
	padding-bottom: 20px;
}
label + .tab-box h2::before {
    content: "";
    display: inline-block;
    background-position: center;
    background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	width: 60px;
    height: 40px;
	top: -8px;
	left: 0;
}
@media(max-width: 500px) {
	.tab-wrap > .tab-box h2 {
		padding-left: 60px;
		font-size: 150%;
	}
	label + .tab-box h2::before {
		width: 50px;
    	height: 33px;
		top: -4px;
	}
}
label:nth-of-type(1) + .tab-box h2::before {
    background-image: url("../images/mases-formingbox-0101.webp");
}
label:nth-of-type(2) + .tab-box h2::before {
    background-image: url("../images/mases-formingbox-0201.webp");
}
label:nth-of-type(3) + .tab-box h2::before {
    background-image: url("../images/mases-formingbox-0301.webp");
}

/* 共通 */
.tab-wrap .use-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px 0 14px;
	height: 50px;
}
@media(max-width: 500px) {
	.tab-wrap .use-wrap {
		width: auto;
		height: 34px;
	}
}
.tab-wrap .use-wrap h3 {
	color: #fff;
	font-size: 115%;
	font-weight: 600;
	position: relative;
	padding-left: 34px;
}
.use::before,
.nouse::before {
    content: "";
    display: inline-block;
    background-position: center;
    background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	width: 28px;
    height: 30px;
	top: -3px;
	left: 0;
}
@media(max-width: 500px) {
	.tab-wrap .use-wrap h3 {
		padding-left: 26px;
	}
	.use::before,
	.nouse::before {
		width: 20px;
		height: 21px;
		top: 0px;
	}
}
.use::before {
	background-image: url("../images/icn-use.svg");
}
.nouse::before {
	background-image: url("../images/icn-nouse.svg");
}
.firm-tofu  .use-wrap {
	background-color: #657390;
}
.silken-tofu  .use-wrap {
	background-color: #7e9ac1;
}
.thin-fried-tofu  .use-wrap {
	background-color: #ab6d6e;
}
.tab-wrap .linkbtn a {
	border: none;
}
.youtube-sp {
	display: none;
}
@media(max-width: 500px) {
	.contbox1 .linkbtn {
		display: none;
	}
	.youtube-sp {
		display: block;
		line-height: 0;
		width: 80px;
		background-color: #fff;
		padding: 2px 3px;
	}
}
/* 01 共通 */
h4.p-type {
	padding: 4px;
	text-align: center;
	font-size: 110%;
	font-weight: 600;
	color: #fff;
	margin-bottom: 10px;
}
.firm-tofu h4.p-type {
	background-color: #001446;
}
.silken-tofu h4.p-type {
	background-color: #006ea9;
}
.thin-fried-tofu h4.p-type {
	background-color: #8d3b3b;
}
.details-btn-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 15px;
}
@media(max-width: 900px) {
	.details-btn-wrap {
		display: block;
	}
}

/* 01 YOU TUBEボタン調整用 */
.contbox1 .linkbtn a {
	font-size: 110%;
	padding: 8px 22px 8px 115px;
}
.contbox1 .youtube a::before {
    left: 6px;
    width: 100px;
    height: 28px;
    background-size: 88px 19px;
}
.contbox1 .linkbtn a::after {
	border: 5px solid transparent;
	border-left: 7px solid #000;
}
.tofu-wrap-common .linkbtn,
.thin-fried-tofu .linkbtn {
	max-width: 350px;
	margin-left: 1%;
	margin-right: 1%;
}
.tofu-wrap-common .linkbtn a,
.thin-fried-tofu .linkbtn a {
	display: block;
	border: #006ea8 solid 1.5px !important;
	font-size: 115%;
}
/* 02 YOU TUBEボタン調整用 */
.details-btn-wrap .linkbtn a {
	font-size: 115%;
	padding: 6px 28px 6px 120px;
}
.details-btn-wrap .linkbtn.youtube a::before {
	width: 100px;
    height: 28px;
	background-size: 76px 17px;
}

.details-btn {
	max-width: 350px;
}
.contbox1 .details-btn {
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
}
.contbox2 .details-btn,
.tofu-wrap-common .details-btn {
	width: 350px;
	margin-left: 1%;
	margin-right: 1%;
}
@media(max-width: 900px) {
	.contbox2 .details-btn,
	.tofu-wrap-common .details-btn {
		width: auto;
		max-width: 350px;
		margin-left: auto;
		margin-right: auto;
	}
	.tofu-wrap-common .linkbtn,
	.thin-fried-tofu .linkbtn {
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-top: 8px;
	}
}

.details-btn a {
	display: block;
	color: #fff;
	font-size: 110%;
	line-height: 100%;
	font-weight: 500;
	padding: 5px 5px;
	text-align: center;
	position: relative;
}
.details-btn.type1 {
	background-color: #006ea8;
}
.details-btn.type2 {
	background-color: #001446;
}
.details-btn.mail span {
	position: relative;
	padding-left: 30px;
}
.details-btn.mail span::before {
	position: absolute;
	content: '';
	top: 50%;
	transform: translateY(-50%);
	left: 50px;
	display: block;
    width: 26px;
    height: 19px;
    background-size: cover;
	background-repeat: no-repeat;
	background-image: url("../../common/images/icn-mail.svg");
}
@media(max-width: 500px) {
	.details-btn.mail span::before {
		left: 32px;
		width: 18px;
    	height: 13px;
	}
}
.details-btn a:hover {
	opacity: 0.7
}
.details-btn a span {
	display: block;
	border: #fff solid 1px;
	padding: 5px 5px;
	position: relative;
}
.details-btn a span::after {
	content: '';
	width:0;
	height:0;
	border-style: solid;
	border-width: 6px 0 6px 8px;
	border-color: transparent transparent transparent #fff;
	position: absolute;
	top: 0;
	right: 10px;
	bottom: 0;
	margin: auto;
}
/* 01 Firm Tofu */
.firm-tofu-wrap {
	position: relative;
}
.firm-tofu-wrap .contbox1 {
	width: 49.2%;
	background-color: #fff;
}
@media(max-width: 900px) {
	.firm-tofu-wrap .contbox1 {
		width: auto;
	}
}
.boxtype1 {
	position: absolute;
	top: 0;
	right: 0;
}
@media(max-width: 900px) {
	.boxtype1 {
		position: initial;
		margin-top: 20px;
	}
}
.contbox1 .inner {
	padding: 12px;
}
.contbox1 .inner .img {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.boxtype1 .inner .img {
	padding-top: 20px;
	width: 85% !important;
}
@media(max-width: 500px) {
	.firm-tofu-wrap .contbox1 .inner .img {
		padding-top: 10px;
	}
	.boxtype1 .inner .img {
		padding-top: 10px;
	}
}
.contbox2 {
	background-color: #fff;
	padding: 20px 12px;
}
.contbox2 .box-imgwrap {
	display: flex;
	padding-top: 20px;
	margin-left: 6%;
}
@media(max-width: 900px) {
	.contbox2 .box-imgwrap {
		margin-left: 3%;
	}
}
@media(max-width: 500px) {
	.contbox2 .box-imgwrap {
		display: block;
		padding-top: 10px;
		margin-left: 0;
	}
}
.contbox2 .box-imgwrap .img1 {
	width: 35%;
	padding-right: 60px;
}
@media(max-width: 900px) {
	.contbox2 .box-imgwrap .img1 {
		padding-right: 30px;
	}
}
@media(max-width: 500px) {
	.contbox2 .box-imgwrap .img1 {
		width: 70%;
		padding-right: 0px;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 10px;
	}
}
.contbox2 .box-imgwrap .img2-wrap {
	width: 60%;
	display: flex;
	flex-wrap: wrap;
}
.contbox2 .box-imgwrap .img2-wrap .imgs {
	width: 40%;
	padding-right: 30px;
}
.contbox2 .box-imgwrap .img2-wrap .imgs img {
	width: 80%;
}
.contbox2 .box-imgwrap .img2-wrap .imgs p {
	font-size: 90%;
}
@media(max-width: 500px) {
	.contbox2 .box-imgwrap .img2-wrap {
		width: auto;
	}
	.contbox2 .box-imgwrap .img2-wrap .imgs {
		width: 50%;
		padding-right: 0px;
		text-align: center;
	}
}
/* 02 Silken Tofu*/
.tofu-wrap-common {
	padding: 12px;
	background-color: #fff;
}
.contbox3 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.contbox3 .imgs {
	width: 32.5%;
	display: flex;
	flex-direction: column;
	position: relative;
}
@media(max-width: 900px) {
	.contbox3 .imgs {
		width: 49%;
	}
}
@media(max-width: 500px) {
	.contbox3 .imgs {
		width: auto;
		display: block;
	}
}
.contbox3 .imgs:nth-of-type(n+4) {
	margin-top: 30px;
}
@media(max-width: 900px) {
	.contbox3 .imgs:nth-of-type(n+3) {
		margin-top: 20px;
	}
}
@media(max-width: 500px) {
	.contbox3 .imgs:nth-of-type(n+2) {
		margin-top: 20px;
	}
}
.contbox3 .imgs p {
	/*flex-grow: 1;*/
	/*padding-bottom: 15px;*/
}
.contbox3 .imgs .exbox {
	flex-grow: 1;
	/*padding-bottom: 15px;*/
}
.contbox3 .imgs .img {
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	flex-grow: 1;
	padding-top: 15px;
}
.contbox3 .imgs:last-child .img {
	width: 85%;
}
@media(max-width: 500px) {
	.contbox3 .imgs:last-child .img {
		display: none;
	}
}
.contbox3 .imgs .caps {
	background-color: #8d3b3b;
	color: #fff;
	text-align: center;
	border-radius: 60%;
	position: absolute;
	right: 30px;
	bottom: 20px;
	line-height: 0.9em;
	padding: 14px 18px;
}
@media(max-width: 500px) {
	.contbox3 .imgs .caps {
		right: 10px;
		bottom: -10px;
	}
}
.contbox4 {
	line-height: 0;
}








