@charset "utf-8";
/* CSS Document - Modern Redesign for Mobile */

/* Google Fonts インポート */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

/* カスタムプロパティ（CSS変数） */
:root {
  /* メインカラー - 水色ベース */
  --primary-color: #4fc3f7;
  --primary-light: #81d4fa;
  --primary-dark: #29b6f6;
  --accent-color: #00bcd4;

  /* 背景グラデーション */
  --bg-gradient: linear-gradient(135deg, #e3f2fd 0%, #b3e5fc 50%, #e1f5fe 100%);

  /* ボタン用グラデーション */
  --btn-gradient: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
  --btn-hover-gradient: linear-gradient(135deg, #29b6f6 0%, #0288d1 100%);

  /* テキストカラー */
  --text-primary: #37474f;
  --text-secondary: #546e7a;
  --text-light: #78909c;

  /* シャドウ */
  --shadow-soft: 0 4px 15px rgba(79, 195, 247, 0.2);
  --shadow-medium: 0 6px 20px rgba(79, 195, 247, 0.3);
  --shadow-button: 0 4px 12px rgba(41, 182, 246, 0.35);

  /* 角丸 */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 20px;
  --radius-full: 50px;
}

/* ベーススタイル */
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background: var(--bg-gradient);
  min-height: 100vh;
  color: var(--text-primary);
}

/* clearFix */
.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

/* メインコンテナ */
#container2 {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  max-width: 480px;
  min-width: 320px;
  overflow: hidden;
  background: var(--bg-gradient);
  padding-bottom: 20px;
}

/* ヘッダー */
header,
footer {
  width: 100%;
}

header {
  padding: 10px 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
}

header h1 > img {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: block;
  padding: 0 10px;
  box-sizing: border-box;
}

/* ========================================
   地球とボタンのオーバーレイセクション
   ======================================== */

.earth-section {
  position: relative;
  width: 100%;
  padding: 30px 15px;
  box-sizing: border-box;
}

.earth-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  z-index: 1;
}

.earth-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(79, 195, 247, 0.3));
}

/* ナビゲーション オーバーレイ */
.nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  pointer-events: none;
}

/* オーバーレイ用ボタンスタイル */
.nav-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--btn-gradient);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-button);
  text-decoration: none;
  transition: all 0.3s ease;
  pointer-events: auto;
  min-width: 80px;
}

.nav-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 50%
  );
  border-radius: var(--radius-full);
}

.nav-btn:hover,
.nav-btn:active {
  background: var(--btn-hover-gradient);
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.nav-btn span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* ボタンの配置 - 地球の周りに六角形状に配置 */

/* 上段中央 - Concept */
.nav-top {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

/* 左上 - Company */
.nav-left-top {
  top: 22%;
  left: 5%;
}

/* 右上 - Access */
.nav-right-top {
  top: 22%;
  right: 5%;
}

/* 左下 - Schedule */
.nav-left-bottom {
  bottom: 22%;
  left: 5%;
}

/* 右下 - Plan */
.nav-right-bottom {
  bottom: 22%;
  right: 5%;
}

/* 下段中央 - Project */
.nav-bottom {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

/* 上段・下段中央ボタンのホバー時にtranslateXを維持 */
.nav-top:hover,
.nav-top:active {
  transform: translateX(-50%) scale(1.05);
}

.nav-bottom:hover,
.nav-bottom:active {
  transform: translateX(-50%) scale(1.05);
}

/* ========================================
   以下は他のページで使用する既存スタイル
   ======================================== */

/* 古いnavスタイル（他のページ用に残す） */
nav {
  margin: 0;
  padding: 10px 15px;
}

nav table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
}

nav table,
nav table tr,
nav table td {
  border: none !important;
}

nav tr td {
  width: 33.33%;
  text-align: center;
  padding: 0;
}

nav tr td a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 8px;
  background: var(--btn-gradient);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-button);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

nav tr td a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  border-radius: var(--radius-medium);
}

nav tr td a:hover,
nav tr td a:active {
  background: var(--btn-hover-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

nav tr td a img {
  display: none;
}

nav tr td#navi_a a::after {
  content: "Concept";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

nav tr td#navi_b a::after {
  content: "Company";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

nav tr td#navi_c a::after {
  content: "Access";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

nav tr td#navi_d a::after {
  content: "Schedule";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

nav tr td#navi_e a::after {
  content: "Plan";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

nav tr td#navi_f a::after {
  content: "Project";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

nav tr td:empty {
  width: 0;
  padding: 0;
}

/* ========================================
   メインコンテンツ（地球画像エリア - 旧スタイル）
   ======================================== */

#catarog2 {
  width: 85%;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

section#catarog2 > img {
  width: 80%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(79, 195, 247, 0.3),
    0 0 60px rgba(79, 195, 247, 0.1);
}

section#catarog img {
  width: 100%;
  margin: 0 auto 3%;
  text-align: left;
}

