@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/***********************************
 reset
***********************************/
/* for iOS */
input[type="submit"],
input[type="reset"],
input[type="button"] {
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;
	color: currentColor;
}
input[type="submit"]::-webkit-search-decoration,
input[type="reset"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
	display: none;
}
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
	outline-offset: -2px;
}

/***********************************
 base
***********************************/
body {
	font-family: "Open Sans", sans-serif;
	line-height: 1.25;
}

div#container{
	min-height: 100vh;
}

div#wrap{
	clear: both;
	padding: 20px 0 80px; 
}
  
@media screen and (max-width: 600px) {
	body{
		min-width: 100%;
	}

	#container {
		padding: 0 15px;
		background: #ffffff;
		width: calc(100% - 60px) !important;
		border-left: solid 2px #cbcbcb;
		border-right: solid 2px #cbcbcb;
	}
}

/***********************************
 header, footer
***********************************/
@media screen and (max-width: 600px) {
	#header{
		position: relative;
		margin: 0 0 20px;
		height: auto !important;
		overflow: visible;
	}
	#header::after{
		position: absolute;
		bottom: -10px;
		left: 0;
		right: 0;
		display: block;
		margin: 0 auto;
		width: 80%;
		border-bottom: 1px solid #d9d9d9;
		content: "";
	}

	#header h1{
		float: unset;
		margin: 8px auto 0;
		width: 237px;
		height: 60px;
	}
	#header h1 a.logo{
		width: 100%;
		height: 100%;
		background-size: contain;
	}
	
	div#header ul.link{
		display: none;
	}

	div#pnList{
		display: none;
	}
}

@media screen and (max-width: 600px) {
	#footer{
		height: auto;
	}

	div#footer ul.link{
		display: none;
	}

	#footer .copyright{
		margin: 0;
		padding: 10px 5px;
		font-size: 0.8em;
	}
}

/***********************************
 nav
***********************************/
.dwCheck,
.dwBtn,
.drawer-menu{
	display: none;
}

