@media screen and (max-width: 768px) {
  .header {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 10px;
  }

  .header img.header-logo {
    width: 100px;
    display: block;
    margin: 0 auto;
  }

  .header .title {
    text-align: center;
    color: white;
    font-size: 1.2em;
    margin-top: 8px;
  }

  .userinfo {
    display: none;
  }

  .between-img {
    display: block;
    margin: 20px auto;
    width: 80%;
    max-width: 300px;
    height: auto;
  }

  .contents {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    font-size: 1em;
  }
  .header {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
  }
 .title {
    text-align: center;
    color: white;
    font-size: 1.2em;
    margin-top: 8px;
  }
.between-img {
    display: block;
    margin: 20px auto;
    width: 80%;
    max-width: 300px;
    height: auto;
  }
}
@media screen and (min-width: 769px) {
  #navi ul.pc-menu li a {
    display: inline-block;
    background-color: #3cb371;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
  }

  #navi ul.pc-menu li a:hover {
    background-color: #7fffd4;
    color: #000;
  }
}
@media screen and (max-width: 768px) {
  #header {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 10px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  #header img.header-logo {
    width: 100px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }
}
@media screen and (max-width: 768px) {
  #header {
    background-color: #3cb371 !important; /* グリーン */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin: 0 auto;
    text-align: center;
  }

  #header img.header-logo {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: none !important; /* 赤枠を消す */
  }

  #header .title {
    font-size: 1.2em;
    color: white;
    margin-top: 8px;
    text-align: center;
  }
}
@media screen and (min-width: 769px) {
  #header {
    background-color: #3cb371;
    padding: 10px;
    text-align: center;
  }

  #navi {
    display: flex;
    justify-content: center;
    background-color: #3cb371;
    padding: 10px 0;
  }

  #navi ul.pc-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #navi ul.pc-menu li a {
    display: inline-block;
    background-color: #fff;
    color: #3cb371;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
  }

  #navi ul.pc-menu li a:hover {
    background-color: #7fffd4;
    color: #000;
  }
}
@media screen and (max-width: 768px) {
  #h {
    background-color: #3cb371 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  #h img.header-logo {
    width: 100px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border: none !important;
  }

  #h .title {
    font-size: 1.2em !important;
    color: white !important;
    margin-top: 8px !important;
    text-align: center !important;
  }
}
@media screen and (min-width: 769px) {
  #h {
    background-color: #3cb371;
    padding: 16px;
    text-align: center;
    color: white;
  }

  #h .title {
    font-size: 1.5em;
    margin-top: 8px;
  }

  #h .userinfo {
    margin-top: 4px;
    font-size: 0.9em;
  }

  #navi {
    background-color: #3cb371;
    padding: 10px 0;
  }

  #navi ul.pc-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #navi ul.pc-menu li a {
    display: inline-block;
    background-color: #fff;
    color: #3cb371;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95em;
    white-space: nowrap;
  }

  #navi ul.pc-menu li a:hover {
    background-color: #7fffd4;
    color: #000;
  }
}
@media screen and (max-width: 768px) {
  #h {
    background-color: #3cb371 !important;
  }

  #main,
  #navi,
  .contents,
  body {
    background-color: #fff !important;
  }
}

@media screen and (min-width: 769px) {
  #h {
    background-color: #e6e6e6 !important;
  }

  #navi {
    background-color: #3cb371 !important;
  }

  #main,
  .contents,
  body {
    background-color: #fff !important;
  }
}
@media screen and (max-width: 768px) {
  #h img.header-logo {
    border: none !important;
  }
}

@media screen and (min-width: 769px) {
  #h img.header-logo {
    border: 3px solid red !important;
  }
}
@media screen and (max-width: 768px) {
  #main #header {
    background-color: #3cb371 !important; /* スマホではグリーン */
  }

  #main #header #h {
    background-color: transparent !important; /* 内側は透明にして重ねない */
  }
}

