* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

/* google font icon */
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* 共通項 */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #1c1c1c;
  background-color: #fff;
}

/* margin-left */
.ct-ml-8 {
  margin-left: 8px !important;
}

.ct-ml-16 {
  margin-left: 16px !important;
}

.ct-ml-19 {
  margin-left: 19px !important;
}

.ct-ml-120 {
  margin-left: 120px !important;
}

/* margin-top */
.ct-mt-4 {
  margin-top: 4px !important;
}

.ct-mt-16 {
  margin-top: 16px !important;
}

.ct-mt-20 {
  margin-top: 20px !important;
}

.ct-mt-40 {
  margin-top: 40px !important;
}

/* margin-bottom */
.ct-mb-4 {
  margin-bottom: 4px !important;
}

.ct-mb-8 {
  margin-bottom: 8px !important;
}

.ct-mb-12 {
  margin-bottom: 12px !important;
}

.ct-mb-16 {
  margin-bottom: 16px !important;
}

.ct-mb-20 {
  margin-bottom: 20px !important;
}

.ct-mb-24 {
  margin-bottom: 24px !important;
}

/* ヘッダー */
.header-content {
  width: 100%;
  height: 92px;
  background-color: #ffffff;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 120px;
  border-bottom: 1px solid #d6d6d6;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.header-wrapper {
  margin: 0 auto;
  height: 39px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.header-logo {
  width: 290px;
  height: auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  width: 109px;
  height: auto;
}

.logo-text {
  font-family: "Barlow", sans-serif;
  width: 159px;
  height: 24px;
  color: #002674;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  word-break: keep-all;
}

/* フッター */
.footer-content {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 64px;
  background-color: #002674;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.footer-content small {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.footer-for-index {
  position: relative;
}

/* メイン */
.main-content {
  width: 100vw;
  height: calc(100vh - 92px);
  margin-top: 92px;
  position: relative;
  overflow: hidden;
  background-color: #d6f3ff;
}

.main-content::before,
.main-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
}

.main-content::before {
  top: 0px; /* 画像の高さに応じて調整 */
  background-image: url(./../img/topOverlay.svg);
}

.main-content::after {
  bottom: -100px; /* 画像の高さに応じて調整 */
  background-image: url(./../img/bottomOverlay.svg);
}