@media screen and (max-width: 600px) {
	#Navigation{
		display: none;
	}
	
	.dwBtn,
	.drawer-menu{
		display: block;
	}
	/* dwWrap */
	#dwWrap{
		display: table;
		width: 100%;
		height: 100vh;
		box-shadow: 0 0 50px 0 rgba(0,0,0,.8);
		-webkit-transition-property: all;
		transition-property: all;
		-webkit-transition-delay: .3s;
		transition-delay: .3s;
		-webkit-transition-duration: .5s;
		transition-duration: .5s;
	}
	#dwWrap__inner{
		display: table-cell;
	}
	/* drawer menu */
	.drawer-menu{
		box-sizing: border-box;
		position: fixed;
		top: 0;
		right: 0;
		width: 300px;
		height: 100%;
		padding: 40px 0;
		background: #222;
		-webkit-transition-property: all;
		transition-property: all;
		-webkit-transition-duration: .5s;
		transition-duration: .5s;
		-webkit-transition-delay: 0s;
		transition-delay: 0s;
		-webkit-transform-origin: right center;
		-ms-transform-origin: right center;
		transform-origin: right center;
		-webkit-transform: perspective(500px) rotateY(-90deg);
		transform: perspective(500px) rotateY(-90deg);
		opacity: 0;
	}
	.drawer-menu li{
		text-align: center;
	}
	.drawer-menu li a{
		display: block;
		height: 50px;
		line-height: 50px;
		font-size: 16px;
		color: #fff;
		-webkit-transition: all .8s;
		transition: all .8s;
	}
	.drawer-menu li a:hover{
		color: #ffffff;
		background: #2c73b5;
	}
	
	/* checkbox */
	.dwCheck{
		display: none;
	}
	
	/* menu button - label tag */
	.menu-btn{
		position: fixed;
		display: block;
		top: 20px;
		right: 8px;
		display: block;
		width: 40px;
		height: 40px;
		font-size: 10px;
		text-align: center;
		cursor: pointer;
		z-index: 3;
	}
	.bar{
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		width: 40px;
		height: 3px;
		background: #999999;
		-webkit-transition: all .5s;
		transition: all .5s;
		-webkit-transform-origin: left top;
		-ms-transform-origin: left top;
		transform-origin: left top;
	}
	.bar.middle{
		top: 13px;
		opacity: 1;
	}
	.bar.bottom{
		top: 26px;
		-webkit-transform-origin: left bottom;
		-ms-transform-origin: left bottom;
		transform-origin: left bottom;
	}
	.menu-btn__text{
		position: absolute;
		bottom: -13px;
		left: 0;
		right: 0;
		margin: auto;
		color: #666666;
		-webkit-transition: all .5s;
		transition: all .5s;
		display: block;
		visibility: visible;
		opacity: 1;
	}
	.menu-btn:hover .bar{
		background: #cccccc;
	}
	.menu-btn:hover .menu-btn__text{
		color: #cccccc;
	}
	.close-menu{
		position: fixed;
		top: 0;
		right: 300px;
		width: 100%;
		height: 100vh;
		background: rgba(0,0,0,0);
		-webkit-transition-property: all;
		transition-property: all;
		-webkit-transition-duration: .3s;
		transition-duration: .3s;
		-webkit-transition-delay: 0s;
		transition-delay: 0s;
		visibility: hidden;
		opacity: 0;
	}
	
	/* checked */
	.dwCheck:checked ~ .drawer-menu{
		-webkit-transition-delay: .3s;
		transition-delay: .3s;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		opacity: 1;
		z-index: 2;
	}
	.dwCheck:checked ~ #dwWrap{
		-webkit-transition-delay: 0s;
		transition-delay: 0s;
		-webkit-transform: translateX(-300px);
		-ms-transform: translateX(-300px);
		transform: translateX(-300px);
	}
	.dwCheck:checked ~ .menu-btn .menu-btn__text{
		visibility: hidden;
		opacity: 0;
	}
	.dwCheck:checked ~ .menu-btn .bar.top{
		width: 56px;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.dwCheck:checked ~ .menu-btn .bar.middle{
		opacity: 0;
	}
	.dwCheck:checked ~ .menu-btn .bar.bottom{
		width: 56px;
		top: 40px;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	.dwCheck:checked ~ .close-menu{
		-webkit-transition-duration: 1s;
		transition-duration: 1s;
		-webkit-transition-delay: .3s;
		transition-delay: .3s;
		background: rgba(0,0,0,.5);
		visibility: visible;
		opacity: 1;
		z-index: 3;
	}
}

/***********************************
 h3
***********************************/
h3{
	margin: 0;
	padding: 3em 0 0.5em;
	background: none;
	width: auto;
	height: auto;
	line-height: 1.5em;
	letter-spacing: 0.05em;
	color: #191919;
	text-align: center;
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
	font-size: 20px;
}
#wrap h3:first-child{
	padding-top: 0;
}
@media screen and (max-width: 600px) {
	h3{
		font-size: 18px;
	}
}
/***********************************
 table
***********************************/
table{
	border-collapse: collapse;
	margin: 20px auto;
	padding: 0;
	width: 100%;
	table-layout: fixed;
}
table tr{
	background-color: #fff;
	padding: .35em;
	border-bottom: 1px dotted rgb(15, 63, 125);
}
table tr:last-child{
	border-bottom: 2px solid #18521b;
}
table th,
table td{
	padding: 1em;
}
tbody th{
	color: rgb(15, 63, 125);
}
@media screen and (max-width: 600px) {
	table th,
	table td{
		padding: 1em 0.5em;
	}
}

table.inputForm{
	border-top: 2px solid #18521b;
}
table.inputForm th{
	width: 200px;
}
@media screen and (max-width: 600px) {
	table.inputForm th,
	table.inputForm td{
		display: block;
		width: calc(100% - 1em);
	}
	table.inputForm th{
		padding-bottom: 0.5em;
	}
	table.inputForm td{
		padding-top: 0;
	}
}

