@charset "UTF-8";
:root {
  --font-family: "Noto Sans JP", sans-serif;
  --expo-blue: #0080FF;
  --expo-red: #e60012;
  --expo-gray: #727170;
  --footer-font-size: 14px;
  --footer-fg-color: #fff;
  --footer-bg-color: #333;
  --bg-color: #fff;
  --bg-color-tp: #ffffff7f;
  --fg-color: #333;
  --list-item-shadow-color: rgba(0, 0, 0, 0.3);
  --app-icon-border-color: #9999;
  --wallpaper-opacity: 0.125;
  --apple-badge-mask: url("/expo/src/apple-badge-mask.svg");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #181A1B;
    --bg-color-tp: #181a1b7f;
    --fg-color: #fff;
    --list-item-shadow-color: rgba(0, 0, 0, 0.9);
    --app-icon-border-color: #444;
    --wallpaper-opacity: 0.05;
  }
}
.useful-links ul {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.useful-links li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 0.8rem 0.3rem;
}
.useful-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.85rem;
  gap: 0.5em;
  width: 100%;
  height: 100%;
}
.useful-links .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.useful-links svg {
  width: 2.2em;
  height: 2.2em;
  margin-bottom: 0.3em;
  fill: var(--expo-blue);
}
.useful-links img {
  max-width: 100%;
  height: auto;
}
.useful-links .text {
  text-align: center;
  margin-bottom: auto;
}

#expo-map-img {
  position: relative;
  width: 100%;
  height: 100%;
}

.external-maps ul {
  list-style: none;
  padding-left: 1rem;
}
.external-maps li {
  margin: 1.2rem 0;
}
.external-maps a {
  text-decoration-line: none;
  color: var(--expo-blue);
}

.thematic-maps {
  margin-top: 2rem;
}
.thematic-maps h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.thematic-maps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.thematic-maps li {
  background: var(--bg-color, #fff);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--list-item-shadow-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 1.2rem 1.5rem 1.2rem;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
}
.thematic-maps p {
  margin: 0 0 0.7em 0;
  font-weight: 500;
  color: var(--fg-color, #222);
  font-size: 1.05em;
}
.thematic-maps img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  background: #f8f8f8;
  margin-bottom: 0.2em;
  object-fit: contain;
}
@media (max-width: 700px) {
  .thematic-maps ul {
    flex-direction: column;
    gap: 1rem;
  }
  .thematic-maps li {
    min-width: 0;
    max-width: 100%;
    padding: 1rem 0.5rem 1.2rem 0.5rem;
  }
  .thematic-maps img {
    max-width: 100%;
  }
}

.map-img-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
}
.map-img-link img {
  max-width: 100%;
  border-radius: 0.2em;
}
.map-img-link .map-link {
  margin-top: 0.2em;
  font-size: 0.98em;
  color: var(--expo-blue);
  text-decoration-line: none;
}

.prep-list {
  gap: 1.3rem;
}
.prep-list > li strong {
  font-weight: 600;
  font-size: 1.07em;
}
.prep-list > li ul,
.prep-list > li ol {
  margin: 0.5em 0 0.5em 1.2em;
  padding-left: 1.2em;
}
.prep-list > li a {
  color: var(--expo-blue, #0080FF);
  text-decoration-line: none;
  word-break: break-all;
}
.prep-list .important {
  color: #e60012;
}

.apps-list-wrapper .prep-list > li {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "icon title" "icon note";
  column-gap: 1rem;
  align-items: center;
}
.apps-list-wrapper .prep-list > li > strong {
  grid-area: title;
}
.apps-list-wrapper .prep-list > li .list-note {
  grid-area: note;
  margin: 0.2em 0 0 0;
}
.apps-list-wrapper .prep-list > li .app-badge {
  grid-area: icon;
  margin: 0;
}

.google-calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 600px;
}

header.header-main {
  top: 0;
  left: 0;
  width: 100%;
  padding-top: env(safe-area-inset-top);
  /* ヘッダーの高さとその他のパディングを調整 */
  height: calc(50px + env(safe-area-inset-top));
  /* 例えば、通常のヘッダーが50pxの場合 */
  box-sizing: border-box;
  /* パディングを含めて高さを計算 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 0.5em;
}
header.header-main h1 {
  color: var(--fg-color);
}

.settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-color-tp);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.settings-modal .settings-modal-content {
  background: var(--bg-color);
  border-radius: 12px;
  padding: 2em 1.5em;
  min-width: 260px;
  box-shadow: 0 4px 24px var(--list-item-shadow-color);
  position: relative;
}
.settings-modal .settings-modal-content h3 {
  font-size: 1.2em;
  margin: 1em 0 1em 0;
}
.settings-modal .settings-modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 60vh;
  overflow-y: auto;
}
.settings-modal .settings-modal-content ul button {
  display: block;
  width: 100%;
  padding: 0.8em 0.5em;
  margin: 0.5em 0;
  background: var(--expo-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
}
.settings-modal .close-modal {
  position: absolute;
  top: 0.7em;
  right: 1em;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: var(--fg-color);
}

.settings-modal[hidden] {
  display: none !important;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 0.5em;
}

#settings-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3em 0.5em;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#settings-btn svg {
  display: block;
  fill: var(--fg-color);
  width: 2em;
  height: 2em;
}

/* バージョン情報セクション */
.version-info {
  margin-bottom: 16px;
}
.version-info h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--fg-color);
}
.version-info .version-text {
  margin: 0;
  font-size: 16px;
  color: var(--fg-color);
}

