/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
.thickbox-back {
  overflow: hidden;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
  position: fixed;
  z-index:2000!important;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
  background-color:#000000;
  filter:alpha(opacity=50);
  -moz-opacity: 0.50;
  opacity: 0.50;
}

* html #TB_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
  position: fixed;
  background: #ffffff;
  z-index: 2000!important;
  color:#000000;
  display:none;
  text-align:left;
  top: 5%;
  left: calc( 50% - 350px );
  margin: 0 auto!important;
  box-sizing: border-box;
  overflow-y: auto;
}

.ipad #TB_iframeContent {
  overflow: scroll;
}

.ipad2 #TB_iframeContent {
  overflow: scroll;
}

* html #TB_window { /* ie6 hack */
  position: absolute;
  margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
  display:block;
  margin: 15px 0 0 15px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #666;
  border-left: 1px solid #666;
}

#TB_caption{
  height:25px;
  padding:7px 30px 10px 25px;
  float:left;
}

#TB_closeWindow{
  height:25px;
  padding:11px 25px 10px 0;
  float:right;
}

#TB_closeAjaxWindow{
  padding:7px 10px 5px 0;
  margin-bottom:1px;
  text-align:right;
  float:right;
}

#TB_ajaxWindowTitle{
  float:left;
  padding:7px 0 5px 10px;
  margin-bottom:1px;
  display: none;
}

#TB_title{
  background-color:#efefef;
  height:32px;
}

#TB_ajaxContent{
  clear:both;
  overflow:auto;
  text-align:left;
  width: auto !important;
}

#TB_ajaxContent.TB_modal{
  padding:15px;
}

#TB_load{
  position: fixed;
  display:none;
  height:13px;
  width:208px;
  z-index:103;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
  position: absolute;
  margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
  z-index:99;
  position:fixed;
  top: 0;
  left: 0;
  background-color:#fff;
  border:none;
  filter:alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  height:100%;
  width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
  clear:both;
  border:none;
  margin-bottom:-1px;
  margin-top:1px;
  _margin-bottom:1px;
  overflow: auto;
}

/********************
giftOptionSettingContent
*********************/
.giftOptionSettingContentBody {
  margin:20px auto;
  width:520px;
}
.giftOptionSettingContentBody .noshi-title {
  font-size:20px;
  line-height: 1.57;
  padding: 10px;
  border-bottom: 1px solid #C7C7C7;
}
.giftOptionSettingContentBody .btn_close {
  position: absolute;
  right: 15px;
  top: 15px;
}
.giftOptionSettingContentBody .c-button-arrow-center__span {
  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;
  color: #141414;
}
.giftOptionSettingContentBody .c-button-arrow-center__span:after {
  display: block;
  position: relative;
  top: 1px;
  right: 0;
  filter: brightness(15%);
}
.giftOptionSettingContentBody .noshi-description {
  font-size:14px;
  line-height: 1.57;
  font-weight:normal;
  padding: 20px 0;
  border-bottom: 1px solid #C7C7C7;
}
.giftOptionSettingContentBody .attention {
  font-size:14px;
  line-height: 1.57;
  font-weight:normal;
  padding: 10px;
}
.giftOptionSettingContentBody .giftsetting_title_block{
  text-align:right;
  margin-bottom:5px;
}
.giftOptionSettingContentBody .select-table {
  border-bottom: 1px solid #C7C7C7;
}
.giftOptionSettingContentBody .select-table th,
.giftOptionSettingContentBody .select-table td{
  border-top:none;
}
.giftOptionSettingContentBody .select-table th{
  width:30%;
  background-color:#efefef;
  vertical-align:middle;
}
.giftOptionSettingContentBody .noshi_set_buttun {
  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;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid;
  line-height: normal;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background: #fff;
  color: #141414;
  border-color: #141414;
  height: 60px;
  padding: 0 20px;
  position: relative;
}
.giftOptionSettingContentBody table{
  border-bottom:solid 1px #C7C7C7;
  width: 100%;
  padding: 10px;
}