/***********************************
 form
***********************************/
input[type="checkbox"]{
	margin-right: 5px;
	width: 18px;
	height: 18px;
	font-weight: bold;
}
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea{
	margin: 1px 0;
	padding: 5px;
	width: calc(100% - 14px);
}
input[type="text"].sizeS{
	width: 14%;
	min-width: 90px;
}
input[type="text"].sizeM{
	width: 30%;
	min-width: 140px;
}
input[type="number"]{
	width: auto;
}
textarea{
	height: 6em;
	line-height: 1.3em;
}

input[type="submit"],
input[type="reset"],
input[type="button"]{
	display: block;
	border: 1px solid #ccc;
	padding: 10px;
	margin: 50px auto;
	background: #f1e767;
	background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
	background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
	background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
	width: 200px;
	-webkit-box-shadow: inset 1px 1px 1px #fff;
	box-shadow: inset 1px 1px 1px #fff;
	font-size: 1em;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover{
	background: -webkit-gradient(linear, left bottom, left top, from(#fdfbfb), to(#ebedee));
	background: -webkit-linear-gradient(bottom, #fdfbfb 0%, #ebedee 100%);
	background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
}

input[type="submit"].btn,
input[type="reset"].btn,
input[type="button"].btn{
	padding: 8px 20px;
	min-width: 300px;
	background: #e1e1e1;
	border: solid 2px #adadad;
	transition: all .8s;
	color: currentColor;
	font-weight: normal;
}

/* placeholder */
textarea[name="detail"]::placeholder,
input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder{
	color: #b3b3b3;
	line-height: 2em;
}
/* placeholder IE */
textarea[name="detail"]:-ms-input-placeholder,
input[type="text"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder,
input[type="tel"]:-ms-input-placeholder,
input[type="email"]:-ms-input-placeholder{
	color: #b3b3b3;
	line-height: 2em;
}
/* placeholder Edge */
@supports (-ms-ime-align: auto){
	textarea[name="detail"]::-ms-input-placeholder,
	input[type="text"]::-ms-input-placeholder,
	input[type="password"]::-ms-input-placeholder,
	input[type="tel"]::-ms-input-placeholder,
	input[type="email"]::-ms-input-placeholder{
		color: #b3b3b3;
		line-height: 2em;
		opacity: 1;
	}
}

/**********************************************************************
 
 page
 
**********************************************************************/
.txtAR{
	text-align: right;
}
.spBr{
	display: none;
}
@media screen and (max-width: 600px) {
	.spBr{
		display: block;
	}
}

/***********************************
 daisha
***********************************/
ul#tab{
	position: relative;
	display: flex;
	gap: 15px;
	margin: 0 0 30px;
	padding: 0;
	overflow: hidden;
}
ul#tab::after{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	height: 1px;
	background: #bababa;
	content: "";
	z-index: 0;
}
ul#tab li{
	position: relative;
	padding: 8px 0;
	z-index: 1;
}
ul#tab li:has(.on){
	position: relative;
	padding: 0;
	background: #ffffff;
	border-top: solid 1px #bababa;
}
ul#tab li:has(.on)::before,
ul#tab li:has(.on)::after{
	position: absolute;
	top: -100px;
	bottom: -100px;
	display: block;
	width: 1px;
	background: #bababa;
	content: "";
}
ul#tab li:has(.on)::before{
	left: 0;
}
ul#tab li:has(.on)::after{
	right: 0;
}
ul#tab li a{
	position: relative;
	display: flex;
	align-items: center;
	padding: 8px 20px 8px 45px;
	background: linear-gradient(to bottom, rgba(221,221,221,1) 0%, rgba(235,235,235,1) 100%);
	height: calc(100% - 16px);
	font-size: 1.2em;
	line-height: 1.2em;
}
ul#tab li a::before,
ul#tab li a::after{
	position: absolute;
	top: 0;
	bottom: 0;
	display: block;
	margin: auto 0;
	content: "";
}
ul#tab li a::before{
	left: 15px;
	background: #056ab5;
	width: 20px;
	height: 20px;
	border-radius: 50%;
}
ul#tab li a::after{
	left: 22px;
	background: #ffffff;
	width: 8px;
	height: 8px;
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
ul#tab li a.on{
	padding: 10px 25px 10px 60px;
	background: none;
	height: calc(100% - 20px);
	font-size: 1.8em;
}
ul#tab li a.on::before{
	left: 19px;
	width: 28px;
	height: 28px;
}
ul#tab li a.on::after{
	left: 28px;
	width: 11px;
	height: 11px;
	clip-path: polygon(0 0, 100% 0%, 50% 100%);
}
ul#tab li a:hover{
	color: currentColor;
}
ul#tab li a span{
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
}
@media screen and (max-width: 600px) {
	ul#tab{
		gap: 10px;
		padding: 0;
	}
	ul#tab li a{
		padding: 8px 10px;
		font-size: 0.9em;
		letter-spacing: -0.01em;
	}
	ul#tab li a.on{
		padding: 12px 15px;
		height: calc(100% - 24px);
		font-size: 1.2em;
	}
	ul#tab li a::before,
	ul#tab li a::after,
	ul#tab li a.on::before,
	ul#tab li a.on::after{
		display: none;
	}
}

