@charset "utf-8";

*:focus {
    outline: none;
}

html {
    min-height: 100%;
    word-wrap: normal;
}

body {
    -webkit-text-size-adjust: 100%;
    padding: 5%;
    margin: 0;
    min-height: 100%;
    flex-direction: column;

    font-size: 100%;
    color: #191919;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;  /* ← 横スクロールバーを強制的に消す */
}


/* ヘッダーだけbodyマージンの外に表示させる */
.header-wrapper {
  position: relative;
  width: calc(100% + 10%);       /* ビューポート幅を使う */
  left: -5%;         /* bodyの5%を打ち消す */
  top: -5%;         /* bodyの5%を打ち消す */
  overflow: hidden;
  margin-bottom: -30%;
}

/* ヘッダー画像設定 */
.header {
  position: relative;
  width: 100%;
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
}

/* 重ねるテキスト */
.header-text {
  position: absolute;
  top: -5em;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.5rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  max-width: 80%;  /* 横幅の上限を設定 */
}

a {
    color: #93c8e5;
    text-decoration: none;
}

table,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-weight: normal;
    text-align: left
}

td {
    padding-left: 2em;
    font-size: 80%;
    color: #555555;
}

th {
    padding-left: 2em;
    min-width: 5em;
    font-size: 90%;
}

.textdiv {
    margin-left: 3%;
    margin-right: 3%;
}

@media only screen and (max-width:680px) {
    .header-wrapper { 
        margin-bottom: -50%;
    }
}