/* =========================================================
   JAPAN TRADE COMMON FOOTER
   uploads/banner/footer/style.css
========================================================= */

.jtf-contents,
.jtf-reasons,
.jtf-contact,
.jtf-bottom,
.jtf-contents *,
.jtf-reasons *,
.jtf-contact *,
.jtf-bottom *{
  box-sizing:border-box;
}

.jtf-wrap{
  width:90%;
  max-width:1100px;
  margin:0 auto;
}


/* =========================================================
   CONTENTS
========================================================= */

.jtf-contents{
  width:100%;
  padding:54px 0 46px;
  background:#fff;
}

.jtf-section-title{
  margin:0 0 28px;
  padding:0;
  text-align:center;
  font-weight:400;
  line-height:1.3;
}

.jtf-section-title span{
  display:block;
  font-size:24px;
  letter-spacing:.18em;
  color:#333;
}

.jtf-section-title small{
  display:block;
  margin-top:4px;
  font-size:10px;
  font-weight:400;
  color:#888;
  letter-spacing:.08em;
}

.jtf-content-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  width:100%;
  max-width:820px;
  margin:0 auto;
}

.jtf-content-card{
  display:block;
  width:100%;
  margin:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #ece8e1;
  text-decoration:none !important;
  color:#333 !important;
  transition:transform .25s ease,box-shadow .25s ease;
}

.jtf-content-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}

.jtf-content-image{
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
}

.jtf-content-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.jtf-content-body{
  padding:18px 16px 20px;
  text-align:center;
}

.jtf-content-body h3{
  margin:0 0 8px !important;
  padding:0 !important;
  font-size:15px !important;
  line-height:1.5 !important;
  font-weight:600 !important;
  color:#333 !important;
}

.jtf-content-body p{
  margin:0 0 10px !important;
  padding:0 !important;
  font-size:11px !important;
  line-height:1.8 !important;
  color:#777 !important;
}

.jtf-content-body span{
  display:inline-block;
  font-size:10px;
  font-weight:600;
  color:#c69236;
}


/* =========================================================
   選ばれる理由
========================================================= */

.jtf-reasons{
  width:100%;
  padding:34px 0 32px;
  background:#faf7f2;
  border-top:1px solid #f0ebe3;
  border-bottom:1px solid #eee7dc;
}

.jtf-reasons-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:0 0 28px !important;
  padding:0 !important;
  font-size:14px !important;
  line-height:1.5 !important;
  font-weight:500 !important;
  color:#444 !important;
  text-align:center;
}

.jtf-reasons-title:before,
.jtf-reasons-title:after{
  content:"";
  display:block;
  width:40px;
  height:1px;
  background:#d29c3d;
}

.jtf-reasons-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  width:100%;
  max-width:900px;
  margin:0 auto;
}

.jtf-reason{
  min-width:0;
  padding:0 16px;
  text-align:center;
}

.jtf-reason + .jtf-reason{
  border-left:1px solid #e5ddd1;
}

.jtf-reason img{
  display:block;
  width:56px;
  height:56px;
  object-fit:contain;
  margin:0 auto 8px;
}

.jtf-reason strong{
  display:block;
  margin:0 0 4px;
  font-size:13px;
  line-height:1.4;
  font-weight:600;
  color:#333;
}

.jtf-reason p{
  margin:0 !important;
  padding:0 !important;
  font-size:10px !important;
  line-height:1.5 !important;
  color:#777 !important;
}


/* =========================================================
   お問い合わせ
========================================================= */

.jtf-contact{
  width:100%;
  padding:28px 0;
  background:#fff;
}

.jtf-contact-box{
  display:grid;
  grid-template-columns:64px 1.35fr 1fr 220px;
  gap:22px;
  align-items:center;

  width:100%;
  max-width:1000px;

  margin:0 auto;
  padding:24px 28px;

  background:#fff;
  border:1px solid #eee6dc;
}

.jtf-contact-icon{
  width:60px;
  height:60px;
}

.jtf-contact-icon img{
  display:block;
  width:60px;
  height:60px;
  object-fit:contain;
}

.jtf-contact-heading h2{
  margin:0 !important;
  padding:0 !important;
  font-size:17px !important;
  line-height:1.55 !important;
  font-weight:600 !important;
  text-align:left !important;
  color:#333 !important;
}

