@charset "UTF-8";
/*** 一般style *****************************/

:root{
  --header-height: 0px;
  --footer-height: 0px;
}

/*共通*/
* {
  border: initial;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: var(--font-size-default);
}
html {
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  font-size: var(--font-size-default);
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

p {
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 160%;
}

/* table要素の基本スタイル */
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: var(--spacing-sm);
  /* border-bottom: 1px solid #ddd; */
  border: 1px solid #666;
}
th {
  background-color: var(--color-bg-muted);
  /* text-align: center; */
  text-align: left;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}
td {
  text-align: center;
}
td.ctrl {
  text-align: center;
}

.form-control {
  border: 1px solid #666;
}

header {
  height: var(--header-height);
  background-color: var(--color-t-ctrl);
  display: flex;
  align-items: center;
  color: var(--color-text-inverted);
  position: fixed /*sticky*/;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
header img {
  height: 100%;
  width: auto;
  /* margin-left:15px; */
}
header p {
  font-size: 18px !important;
  margin-left: var(--spacing-md);
}
header a .dashboard {
  margin-left: var(--spacing-md);
  /* margin-bottom: -18px; */
}

.wrapper {
  display: flex;
  height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  background-size: cover;
  background-position: center;
}
nav {
  width: 200px;
  min-width: 200px;
  background-color: var(--color-bg-muted);
  /* font-size: var(--font-size-sm); */
  font-size: var(--font-size-default);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}
nav ul {
  padding: 0.3rem 0.875rem 0.3rem 1rem;
  /* font-weight: bold; */
  font-size: var(--font-size-default);
  margin-bottom: 0;
}
nav li {
  padding: 0.3rem 0.875rem;
  font-weight: normal;
  /* font-size: var(--font-size-sm); */
  font-size: var(--font-size-default);
}
nav li.bold {
  padding: 0px;
  font-weight: bold;
  font-size: var(--font-size-default);
}

main {
  min-width: 1100px;
  width: 100%;
  /* background-color: var(--color-bg-base); */
  margin-bottom: var(--footer-height);
  height: 100%;
}
main .dashboard {
  height: 30px;
  background-color: #4472c4;
  font-size: var(--font-size-default);
  padding: 20px;
  display: flex;
  align-items: center;
  color: var(--color-text-inverted);
  text-decoration: none;
}

main section {
  min-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-md);
}

main table td {
  /* padding:100px;
  font-size: var(--font-size-lg); */
}

footer {
  /* height:25px;
  background-color: var(--color-t-ctrl);
  font-size: var(--font-size-sm);
  display:flex;
  justify-content:center;
  align-items: center;
  color: var(--color-text-inverted);
  position: fixed;
  bottom: 0;
  left: 0;
  width:100%; */
}
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width:100%;
  height: var(--footer-height);
  display:flex;
  justify-content:center;
  align-items: center;
  text-align: center;
  background-color: var(--color-t-ctrl);
  padding: 20px 0;
  color: #fff;
}
.footer .contact-info,
.footer .copyright {
  margin-bottom: 10px;
}
.footer .contact-info a {
  /* color: #007bff; */
  text-decoration: none;
}
.footer .contact-info a:hover {
  text-decoration: underline;
}

form.giin_form,
form.kiji_form {
  max-width: 1000px;
}

div.kijilist_container {
  max-width: 800px;
}

.contact-box {
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  padding: 0.75rem;
  /* background-color: #f8f9fa; */
  font-size: 0.875rem;
}

.contact-box p {
  text-align: left;
  line-height: 130%;
}

/* form.giin_form dt,form.giin_form dd{
  border: solid 1px rgba(90, 90, 90, 0.8);
  min-height: 50px;
  text-align: center;
  height: 60px;
  padding: 0.2rem 2rem;
}
form.giin_form dl{
  display: flex;
  flex-wrap: nowrap;
  width: 90%;
} */

/* main {
  margin-bottom: 0;
} */

nav {
  width: 200px;
  min-width: 200px;
  background-color: var(--color-bg-muted);
  font-size: var(--font-size-default);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.nav-list {
  flex-grow: 1;
}

.nav-list ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.nav-list li {
  margin-bottom: 0.5rem;
}

.nav-list .bold {
  font-weight: bold;
}

#ainaviContainer iframe {
  width: 100%;
  height: calc(100vh - 80px);
  /* margin: 0 0px 0 10px; */
  padding: 0;
  border: unset;
  margin: 0 auto;
  position: relative;
  background-color: transparent;
}

#ainaviContainer iframe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    /* 上部を透明に */ rgba(255, 255, 255, 1) 20%,
    /* 40%の位置で不透明に */ rgba(255, 255, 255, 1) 100% /* 下部を不透明に */
  );
}

.logout-btn {
  text-decoration: underline;
}

.link-disabled {
  color: #ccc;
}