#catarog {
  width: 80%;
  margin: 2% auto;
}

section#catarog_sp img {
  width: 98%;
  margin: 0 auto 3%;
}

/* ========================================
   その他のページスタイル
   ======================================== */

.concept_text {
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  padding: 1.5em 6%;
  line-height: 2em;
  color: var(--text-primary);
}

.page > h5 {
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  padding: 2em 6% 1em;
  color: var(--text-primary);
}

.page > img:first-of-type {
  width: 25%;
  text-align: left;
  display: block;
  margin-left: 7%;
  margin-top: 3%;
}

.page > img:nth-of-type(2) {
  width: 70%;
  margin-top: 3%;
}

/* 見出しスタイル */
h2 {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary-color) 100%
  );
  margin: 0 auto 15px;
  color: white;
  border-radius: var(--radius-small);
  text-align: center;
  padding: 10px 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  font-weight: 600;
}

h3 {
  font-size: 16px;
  background: linear-gradient(135deg, #ffe082 0%, #ffd54f 100%);
  color: var(--text-primary);
  padding: 10px 15px;
  margin: 1em 0;
  border-radius: var(--radius-small);
}

h4 {
  background: linear-gradient(135deg, #ffe082 0%, #ffca28 100%);
  margin: 0 auto 2em;
  color: var(--text-primary);
  border-radius: var(--radius-small);
  text-align: center;
  padding: 8px 15px;
  font-size: 15px;
  font-weight: 600;
}

/* 写真セクション */
section#photo > img {
  text-align: center;
  margin: 2%;
  display: inline;
}

section#photo figure {
  margin: 0 auto 1em;
}

section#photo figure > img {
  width: 94%;
  text-align: center;
  margin: 1% auto;
  border-radius: var(--radius-small);
}

section#photo figcaption {
  text-align: center;
  padding: 1em;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
}

#video1 {
  max-width: 640px;
  width: 96%;
  text-align: center;
  margin: 2% auto;
}

/* スケジュール関連スタイル */
.youbi_6 {
  color: #1976d2;
}

.youbi_0,
.shukujitu {
  color: #e53935;
}

.today {
  background: linear-gradient(135deg, #fff9c4 0%, #ffeb3b 100%);
  border-radius: var(--radius-small);
}

.holiday {
  background: #ffebee;
}

.closed {
  background: #ffebee;
}

.hidden {
  display: none;
}

.holidayCube {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin: 3px 3px 0 3px;
  position: relative;
  top: 2px;
  border-radius: 3px;
}

.closedCube {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin: 3px 3px 0 3px;
  position: relative;
  top: 2px;
  border-radius: 3px;
}

.scheduleComment {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding-left: 3em;
  line-height: 1.6em;
}

/* 地図・サイドバー関連 */
aside > h2 {
  width: 100%;
  font-weight: 600;
  font-size: 18px;
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary-color) 100%
  );
  margin: 0 auto 15px;
  color: white;
}

aside {
  width: 95%;
  margin: 20px auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-medium);
  padding: 15px;
  box-shadow: var(--shadow-soft);
}

aside > h3 {
  width: 100%;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin: 10px auto;
  background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
  padding: 10px;
  border-radius: var(--radius-small);
}

dl {
  width: 100%;
  margin: 1.5em auto;
}

dt {
  color: #e53935;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  margin: 1em 0;
}

dd {
  text-align: left;
  margin: 1em;
  font-weight: 400;
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-small);
  padding: 1em;
  background: rgba(255, 255, 255, 0.5);
}

em {
  font-weight: 600;
  font-style: normal;
  color: #ef5350;
}

mark {
  font-weight: 600;
  font-style: normal;
  color: #26a69a;
  background: transparent;
}

#map2 {
  width: 70%;
  margin: 2em auto 0;
}

/* フッター */
footer {
  width: 100%;
  margin-top: 30px;
  padding: 20px 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
}

#pagetop {
  margin-bottom: 1em;
  float: right;
}

#pagetop > a {
  font-size: 14px;
  font-weight: 500;
  display: block;
  padding: 8px 15px;
  background: var(--btn-gradient);
  color: white;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

#photo_top {
  margin-bottom: 1em;
  float: right;
}

#photo_top > a {
  font-size: 14px;
  font-weight: 500;
  display: block;
  padding: 8px 15px;
  background: var(--btn-gradient);
  color: white;
  border-radius: var(--radius-full);
  text-decoration: none;
}

#copyright {
  margin-top: 1em;
  text-align: center;
}

