@charset "UTF-8";
header .inner-box {
  max-width: 1240px;
  margin: 0 auto;
}
header .header-top {
  background-color: #F0F0F0;
  padding: 10px 0;
  padding-left: 3%;
  padding-right: 3%;
  display: block;
}
header .header-top ol {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}
header .header-top ol li a {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 1px;
  color: #797979;
}
header .header-top ol li:first-child {
  margin-right: 10px;
}
header .header-top ol li:last-child {
  margin-left: 15px;
}
header .header-top ol li:last-child::before {
  content: "|";
  padding-right: 15px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 1px;
  color: #797979;
  margin: 0;
}
@media screen and (max-width: 768px) {
  header .header-top {
    display: none;
    transition-property: all;
    transition-duration: 0.3s;
  }
}
header .header-bottom {
  background-color: white;
  padding: 20px 0;
  padding-left: 3%;
  padding-right: 3%;
  display: block;
}
header .header-bottom .inner-box {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .header-bottom .header-logo {
  flex-shrink: 0;
  max-width: 20%;
}
@media screen and (max-width: 768px) {
  header .header-bottom .header-logo {
    max-width: 130px;
    transition-property: all;
    transition-duration: 0.3s;
  }
}
header .header-bottom .header-logo img {
  width: 100%;
}
header .header-bottom .header-logo span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
header .header-bottom .header-nav {
  display: block;
}
header .header-bottom ol {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  header .header-bottom ol {
    display: none;
    transition-property: all;
    transition-duration: 0.3s;
  }
}
header .header-bottom li {
  margin-right: 20px;
}
header .header-bottom li.en {
  margin-right: 30px;
}
header .header-bottom li.en:last-child {
  margin: 0;
}
header .header-bottom li.th {
  margin-right: 30px;
}
header .header-bottom li.th:last-child {
  margin: 0;
}
header .header-bottom li a {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  color: #22212A;
  font-size: 14px;
  font-size: clamp(10px, 1vw, 14px);
  letter-spacing: 1px;
  font-weight: bold;
  white-space: nowrap;
}
header .header-bottom li:last-child {
  margin-right: 0;
  max-width: 170px;
}
header .header-bottom li:last-child a {
  display: block;
  background-color: #22212A;
  color: white;
  padding: 10px 30px;
  border-radius: 30px;
  text-align: center;
}
header .header-bottom li:last-child .th {
  padding: 10px 52px;
}
header .header-bottom li:last-child .en {
  padding: 10px 38px;
}

.sp-menu {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp-menu {
    display: block;
    transition-property: all;
    transition-duration: 0.3s;
  }
}

.wrap {
  overflow-x: hidden;
}

/* modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 0 8px 0 0;
  width: 90%;
  transform: translateX(-100%); /* 初期位置を画面の外側（左）に */
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease; /* アニメーション効果 */
  top: 0;
}

/* モーダルを表示するクラス */
.modal.show .modal-content {
  transform: translateX(0); /* 画面の中央にスライドイン */
  opacity: 1;
}

.close-btn {
  position: absolute;
  right: 3%;
  font-size: 230%;
}

.modal-nav {
  border-top: solid 2px #3B44B1;
  margin-top: 50px;
}
.modal-nav li {
  border-bottom: solid 1px #F0F0F0;
  padding-left: 3%;
}
.modal-nav li:first-child {
  margin-top: 20px;
}
.modal-nav li a {
  font-size: clamp(14px, 1.45vw, 18px);
  display: block;
  width: 100%;
  color: #22212A;
  padding: 20px 0;
}

.language {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5%;
  margin-top: 60px;
}
.language li a {
  text-align: center;
  display: block;
  padding: 10% 0;
  color: #22212A;
  font-size: clamp(14px, 1.45vw, 18px);
  background-color: #F0F0F0;
}

footer {
  border-top: solid 1px #F0F0F0;
}
footer .inner-box {
  max-width: 1240px;
  margin: 0 auto;
}
footer .footer-top {
  padding-left: 3%;
  padding-right: 3%;
}
@media screen and (max-width: 768px) {
  footer .footer-top {
    padding: 0;
    transition-property: all;
    transition-duration: 0.3s;
  }
}
footer .footer-top ol {
  display: flex;
  justify-content: flex-start;
  margin: 60px 0;
  padding: 0;
}
footer .footer-top ol li {
  margin-right: 40px;
}
footer .footer-top ol li a {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  color: #22212A;
  font-size: 14px;
  font-size: clamp(10px, 1vw, 14px);
  letter-spacing: 1px;
  font-weight: bold;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  footer .footer-top ol {
    display: list-item;
    margin: 0;
    transition-property: all;
    transition-duration: 0.3s;
  }
  footer .footer-top ol li {
    margin-right: 0;
    border-bottom: solid 1px #F0F0F0;
    padding-left: 3%;
    padding-right: 3%;
  }
  footer .footer-top ol li a {
    padding: 20px 0;
    display: block;
  }
}
footer .footer-bottom {
  background-color: #22212A;
  padding: 30px 0;
  padding-left: 3%;
  padding-right: 3%;
}
footer .footer-bottom p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-size: 12px;
  color: white;
}