#main {
	width: 100% !important;
	margin: 0 auto;
}

.contents {
	width: 1000px;
	margin: 150px auto 50px auto;
	padding: 0;
	overflow-x: hidden; /* 横スクロールを防ぐ */
}
.slick-slider {
	width: 800px;
	height: 400px;
	margin: 0 auto;
}
.mv.subject h1 span {
	font-family: 'Zen Kaku Gothic New', sans-serif;
}
.slick-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.toiawase-btn {
	font-size: 30px;
}
.mv.subject {
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	text-align: center;
}
.mv.subject h1 span {
	font-size: 2rem;
}
h1 {
	font-size: 4.4rem;
	text-shadow: none !important;
	gap: 10%;
	text-align: center;
}
.btn_mail a:before {
	top: 38%;
	left: 80px !important;
}
.itembox {
	background-color: #f0eae7;
	padding-top: 15px;
	padding-bottom: 60px;
}
.nav-item {
	font-size: 2.2rem;
	font-weight: bold;
	width: 190px;
}
.nav-tabs .nav-link {
	border: 1px solid transparent;
	background-color: #cbb3a2;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	color: #fff;
	padding: 15px;
	margin-top: 28px !important;
	padding: 13px !important;
}
.nav-tabs .nav-link.active {
	color: #fff;
	background-color: #996233;
	border-color: #dee2e6 #dee2e6 #fff;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	padding: 30px 35px;
	margin-top: 0 !important;
	background-repeat: no-repeat;
	background-size: 100%;
}
.nav-tabs .nav-link.active img {
	margin-top: 15px;
}
.nav-tabs {
	border-bottom: none;
}
#main ul li {
	margin-right: 5px;
}
.image-btn {
	margin-top: 90px;
}
.image-btn img {
	width: 320px;
}

.btn_mail,
.btn_tel {
	background-color: #f7931e;
	padding: 27px 0;
	color: #fff;
	margin-left: 12px;
	width: 540px;
	margin: 43px auto 0;
}
.btn_tel a,
.btn_mail a {
	font-family: 'Zen Maru Gothic', sans-serif;
}
.btn_tel a:before {
	content: '';
	width: 36px;
	height: 38px;
	position: absolute;
	left: 30px;
	background-repeat: no-repeat;
	background-size: 3.6rem;
}
.btn_mail a:before {
	content: '';
	width: 50px;
	height: 38px;
	position: absolute;
	left: 30px;
	background-repeat: no-repeat;
	background-size: 3.6rem;
}
.btn_tel a {
	letter-spacing: 0;
}
.btn_mail a:before {
	background-image: url('../img/product/pennovelty/common/icon_mail.png');
}
.btn_tel a:before {
	top: 33px;
	background-image: url('../img/product/pennovelty/common/icon_phone.svg');
}
h2 {
	font-size: 3.6rem;
	color: #986233;
	font-weight: bold;
	text-align: center;
	margin-bottom: 42px;
	margin-top: 60px;
}
p {
	font-size: 2rem;
	text-align: center;
}
.box_img {
	text-align: center;
	margin-top: 90px;
	justify-content: center;
	width: 100%;
	margin: 47px auto 0;
}
.nav-item {
	width: 157px;
}

.nav-link {
	opacity: 0.5;
}

