/* setting */
/* ============================================ */
body{
  position: relative;
  letter-spacing: 0.02em;
  font-size: 16px;
  font-size: clamp(12px,3.5vw,16px);
  line-height: 1.7;
  background: #B5B5D5 url(../image/bg-body.jpg);
}
a[href^="tel:"]{
  pointer-events: none;

  @media (max-width: 768px){
    pointer-events: auto;
  }
}
.--tb{
  display: none!important;

  @media (max-width: 768px){
    display: block!important;
  }
}
.--sp{
  display: none!important;

  @media (max-width: 450px){
    display: block!important;
  }
}
@media (max-width: 768px){
  .--pcM{
		display: none !important;
	}
}
@media (max-width: 450px){
  .--pc{
		display: none !important;
	}
}
img{
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}
::-webkit-full-page-media, :future, :root img{
  image-rendering: unset;
}
a{
  transition: 0.3s;
}
a:hover{
  opacity: 0.8;
}
input,
select,
textarea {
  -webkit-appearance: none;
  border-radius: 0;
}
[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
select:disabled {
  color: #aaaaaa;
  border-color: #c1c1c1;
}


/* layout */
/* ============================================ */
.content{
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.content__inner{
  max-width: 750px;
  margin: 0 auto;
}
.--mbXs{
  margin-bottom: 8px;
  @media (max-width: 450px){
    margin-bottom: 4px;
  }
}
.--mbS{
  margin-bottom: 16px;
  @media (max-width: 450px){
    margin-bottom: 8px;
  }
}
.--mbM{
  margin-bottom: 24px;
  @media (max-width: 450px){
    margin-bottom: 16px;
  }
}
.--mbL{
  margin-bottom: 32px;
  @media (max-width: 450px){
    margin-bottom: 24px;
  }
}
.--mbXl{
  margin-bottom: 40px;
  @media (max-width: 450px){
    margin-bottom: 32px;
  }
}
.--red{
  color: #FF0000;
}
.--textLink{
  text-decoration: underline;
}
.--textCenter{
  text-align: center;
}
.--indent{
  text-indent: -1em;
  padding-left: 1em;
}
.--bdNone{
  border: none !important;
}


/* header */
/* ============================================ */
header{
  position: relative;
}
.header__body{
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #808080;
}
[class^="header__border"] {
  display: block;
  width: 100%;
}
.header__border-top{
  height: 2px;
  background-color: #f8981d;
}
.header__border-mid{
  height: 5px;
  background-color: #7292cb;
}
.header__border-btm{
  height: 15px;
  background-color: #1c3664;
}


/* カタログ・サンプル請求 */
/* ============================================ */
#mfp_hidden{
  display: none;
}
.mfp_err{
  color: #FF0000;
  font-size: clamp(10px,1.5vw,12px);
}
article{
  position: relative;
  width: 100%;
  padding: 0 16px 40px;
  max-width: 850px;
  margin: 0 auto;
  background: #fff;
}
.content__heading{
  padding: 40px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #000;

  @media (max-width: 450px){
    padding: 20px 0;
  }
}
h2{
  font-size: clamp(20px,5.2vw,40px);
  font-weight: 700;
}
h3{
  font-size: clamp(16px,3.1vw,24px);
  font-weight: 700;
  border-bottom: 1px solid #000;
  margin-bottom: 24px;
}
input,select,textarea{
  width: 100%;
  border: 1px solid #AFAFAF;
  background: #fff;
  border-radius: 3px;
}
textarea{
  width: 100% !important;
  min-height: 100px;
}
input[type="checkbox"], input[type="radio"]{
  width: 20px;
  height: 20px;
  accent-color: #6162A5;

  @media (max-width: 450px){
    width: 15px;
    height: 15px;
  }
}
.radio__card{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;

  @media (max-width: 450px){
    gap: 8px;
  }
  > div{
    width: 50%;
  }
  .radio__item{
    display: flex;
    justify-content: center;
  }
  .radio__label01{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 230px;
    height: 65px;
    padding: 0 8px;
    border: 1px solid #707070;
    border-radius: 10px;
    
    @media (max-width: 450px){
      gap: 8px;
      max-width: 200px;
      height: 50px;
    }

    & p{
      font-size: clamp(10px,3.5vw,16px);
      text-align: center;
      line-height: 1.2;
    }
  }
}

.bg__gray{
  background: #F6F6F6;
  padding: 0 16px;
  @media (max-width: 450px){
    padding: 0 8px;
  }
}
.card__item{
  position: relative;
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #CCCCCC;

  @media (max-width: 768px){
    flex-wrap: wrap;
    gap: 0;
    border-bottom: none;
  }
  &::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 60%;
    background: #B2B2B2;
  }
  @media (max-width: 768px){
    &::after{
      display: none;
    }
  }
  .item{
    width: 50%;

    @media (max-width: 768px){
      width: 100%;
    }
  }
}