table.itemList.main tr:first-child th:nth-child(2),
table.itemList.main tr:first-child th:nth-child(3),
table.itemList.sub tr:first-child th:nth-child(2),
table.itemList.sub tr:first-child th:nth-child(3),
table.itemList.sub tr:first-child th:nth-child(4){
	width: 100px;
} 
table.itemList input[type="number"]{
	margin: 0 0.5em 0 0;
}

table.itemList td:has(.imgBox){
	display: flex;
	gap: 1em;
	justify-content: space-between;
	align-items: center;

}
table.itemList td strong{
	white-space: nowrap;
}

table.itemList td:has(.imgBox) p{
	margin: 0;
	padding: 0;
	line-height: 1.3em;
}
table.itemList td:has(.imgBox) p span{
	display: block;
	margin: 0.8em 0 0;
	line-height: 1.3em;
	font-size: 0.8em;
}
table.itemList .imgBox{
	display: flex;
	gap: 1em;
	align-items: center;
	margin: 0 10px 0 1em;
	width: calc(200px + 1em);
}

table.itemList .imgBox img{
	width: auto;
	max-width: 100px;
	max-height: 100px;
}
table.itemList .imgBox.sheetItem img{
	width: auto;
	max-width: 180px;
	max-height: 180px;
}

@media screen and (max-width: 600px) {
	table.itemList.main tr:first-child th:nth-child(2),
	table.itemList.main tr:first-child th:nth-child(3){
		width: 80px;
	}
	table.itemList.sub tr{
		display: flex;
		flex-wrap: wrap;
		gap: 0.5em 1em;
		align-items: center;
		padding: 1.5em 0.5em 1em;
	}
	table.itemList.sub tr:first-child th:nth-child(n),
	table.itemList.sub tr td:nth-child(n){
		flex-grow: 2;
		flex-shrink: 2;
		padding: 0;
		width: calc((100% - 3em) /3);
	} 
	table.itemList.sub tr:first-child th:nth-child(1),
	table.itemList.sub tr td:nth-child(1){
		padding: 0;
		width: 100%;
	}
	table.itemList td:has(.imgBox){
		display: table-cell;
	}
	table.itemList .imgBox{
		gap: 0.8em;
		margin: 0.5em auto 0;
		width: auto;
	}
	table.itemList .imgBox img{
		max-width: calc(50% - 0.4em);
	}
}

/***********************************
 contact
***********************************/
form table th span,
form .required,
.error{
	color: red;
}
/*
form label{
	position: relative;
	display: inline-block;
	margin: 3px 30px 3px 0;
	min-width: 100px;
	cursor: pointer;
}
*/
#thanksBox{
	margin: 4em 0 5em;
}
#thanksBox h3{
	padding: 0 0 2em;
}
#thanksBox p{
	margin: 0 auto 4em;
	width: 90%;
	line-height: 1.8em;
}
#thanksBox input[type="submit"],
#thanksBox input[type="reset"],
#thanksBox input[type="button"]{
	display: block;
	margin: 5em auto 0;
	width: 200px;
}