.nav-link.active {
	opacity: 1 !important;
}
.nav-tabs .nav-link {
	padding-bottom: 15px !important;
}
.nav-tabs .nav-link.active {
	opacity: 1 !important;
	padding: 0px !important;
	height: 150px;
}
.nav-link p {
	line-height: 1.6rem;
}
.nav-item a {
	height: 120px;
}
.nav-item p {
	font-size: 1.6rem;
	margin-top: 12px;
}
#item1-tab {
	background-color: #ff6060;
}
#item2-tab {
	background-color: #a4a4d3;
}
#item3-tab {
	background-color: #ffae2a;
}
#item4-tab {
	background-color: #00abe5;
}
#item5-tab {
	background-color: #008a53;
}
#item6-tab {
	background-color: #d49c6b;
}
.syunen_box {
	text-align: center;
	width: 147px;
}
.balloonbox p {
	line-height: 4rem;
}
.box_img p {
	color: initial !important;
	font-size: 1.6rem;
	margin-top: 8px;
	font-family: 'Zen Kaku Gothic New', sans-serif;
}
.balloonbox {
	position: relative;
	display: flex;
	align-items: center;
	margin: 67px auto 30px;
	padding: 7px 10px;
	min-width: 120px;
	max-width: 100%;
	color: #555;
	font-size: 16px;
	border-radius: 10px;
	height: 62px;
}
.balloon {
	width: 940px;
	column-gap: 5px;
	flex-wrap: nowrap;
	margin: 0 auto;
}
.balloon-tab1 {
	background: #ff6060;
}
.balloon-tab2 {
	background: #a4a4d3;
}
.balloon-tab3 {
	background: #ffae2a;
}
.balloon-tab4 {
	background: #00abe5;
}
.balloon-tab5 {
	background: #008a53;
}
.balloon-tab6 {
	background: #d49c6b;
}

.balloon-top:before {
	content: '';
	position: absolute;
	top: -30px;
	left: 50%;
	margin-left: -15px;
	border: 15px solid transparent;
	border-bottom: 15px solid #ffae2a;
}

.balloon_in {
	color: #fff;
	margin: 0 auto;
	padding: 0;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
}
.design_box {
	padding-left: 30px;
}
.designbox_img {
	row-gap: 30px;
}
.design_box img {
	background-color: #ffffff;
}
.design_no {
	text-align: right !important;
	margin-right: 32px;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 1.8rem !important;
}
.frame {
	border: 2px solid red; /* 赤い線の枠 */
	padding: 16px; /* 枠と文字の間に余白 */
	width: fit-content; /* 内容に合わせた幅（必要に応じて固定も可） */
	margin: 40px auto; /* 中央寄せ（任意） */
	font-size: 2.2rem;
	text-align: center; /* 中央寄せ（横） */
}
.frame.item {
	margin: 0 auto 30px;
}

.quantity-inline {
	white-space: nowrap;
}
.quantity-input {
	width: 100px;
	display: inline-block;
	vertical-align: middle;
}
select.form-control-lg:not([size]):not([multiple]) {
	height: 60px !important;
}
.form-control {
	font-size: 20px !important;
}
.quantity-inline input[type='text'] {
	width: 20%;
}
.t_blue {
	color: #48aacc;
}
.t_orange {
	color: #eaad3b;
}
.pen_otoiawase h2 {
	font-size: 3.6rem;
}
a.tel-link {
	display: block;
	width: fit-content;
	margin: 0 auto;
}
.pen_otoiawase {
	margin: 3% auto 30px !important;
}

.mail_arrow::after {
	background: url('../img/product/pennovelty/common/arrow.png') no-repeat center / contain;
	content: '';
	width: 30px;
	height: 30px;
	position: absolute;
	left: 440px;
	top: 35px;
}

