/*
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Roboto+Mono&display=swap');
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Roboto+Condensed:wght@300&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body,textarea {
	font-size: 110%;
	text-align: left;
	color: aliceblue;
	background: rgb(46,46,46);
	font-family: YuGothic,'Yu Gothic',"Quattrocento Sans", sans-serif;
	font-weight: 600;
}

strong {
  color: #ff9;
}

h1,
h2,
h3 {
    font-size: 20px;
    width: 100%;
	margin: 0 0 20px;
	text-align: center;
    border: transparent 20px solid;
    border-image: url(./images/bdr005.png) 128 stretch;
}
p + h3 {
	margin: 30px 0 20px;
}

body,
body.flex_column {
	display: flex;
	flex-flow: column;
}

#nav {
    width: 100%;
    font-size: 21px;
	background: rgba(30,30,30,0.9);
}

@media screen and (min-width:660px) {
	body {
		display: flex;
		font-size: 120%;
	}
	#nav {
        width: auto;
        font-size: inherit;
		position: fixed;
		top: 0;
		right: 0;
		height: 100%;
		box-shadow: 0 0 50px rgba(0,0,0,0.3);
	}
}
a {
	color: gainsboro;
	transition: 0.4s all;
}
a:hover {
	color: white;
	text-shadow: 0px 0px 10px white; 
}
.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	display: flex;
	flex-flow: column;
	justify-content: center;
	color: aliceblue;
	background: rgba(10,15,20,0.05);
}
/*
.container,
.container.table1 {
	max-width: 1000px;
	margin: 0 200px 0 10px;
}
*/
@media screen and (max-width:660px) {
    .container,
	.container.table1 {
		max-width: none;
		margin: 0 auto;
		width: 100%;
		padding: 8px;
	}
}
.container div {
	margin: 10px auto;
	/*flex: 1;*/
}
.container > div {
    width: auto;
	margin: auto;
	max-width: none;
}

div.flex, div.size, div.ptSize {
	display: flex;
	justify-content: center;
}
div.flex {
	align-content: center;
	align-items: center;
	gap: 5px;
}