.main-bg-container {
  width: 1440px;
  height: 676px;
  background-image: url(./../img/LandingBG.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 0;
  top: 272px;
  left: 50%;
  transform: translateX(-50%);
}

.main-section {
  width: 100%;
  text-align: center;
  padding-top: 75px;
  position: relative;
  z-index: 100;
}

/* 検索 */
.search-title {
  color: #002674;
  font-size: 24px;
  font-weight: 500;
  line-height: 34.75px;
}

.search-annotation {
  margin-top: 20px;
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 400;
  line-height: 23.17px;
}

.search-wrapper {
  width: 792px;
  margin: 0 auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.search-text-box {
  width: 587px;
  height: 41px;
  background-color: #ffffff;
  border: 1px solid #d6d6d6;
  border-radius: 90px;
  padding: 9px 22px;
  position: relative;
}

.search-text-box input {
  width: 100%;
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
}

.search-text-box input::placeholder {
  color: #d6d6d6;
}

#cancel-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.search-button {
  width: 186px;
  height: 46px;
  background-color: #002674;
  border-radius: 90px;
  padding: 8px 48px;
  text-align: center;
}

.search-button button {
  color: #ffffff;
  background-color: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
}

.button-icon {
  display: none;
  width: 26px;
  height: 26px;
}

/* Map */
.map-container {
  /*    width: 100%; */
  width: 1300px;
  margin: 92px auto 0;
  height: 363px;
  /*    margin-top: 92px; */
  position: relative;
}

.map {
  width: 100%;
  height: 360px;
  position: relative;
  z-index: 50;
}

.map-overlay {
  width: 1440px;
  height: 360px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
}

.map-overlay-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-blur {
  width: 744px;
  position: absolute;
  z-index: 50;
  top: -103px;
  left: -25px;
  transform: translateX(50%);
}

.pin-svg {
  position: absolute;
  z-index: 100;
}

/* Map上オーバーレイ・タイムライン */
.overlay-content {
  width: 389px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 16px 32px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  position: absolute;
  top: 16px;
  left: 8%;
  z-index: 100;
  display: flex;
  flex-flow: row nowrap;
}

.timeline-tree {
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.circle {
  width: 24px;
  height: 24px;
  border: 2px solid;
  border-radius: 50%;
  position: relative;
}

.between-line {
  width: 2px;
  height: 52px;
  background-color: #ccc;
  position: relative;
}

.yet {
  background-color: #ffffff;
  border-color: #7c7c7c;
}

.done {
  background-color: #002674;
  border-color: #002674;
}

.incomplete {
  border-left: 2px dashed #7c7c7c;
  background-color: transparent;
}

.timeline {
  width: 100%;
  list-style: none;
  padding: 0;
}

.timeline-list {
  width: 240px;
  height: 60px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.timeline-text {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.overlay-text {
  width: 100%;
  color: #7c7c7c;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.overlay-date {
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.timeline-status {
  width: 105px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  padding: 0 16px;
  border-radius: 40px;
}

.actual {
  background-color: #fa7800;
}

.planned {
  background-color: #d6d6d6;
}

/* Map上オーバーレイ・ピン横 */
.pin-overlay {
  min-width: 200px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 16px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translateX(15%);
  z-index: 100;
}

.overlay-address {
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

/* Shipment Details */
.shipment-details-content {
  width: 1200px;
  margin: 20px auto 0;
}

/* Shipment Details Header */
.detail-header {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

.detail-header h2 {
  color: #002674;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

.hawb-number-content,
.mawb-number-content,
.bill-of-landing-content,
.hbl-number-content {
  margin-left: 24px;
}

.hawb-heading,
.mawb-heading,
.bl-heading,
.hbl-heading {
  color: #7c7c7c;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.hawb-number,
.mawb-number,
.bl-number,
.hbl-number {
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.full-width-border {
  width: 100%;
  height: 1px;
  background-color: #d6d6d6;
}

/* Shipment Details Info */
.shipment-details-info {
  width: 100%;
  border-top: none;
}

.main-info {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}

.detail-container {
  width: 285px;
  min-height: 80px;
  border-bottom: 1px solid #d6d6d6;
  /* padding: 0 16px; */
  padding: 8px 16px 0px;
}

.detail-heading {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

.detail-heading img {
  background-color: #f2f2f2;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.detail-heading h3 {
  color: #7c7c7c;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.detail-text {
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin-left: 40px;
  word-break: break-all;
}

.detail-card {
  width: 288px;
  min-height: 80px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  padding: 8px 16px 16px;
}

.isFCL {
  display: block;
}

.isLCL {
  display: none;
}

.isHidden {
  display: none;
}

/* Shipment Details Special Information */
.detail-special-information {
  width: 100%;
  height: 116px;
  /*height: 200px;*/
  padding: 16px;
  border: 1px solid #fa7800;
  border-radius: 8px;
}

.special-information-heading {
  width: 1200px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

.special-information-heading img {
  width: 32px;
  height: 32px;
}

.special-information-heading h3 {
  color: #fa7800;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.special-information-text {
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  word-break: break-all;
}

/* Shipment Status History */
.shipment-status-history-content {
  width: 1200px;
  margin: 20px auto 0;
}

.shipment-status-history-info {
  width: 100%;
  border-top: none;
}

/* Shipment Status History Accordion */
.history-accordion {
  margin-bottom: 32px;
  height: 100%;
}

.history-name {
  cursor: pointer;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: #7c7c7c;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.history-name::after {
  content: "keyboard_arrow_down";
  font-family: "Material Symbols Outlined";
  font-size: 1.5em;
  margin-left: auto;
}

.history-accordion[open] summary::after {
  content: "keyboard_arrow_up";
}

.history-accordion p {
  padding: 10px;
  margin: 0;
}

.history-info {
  height: 100%;
  display: flex;
  align-items: stretch;
  position: relative;
}

.history-arrow {
  display: flex;
  flex-direction: column;
  padding: 5px 0 20px 10px;
  flex-grow: 1;
  justify-content: space-between;
}

.history-arrow-top {
  display: inline-block;
  height: 8px;
  width: 12px;
}

.history-arrow-middle {
  flex-grow: 1;
  width: 12px;
  background-image: url("./../img/Arrow_Line.svg");
  background-repeat: repeat-y;
  background-size: contain;
}

.history-arrow-bottom {
  display: inline-block;
  height: 10px;
  width: 12px;
}

.history-lists {
  width: 1098px;
  margin-left: 120px;
}

.history-list {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 10px;
}

.transport-text {
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.transport-name {
  width: 35%;
}

.transport-address {
  width: 30%;
}

.transport-datetime {
  width: 35%;
}

/* レスポンシブデザイン（スマホサイズ） */
@media (max-width: 500px) {
  /* タブレット向けのスタイル */
  body {
    max-width: 500px;
  }

  /* ヘッダー */
  .header-content {
    padding: 0;
    height: 58px;
    position: relative;
  }

  .header-wrapper {
    justify-content: center;
    flex-flow: row wrap;
  }

  .header-logo {
    width: 214px;
    margin-bottom: 8px;
  }

  .logo-img {
    width: 79px;
    margin-right: 8px;
  }

  .logo-text {
    width: 127px;
    height: 19px;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
  }

  .header-search-form {
    width: 100%;
    margin-left: 0px !important;
    transition: height 0.1s ease, padding 0.1s ease; /* トランジションを追加 */
  }

  .header-search-form.fixed {
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: white;
    height: 62px; /* 固定時の高さ */
    padding: 8px 0; /* 固定時の余白 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .header-for-index {
    height: 120px;
    align-items: flex-start;
  }

  .header-for-index .header-wrapper {
    align-items: flex-start;
  }

  .header-for-index .header-logo {
    margin: 16px 0;
  }

  /* ランディングページ */
  .main-content {
    height: calc(100vh - 58px);
    margin-top: 0px;
  }

  .main-content::before,
  .main-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
  }

  .main-content::before {
    top: 0px; /* 画像の高さに応じて調整 */
    background-image: url(./../img/topOverlay.svg);
  }

  .main-content::after {
    bottom: 0px; /* 画像の高さに応じて調整 */
    background-image: url(./../img/bottomOverlay.svg);
  }

  .main-bg-container {
    width: 1000px;
    height: 696px;
    background-size: contain;
    position: absolute;
    z-index: 0;
    top: 272px;
    left: 50%;
    transform: translateX(-50%);
  }

  .main-section {
    padding-top: 64px;
  }

  /* 検索 */
  .search-title {
    color: #002674;
    font-size: 24px;
    font-weight: 500;
    line-height: 34.75px;
  }

  .search-annotation {
    width: 304px;
    margin: 20px auto 0;
    overflow-wrap: break-word;
  }

  .break-word {
    display: none;
  }

  .search-wrapper {
    width: 301px;
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .search-text-box {
    width: 251px;
    height: 41px;
    background-color: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 90px;
    padding: 9px 22px;
  }

  .search-button {
    width: 42px;
    height: 42px;
    padding: 8px 0;
  }

  .search-button button {
    line-height: 0px;
  }

  .button-text {
    display: none;
  }

  .button-icon {
    display: inline;
  }

  /* Mapコンテンツ */
  .map-container {
    width: 100vw;
    height: 700px;
    margin-top: 0px;
    position: relative;
  }

  .map {
    width: 100vw;
    height: 700px;
    position: relative;
  }

  .map-overlay {
    width: 100%;
    height: 700px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
  }

  .map-overlay-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .pin-svg {
    position: absolute;
    z-index: 100;
  }

  .map-blur {
    display: none;
  }

  .map-blur-sp {
    display: block;
    width: 744px;
    height: 744px;
    position: absolute;
    top: 186px;
    left: -299px;
    z-index: 60;
    overflow: hidden;
  }

  .pin-overlay {
    top: 480px;
    left: 20%;
    z-index: 100;
  }

  /* Map上オーバーレイ・タイムライン */
  .overlay-content {
    width: 100%;
    left: 0px;
    border: none;
    border-radius: 0;
  }

  /* Shipment Details */
  .shipment-details-content {
    width: 80%;
  }

  /* Shipment Details Header */
  .detail-header {
    width: 100%;
    flex-flow: row wrap;
  }

  .hawb-number-content,
  .mawb-number-content,
  .bill-of-landing-content,
  .hbl-number-content {
    margin-left: 0px;
    margin-top: 16px;
  }

  .full-width-border {
    width: 100%;
    margin: 0 auto;
  }

  /* Shipment Details Info */
  .main-info {
    flex-flow: row wrap;
  }

  .shipment-details-info {
    margin-top: 0px !important;
  }

  .detail-container {
    width: 100%;
    min-height: 92px;
    margin-left: 0px !important;
    padding: 16px;
  }

  .detail-card {
    width: 100%;
    margin-left: 0px !important;
    margin-top: 16px;
  }

  /* Shipment Details Special Information */
  .detail-special-information {
    width: 100%;
    height: 286px;
  }

  /* Shipment Details Special Information */
  .detail-special-information {
    width: 100%;
    height: 286px;
    padding: 16px;
    border: 1px solid #fa7800;
    border-radius: 8px;
  }

  .special-information-heading {
    width: 100%;
  }

  /* Shipment Status History */
  .shipment-status-history-content {
    width: 80%;
  }

  /* Shipment Status History Accordion */
  .history-accordion p {
    padding: 0px;
    margin: 0;
  }

  .history-info {
    margin-top: 12px;
  }

  .history-name {
    padding: 0px;
  }

  .history-arrow {
    padding: 5px 0 96px;
  }

  .history-lists {
    width: 100%;
    margin-left: 8px;
  }

  .history-list {
    width: 100%;
    flex-flow: row wrap;
  }

  .transport-text {
    color: #1c1c1c;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    word-break: keep-all;
  }

  .transport-name {
    width: 100%;
    white-space: nowrap;
  }

  .transport-address {
    width: 100%;
    margin-top: 16px;
  }

  .transport-datetime {
    width: 100%;
    margin-top: 16px;
  }
}

/* PCサイズ用のスタイル */
@media (min-width: 501px) {
  .button-text {
    display: inline;
  }

  .button-icon {
    display: none;
  }

  .map-blur {
    display: block;
  }

  .map-blur-sp {
    display: none;
  }
}