.giftOptionSettingContentBody .noshi_names{
  border-collapse: separate;
  border-spacing: 8px 0px;
}
.giftOptionSettingContentBody .entry-table th{
  text-align:left;
  padding:12px 0;
  vertical-align:middle;
  font-size:14px;
  font-weight:normal;
}
.giftOptionSettingContentBody .entry-table td{
  padding:12px 10px;
}
.giftOptionSettingContentBody .entry-table .noshi_name_input {
  text-align: center;
}
.giftOptionSettingContentBody .entry-table .select_column_name {
  font-size: 12px;
  text-align: left;
}
.giftOptionSettingContentBody .entry-table select{
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid #141414;
  background: #F9F9F9 url(/assets/images/icon/arrow-down-black.svg) no-repeat right 19px center/10px;
  color: #141414;
  height: 40px;
  padding: 0 20px;
  width: 230px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.giftOptionSettingContentBody .entry-table label{
  padding-top:0;
}

.giftOptionSettingContentBody .input_okurinushi {
  display: inline-grid;
  gap: 5px;
  font: icon;
}

.giftOptionSettingContentBody .input_sei,
.giftOptionSettingContentBody .input_mei {
  border-radius: 3px;
  border: 1px solid;
  background: #F9F9F9;
  color: #141414;
  border-color: #141414;
  padding: 0 20px;
  height: 40px;
  min-width :150px;
}

.noshi_del_no_btn {
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid;
  line-height: normal;
  display: inline-flex;
  background: #fff;
  color: #141414;
  border-color: #141414;
  height: 60px;
  padding: 0 20px;
  position: relative;
  margin: 10px;
}

.noshi_del_btn {
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid;
  line-height: normal;
  display: inline-flex;
  background: #141414;
  color: #fff;
  border-color: #141414;
  height: 60px;
  padding: 0 20px;
  position: relative;
  margin: 10px;
}
.noshi_del_check {
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.giftsetting_foot_block{
  margin: 20px 0;
}


/***************/
div.cart_giftoption_block  {
  clear:both;
  padding:3px 0 0 0; margin:3px 0 0 0;
  width:100%;
  border-top:1px #CCCCCC dotted;
}

div.cart_giftoption_block div {
  padding:0; margin:0;
  width:100%;
  font-size:12px;
  line-height:1.1;
  color:#505050;
  position:relative;
  height:20px;
}

div.cart_giftoption_block div span.icon_gift {
  display:block;
  background-image:url(/_common/images/detail/icon_gift_01.gif);
  background-position:0 0;
  background-repeat:no-repeat;
  padding:0 0 0 20px;
  position:absolute;
  left:60px; top:0px;
  width:136px;
  height:20px;
  line-height:1.3;
  text-align:left;
  }
  
div.cart_giftoption_block div span.icon_noshi {
  background-image:url(/_common/images/detail/icon_noshi_01.gif);
  background-position:0 0;
  background-repeat:no-repeat;
  padding:0 0 0 19px;
  position:absolute;
  left:95px; top:0px;
  width:130px;
  height:20px;
  line-height:1.3;
  text-align:left;
  }
  
div.cart_giftoption_block div span.setting {
  padding:0;
  position:absolute;
  right:0; top:0px;
  width:65px;
  height:20px;
  text-align:right;
  }
  
div.cart_giftoption_block div span.setting a {
  color:#007700;
  }
  
div.cart_giftoption_block div span.confirm {
  padding:0;
  position:absolute;
  right:60px; top:0px;
  width:60px;
  height:20px;
  text-align:right;
  }
  
div.cart_giftoption_block div span.confirm a {
  color:#007700;
  }


/********************
noshiPreviewContent
*********************/
body.noshi_preview_main {
  background-color:#EFEFEF;
}
div.noshi_preview_block  {
  width:100%;
}
div.noshi_preview_block div {
  padding:0;
  margin:0;
  font-size:12px;
  line-height:1.1;
  color:#505050;
  position:static;
}
div.noshi_preview_block div.messagesError {
  display:block;
  padding:15px 15px 7px;
  margin: 5px 15px 0;
  width:90%;
  text-align:left;
}
div.noshi_preview_block div.btn_head {
  padding:5px 0 0 0;
  margin:5px 0 0 0;
  height:10px;
  font-size:14px;
}
div.noshi_preview_block div.attention_head {
  padding:0 0 0 0;
  height:18px;
  color:#DC0303;
  font-weight:bold;
}
div.noshi_preview_block div.preview_image img {
  border:solid 1px #505050;
}
div.noshi_preview_block div.attention {
  margin:5px 0 0 0;
  color:#DC0303;
  font-size:12px;
}
div.noshi_preview_block div.fontsample {
  font-size:12px;
  text-align:right;
}
div.noshi_preview_block div.btn_foot {
  padding:5px 0 0 0;
  height:20px;
  font-size:14px;
}
div.noshi_preview_block div span {
  display:inline;
  margin:0 10px 0;
}
div.noshi_preview_block div span a {
  color:#007700;
}
@media( max-width: 1179px ) {
#TB_window {
    width: 89% !important;
    height: 100vh;
    top: 0px;
    left: auto;
    right: 0;
    animation: noshi_window_fadein .2s ease 0s 1;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;          
    transform: translateX(100%);
}
@keyframes noshi_window_fadein {
    0% { transform: translateX(100%); }
    100% { transform: translateX(0%); }
}
#TB_window[style*=opacity] {
    animation: noshi_window_fadeout .2s ease 0s 1;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;          
    transform: translateX(0%);
}
@keyframes noshi_window_fadeout {
    0% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}
#TB_overlay {
    opacity: 0;
    animation: noshi_bg .4s ease 0s 1;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;          
}
@keyframes noshi_bg {
    0% { opacity: 0; }
    100% { opacity: 0.5; }
}
#TB_ajaxContent {
    padding: 0 10px;
    height: 100vh !important;
}
.giftOptionSettingContentBody {
    width: auto;
}
.giftOptionSettingContentBody .entry-table td {
    padding: 0 0 15px;
}
.giftOptionSettingContentBody .row-fluid .span6 span {
    display: block;
}
.giftOptionSettingContentBody .row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 50%;
    padding: 0 5px;
    margin-left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.giftOptionSettingContentBody .row-fluid input[type="text"] {
    width: 90%;
}

