@charset "utf-8";

/* -----------------------------------------------------------
CSS Information
 File name:    style_tablet.css
 Style Info:     おかしプリント inBar用スタイル タブレット版
----------------------------------------------------------- */

@media screen and (min-width: 600px) and (max-width: 959px) {
	.okp_inbar .mainimage {
		margin: 0 !important;
		width: 100%;
		position: relative;
	}
	.okp_inbar .mainimage .image {
		width: 100%;
		aspect-ratio: 190 / 127;
		/* background-image: url(../img/img_main.webp); */
		background-image: -webkit-image-set(url('../img/img_main.webp') 1x, url('../img/img_main@2x.webp') 2x);
		background-image: image-set(url('../img/img_main.webp') 1x, url('../img/img_main@2x.webp') 2x);
		background-size: 100%;
	}
    .okp_inbar .mainimage .image img.img_main.sp {
		display: none !important;
	}

	.okp_inbar .mainimage .textblock {
		margin: 6vw 0 3vw;
		padding: 0.4vw 0 6vw;
		text-align: center;
		position: relative;
		background-image: url("../img/textblock_bg01.webp"), url("../img/textblock_bg02.webp");
		background-image: image-set(
		url("../img/textblock_bg01.webp") type("image/webp") 1x,
		url("../img/textblock_bg01@2x.webp") type("image/webp") 2x,
		url("..img/textblock_bg01.jpg") 1x,
		url("../img/textblock_bg01@2x.jpg") 2x
		), image-set(
		url("../img/textblock_bg02.webp") type("image/webp") 1x,
		url("../img/textblock_bg02@2x.webp") type("image/webp") 2x,
		url("..img/textblock_bg02.jpg") 1x,
		url("../img/textblock_bg02@2x.jpg") 2x
		);
		background-size: 100%;
		background-repeat: no-repeat;
		background-position: top  left, bottom right;
	}
	.okp_inbar .mainimage .textblock h2 {
		margin: 3.2vw 0 5.4vw !important;
		font-size: 3.2vw !important;
		text-shadow: 0.2vw 0.2vw 0 #FFF, -0.2vw -0.2vw 0 #FFF,
              -0.2vw 0.2vw 0 #FFF, 0.2vw -0.2vw 0 #FFF,
              0px 0.2vw 0 #FFF,  0 -0.2vw 0 #FFF,
              -0.2vw 0 0 #FFF, 0.2vw 0 0 #FFF;
	}
	.okp_inbar .mainimage .textblock p {
        margin: 0 auto;
		width: 80%;
		font-size: 2vw;
		font-weight: 600;
		line-height: 2;
		text-shadow: 0.2vw 0.2vw 0 #FFF, -0.2vw -0.2vw 0 #FFF,
              -0.2vw 0.2vw 0 #FFF, 0.2vw -0.2vw 0 #FFF,
              0px 0.2vw 0 #FFF,  0 -0.2vw 0 #FFF,
              -0.2vw 0 0 #FFF, 0.2vw 0 0 #FFF;
    }

	.okp_inbar .buttonblock {
		display: flex;
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
		align-items: center;

		margin: 0 auto 2vw;
		 width: 85%;
	}
	.okp_inbar .buttonblock a {
		display: block;
		margin-right: 5%;
		width: 45%;
	}
	.okp_inbar .buttonblock a:last-child {
		margin-right: 0;
	}
	.okp_inbar .buttonblock a:hover {
		opacity: 0.7;
	}
	.okp_inbar .buttonblock a img {
		display: block;
		width: 100%;
		aspect-ratio: 319 / 115;
	}


	.okp_inbar section {
		display: block;
		margin-top: 6vw;
		padding: 4vw 3vw 6vw;
	}
	.okp_inbar section.semi {
		background-color: #dfe9ea;
	}
	.okp_inbar section.ori {
		background-color: #f7edf0;
	}
	.okp_inbar section p {
		font-size: 1.2vw;
	}

	.okp_inbar section .textblock {
		margin: 0 auto;
		padding: 1.6vw 0 4vw !important;
		width: 85%;
		box-sizing: border-box;
	}
	.okp_inbar section .textblock strong {
		display: block;
		margin: 0 auto !important;
		padding: 0.5vw 0;
		width: 60%;
		font-size: 3.6vw;
		text-align: center;
		background-color: #fff;
		border: 0.4vw solid #000;
		border-radius: 4vw;
		box-sizing: border-box;
	}
	.okp_inbar section .textblock h2 {
		display: block;
		margin: 3vw auto 0 !important;
		padding: 1.6vw 2vw 0;
		width: 90%;
		font-size: 2.4vw;
		line-height: 1.8;
		border-top: 0.4vw solid #000;
	}

	.okp_inbar section .photoblock {
		margin-top: 3vw;
		position: relative;
	}
	.okp_inbar section .photoblock h3 {
		margin: 2vw 0 3vw;
		font-size: 2vw !important;
		text-align: center;
	}
	.okp_inbar section .photoblock img.common_pht {
		display: block;
		margin: 0 auto;
		width: 53%;
	}
	.okp_inbar section .photoblock span {
		display: block;
		margin-top: 0.8vw;
		font-size: 1.4vw;
		text-align: center;
	}
	.okp_inbar section .photoblock img.pht_exam {
		display: block;
		margin: 0 auto;
		width: 80%;
	}
	.okp_inbar section .photoblock span.type {
		margin: -0.8vw auto 1.6vw;
		padding: 0.4vw 0.8vw;
		width: 20%;
		color: #fff;
		font-weight: 600;
		background-color: #000;
	}

	/* オリジナル */
	.okp_inbar section.ori .photoblock span.type {
		width: 30%;
	}
	.okp_inbar section.ori .photoblock img.pht_exam02 {
		display: block;
		margin: 7vw auto 0 !important;
		width: 65%;
	}


	.okp_inbar section .imgblock {
		padding: 2.2vw 0;
		background-color: #fff;
		position: relative;
	}
	.okp_inbar section .imgblock img {
		display: block;
		margin: 0 auto;
		width: 94%;
	}
	.okp_inbar section .imgblock h2 {
		margin: 0 auto !important;
		width: 100%;
		font-size: 3.2vw !important;
		line-height: 1;
		text-align: center;
		text-shadow: 0.2vw 0.2vw 0 #FFF, -0.2vw -0.2vw 0 #FFF,
              -0.2vw 0.2vw 0 #FFF, 0.2vw -0.2vw 0 #FFF,
              0px 0.2vw 0 #FFF,  0 -0.2vw 0 #FFF,
              -0.2vw 0 0 #FFF, 0.2vw 0 0 #FFF;
		position: absolute;
		top: calc(50% - 1.6vw);
		left: 0;
	}

	/* オリジナル */
	.okp_inbar section.ori .imgblock {
		margin: 4vw auto 0;
		width: 90%;
	}
	.okp_inbar section.ori .imgblock img {
		margin-top: 2vw;
		width: 90%;
	}
	.okp_inbar section.ori .imgblock p {
		margin: 2vw auto 0;
		width: 85%;
		font-size: 1.4vw;
		line-height: 1.6;
	}

	.okp_inbar section span.caption {
		display: block;
		margin-top: 0.8vw;
		font-size: 1.8vw;
		text-align: right;
	}

	.okp_inbar section .atten_yellow {
		margin-top: 3vw;
		padding: 0.2vw 0 0.2vw;
		background-color: #fff100;
		box-sizing: border-box;
	}
	.okp_inbar section .atten_yellow h2 {
		display: flex;
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
		align-items: center;

		margin: 2vw auto 0 !important;
		height: 6vw;
		color: #e20114;
		text-align: center;
	}
	.okp_inbar section .atten_yellow h2::before {
		content: '';
		margin-right: 1vw;
		width: 5.8vw;
		height: 5.8vw;
		line-height: 0;
		background-image: url(../img/ic_atten.webp);
		background-repeat: no-repeat;
		background-size: 100%;
		background-position: center left;
	}
	.okp_inbar section .atten_yellow ul {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		flex-wrap: wrap;
		align-items: stretch;

		margin: 2vw auto 0 !important;
		width: 94%;
	}
	.okp_inbar section .atten_yellow ul li {
		margin-bottom: 3vw;
	}
	.okp_inbar section .atten_yellow ul li {
		width: 48.5%;
		box-sizing: border-box;

	}
	.okp_inbar section .atten_yellow ul li:nth-child(2n) {
		margin-right: 0 !important;
	}
	.okp_inbar section .atten_yellow ul li:nth-child(2n+1) {
		margin-right: 3% !important;
	}
	.okp_inbar section .atten_yellow ul li img {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}




	.okp_inbar section ul.descrip {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		flex-wrap: wrap;
		align-items: stretch;

		margin: 3vw auto 0 !important;
		width: 100%;
	}
	.okp_inbar section ul.descrip li {
		margin-bottom: 3vw;
	}
	.okp_inbar section ul.descrip li.photo {
		width: 48.5%;
		box-sizing: border-box;
	}
	.okp_inbar section ul.descrip li.photo:nth-child(2n) {
		margin-right: 0 !important;
	}
	.okp_inbar section ul.descrip li.photo:nth-child(2n+1) {
		margin-right: 3% !important;
	}
	.okp_inbar section ul.descrip li.photo img {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	.okp_inbar section ul.descrip li.photo.bn img {
		margin-top: 2.4vw;
		border: none;
	}
	.okp_inbar section ul.descrip li.photo p {
		margin: 1vw auto 0;
		width: 90%;
		font-size: 1.8vw;
		font-weight: 600;
	}
	.okp_inbar section ul.descrip li.photo p span.caption {
		margin-left: 1vw;
		font-size: 1.4vw;
	}



	.okp_inbar ul.itemlist {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		flex-wrap: wrap;
		align-items: stretch;
		margin: 6vw auto 0;
		width: 95% !important;
	}
	.okp_inbar ul.itemlist li {
		margin: 0 4% 4vw 0;
		padding: 0;
		width: 48% !important;
		font-size: 1.4vw;
		font-weight: 600;
		text-align: center;
	}
	.okp_inbar ul.itemlist li:nth-child(2n) {
		margin-right: 0;
	}
	.okp_inbar ul.itemlist li img {
		display: block;
		margin-bottom: 1.6vw;
		width:100%;
	}
	.okp_inbar ul.itemlist li a.txtlink14 {
		display: block;
		margin: 0.8vw auto 0;
		width: 70%;
		color: #fff;
		font-size: 1.4vw;
		font-weight: 600;
	}


	/* 注意事項 */
	.okp_inbar section.atten {
		margin: 6vw auto;
		padding: 2vw 0 3vw;
		width: 94%;
		background-color: #fff;
		position: relative;
	}
	.okp_inbar section.atten span.title {
		display: block !important;
		margin: 0 auto 4vw;
		width: 70%;
		position: absolute;
		top: -4vw;
		left: 15%;
	}
	.okp_inbar section.atten span.title img {
		display: block !important;
		margin-top: 0;
		width: 100%;
	}
	.okp_inbar section.atten strong {
		display: block;
		margin-top: 2vw;
		color: #f42758;
		text-align: center;
		font-size: 1.8vw;
	}
	.okp_inbar section.atten ul.image {
		display: flex;
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
		align-items: center;
		margin: 2vw auto 0;
		width: 80%;
	}
	.okp_inbar section.atten ul.image li {
		margin: 0.8vw 2% 0 0;
		width: 48%;
	}
	.okp_inbar section.atten ul.image li:nth-child(2n) {
		margin-right: 0;
	}
	.okp_inbar section.atten ul.image li img {
		width: 100%;
	}
	.okp_inbar section.atten ul.text {
		margin: 2vw auto !important;
		width: 80%;
	}
	.okp_inbar section.atten ul.text li {
		margin-left: 4.2vw;
		margin-right: 0 !important;
		margin-bottom: 0 !important;
		width: calc(100% - 4.2vw);
		text-indent: -4.2vw;
	}
	.okp_inbar section.atten ul.text li:nth-child(1),
	.okp_inbar section.atten ul.text li:nth-child(2),
	.okp_inbar section.atten ul.text li:nth-child(3),
	.okp_inbar section.atten ul.text li:nth-child(4),
	.okp_inbar section.atten ul.text li:nth-child(5),
	.okp_inbar section.atten ul.text li:nth-child(6),
	.okp_inbar section.atten ul.text li:nth-child(7),
	.okp_inbar section.atten ul.text li:nth-child(8),
	.okp_inbar section.atten ul.text li:nth-child(9) {
		text-indent: -3.6vw;
	}
	.okp_inbar section.atten .b {
		display: block;
		margin: 0 auto;
		padding: 0.6vw 0;
		width: 80%;
		color: #f3ff00;
		text-align: center;
		font-size: 1.6vw;
		font-weight: 600;
		background-color: #f42758;
		border-radius: 3vw;
		box-sizing: border-box;
	}
	.okp_inbar section.atten ul.order {
		margin: 4vw auto 0;
		width: 40%;
	}
	.okp_inbar section.atten ul.order li::after {
		content: '▼';
		display: block;
		margin: 0 0 1.6vw;
		color:  rgba(123,26,59,0.3);
		font-size: 4vw;
		text-align: center;
	}
	.okp_inbar section.atten ul.order li:last-child::after {
		content: '';
		font-size: 0;
	}
	.okp_inbar section.atten ul.order li img {
		width: 100%;
	}
	.okp_inbar section.atten ul.order li img.illust_pc {
		aspect-ratio: 403 / 242;
	}
	.okp_inbar section.atten ul.order li img.illust_arigato {
		aspect-ratio: 533 / 234;
	}
	.okp_inbar section.atten ul.order li img.illust_ship {
		aspect-ratio: 399 / 285;
	}
	.okp_inbar section.atten ul.order li p {
		margin: 1.6vw 0 0;
		color: #7b1a3b;
		text-align: center;
		font-size: 1.6vw;
	}




}