#copyright small {
  color: var(--text-secondary);
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(225, 245, 254, 0.9) 0%,
    rgba(179, 229, 252, 0.9) 100%
  );
  padding: 15px;
  border-radius: var(--radius-small) var(--radius-small) 0 0;
}

/* メディアクエリ - タブレット以上 */
@media screen and (min-width: 768px) {
  #container2 {
    max-width: 600px;
  }

  .earth-container {
    max-width: 400px;
  }

  .nav-btn {
    padding: 12px 20px;
    min-width: 90px;
  }

  .nav-btn span {
    font-size: 14px;
  }

  nav tr td a {
    min-height: 55px;
    padding: 15px 10px;
  }

  nav tr td#navi_a a::after,
  nav tr td#navi_b a::after,
  nav tr td#navi_c a::after,
  nav tr td#navi_d a::after,
  nav tr td#navi_e a::after,
  nav tr td#navi_f a::after {
    font-size: 15px;
  }

  section#catarog2 > img {
    width: 60%;
    max-width: 350px;
  }

  .concept_text {
    font-size: 16px;
    padding: 2em 10%;
  }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.nav-btn:focus {
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
}

nav tr td a:focus {
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
}

/* ========================================
   #container 用スタイル（サブページ共通）
   ======================================== */

#container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  max-width: 480px;
  min-width: 320px;
  overflow: hidden;
  background: var(--bg-gradient);
  padding-bottom: 20px;
}

/* ========================================
   リスト形式ナビゲーション（ul > li形式）
   サブページ用のモダンなボタンスタイル
   ======================================== */

nav ul {
  list-style: none;
  padding: 10px 15px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

nav ul li {
  flex: 0 0 calc(50% - 4px);
  max-width: calc(50% - 4px);
}

nav ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
  background: var(--btn-gradient);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-button);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.3px;
  text-align: center;
}

nav ul li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  border-radius: var(--radius-medium);
}

nav ul li a:hover,
nav ul li a:active {
  background: var(--btn-hover-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

nav ul li a:focus {
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
}

/* ========================================
   スケジュールページ専用スタイル
   ======================================== */

/* jQuery Mobile のスタイルを上書き */
.ui-page {
  background: var(--bg-gradient) !important;
}

.ui-content {
  background: transparent !important;
}

.ui-header,
.ui-footer {
  background: transparent !important;
  border: none !important;
}

/* スケジュールヘッダー（月表示） */
[data-role="page"] h2 {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary-color) 100%
  ) !important;
  color: white !important;
  border-radius: var(--radius-medium);
  padding: 12px 20px;
  margin: 15px;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border: none !important;
}

/* 前月・翌月ボタン（controlgroup） */
[data-role="controlgroup"] {
  margin: 10px 15px !important;
}

[data-role="controlgroup"] a[data-role="button"] {
  background: var(--btn-gradient) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 10px 20px !important;
  margin: 5px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  box-shadow: var(--shadow-button) !important;
  display: inline-block !important;
}

[data-role="controlgroup"] a[data-role="button"]:hover,
[data-role="controlgroup"] a[data-role="button"]:active {
  background: var(--btn-hover-gradient) !important;
}

/* スケジュールリストビュー */
[data-role="listview"] {
  margin: 15px !important;
  border-radius: var(--radius-medium) !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8) !important;
  box-shadow: var(--shadow-soft) !important;
}

[data-role="listview"] li {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: var(--primary-light) !important;
  border-width: 0 0 1px 0 !important;
  padding: 12px 15px !important;
}

[data-role="listview"] li:last-child {
  border-bottom: none !important;
}

[data-role="listview"] li .scheduleComment {
  padding-left: 0 !important;
  font-size: 14px !important;
  color: var(--text-primary) !important;
  line-height: 1.5 !important;
}

/* ページタイトル画像 */
.page > img:first-child {
  width: 40%;
  max-width: 150px;
  margin: 15px auto;
  display: block;
}

/* セクションページスタイル */
section.page {
  padding: 10px 15px;
}

section.page img {
  border-radius: var(--radius-small);
}

/* ページトップへ戻るボタン */
#pagetop {
  margin: 15px;
  text-align: right;
}

#pagetop a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--btn-gradient);
  color: white;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-button);
  transition: all 0.3s ease;
}

#pagetop a:hover {
  background: var(--btn-hover-gradient);
  transform: translateY(-2px);
}

/* jQuery Mobile リセット・上書き */
.ui-btn,
.ui-li,
.ui-listview > li {
  text-shadow: none !important;
}

.ui-bar-d,
.ui-body-d,
.ui-btn-up-d,
.ui-btn-hover-d {
  background: transparent !important;
  border: none !important;
}

/* リストビュー内のリンクスタイル上書き */
.ui-listview .ui-link {
  color: var(--text-primary) !important;
}