/* キャッシュクリアセクション */
.clear-cache {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.clear-cache #clear-cache-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: var(--expo-red);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.clear-cache #cache-status-msg {
  font-size: 14px;
  font-weight: 500;
}

header.header-page {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  padding-top: env(safe-area-inset-top);
  /* ヘッダーの高さとその他のパディングを調整 */
  height: calc(50px + env(safe-area-inset-top));
  /* 例えば、通常のヘッダーが50pxの場合 */
  box-sizing: border-box;
}
header.header-page .back-button {
  position: absolute;
  left: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 50%;
}
header.header-page .back-button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--fg-color);
}
header.header-page h1 {
  font-size: 1.5rem;
  margin: 0;
}

footer {
  position: fixed;
  /* ビューポートに固定 */
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--footer-bg-color);
  color: var(--footer-fg-color);
  text-align: center;
  padding-top: 10px;
  padding-bottom: env(safe-area-inset-bottom);
  /* 安全領域の下 */
  z-index: 1000;
  /* 他の要素の上に表示 */
  height: 60px;
  /* フッターの高さ */
}
footer nav ul {
  list-style: none;
  /* リストのマーカーを削除 */
  padding: 0;
  margin: 0;
  display: flex;
  /* ボタンを横並びにする */
  justify-content: space-around;
}
footer nav ul a {
  text-decoration: none;
  color: var(--footer-fg-color);
  padding: 8px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  text-decoration: none;
  font-size: var(--footer-font-size);
}
footer nav ul a svg {
  width: 1em;
  height: 1em;
  display: block;
}
footer nav ul a svg path {
  fill: var(--footer-fg-color);
}

.app-badge {
  text-align: center;
  margin-top: 0.8rem;
  margin-bottom: 0.4rem;
}
.app-badge a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  overflow: hidden;
  vertical-align: middle;
  pointer-events: none;
}
.app-badge a img.app-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 22.7%;
  pointer-events: auto;
}
.app-badge a img.apple-badge {
  width: 112px;
  height: 41px;
  object-fit: contain;
  margin: 0;
  pointer-events: auto;
}

.app-badge-list {
  margin-top: 0.8rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.app-badge-list a {
  overflow: hidden;
  vertical-align: middle;
  pointer-events: none;
}
.app-badge-list a img.app-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 22.7%;
  pointer-events: auto;
}

.list-wrapper {
  margin: 2.5rem auto 2rem auto;
  background: var(--bg-color-tp);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--list-item-shadow-color);
  padding: 0.5rem;
}
.list-wrapper h2,
.list-wrapper h3 {
  color: var(--fg-color);
  font-size: 1.3rem;
  margin: 0.7rem 0;
  letter-spacing: 0.03em;
  text-align: center;
}
.list-wrapper :where(ul.list) {
  gap: 1rem;
}
.list-wrapper ul.list {
  display: grid;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
}
.list-wrapper ul.list > li {
  margin: 0;
  border-radius: 10px;
  padding: 0.8rem 0.3rem;
  box-shadow: 0 1px 6px var(--list-item-shadow-color);
  background: var(--bg-color);
  color: var(--fg-color);
}
.list-wrapper ul.list a {
  text-decoration-line: none;
  color: var(--expo-blue);
}
.list-wrapper .list-note {
  display: block;
  color: #888;
  font-size: 0.97em;
  margin: 0.2em 0 0 0.5em;
}

html {
  font-family: var(--font-family);
  height: 100%;
  box-sizing: border-box;
  background-color: var(--bg-color);
  color: var(--fg-color);
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  padding-bottom: 60px;
  /* フッターの高さ分だけ下部にパディングを追加 */
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

main {
  margin-top: auto;
  height: auto;
  min-height: 700px;
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.wallpaper {
  width: 100vw;
  max-width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: var(--wallpaper-opacity);
  object-fit: cover;
}

/*# sourceMappingURL=style.css.map */