.wrap__item{
  border-bottom: 1px solid #CCCCCC;
}
.item{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;

  @media (max-width: 768px){
    flex-wrap: wrap;
    gap: 4px;
  }
  .item__title{
    width: 150px;
    line-height: 1.5;
    font-weight: 700;
    @media (max-width: 768px){
      width: 100%;
    }
  }
  .--must{
    &::after{
      content: "※必須";
      display: inline-block;
      color: #FF0000;
      font-size: clamp(10px,2.6vw,12px);
      margin-left: 4px;
    }
  }
  .item__input{
    width: calc(100% - 150px);

    @media (max-width: 768px){
      width: 100%;
    }
  }
  .item__gyoshu{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;

    @media (max-width: 768px){
      flex-wrap: nowrap;
    }
    .gyoshu__select{
      width: 100%;
      @media (max-width: 768px){
        width: 50%;
      }
    }
  }
}

.item__tel,.item_address{
  display: flex;
  align-items: center;
  gap: 4px;
}

.item__catalog{
  display: flex;
  align-items: center;
  gap: 8px;
  & select{
    max-width: 3rem;
  }
}

.card__item--select{
  border-bottom: none;
  .item{
    display: block;
  }
  &::after{
    display: none;
  }
}

.sampleSet{
  padding: 8px 0;
  & li{
    font-size: clamp(10px,3.1vw,14px);
    padding: 16px;
    border-bottom: 1px solid #CCCCCC;

    @media (max-width: 450px){
      padding: 8px;
    }
  }
  & li:last-child{
    border-bottom: none;
  }
}

