@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&display=swap');
html {
  height: 100%;
  font-size: 62.5%;
  overflow-y: scroll;
}
body {
  min-height: 100%;
  font-size: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  font-weight: 500;
  background: #faf9f5 url("../../shared/images/header-bg.gif") 0 0 repeat-x;
}
*, *:before, *:after {
  box-sizing: border-box;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, address, input, textarea, p, blockquote, caption, th, td, label {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-style: normal;
}
a:focus {
  outline: none;
}
ul, ol {
  list-style-type: none;
}
img {
  border: none;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
em {
  font-style: normal;
  font-weight: 700;
}
table{
	border-collapse: collapse;
}
/*====================
	HEADER
*/
.sitelogo img {
  display: block;
}
.sitelogo a {
  display: block;
}
section {
  width: 100%;
}
.title {
  margin: 0 auto 20px;
  padding: 0.5em;
  border-bottom: 4px solid #0096ff;
  font-size: 2rem;
  font-weight: 700;
}
.sub-title {
  margin: 0 auto 10px;
  padding: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  background: #e9cbb2;
}
.lead {
  margin-bottom: 1em;
}
ul.listdisc {
  list-style: disc !important;
}
.listdisc li {
  margin: 0.5em 0.5em 0.5em 1.5em !important;
}
.btn-pagetop {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto;
}
#copyright {
  height: 35px;
  line-height: 35px;
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  background: #f5f3eb url("../../shared/images/footer_bg.gif") 0 100% repeat-x;
}
.error_messe {
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #d2d2d2;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s;
}

.modal img {
  max-width: 90%;  /* 画像の最大幅を親要素(modal)の90%に制限し、画面内に収まるようにする */
  max-height: 100vh;  /* 画像の最大高さをビューポートの高さ(100vh)に制限し、画面内に収まるようにする  */
  object-fit: contain;  /* 画像の比率を保持しつつ、指定された高さと幅に収める */
}

.clickable-image:hover {
  cursor: zoom-in;  /* ホバー時にカーソルをズームインのアイコンに変更 */
}

.modal img:hover {
  cursor: zoom-out;  /* モーダル内の画像にホバー時にカーソルをズームアウトのアイコンに変更 */
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (max-width: 939px) {
  #headtext {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 16px;
    text-align: center;
  }
  #headtext span {
    display: block;
  }
  .sitelogo img {
    display: block;
    margin: 10px auto;
  }
  .headerNav_wrap {
    display: none;
  }
  #footer {
    width: 100%;
    font-size: 1.3rem;
  }
  .footer_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 5%;
    padding-bottom: 20px;
    width: 90%;
  }
  #footNavi {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px auto;
  }
  #footNavi li {
    padding-bottom: 10px;
  }
  #footNavi li a {
    padding: 0 10px;
    text-decoration: none;
  }
  #footNavi a:hover {
    text-decoration: underline;
  }
  #footer address {
    margin: 0 auto;
    text-align: center;
  }
}
@media (min-width: 940px) {
  #headtext, .giftorder-header-container {
    margin: 0 auto;
    max-width: 940px;
  }
  .giftorder-header-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    height: 56px;
  }
  #headtext {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 24px;
  }
  .headerNav_wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 70px;
    height: 100%;
    background: url("../../shared/images/logo_kintakun.gif");
    background-position: 100% 50%;
    background-repeat: no-repeat;
  }
  .headerNav {
    display: flex;
  }
  .headerNav li {
    overflow: hidden;
  }
  .headerNav li a {
    display: block;
    margin-left: 12px;
    height: 14px;
    overflow: hidden;
  }
  .headerNav li a:hover img {
    position: relative;
    top: -14px;
  }
  #footer {
    width: 100%;
    height: 120px;
    font-size: 1.3rem;
  }
  .footer_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 940px;
    height: 90px !important;
  }
  #footNavi {
    display: flex;
    justify-content: space-between;
  }
  #footNavi li {
    padding-right: 10px;
  }
  #footNavi li a {
    text-decoration: none;
  }
  #footNavi a:hover {
    text-decoration: underline;
  }
}
.giftcatalog-image {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.giftcatalog-image img {
  display: block;
  width: 100%;
  height: auto;
}
.giftcatalog-image-caption{
	text-align: center;
}
.orderform {
  margin: 0 auto 30px;
  width: 100%;
}
.form_wrap > li {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 2px solid #d2d2d2;
  overflow: hidden;
}
.form_required::after {
  content: "必須";
  margin-left: 5px;
  padding: 2px;
  font-size: 11px;
  color: #fff;
  background: #d81900;
} /*
.form_itemselect > li {
  border-bottom: 2px dotted #d2d2d2;
}*/
.giftselect > li {
  border-bottom: 2px dotted #d2d2d2;
}
.giftname {
  font-weight: bold;
}
.giftprice {
  display: block;
  text-align: right;
}
.giftprice-red {
  color: #e22000;
}
.postage-list {
  width: 100%;
}
.postage-list th,.order-guide-detail th {
  text-align: left;
}
.postage-list td {
  text-align: right;
}
.submit_wrap {
  display: flex;
  justify-content: center;
  align-content: center;
  gap: 20px;
  padding: 10px 0 30px 0;
  width: 100%;
  border-bottom: 2px solid #d2d2d2;
}
.order-guide-detail{
	width: 100%;
}
.order-guide-detail th{
	font-weight: 700;
}
.giftmail-barcode-col{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.giftmail-barcode{
	display: block;
	margin-left: 20px;
	width: 120px;
	height: auto;
}
input[type="submit"] {
  padding: 0.3em;
  width: 15em;
}
#privacypolicy {
  padding: 1em;
  background: #fff;
}
#privacypolicy dt {
  font-weight: 700;
}
#privacypolicy dd {
  margin-bottom: 0.5em;
}
@media (max-width: 599px) {
	.sp{
		display: block;
	}
  .sitelogo {
    margin: 20px auto;
    max-width: 100%;
    height: auto;
  }
  .topicPath {
    margin: 20px 0;
  }
  .topicPath span, .topicPath a {
    font-size: 1.2rem;
  }
  main {
    margin: 0 5%;
    width: 90%;
  }
  main section {
    padding-bottom: 20px;
    font-size: 1.7rem;
    line-height: 1.8;
  }
	.gift-header-title{
		margin-bottom: 20px;
	}
  .giftcatalog-image {
    margin-bottom: 20px;
    gap: 20px;
  }
  .giftcatalog-image li {
    width: calc((100% - 20px) / 2);
  }
  .orderform th, .orderform td {
    display: block;
    padding: 0.5em;
    text-align: left;
  }
  input[type="text"], textarea {
    display: block;
    width: 100%;
  }
  .form_label1 {
    display: block;
    margin-bottom: 10px;
  }
  .form_itemselect > li {
    padding: 10px 0;
  }
  .postage-list,.order-guide-detail {
    margin: 0 auto 20px;
	  border-bottom: 1px solid #d2d2d2;
  }
  .postage-list th, .postage-list td,.order-guide-detail th, .order-guide-detail td {
    display: block;
  }
  .postage-list th,.order-guide-detail th {
	  padding-top: 1em;
    border-top: 1px solid #d2d2d2;
  }
  .postage-list td, .order-guide-detail td {
	  padding-bottom: 1em;
  }
  .privacypolicy_wrap {
    margin: 0 auto;
    width: 100%;
    height: 120px;
    overflow-y: scroll;
  }
  #privacypolicy {
    padding: 10px;
    font-size: 1.4rem;
  }
  .privacypolicy_title {
    font-size: 1.6rem;
  }
  .privacypolicy_wrap {
    margin-bottom: 20px;
  }
	.giftmail-barcode{
		display: none;
	}
}
@media (min-width: 600px) {
	.sp{
		display: none;
	}
  .topicPath {
    margin: 20px 0;
  }
  .topicPath span, .topicPath a {
    font-size: 1.4rem;
  }
  main {
    margin: 0 auto;
    padding-bottom: 20px;
    width: 90%;
    max-width: 810px;
  }
  main section {
    padding-bottom: 20px;
    font-size: 1.6rem;
    line-height: 1.8;
  }
	.gift-header-title{
		margin-bottom: 30px;
	}
  .title {
    margin: 0 auto 40px;
    padding: 0.5em 0;
    font-size: 3rem;
  }
  .sub-title {
    margin: 0 auto 20px;
    padding: 10px;
    font-size: 1.8rem;
  }
  textarea {
    display: block;
    width: 100%;
  }
  .giftcatalog-image li {
    margin-bottom: 20px;
    width: 23%;
  }
  .orderform {
    margin: 0 auto 50px;
  }
  .form_label {
    width: 200px;
  }
  .form_label1 {
    float: left;
    padding: 0.5em 0;
    width: 200px;
  }
  .form_itemselect {
    margin-left: 200px;
  }
  .form_itemselect > li {
    padding: 15px 0;
  }
  .input_notice {
    /*margin-left: 200px;*/
    margin-left: 1em;
  }
  .postage-list,.order-guide-detail {
    margin: 0 auto 30px;
    max-width: 100%;
	  border-top: 1px solid #d2d2d2;
  }
  .postage-list th, .postage-list td,.order-guide-detail th,.order-guide-detail td {
	  padding: 1em 0;
    border-bottom: 1px solid #d2d2d2;
  }
  .privacypolicy_wrap {
    margin: 0 auto;
    width: 100%;
    height: 120px;
    overflow-y: scroll;
  }
  #privacypolicy {
    padding: 20px;
    font-size: 1.5rem;
  }
  .privacypolicy_title {
    font-size: 1.7rem;
  }
  .privacypolicy_wrap {
    margin-bottom: 30px;
  }
}
#form_confirm label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}