.tel_arrow {
	background-color: #48aacc;
}
.link_area .btn_wrap.centerd {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.btn_wrap li {
	width: 407px;
	color: #ed800f;
	font-size: 2.3rem;
}
.btn_wrap li a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background: url('../img/product/pennovelty/common/arrow.png') no-repeat right 25px center / 12px;
	border: 2px solid #ed800f;
	border-radius: 50px;
	height: 100px;
	padding: 0 50px 0 70px;
	text-align: center;
	position: relative;
}
.btn_wrap li.works a::before {
	background: url('../img/product/pennovelty/common/icon_mail.png') no-repeat center / contain;
}
.btn_wrap li a::before {
	content: '';
	width: 40px;
	height: 40px;
	position: absolute;
	left: 30px;
}
.wrap {
	margin: 0 auto;
}
.mail_arrow,
.tel_arrow {
	width: 490px;
}
.mail_arrow a:before {
	left: 50px !important;
}
.itembox_txt {
	color: #000 !important;
}
.privacy .required {
	display: inline-block;
	background: #df2229;
	border-radius: 10px;
	width: 76px;
	padding: 9px 0 11px;
	margin-left: 15px;
	color: #fff;
	font-size: 2.2rem;
	line-height: 1;
	font-weight: normal;
	text-align: center;
}
.check_flex {
	display: flex;
	flex-wrap: wrap;
	column-gap: 30px;
}
.vertical-item {
	margin-top: 5px !important;
}
.quantity-input-wrap {
	display: flex !important;
	align-items: center !important;
	column-gap: 5px !important;
}
@media screen and (max-width: 767px) {
	.image-btn img {
		width: 110px;
	}

	#main {
		width: 90%;
	}
	.contents {
		width: 100%;
	}
	h1 {
		font-size: 1.8rem;
	}
	.mv.subject h1 span {
		display: none;
	}
	h2 {
		font-size: 2rem;
		margin-top: 25px;
		margin-bottom: 30px;
	}
	.itembox_txt {
		font-size: 1.4rem;
	}
	.contents {
		margin: 10% auto;
	}
	.nav-item {
		width: 40%;
	}
	.nav-item p {
		font-size: 0.9rem;
		margin-top: 10px;
	}
	.nav {
		flex-wrap: nowrap;
	}
	.nav-tabs .nav-link {
		padding: 0 !important;
	}
	/*  .nav-link img{
    display: none;
  }*/
	.box_img {
		margin: 30px auto 0;
	}
	.nav-tabs .nav-link img {
		display: none;
	}
	.nav-tabs .nav-link {
		height: 60px;
	}
	.nav-tabs .nav-link.active {
		height: 80px;
	}
	#main ul li {
		margin-right: 2px;
	}
	.nav-tabs .nav-link {
		margin-top: 21px !important;
	}
	.syunen_box img {
		width: 90%;
	}
	.box_img {
		row-gap: 30px;
	}
	.syunen_box p {
		font-size: 1.3rem;
	}
	.btn_mail,
	.btn_tel {
		padding: 15px 0;
		margin-left: 12px;
		width: 78%;
		margin: 0 auto 0;
		font-size: 1.8rem;
	}
	.mail_arrow a:before {
		left: 24px !important;
	}
	.pen_otoiawase h2 {
		font-size: 2rem;
	}
	.pen_otoiawase p,
	.toiawase_stext,
	#otoiawase_page table th .red {
		font-size: 1.5rem;
	}
	.image-btn .col-4 {
		padding: 5px !important;
	}

	.btn_tel a:before {
		top: 13px;
	}
	.toiawase-btn {
		gap: 30px;
		margin-top: 30px;
	}
	.btn_mail a:before {
		top: 30%;
		left: 24px !important;
	}
	.design_box {
		padding-left: 50px;
	}
	.design_box img {
		width: 90%;
	}
	.frame {
		padding: 16px;
		width: 90%;
		margin: 40px auto; /* 中央寄せ（任意） */
		font-size: 1.4rem;
	}
	.mail_arrow::after {
		width: 10px;
		height: 10px;
		left: 273px;
		top: 26px;
	}
	.subject img {
		width: 100%;
	}
	.mv.subject {
		margin: 0 auto 10px;
		padding: 0;
		overflow: hidden;
		text-align: center;
	}
	.design_no {
		font-size: 1.2rem !important;
		margin-top: 1px !important;
	}
	.privacy .required {
		border-radius: 5px !important;
		width: 38px !important;
		padding: 5px 0 6px !important;
		font-size: 1.2rem !important;
		margin-left: 10px !important;
	}
	.frame.item {
		margin: 0 auto 0;
	}
}