.jtf-contact-text p{
  margin:0 !important;
  padding:0 !important;
  font-size:11px !important;
  line-height:1.8 !important;
  color:#777 !important;
  text-align:center !important;
}

.jtf-contact-action{
  text-align:center;
}

.jtf-contact-action a{
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;
  min-height:48px;

  padding:0 18px;

  border-radius:999px;

  background:#d89e2c;
  color:#fff !important;

  font-size:12px;
  font-weight:600;

  text-decoration:none !important;
}

.jtf-contact-action a:hover{
  opacity:.86;
}


/* =========================================================
   最下部
========================================================= */

.jtf-bottom{
  width:100%;
  padding:20px 0 28px;
  background:#fff;
  border-top:1px solid #eee;
  text-align:center;
}

.jtf-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  margin:0 0 18px;
}

.jtf-links a{
  position:relative;
  display:block;
  padding:0 16px;

  font-size:10px;
  line-height:1.5;

  color:#555 !important;
  text-decoration:none !important;
}

.jtf-links a + a:before{
  content:"";
  position:absolute;
  left:0;
  top:50%;

  width:1px;
  height:11px;

  background:#d9d2c9;

  transform:translateY(-50%);
}

.jtf-links a:hover{
  color:#c69236 !important;
}

.jtf-payment{
  display:block;
  width:auto;
  max-width:340px;
  max-height:46px;
  margin:0 auto 12px;
}

.jtf-copyright{
  margin:0 !important;
  padding:0 !important;

  font-size:8px !important;
  line-height:1.5 !important;

  color:#999 !important;
  text-align:center !important;
}


/* =========================================================
   SP
========================================================= */

@media screen and (max-width:767px){

  .jtf-wrap{
    width:92%;
  }


  /* CONTENTS */

  .jtf-contents{
    padding:34px 0 28px;
  }

  .jtf-section-title{
    margin-bottom:18px;
  }

  .jtf-section-title span{
    font-size:19px;
  }

  .jtf-section-title small{
    font-size:8px;
  }

  .jtf-content-grid{
    gap:10px;
  }

  .jtf-content-body{
    padding:11px 7px 13px;
  }

  .jtf-content-body h3{
    min-height:34px;
    margin-bottom:5px !important;
    font-size:10px !important;
    line-height:1.55 !important;
  }

  .jtf-content-body p{
    display:none;
  }

  .jtf-content-body span{
    font-size:8px;
  }


  /* 選ばれる理由 */

  .jtf-reasons{
    padding:24px 0 22px;
  }

  .jtf-reasons-title{
    gap:7px;
    margin-bottom:18px !important;
    font-size:11px !important;
  }

  .jtf-reasons-title:before,
  .jtf-reasons-title:after{
    width:20px;
  }

  .jtf-reasons-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }

  .jtf-reason{
    padding:0 3px;
  }

  .jtf-reason img{
    width:42px;
    height:42px;
    margin-bottom:5px;
  }

  .jtf-reason strong{
    margin-bottom:2px;
    font-size:8.5px;
    line-height:1.3;
  }

  .jtf-reason p{
    font-size:7px !important;
    line-height:1.4 !important;
  }


  /* お問い合わせ */

  .jtf-contact{
    padding:18px 0;
  }

  .jtf-contact-box{
    display:block;
    padding:20px 16px;
    text-align:center;
  }

  .jtf-contact-icon{
    width:50px;
    height:50px;
    margin:0 auto 8px;
  }

  .jtf-contact-icon img{
    width:50px;
    height:50px;
  }

  .jtf-contact-heading h2{
    font-size:14px !important;
    line-height:1.55 !important;
    text-align:center !important;
  }

  .jtf-contact-text p{
    margin:9px 0 13px !important;
    font-size:10px !important;
    line-height:1.7 !important;
  }

  .jtf-contact-action a{
    min-height:44px;
    font-size:11px;
  }


  /* 最下部 */

  .jtf-bottom{
    padding:16px 0 76px;
  }

  .jtf-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin-bottom:16px;

    border-top:1px solid #eee;
    border-left:1px solid #eee;
  }

  .jtf-links a{
    min-height:36px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 6px;

    border-right:1px solid #eee;
    border-bottom:1px solid #eee;

    font-size:8.5px;
  }

  .jtf-links a + a:before{
    display:none;
  }

  .jtf-payment{
    width:72%;
    max-width:290px;
    height:auto;
    max-height:none;
  }

  .jtf-copyright{
    font-size:7px !important;
  }

}