@import url("./styles/reset.css");

@import url("./styles/header.css");
@import url("./styles/footer.css");

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #303030;
}

a {
  color: #303030;
}

p {
  font-size: 16px;
  line-height: 1.75;
}

.pc {
  display: none;
}

.link {
  display: block;
  width: calc(100% - 35px);
  max-width: 300px;
  height: 60px;

  margin: 56px auto 0;
  position: relative;
  left: -2.5px;
}

.link::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-color: #525252;
  position: absolute;
  z-index: -1;
  right: -2.5px;
  bottom: -2.5px;
}

.link span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #e59900;
  border-radius: 5px;
  border: 2px solid #525252;
  color: #fff;
  font-weight: 600;
}

.link span::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url(./images/top/icon-serach.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.page-wrapper {
  padding: 114px 20px 150px;
}

.page-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 33px;
  color: #fff;
  background-color: #1c085d;
  padding: 27.5px 13px 27.5px 20px;
  min-height: 121px;
  border-radius: 58px 0 58px 0;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.page-title span {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
}

.page-title span::before {
  content: "";
  display: block;
  width: 33px;
  min-width: 33px;
  height: 33px;
  background-repeat: no-repeat;
  background-size: contain;
}

.breadcrumb {
  margin-top: 16px;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.breadcrumb__item {
  font-size: 12px;
  line-height: 1.5;
  position: relative;
}

.breadcrumb__item:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  right: -15px;
  width: 6px;
  height: 10px;
  background-image: url(./images/common/breadcrumb-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.breadcrumb__item img {
  width: 17px;
  height: 17px;
}

.page-menu {
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 32px;
  column-gap: 24px;
  width: fit-content;
}

header #google_language_translator select.goog-te-combo {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: 0 !important;
  background-size: 12px auto;
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-image: url(/wp-content/themes/okinawa-jtb/images/common/icon-arrow-down.svg);
  background-color: #fff !important;
  border: 1px solid #707070 !important;
  margin: 0 !important;
  font-size: 0.75rem;
  width: 120px;
}

#google_language_translator {
  height: 22px;
}

@media (min-width: 600px) {
  .page-menu {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .page-menu {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.page-menu__item {
  font-size: 16px;
  height: 50px;
  width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #1c085d;
  border-radius: 25px;
  color: #1c085d;
  font-weight: 600;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-menu__item.active {
  background-color: #1c085d;
  color: #fff;
}

@media (min-width: 768px) {
  .pc {
    display: initial;
  }

  .sp {
    display: none !important;
  }

  .breadcrumb__item {
    font-size: 14px;
    line-height: 20px;
    position: relative;
  }

  .breadcrumb__item img {
    width: 20px;
    height: 20px;
  }

  .page-wrapper {
    padding: 180px 20px 150px;
  }

  .page-title {
    font-size: 32px;
    line-height: 48px;
    padding: 73px 68px;
    border-radius: 90px 0 90px 0;
  }

  .page-title span {
    gap: 8px;
  }

  .page-title span::before {
    width: 54px;
    height: 54px;
  }

  .breadcrumb__item:not(:last-child)::after {
    width: 8px;
  }

  .page-menu {
    margin: 64px auto 0;
  }

  .link {
    width: 230px;
    height: 50px;
    font-weight: 600;
    margin: 40px auto 0;
    position: relative;
    left: -2.5px;
  }

  .link span {
    position: relative;
    transition: all 0.2s ease;
    right: 0;
    bottom: 0;
  }

  .link:hover span {
    right: -2.5px;
    bottom: -2.5px;
    color: #e59900;
    background-color: #fff;
    border: 2px solid #e59900;
  }

  .link span::before {
    transition: all 0.2s ease;
  }

  .link span:hover::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(./images/common/icon-search-orange.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }
}