@media screen and (min-width: 769px) {
  #main #header {
    background-color: #e6e6e6 !important; /* PCではグレー */
  }

  #main #header #h {
    background-color: transparent !important;
  }

  #navi {
    background-color: #3cb371 !important;
  }

  body,
  #main,
  .contents {
    background-color: #fff !important;
  }
}
@media screen and (max-width: 768px) {
  #main #header {
    background-color: #3cb371 !important; /* スマホではヘッダーをグリーン */
  }

  #main #header #h {
    background-color: transparent !important; /* 内側は透明にして重ねない */
  }

  #main,
  #navi,
  .contents,
  body {
    background-color: #fff !important; /* ヘッダー以外は白 */
  }
}

@media screen and (min-width: 769px) {
  #main #header {
    background-color: #3cb371 !important; /* PCでもヘッダーはグリーン */
  }

  #main #header #h {
    background-color: transparent !important;
  }

  #navi,
  #main,
  .contents,
  body {
    background-color: #fff !important; /* ヘッダー以外は白 */
  }
}
@media screen and (min-width: 769px) {
  body #main #header {
    background-color: #3cb371 !important; /* PCではheaderだけグリーン */
  }

  body #main #header > #h {
    background-color: transparent !important; /* 内側は透明にして重ねない */
  }

  body #main #navi,
  body #main #contents {
    background-color: #fff !important; /* header以外は白 */
  }
}

@media screen and (max-width: 768px) {
  body #main #header {
    background-color: #3cb371 !important; /* スマホでもheaderだけグリーン */
  }

  body #main #header > #h {
    background-color: transparent !important;
  }

  body #main #navi,
  body #main #contents {
    background-color: #fff !important;
  }
}
@media screen and (max-width: 768px) {
  body #main > #header {
    background-color: #3cb371 !important; /* スマホ：headerだけグリーン */
  }

  body #main > #header > #h {
    background-color: transparent !important; /* 内側は透明にして重ねない */
  }

  body #main > #navi,
  body #main > #contents,
  body {
    background-color: #fff !important; /* header以外は白 */
  }
}

@media screen and (min-width: 769px) {
  body #main > #header {
    background-color: #3cb371 !important; /* PC：headerだけグリーン */
  }

  body #main > #header > #h {
    background-color: transparent !important;
  }

  body #main > #navi,
  body #main > #contents,
  body {
    background-color: #fff !important;
  }
}
@media screen and (max-width: 768px) {
  .blue-box {
    font-size: 1em !important; /* または 16px */
  }
}
@media screen and (max-width: 768px) {
  .blue-box {
    display: block;
    overflow-x: auto !important;
    white-space: nowrap !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 12px;
  }

  .blue-box p,
  .blue-box span,
  .blue-box div {
    display: inline-block;
    min-width: max-content;
  }
}
@media screen and (max-width: 768px) {
  .blue-box {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    border: 2px solid #007acc;
  }

  .blue-box > * {
    display: inline-block;
    min-width: max-content;
  }
}
@media screen and (max-width: 768px) {
  html, body {
    overflow-x: visible !important;
  }

  #main {
    overflow-x: visible !important;
    width: 100% !important;
  }

  .blue-box {
    display: block;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    box-sizing: border-box;
    border: 2px solid #007acc;
  }

  .blue-box > * {
    display: inline-block;
    min-width: max-content;
  }
}
@media screen and (max-width: 768px) {
  .scroll-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .scroll-table-wrapper table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
  }
}
@media screen and (max-width: 768px) {
  .scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .scroll-wrapper table {
    display: block;
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
  }
}
.blue-box {
  background-color: #4169e1;
  color: white;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 8px;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blue-box .text-block {
  min-width: 600px; /* 必要に応じて調整 */
  white-space: nowrap;
}
.scroll-inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  min-width: 1000px; /* 画面幅より広くすることでスクロール領域を作る */
}
.blue-box {
  background-color: #4169e1;
  color: white;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 8px;
  width: 100%;
  overflow: hidden;
}

.scroll-inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-inner .wide-content {
  min-width: 800px;
}
.scroll-inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-inner .wide-content {
  width: 800px; /* 画面幅より広くすることでスクロール対象に */
}
.access-footer {
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}
