@charset "utf-8";

:root {
  --bs-font-sans-serif:
    "Noto Sans JP",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    "Liberation Sans",
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  --my-primary-color: #083388;
  --my-secondary-color: #f3f3f3;
  --my-header-color: #ffffff;
  --my-footer-color: #3c4149;
}

header {
  background-color: var(--my-header-color);
}

header .nav-item {
  border-top: 1px solid #dfdfdf;
}

header .nav-item:last-child {
  border-bottom: 1px solid #dfdfdf;
}

main {
  overflow-x: hidden;
}

footer {
  background-color: var(--my-footer-color);
}

footer .nav-link {
  font-size: .8rem;
}

.table-responsive {
  white-space: nowrap;
}

.my-logo {
  height: 2.5rem;
}

.my-name {
  height: 1rem;
}

.my-text-primary {
  color: var(--my-primary-color);
}

.my-text-secondary {
  color: var(--my-secondary-color);
}

.my-bg-primary {
  background-color: var(--my-primary-color);
}

.my-bg-secondary {
  background-color: var(--my-secondary-color);
}

.my-info {
  display: flex;
  flex-direction: column;
}

.my-info-text {
  padding-top: .5rem;
}

.my-page-header {
  padding: 3rem 0;
  font-size: 2rem;
  font-weight: normal;
  color: #ffffff;
  background-color: var(--my-primary-color);
  text-align: center;
}

.my-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 1rem 0;
}

.my-table tbody th,
.my-table tbody td {
  padding: 1.5rem;
  border-bottom: 1px solid #252525;
}

.my-table tbody th {
  width: 20%;
  text-align: left;
  font-weight: normal;
  white-space: nowrap;
}

.my-table tbody td {
  width: 80%;
}

.my-slideshow {
  width: 100%;
  height: 300px;
  background-image: url('./img/slideshow.jpg');
  background-repeat: repeat-x;
  background-size: cover;
  background-position: 0 0;
  animation-name: slideshow;
  animation-duration: 70s; /* 画像の幅800pxにつき10s程度 */
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes slideshow {
  100% {
    background-position: -5600px 0; /* 画像の幅 */
  }
}

.my-stepflow-item {
  position: relative;
  display: flex;
  gap: 1rem;
  padding-bottom: 2rem;
}

.my-stepflow-item::before {
  content: "";
  position: relative;
  z-index: 1;
  flex: 0 0 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #083388;
}

.my-stepflow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(1.4rem);
  width: .2rem;
  height: 100%;
  background-color: #dfdfdf;
}

.my-stepflow-content {
  width: 100%;
}

.my-stepflow-title {
  line-height: 1.5;
}

.my-message {
  color: var(--my-primary-color);
  font-weight: bold;
}

.my-question,
.my-answer {
  display: inline-block;
  text-align: center;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.3rem;
  border-radius: 50%;
  border: 1px solid var(--my-primary-color);
  margin-right: .5rem;
}

.my-question {
  color: #ffffff;
  background-color: var(--my-primary-color);
}

.my-answer {
  color: var(--my-primary-color);
  background-color: #ffffff;
}

.my-cookie-consent {
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: .8rem;
  color: #ffffff;
  background: rgba(0,0,0,0.7);
  padding: 1rem 0;
  visibility: hidden;
  z-index: 1;
}

.my-cookie-consent.show {
  visibility: visible;
}

.my-cookie-consent.hide {
  animation: hide .5s linear 0s;
  animation-fill-mode: forwards;
}

@keyframes hide {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

.my-cookie-consent-text {
  flex: 1;
}

.my-cookie-consent-text a {
  color: #ffffff;
  margin: 0 1rem;
}

.my-cookie-consent-agree {
  color: #ffffff;
  background: #083388;
  padding: 1rem 3rem;
}

.my-cookie-consent-agree:hover {
  cursor: pointer;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .my-name {
    height: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  header .nav-item,
  header .nav-item:last-child {
    border: none;
  }

  header .nav-link {
    border-bottom: 3px solid transparent;
    transition: border-bottom .2s;
  }

  header .nav-link:hover,
  header .nav-link.active {
    border-bottom: 3px solid var(--my-primary-color);
  }

  .my-page-header {
    letter-spacing: 1rem;
  }  

  .my-logo {
    height: 3rem;
  }

  .my-name {
    height: 2rem;
  }

  .my-message {
    color: #ffffff;
    background-color: var(--my-primary-color);
    font-weight: normal;
    font-size: 70%;
  }

  .my-text-md-nowrap {
    white-space: nowrap;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .my-info {
    flex-direction: row;
  }

  .my-info-date {
    width: 10rem;
  }

  .my-info-text {
    padding-top: 0;
  }

  .my-message {
    font-size: 80%;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .my-message {
    font-size: 90%;
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .my-message {
    font-size: 100%;
  }
}