div.size, div.ptSize {
	align-items: flex-end;
	padding-bottom: 10px;
	border-bottom: 1px dotted #666;
	gap: 4px;
	font-size: 88%;
}
table {
	width: 100%;
	font-size: 90%;
	box-sizing: border-box;
	box-shadow: 0 0 100px rgba(0,0,0,0.5);
}
table.tablefat,
table.tablefat table {
    color: #000;
    box-shadow: none;
	font-weight: bold;
}
table.tablefat a,
table.tablefat table a {
	color: blue;
    word-break: break-all;
}
table.tablefat strong,
table.tablefat table strong {
	color: saddlebrown;
    font-size: 120%;
    font-family: Tahoma, Geneva, "sans-serif";
}
table, th, td {
	border: 1px solid gray;
	border-collapse: collapse;
    text-align: center;
}
table p {
    word-break: auto-phrase;
}
table a {
    text-decoration: none;
}
table a.button {
    padding: 5px;
}
table img {
    width: 100px;
}
@media screen and (max-width:480px) {
	td {
		font-size: 86%;
	}
}
/*
@media screen and (max-width:660px) {
	table, th, td {
		display: block;
		font-size: 100%;
		border: none;
        width: 100%;
	}
    tr {
        display: block;
        margin: 10px 0 20px;
    }
}
*/
ul {
	width: 100%;
	line-height: 140%;
	list-style: none;
}
button, li a {
	display: inline-block;
	width: calc(100% - 6px);
	color: #fff;
	padding: 5px 17px;
	margin: 1px 3px;
	border: none;
	border-radius: 1px;
	text-decoration: none;
	cursor: pointer;
	border-bottom: 0.2px solid lightgray;
	transition: 0.1s all;
}
li a {
	font-size: 90%;
	padding: 1px 17px;
}
@media screen and (max-width:660px) {
    li a {
	    font-size: 100%;
	    padding: 6px 17px;
    }
}
button, a.button{
	background: rgba(0,0,0,0.6);
	border: 1px solid #666;
	border-radius: 50px;
	font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    padding: 10px;
	display: flex;
	justify-content: center;
	text-decoration: none;
	line-height: 128%;
	box-sizing: border-box;
}
button.short {
    display: inline-block;
    width: 80px;
    padding: 8px 12px;
    font-size: 18px;
}
button#updateButton {
    margin: 20px auto;
	background: rgba(91,113,71,0.6);
}
button:hover {
	background: rgba(50,50,80,0.9);
	text-shadow: 0px 0px 10px white; 
    filter: brightness(1.2);
}
li a:hover {
	background: linear-gradient(0deg, rgba(100,200,255,0.3), transparent);
}
li a.active {
	background: linear-gradient(0deg, rgba(100,200,255,0.5),rgba(100,255,255,0.2));
}
input, select {
	margin: 5px 0;
	padding: 5px;
	font-size: 20px;
	width: 100%;
	min-width: 50px;
	height: 40px;
	border-radius: 5px;
	border: 1px solid #606163;
	color: aliceblue;
	background: #444;
}
select[multiple] {
    height: 400px;
	font-size: 84%;
}
@media screen and (max-width:460px) {
	select[multiple] {
		height: auto;
		font-size: 100%;
	}
}
input:-internal-autofill-selected {
	color: aliceblue;
	background: #000;
}
input.short, select.short {
	min-width: 60px;
	max-width: 100px;
}
input[type="text"] {
	box-shadow: 1px 1px 1px rgba(30, 50, 100, 0.2) inset;
}
input[type="submit"] {
	width: 100%;
	height: auto;
	color: #fff;
	font-weight: 700;
	line-height: 100%;
	padding: 10px 17px;
	margin: 5px 0;
	background: #345;
	border-radius: 80px;
	cursor: pointer;
}
button:disabled, input[type="submit"]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
/*productize_list*/
.container.stripe div:nth-of-type(even) {
	background-color: rgba(255,255,255,0.1)
}
div.productize {
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 100%;
	text-align: left;
	gap:5px;
	font-size: 90%;
	margin: 0;
	padding: 10px 0;
}
.span_list {
	display: inline-block;
	text-align: justify;
	white-space: nowrap;
	font-weight: 700;
}
span.span_list {
	width:40%;
	font-size: 120%;
	font-family: Consolas,'Courier New', Courier,'Roboto Condensed', 'monospace',YuGothic, 'Yu Gothic medium', 'Hiragino Sans', Meiryo, 'sans-serif';
	text-align: center;
	background: rgba(255,255,255,0.2);
	border-radius: 50px;
	padding: 4px 0;
}
span.span_list strong{
	color: yellow;
	font-family: YuGothic,'Yu Gothic',"Quattrocento Sans", sans-serif;
}
a.span_list {
	width:26%;
}
form.productize {
	display: inline-block;
}
input.productize,
button.productize {
	flex: 1;
	height: 30px;
	margin: 1px;
	padding: 3px;
	font-size: 100%;
	font-weight: 700;
	border-radius: 3px;
}
/*viewer_products*/
.seal_box {
	text-align: left;
	font-size: 77%;
	line-height: 120%;
	width: auto;
	max-width: none;
	margin: 0 200px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-items: center;
}
.seal_box.btn {
    position: fixed;
    display: flex;
    width: calc(100% - 220px);
    box-sizing: border-box;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}