.giftOptionSettingContentBody .entry-table:not(.noshi_names) {padding: 0 0 15px;}
.giftOptionSettingContentBody .entry-table:not(.noshi_names) tr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.giftOptionSettingContentBody .entry-table:not(.noshi_names) tr th,
.giftOptionSettingContentBody .entry-table:not(.noshi_names) tr td {
  width: calc(100% - 135px);
  padding: 5px 0;
}
.giftOptionSettingContentBody .entry-table:not(.noshi_names) tr th {
  width: 135px;
}
.giftOptionSettingContentBody .entry-table:not(.noshi_names) tr td {
  padding: 5px 0 10px;
}
.giftOptionSettingContentBody .entry-table:not(.noshi_names) select {
  width: 100%;
}
.giftOptionSettingContentBody .attention {
  padding: 15px 0 0;
}
.giftOptionSettingContentBody .noshi_names {
  width: 100%;
  border-spacing: 0;
  padding: 10px 0 0;
}
.giftOptionSettingContentBody .input_okurinushi {
  width: 100%
}
.giftOptionSettingContentBody .noshi_names tr {
  display: flex;
  flex-wrap: wrap; 
}
.giftOptionSettingContentBody .noshi_name_input {
  width: calc(50% - 5px);
  margin: 0 5px 0 0;
}
.giftOptionSettingContentBody .noshi_name_input:last-child {
  margin: 0 0 0 5px;
}
.giftOptionSettingContentBody .noshi_name_input input {
  min-width: 100%;
}
.giftsetting_foot_block {
  margin: 15px 0 0;
}
.giftsetting_foot_block .noshi_set_buttun {
  width: 100%;
}

}

@media( max-width: 380px ) {
  .giftOptionSettingContentBody .entry-table:not(.noshi_names) {
    padding: 15px 0 5px;
  }
  .giftOptionSettingContentBody .entry-table:not(.noshi_names) tr th,
  .giftOptionSettingContentBody .entry-table:not(.noshi_names) tr td {
    width: 100%;
    padding: 5px 0;
  }
  .giftOptionSettingContentBody .entry-table:not(.noshi_names) tr td {
    padding: 5px 0 10px;
  }  
}