.radio__area{
  display: flex;
  align-items: center;
  gap: 80px;
  @media (max-width: 450px){
    gap: 40px;
  }
  & label{
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.card__sample{
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  > div{
    position: relative;
    .sample__title{
      padding: 8px 8px 0;
      text-align: center;
      font-weight: 700;
      font-size: clamp(12px,2vw,16px);
      white-space: nowrap;
    }
    &:not(:last-child) .sample__title::after{
      content: "";
      position: absolute;
      top: 50%;
      right: -4px;
      transform: translateY(-50%);
      width: 1px;
      height: 60%;
      background: #B2B2B2;
    }
    .piece__input{
      display: flex;
      align-items: center;
      gap: 8px;
    }
  }
  .sample__no{
    width: 30%;
  }
  .sample__name{
    width: 60%;
    @media (max-width: 450px) {
      width: 55%;
    }
  }
  .sample__piece{
    width: 10%;
    @media (max-width: 450px) {
      width: 15%;
    }
  }
}
.item__textarea{
  padding: 16px 0;
  @media (max-width: 450px){
    padding: 8px 0;
  }
}

.postageList{
  & table{
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #F6F6F6;
    font-size: clamp(10px,3.5vw,16px);
    & th,td{
      position: relative;
      width: 50%;
      padding: 16px;
      line-height: 1.2;
      @media (max-width: 450px){
        padding: 8px;
      }
    }
    & th{
      background-color: #e6e6e6;
      border-bottom: 2px solid #B2B2B2;
    }
    & th:first-child::after{
      content: "";
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      width: 1px;
      height: 60%;
      background: #B2B2B2;
    }
    & td:first-child::after{
      content: "";
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      width: 1px;
      height: 60%;
      background: #B2B2B2;
    }
    & th:last-child{
      text-align: right;
    }
    & td:last-child {
      text-align: right;
    }
  }
}

.btn__wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  & button,a{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 215px;
    height: 55px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: clamp(16px,4.4vw,20px);
    transition: 0.3s;

    @media (max-width: 450px){
      width: 150px;
      height: 45px;
    }

    @media (min-width: 768px){
      &:hover{
        opacity: 0.7;
      }
    }
  }
}
.btn__submit{
  & button[type="submit"]{
    border: 1px solid #6162A5;
    background: #6162A5;
    color: #fff;
  }
}

.btn__back{
  & a{
    border: 1px solid #707070;
    background: #fff;
    @media (max-width: 450px){
      width: 200px;
      height: 45px;
    }
  }
}


/* 商品注文 */
/* ============================================ */
.box__gray{
  background: #F6F6F6;
  padding: 16px;
}
.card__order{
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  @media (max-width: 768px){
    flex-wrap: wrap;
    padding: 8px 0;
    margin-bottom: 16px;
  }
  > div{
    position: relative;
    .order__title{
      position: relative;
      text-align: center;
      font-weight: 700;
      padding: 8px 8px 0;
    }
    &:not(:last-child) .order__title::after{
      content: "";
      position: absolute;
      top: 50%;
      right: -4px;
      transform: translateY(-50%);
      width: 1px;
      height: 60%;
      background: #B2B2B2;
    }
    @media (max-width: 768px){
      &:not(:last-child) .order__title::after{
        display: none;
      }
    }
  }
  .order__no{
    width: 15%;
    @media (max-width: 768px){
      width: calc(40% - 4px);
    }
  }
  .order__name{
    width: 50%;
    @media (max-width: 768px){
      width: calc(60% - 4px);
    }
  }
  .order__piece{
    width: 20%;
    @media (max-width: 768px){
      width: calc(40% - 4px);
    }
    .piece__input{
      display: flex;
      align-items: center;
      gap: 8px;
      & p{
        white-space: nowrap;
      }
      .order__unit{
        width: 5em;
      }
    }
  }
  .order__day{
    width: 15%;
    @media (max-width: 768px){
      width: calc(60% - 4px);
    }
  }
}
.btn__clear{
  & button{
    padding: 8px 16px;
    font-weight: 700;
    text-decoration: underline;

    @media (max-width: 768px){
      padding: 0 8px;
    }
  }
}

.order__title{
  font-weight: 700;
}
.acdn__btn{
  cursor: pointer;
  display: block;
  margin: 0 auto;
  width: 40px;
  height: 40px;
  background: url(../image/icon-add.svg) no-repeat center / 30px;
}
.order__area.open{
  .acdn__btn{
    background: url(../image/icon-remove.svg) no-repeat center / 30px;
  }
}
.payment{
  display: flex;
  align-items: center;
  padding: 16px 0;
  gap: 32px;

  @media (max-width: 450px){
    flex-wrap: wrap;
    gap: 16px;
  }
  .payment__title{
    width: 35%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(12px,2vw,16px);

    @media (max-width: 450px){
      width: 100%;
      justify-content: center;
    }
    & p{
      font-weight: 700;
    }
  }
  .payment__text{
    position: relative;
    width: 65%;
    font-size: clamp(12px,1.8vw,14px);

    @media (max-width: 450px){
      width: 100%;
    }
    &::before{
      content: "";
      position: absolute;
      top: 50%;
      left: -16px;
      transform: translateY(-50%);
      width: 1px;
      height: 100%;
      background: #B2B2B2;
    }
    @media (max-width: 450px){
      &::before{
        display: none;
      }
    }
  }
}
.check_area{
  & label{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  & p{
    font-size: clamp(12px,2vw,16px);
  }
}



/* 確認画面 */
/* ============================================ */
#mfp_phase_confirm{

  .confirm__title{
    padding-top: 40px;
  }
  #mfp_confirm_table{
    width: 100%;
    max-width: 750px;
    margin: 0 auto 40px;
    background: #F6F6F6;
    font-size: clamp(10px,2vw,16px);
    & th,td{
      position: relative;
      padding: 8px;
      border-bottom: 1px solid #CCCCCC;
    }
    & th:first-child::after{
      content: "";
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      width: 1px;
      height: 60%;
      background: #B2B2B2;
    }
    & tr:last-child th,tr:last-child td{
      border-bottom: none;
    }
  }
  .mfp_buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    & button{
      display: flex;
      text-align: center;
      align-items: center;
      justify-content: center;
      width: 215px;
      height: 55px;
      padding: 0 8px;
      border-radius: 10px;
      font-size: clamp(16px,4.4vw,20px);
      transition: 0.3s;

      @media (max-width: 450px){
        width: 150px;
        height: 45px;
      }
    }
    #mfp_button_send{
      border: 1px solid #6162A5;
      background: #6162A5;
      color: #fff;
    }
    #mfp_button_cancel{
      border: 1px solid #707070;
      background: #fff;
    }
  }
}


/* サンクスページ */
/* ============================================ */
.thanks__text{
  & p{
    margin-bottom: 24px;
  }
}


/* footer */
/* ============================================ */
footer{
  .footer__body{
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    background-color: #1C3664;
    padding: 24px 16px;

    @media (max-width: 450px){
      padding: 16px 8px;
    }
    .copyright{
      text-align: center;
      color: #fff;
      font-size: clamp(10px,1.8vw,14px);
    }
  }
}