@media screen and (max-width:660px) {
    .seal_box.btn {
        width: 100%;
    }
}
.seal_box.btn a {
    flex: 1;
}
.seal_box.btn a btn {
    width: 100%;
	height: 60px;
}
#addDiv, #removeDiv {
	width: calc(50% - 6px);
	bottom: 0;
	left: 0;
	height: 50px;
}
#removeDiv {
	right: 0;
	left: auto;
}
.seal_box form {
    display: block;
    width:  100%;
}
.seal, .seal_empty {
	display: flex;
	align-items: center;
	border: 1px dotted;
	cursor: pointer;
	justify-content: center;
	width: 66mm;
	height: 33.9mm;
}
.seal.org {
    font-size: 20px;
}
.seal.org.noframe {
	background-color: white;
}
.seal strong {
    color: #000;
	font-size: 130%;
    line-height: 130%;
	letter-spacing: 0em;
    margin: 0 0 1mm;
    border-bottom: 1px solid;
	display: inline-block;
	word-break: auto-phrase;
}
.seal p {
	color: rgb(28 26 26);
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	font-family: 'A1明朝', 'A1 Mincho', 'BIZ UDPMincho', "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HGP明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
	background-image: url(images/seal_top.png), url(images/seal_bt.png), url(images/seal_bg.png);
	background-size: 100%, 100%, 100%;
	background-repeat: no-repeat, no-repeat, repeat-y;
	background-position: center top, center bottom, center top;
	width: 62mm;
	min-height: 28mm;
	max-height: 28mm;
	text-align: center;
	line-height: 110%;
	letter-spacing: -0.05em;
}
.seal.noframe p {
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-weight: 700;
	background-image: none;
    overflow: hidden;
}
.seal p span{
	display: block;
	flex: 2;
	text-align: left;
}
.seal.org p span{
    text-align: center;
}
.seal p span small{
    display: inline-block;
    padding: 1mm 0 0;
    font-size: 80%;
    line-height: 110%;
}
.seal p span em{
    font-family:sans-serif;
    font-weight:bold;
    font-size: 80%;
}
.seal p .qrBox{
    flex: 1;
	width: 24mm;
}
.seal_font30 {
	font-size: 75%;
}
.seal_font20 {
	font-size: 80%;
}
.seal_font15 {
	font-size: 80%;
}
.seal_font10 {
	font-size: 80%;
}
.seal p.seal_font5 {
	font-size: 250%;
    line-height: 0;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    font-weight: 700;
}
/*comment editor*/
textarea {
	box-sizing: border-box;
	padding: 0;
	width: 100%;
	min-height: 7em;
	font-size: 16px;
	letter-spacing: -0.03em;
}
.thumbnail textarea {
	min-height: 1em;
	line-height: 120%;
	text-align: center;
	margin: 0 -5%;
	width: 110%;
	transform: scaleX(0.9);
}
/*print*/
@media print {
	body, .seal_box, .seal {
		color: black;
		background-color: white;
		margin: 0;
		padding: 0;
		font-size: 0;
		line-height: 0;
		box-sizing: border-box;
		font-feature-settings: 'palt';
	}
	body {
		margin: 7.5mm 0 0 1.5mm;
	}
	.seal_box {
		width: 198mm;
        margin: 0;
	}
	.seal, .seal_empty {
		font-size: 9pt;
		line-height: 120%;
		border: none;
	}
    .seal.org {
        font-size: 12pt;
    }
	.seal p {
		filter: contrast(1.2);
	}
	.seal p strong {
		color: black;
		font-size: 9pt;
        line-height: 110%;
	}
    .seal.org p strong {
        font-size: 12pt;
    }
	.seal p span small {
		font-size: 7pt;
        transform: scaleX(0.9);
        transform-origin: left;
        margin-right: -2mm;
	}
	.seal p span small {
        font-size: 12pt;
    }
	.seal p span em {
		font-size: 8.4pt;
	}
    .seal_box.btn,
    .seal_box form,
	#btn,
	#addDiv,
	#removeDiv,
	#nav,
	select,
	input{
		display: none;
	}
}

/*preview*/
#preview {
	color: rgb(28 26 26);
	background: white;
	padding: 10px;
	border-radius: 7px;
    margin: 20px 0;
    font-size: 1rem;
}
#preview img {
    width: 100%;
}
#preview p {
    max-width: 800px;
    margin: auto;
}
#preview strong {
    color: #960;
}
#preview ul {
    max-width: 800px;
    margin: auto;
    padding: 0 0 0 20px;
    list-style: decimal;
}
#preview h2,
#preview h3,
#preview h4{
    font-size: 100%;
    border: solid 0px #fff;
    border-image-source: url(https://cdn.shopify.com/s/files/1/0602/1516/5161/files/bdr005.png);
    border-image-repeat: round stretch;
    border-image-slice: 48% 48% fill;
    border-image-width: 30px;
    text-align: center;
    background: #654;
    color: #fff;
    padding: 10px;
    margin: 1rem auto;
    max-width: 800px;
}
#preview h2 strong,
#preview h3 strong,
#preview h4 strong {
    color: #fffed0;
    text-shadow: 0 0 1px #f80;
}
 div.j:empty,
 div.ho:empty{
   display: block !important;
 }
.jo:before,s-j:before,.j:before,.s-j:before {
	content: "";
	display: block;
	float: left;
	background: url(https://cdn.shopify.com/s/files/1/0602/1516/5161/files/jo04.png)no-repeat;
	background-size:contain;
	width: 80px;
	height: 120px;
}
span.ho {
  color: #554;
}
.ho:before,h-j:before {
	content: "";
	display: block;
	float: right;
	background: url(https://cdn.shopify.com/s/files/1/0602/1516/5161/files/ho04.png)no-repeat;
	background-size:contain;
	width: 80px;
	height: 120px;
}
.jo:after,
.ho:after {
  content: "";
  display: block;
  clear: both;
}
.ho03 {
	display: block;
	float: left;
	background: url(//cdn.shopify.com/s/files/1/0602/1516/5161/t/1/assets/ho03.png)no-repeat;
	background-size:contain;
	width: 80px;
	height: 120px;
	margin: 10px 0 0;
}
#preview strong {
  color: #885522;
}

.label_flex {
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
}
.label_flex span {
	width: 70px;
}
.label_flex span:first-child {
	text-align: right;
	margin: 0 30px 0 0;
}
input[type="radio"] {
	width: 30px;
	height: 30px;
}

/*Toast*/
.toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
	width: 80%;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    transform: translate(-50%, 0);
}
.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.55s 2.5s;
}
@keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}
@keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

