/* Style for PCs */
@media screen and (min-width: 1025px) {
  /* Header */
  header {
    width: 100%;
    height: 70px;
    display: block;
    position: fixed;
    top: 50px;
    left: 0;
    z-index: 18500;
    transition: .4s all;
  }
  header.up_act {
    top: 0;
    left: 0;
    background: RGBA(0, 0, 0, 0.85);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(51, 51, 51, 0.85) 96%, rgba(153, 142, 78, 0.85) 97%);
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.4);
  }
  header figure {
    width: 270px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50px;
    left: 2%;
    z-index: 18600;
    transition: .4s all;
  }
  header.up_act figure {
    top: 0;
    left: 2%;
  }
  /* Translate Button */
  p.bn_translate {
    width: 110px;
    height: auto;
    display: block;
    font-size: 12px !important;
    font-family: var(--font-min);
    font-weight: 400;
    line-height: 30px !important;
    letter-spacing: 0px;
    overflow: hidden;
    position: fixed;
    bottom: -40px;
    right: 0;
    z-index: 10000;
    padding: 0 !important;
    margin: 0 !important;
    transition: .4s all;
  }
  p.bn_translate.up_act {
    bottom: 0;
  }
  p.bn_translate a {
    width: 100%;
    height: 30px;
    display: block;
    border-top-left-radius: 10px;
    text-decoration: none;
    color: var(--color-white);
    text-align: right;
    line-height: 24px !important;
    padding: 0 15px 0 0;
    background-color: var(--color-6th);
    background-image: url(../img/header/ic_translate_w.svg);
    background-repeat: no-repeat;
    background-position: 10px 3px;
    background-size: auto 20px;
    transition: .4s all;
  }
  p.bn_translate a:hover {
    background-color: var(--color-black);
  }
  /* Footer */
  footer {
    width: 100%;
    height: auto;
    display: block;
    border-top: 3px solid var(--color-4th);
  }
  footer .ftbody {
    width: 100%;
    max-width: 1400px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 30px 5%;
  }
  footer .ftbody ul {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  footer .ftbody ul li {
    font-size: 12px;
    font-family: var(--font-min);
    line-height: 1em;
    margin: 0 0.5em;
  }
  footer .ftbody ul li a {
    width: fit-content;
    height: auto;
    display: block;
    padding: 0.5em;
    text-decoration: none;
    color: var(--color-white);
    transition: .4s all;
  }
  footer .ftbody ul li a:hover {
    color: var(--color-4th);
    text-decoration: none;
  }
  footer .ftbody p {
    font-size: 11px;
    font-weight: 300;
    font-family: var(--font-en);
    text-align: center;
    margin: 0;
    color: var(--color-white);
  }
  /* Contact Bar */
  .contactsec {
    width: fit-content;
    height: 50px;
    display: flex;
    margin: 0 0 0 0;
    padding: 5px 30px 5px 50px;
    background-color: var(--color-5th);
    position: fixed;
    bottom: -50px;
    right: 0;
    z-index: 19900;
    transition: .4s all;
    clip-path: polygon(8% 0, 100% 0%, 100% 100%, 0% 100%);
  }
  .contactsec li a {
    width: 100%;
    height: 40px;
    display: block;
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-en);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    transition: .4s all;
  }
  .contactsec li a:hover {
    opacity: 0.4;
  }
  .contactsec li.cb_tel {
    width: 160px;
    height: 40px;
    display: block;
    text-align: right;
    font-size: 18px;
    font-weight: 400;
    line-height: 40px;
    margin-right: 15px;
  }
  .contactsec li.cb_tel a {
    background-position: left center;
  }
  .contactsec li.cb_mail {
    width: 185px;
    height: 40px;
    display: block;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 40px;
    /*margin-right:15px;*/
  }
  .contactsec li.cb_mail a {
    background-position: left center;
  }
  .contactsec li.cb_ic {
    width: 40px;
    height: 40px;
    display: block;
  }
  .contactsec li.cb_ic a {
    text-indent: -9999px;
    background-position: center center;
  }
  .contactsec.ulactive {
    bottom: 0;
  }
  .contactsec.ulend {
    position: relative;
    bottom: 0;
    right: 0;
    margin-left: auto;
  }
}
/* Style for iPad Pro */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  /* Header */
  header {
    width: 100%;
    height: 70px;
    display: block;
    position: fixed;
    top: 30px;
    left: 0;
    z-index: 18500;
    border-radius: 5px;
    transition: .4s all;
  }
  header.up_act {
    top: 0;
    left: 0;
    background: RGBA(0, 0, 0, 0.85);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(51, 51, 51, 0.85) 96%, rgba(153, 142, 78, 0.85) 97%);
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.4);
  }
  header figure {
    width: 270px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 30px;
    left: 2%;
    z-index: 18600;
    transition: .4s all;
  }
  header.up_act figure {
    top: 0;
    left: 2%;
  }
  /* Translate Button */
  p.bn_translate {
    width: 110px;
    height: auto;
    display: block;
    font-size: 12px !important;
    font-family: var(--font-min);
    font-weight: 400;
    line-height: 30px !important;
    letter-spacing: 0px;
    overflow: hidden;
    position: fixed;
    bottom: -40px;
    right: 0;
    z-index: 10000;
    padding: 0 !important;
    margin: 0 !important;
    transition: .4s all;
  }
  p.bn_translate.up_act {
    bottom: 0;
  }
  p.bn_translate a {
    width: 100%;
    height: 30px;
    display: block;
    border-top-left-radius: 10px;
    text-decoration: none;
    color: var(--color-white);
    text-align: right;
    line-height: 24px !important;
    padding: 0 15px 0 0;
    background-color: var(--color-6th);
    background-image: url(../img/header/ic_translate_w.svg);
    background-repeat: no-repeat;
    background-position: 10px 3px;
    background-size: auto 20px;
    transition: .4s all;
  }
  p.bn_translate a:hover {
    background-color: var(--color-black);
  }
  /* Footer */
  footer {
    width: 100%;
    height: auto;
    display: block;
    border-top: 3px solid var(--color-4th);
  }
  footer .ftbody {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 30px 5%;
  }
  footer .ftbody ul {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  footer .ftbody ul li {
    font-size: 12px;
    font-family: var(--font-min);
    line-height: 1em;
    margin: 0 0.5em;
  }
  footer .ftbody ul li a {
    width: fit-content;
    height: auto;
    display: block;
    padding: 0.5em;
    text-decoration: none;
    color: var(--color-white);
    transition: .4s all;
  }
  footer .ftbody ul li a:hover {
    color: var(--color-4th);
    text-decoration: none;
  }
  footer .ftbody p {
    font-size: 11px;
    font-weight: 300;
    font-family: var(--font-en);
    text-align: center;
    margin: 0;
    color: var(--color-white);
  }
  /* Contact Bar */
  .contactsec {
    width: fit-content;
    height: 50px;
    display: flex;
    margin: 0 0 0 0;
    padding: 5px 30px 5px 50px;
    background-color: var(--color-5th);
    position: fixed;
    bottom: -50px;
    right: 0;
    z-index: 19900;
    transition: .4s all;
    clip-path: polygon(8% 0, 100% 0%, 100% 100%, 0% 100%);
  }
  .contactsec li a {
    width: 100%;
    height: 40px;
    display: block;
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-en);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    transition: .4s all;
  }
  .contactsec li a:hover {
    opacity: 0.4;
  }
  .contactsec li.cb_tel {
    width: 160px;
    height: 40px;
    display: block;
    text-align: right;
    font-size: 18px;
    font-weight: 400;
    line-height: 40px;
    margin-right: 15px;
  }
  .contactsec li.cb_tel a {
    background-position: left center;
  }
  .contactsec li.cb_mail {
    width: 185px;
    height: 40px;
    display: block;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 40px;
    /*margin-right:15px;*/
  }
  .contactsec li.cb_mail a {
    background-position: left center;
  }
  .contactsec li.cb_ic {
    width: 40px;
    height: 40px;
    display: block;
  }
  .contactsec li.cb_ic a {
    text-indent: -9999px;
    background-position: center center;
  }
  .contactsec.ulactive {
    bottom: 0;
  }
  .contactsec.ulend {
    position: relative;
    bottom: 0;
    right: 0;
    margin-left: auto;
  }
}
/* Style for Smartphone */
@media screen and (max-width: 768px) {
  /* Header */
  header {
    width: 100%;
    height: 70px;
    display: block;
    position: fixed;
    top: 30px;
    left: 0%;
    z-index: 18500;
    transition: .4s all;
  }
  header.up_act {
    top: 0;
    left: 0;
    background: RGBA(0, 0, 0, 0.85);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(51, 51, 51, 0.85) 96%, rgba(153, 142, 78, 0.85) 97%);
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.4);
  }
  header figure {
    width: 230px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 30px;
    left: 2%;
    z-index: 18600;
    transition: .4s all;
  }
  header.up_act figure {
    top: 0;
    left: 2%;
  }
  /* Translate Button */
  p.bn_translate {
    width: 110px;
    height: auto;
    display: block;
    font-size: 12px !important;
    font-family: var(--font-min);
    font-weight: 400;
    line-height: 30px !important;
    letter-spacing: 0px;
    overflow: hidden;
    position: fixed;
    bottom: -40px;
    right: 0;
    z-index: 10000;
    padding: 0 !important;
    margin: 0 !important;
    transition: .4s all;
  }
  p.bn_translate.up_act {
    bottom: 0;
  }
  p.bn_translate a {
    width: 100%;
    height: 30px;
    display: block;
    border-top-left-radius: 10px;
    text-decoration: none;
    color: var(--color-white);
    text-align: right;
    line-height: 24px !important;
    padding: 0 15px 0 0;
    background-color: var(--color-6th);
    background-image: url(../img/header/ic_translate_w.svg);
    background-repeat: no-repeat;
    background-position: 10px 3px;
    background-size: auto 20px;
    transition: .4s all;
  }
  p.bn_translate a:hover {
    background-color: var(--color-black);
  }
  /* Footer */
  footer {
    width: 100%;
    height: auto;
    display: block;
    border-top: 3px solid var(--color-4th);
  }
  footer .ftbody {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 30px 5% 50px;
  }
  footer .ftbody ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  footer .ftbody ul li {
    width: 100%;
    height: auto;
    display: block;
    font-size: 14px;
    font-family: var(--font-min);
    line-height: 1em;
    margin: 0;
  }
  footer .ftbody ul li a {
    width: 100%;
    height: auto;
    display: block;
    padding: 1em 1em;
    text-decoration: none;
    color: var(--color-white);
    transition: .4s all;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
    background-image: url(../img/header/ic-ar_h_w.svg);
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: auto 30%;
  }
  footer .ftbody ul li a:hover {
    color: var(--color-4th);
    text-decoration: none;
  }
  footer .ftbody p {
    font-size: 11px;
    font-weight: 300;
    font-family: var(--font-en);
    text-align: center;
    margin: 0;
    color: var(--color-white);
  }
  /* Contact Bar */
  .contactsec {
    width: fit-content;
    height: 50px;
    display: flex;
    margin: 0 0 0 0;
    padding: 5px 10px 5px 30px;
    background-color: var(--color-5th);
    position: fixed;
    bottom: -50px;
    right: 0;
    z-index: 19900;
    transition: .4s all;
    clip-path: polygon(8% 0, 100% 0%, 100% 100%, 0% 100%);
  }
  .contactsec li a {
    width: 100%;
    height: 40px;
    display: block;
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-en);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    transition: .4s all;
  }
  .contactsec li a:hover {
    opacity: 0.4;
  }
  .contactsec li.cb_tel {
    width: 40px;
    height: 40px;
    display: block;
  }
  .contactsec li.cb_tel a {
    text-indent: -9999px;
    background-position: center center;
  }
  /*.contactsec li.cb_mail {
  width:40px;
  height: 40px;
  display: block;
}
.contactsec li.cb_mail a {
  text-indent: -9999px;
  background-position: center center;
}*/
  .contactsec li.cb_mail {
    width: 185px;
    height: 40px;
    display: block;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 40px;
    /*margin-right:15px;*/
  }
  .contactsec li.cb_mail a {
    background-position: left center;
  }
  .contactsec li.cb_ic {
    width: 40px;
    height: 40px;
    display: block;
  }
  .contactsec li.cb_ic a {
    text-indent: -9999px;
    background-position: center center;
  }
  .contactsec.ulactive {
    bottom: 0;
  }
  .contactsec.ulend {
    position: relative;
    bottom: 0;
    right: 0;
    margin-left: auto;
  }
}