@media screen and (max-width: 600px) {
	#thanksBox{
		margin: 2em 0 5em;
	}
	#thanksBox .btnTxt{
		margin: 3em auto 0;
	}
}


/***********************************
 iframe
***********************************/
iframe{
	height: 60vh;
}
html:has(body.frame){
	overflow: visible;
}
html:has(body.frame) body{
	background: none;
}
html:has(body.frame) body > form{
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
}
html:has(body.frame) body > form table{
	width: auto;
	max-width: 400px;
}
html:has(body.frame) body > form table tr{
	border: none;
}
html:has(body.frame) body > form table tr th,
html:has(body.frame) body > form table tr td{
	padding: 3em;
}
html:has(body.frame) body > form table tr th{
	padding-right: 0;
}
html:has(body.frame) body > form table tr:first-child th,
html:has(body.frame) body > form table tr:first-child td{
	padding-bottom: 0;	
}
html:has(body.frame) body > form table tr:last-child th,
html:has(body.frame) body > form table tr:last-child td{
	padding-top: 0;
}

html:has(body.frame) body > form input[type="text"],
html:has(body.frame) body > form input[type="password"]{
	width: 200px;
}
html:has(body.frame) body > form  input[type="submit"]{
	margin: 0 auto;
}

@media screen and (max-width: 600px) {
	html:has(body.frame) body > form table tr th,
	html:has(body.frame) body > form table tr td{
		padding: 2em 1em;
	}
}
  /* 2カラムレイアウト */
  .product-area {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }

  .product-box {
    flex: 1 1 320px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
  }

  /* 見出し帯 */
  .product-header {
	text-align: center;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 1rem;
  }


  /* 内容部分 */
  .product-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }

  .product-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #f0f0f0;
    border-radius: 4px;
  }

  /* 実際はここを商品画像URLに差し替え */
  .product-image.cart {
    /* サンプル用: 背景色のみ */
    background-image: url("/supplies/images/daisha.png"); /* 差し替え推奨 */
  }
  .product-image.sheet {
    background-image: url("/supplies/images/sheet.png"); /* 差し替え推奨 */
  }

  .product-copy {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* ボタン */
  .product-footer {
    margin-top: auto;
    padding-top: 8px;
  }

  a.order-btn {
    display: block;
    width: 80%;
	text-align:center;
    border-radius: 5px;
    font-size: 1.1em;
	padding:20px 10px;
	margin: auto;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: #3b3b3b;
    color: #fff;
}
  .order-btn:hover {
    opacity: 0.7;
  }

  /* SP対応 */
  @media (max-width: 768px) {
    .lp-title {
      font-size: 1.3rem;
    }

    .product-area {
      flex-direction: column;
    }
  }


.hero {
  text-indent: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
 margin-bottom:30px;

}

/* グラデーションライン（下部） */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #0078d4, #00c6ff);
  pointer-events: none;
}

/* 見出し */
h2.supplies {
  text-indent:0;
  font-family: "Noto Serif JP", serif;
  margin: 0;
  font-size: 1.5rem;
  color: #111;
  font-weight: 600;
  flex: 1; /* 横幅いっぱいに伸ばす */
}

/* ボタン */
a.suppliesBtn {
  font-family: "Noto Serif JP", serif;
  display: inline-block;
  padding: 10px 16px;
  background-color: #005a9e;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.08s ease;
}

a.suppliesBtn:hover,
a.suppliesBtn:focus {
  background-color: #005a9e;
  outline: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* スマホ対応 */
@media (max-width: 520px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
  }
  .suppliesBtn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
}

.truckPhotos {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.truckItem {
  flex: 1;
  text-align: center;
}

.truckItem img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.truckItem figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .truckPhotos {
    flex-direction: column;
  }
}