/*thumb*/
.thumb_box {
	width: 90px;
	height: 140px;
	overflow: hidden;
	position: relative;
}
.thumb_box img {
	position: absolute;
	width:100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
@media screen and (max-width:660px) {
	.thumb_box {
		float: left;
		margin: 0 10px;
	}
}

/*grid*/
.container div.grid3_1 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	align-items: center;
}
.grid1 > div,
.grid3_1 > div {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 5px;
	margin: 3px;
	border-bottom: 1px solid #777;
}
.grid1 > div:nth-of-type(even),
.grid3_1 > div:nth-child(6n+1),
.grid3_1 > div:nth-child(6n+2),
.grid3_1 > div:nth-child(6n+3) {
    background-color: black;
}

.grid3_1 > div:nth-child(6n+4),
.grid3_1 > div:nth-child(6n+5),
.grid3_1 > div:nth-child(6n+6) {
    background-color: none;  /* ダークグレーの部分も実際のカラーコードやカラー名に変更してください */
}
.container div.grid1 {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	justify-items: center;
	align-items: center;
    margin: 0;
    column-gap: 2%;
}
.grid1 * {
    display: block;
    flex: 1;
    gap: 5px;
}

/* media-viewer */
.media_box1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 90%;
}
@media screen and (min-width:660px) {
    .media_box1 {
        width: calc(100% - 210px);
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .container .media_box1 {
        width: auto;
    }
}
@media screen and (min-width:1260px) {
    .media_box1 {
        grid-template-columns: repeat(4, 1fr);
    }
}
.media_box1 img {
    width:100%;
    max-width:800px;
    height:auto;
    margin: 20px auto 0;
    cursor:pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.container div.thumbnail {
    margin: 0;
    text-align: center;
    display: flex;
    flex-flow: column;
    align-items: normal;
    justify-content: space-between;
}
.thumbnail img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.thumbnail label {
    display: flex;
    width: auto;
    margin: 6px auto 0;
    justify-content: center;
    align-items: center;
}
.thumbnail label input{
    width: auto;
}

.thumbnail div.storage_box {
    display: flex;
    width: 100%;
}
.storage_box * {
    flex: 1;
}

.container div.page {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 6px;
}

.page a,
.page span {
    width: 100%;
    text-decoration: none;
    padding: 10px 8px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    transition: .3s filter;
    border: 1px solid #555;
}
.page a:hover {
    filter: brightness(1.4) drop-shadow(0px 3px 5px rgba(0,0,0,0.3));
}

.page a.disabled {
    background-color: #666;
    pointer-events: none;
    opacity: 0.5;
}

.page a.sp {
	display: none;
}

@media screen and (max-width:660px) {
	.page a.sp {
		display: block;
	}
}


.roboto {
    font-family: "Roboto Condensed", serif;
    font-optical-sizing: auto;
    line-height: 140%;
    letter-spacing: 0.05em;
}
.cinzel {
    width: -webkit-fill-available;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    transform: scaleX(0.95);
}
.title1 {
    display: inline-block;
    font-size: 130%;
    line-height: 130%;
    margin: 0 0 5px;
    border-bottom: 1px solid;
}
.title1 a {
    text-decoration: none;
}
.toggle-btn {
    display: inline-block;
    padding: 7px;
    border-radius: 7px;
    background-color: #358;
    box-shadow: 0 0 0 0.5px #89b;
    cursor: pointer;
    user-select: none;
    font-size: small;
}
.toggle-btn strong {
    font-size: large;
}

dl {
	display: grid;
	gap: 10px;
	grid-template-columns: [key] minmax(100px, min-content) [value] 1fr;
  }
  
  dt {
	grid-column: key;
	border-bottom: 1px solid #ccc;
	white-space: nowrap;
	text-align: right;
  }
  
  dd {
	grid-column: value;
	margin-left: 0;
	border-bottom: 1px solid #ccc;
  }