body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100dvh;
  color: #fff;
  padding: 20px;
}

.bg {
  position: fixed;
  inset: 0;
  background: url("index/bg_dark.png") center/cover no-repeat;
  z-index: -1;
}

/* Safariでの表示のバグ修正 */
html {
  -webkit-text-size-adjust:100%;
}

/* 全体パネル */
.panel {
  max-width: 1366px;
  background: rgba(30,30,30,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* クリック部分 */
.panel summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: bold;
  background: rgba(30,30,30,0.35);
  list-style: none;
}

/* 三角マーク消す（Chrome） */
.panel summary::-webkit-details-marker {
  display: none;
}

/* 中身 */
.panel .content {
  padding: 12px 14px;
  border-top: 1px solid #444;
  background: rgba(30,30,30,0.2);
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);
  overflow: hidden;
}

/* 開いてるときの見た目 */
.panel[open] summary {
  background: rgba(255,255,255,0.08);
}

/* 検索ボックス */
.search-box {
  width: 100%;
  max-width: 560px;
  height:50px;
  padding: 10px 12px;
  padding-left: 40px; /* ← アイコンの分 */
  margin-bottom: 16px;
  font-size: 14px;

  background: rgba(43,43,43,0.4) url("index/search.png") no-repeat 12px center;
  background-size: 18px;
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);

    border: 0.5px solid rgba(85,85,85,0.5);
  
  overflow: hidden;

  color: #ffffff;

  border-radius: 25px;
  outline: none;

  box-sizing: border-box;
}

/* ===== 上固定ナビバー ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;

  background: rgba(30,30,30,0.4);
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);
  
  box-shadow: 0 2px 5px rgba(0,0,0,0.0);

  z-index: 1000;
}

/* ナビリンク */

.navbar a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.navbar a:hover {
  color: white;
}



/* 上バー分スペース確保 */

body {
  padding-top: 80px;
}

/* タイトル中央 */

.title{
  text-align:center;
  margin-top:80px;
}

/* ボタンエリア */

.year-buttons{
  display:flex;
  flex-direction:column; 

  align-items:center; /* 真ん中寄せ */

  gap:20px;
  margin-top:40px;
}

/* ボタン */

.year-btn{

  width:220px;

  background: rgba(43,43,43,0.6);
  color:white;
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);
  overflow: hidden;

  border:none;

  padding:16px;

  font-size:16px;
  font-weight:bold;

  border-radius:24px;

  cursor:pointer;

  transition:0.2s;
}

.year-btn:hover{
  background:#0a84ff;
}


/* dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  color: #ddd;
  font-size: 14px;
  cursor: pointer;
}

/* dropdown-menu */
.dropdown-content {
  position: fixed;
  top: 75px;
  z-index: 2000;
  padding: 8px 2.5px;

  min-width: 208px;
  width: 208px;

  border-radius: 28px;

  background: rgba(30, 30, 30, 0.3); 
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);

  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    0 8px 32px rgba(0,0,0,0.4);

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: 0.2s;

  
}

#menu1 {
  left: 55%;
  transform: translateX(-120px) translateY(-10px);
}

#menu2 {
  left: 50%;
  transform: translateX(40px) translateY(-10px);
}


.dropdown-content.show {
  opacity: 1;
  transform: translateY(-2px);
  pointer-events: auto;
}

/* 中のボタン */
.dropdown-content button {
  width: 95%;
  padding: 14px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 16px;

  background: none;
  border: none;

  color: white;
  text-align: left;

  cursor: pointer;

  transition:
    width 0.3s cubic-bezier(0.2,0.8,0.2,1),
    border-radius 0.25s ease,
    background 0.25s ease;
}

.dropdown-content button:last-child {
  border-bottom: none;
}

.dropdown-content button:hover {
  border-radius: 24px;
  background: rgba(255,255,255,0.2);
}
  
/* ===== カード全体 ===== */

.os-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}


/* ===== カード ===== */

.os-card {
  padding: 20px;

  background: rgba(30,30,30,0.4);
  backdrop-filter:blur(10px) saturate(144%);
  -webkit-backdrop-filter:blur(10px) saturate(144%);
  overflow:hidden;

  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    0 8px 32px rgba(0,0,0,0.4);
  
  border-radius: 24px;

  text-align: center;

  box-shadow: 0 6px 15px rgba(0,0,0,0.4);

  transition: 0.25s ease;
}

/* ホバー */

.os-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(51,51,51,0.4);
  backdrop-filter:blur(10px) saturate(144%);
  -webkit-backdrop-filter:blur(10px) saturate(144%);
  overflow:hidden;

  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    0 8px 32px rgba(0,0,0,0.4);
  
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}


/* ===== タイトル ===== */

.os-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
}


/* ===== 説明 ===== */

.os-desc {
  font-size: 14px;
  color: #aaa;
}

/* OSのicoの配置 */
.os-icon {
  width: 100px !important;
  height: auto !important;
  margin-top: 12px;

  opacity: 0.9;

  transition: 0.2s;
}

.os-card:hover .os-icon {
  transform: translateY(3px) scale(1.05);
}



/* ダウンロードの確認ダイアログ */

.dialog{
  position:fixed;
  inset:0;

  display:flex;
  opacity:0;
  visibility:hidden;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  

  justify-content:center;
  align-items:center;

  background:rgba(0,0,0,0.35);
  backdrop-filter:blur(10px) saturate(144%);
  -webkit-backdrop-filter:blur(10px) saturate(144%);

  z-index:9999;
}

.dialog-box{
    width:min(420px,90vw);
    padding:24px;
    border-radius:24px;
    background:rgba(30,30,30,0.35);

    backdrop-filter:blur(25px) saturate(180%);
    -webkit-backdrop-filter:blur(25px) saturate(180%);

    border:1px solid rgba(255,255,255,0.1);

    box-shadow:
        0 12px 45px rgba(0,0,0,0.45),
        inset 0 1px rgba(255,255,255,0.08);

    color:white;

  opacity:0;
  transform:translateY(15px) scale(0.95);
  transition:
    transform 0.28s cubic-bezier(0.2,0.8,0.2,1),
    opacity 0.28s ease;
  
}

.dialog-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:18px;
}

#dialogIcon{
    width:72px;
    height:72px;
}

.typeSize{
    color:#bcbcbc;
    font-size:15px;
    margin-top:4px;
}

.dialogText{
    margin-top:18px;
    line-height:1.6;
}

.dialogButtons{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:24px;
}

.dialogButtons button{
    width:150px;
    height:46px;
    padding:10px 22px;
    border:none;
    border-radius:23px;
    cursor:pointer;
    font-size:15px;
    transition:.2s;
}

.cancelBtn{
    background:rgba(255,255,255,0.12);
    color:white;
}

.downloadBtn{
    background:#0066ff;
    color:white;
}

.dialogButtons button:hover{
    transform:scale(1.03);
}

.dialog.show{
  opacity:1;
  visibility:visible;
}

.dialog.show .dialog-box{
  opacity:1;
  transform:translateY(0) scale(1);
}

/*更新履歴のUI*/

.msg{
  display:block;
  padding:18px;
  max-width:900px;
  margin:16px auto;

  border-radius:24px;

  background:rgba(30,30,30,0.4);
  backdrop-filter:blur(10px) saturate(144%);
  -webkit-backdrop-filter:blur(10px) saturate(144%);

  box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.18),
            inset 0 -1px 0 rgba(255,255,255,0.06),
            0 8px 32px rgba(0,0,0,0.40);

  overflow:hidden;

  transition:
    transform 0.2s ease, background 0.2s ease;
}

.msg:hover{
  transform: translateY(-3px);
  background:rgba(30,30,30,0.3);
}

.msg:actove{
  transform:scale(0.985);
}

.msg-header{
  display:flex;
  align-items:center;
  gap:14px;
}

.msg-icon{
  width:64px; height:64px;
}

.msg-date{
  font-size:13px;
  color:#808080;
}

.msg-text{
  margin-top:0;
  font-size:16px;
  font-weight:600;
  line-height:1.5;
  flex:1;
}

.msg-detail{
  margin-top:10px;
  padding-left:8px;
  border-left:3px solid rgba(255,255,255,0.2);
  font-size:14px;
  line-height:1.6;
}



.os-heading{
    width:95%;
    max-width:1000px;
    margin:32px auto 12px;
    font-size:22px;
}

.app-table-container{
    width:95%;
    max-width:1000px;
    margin:0 auto 24px;
    overflow-x:auto;
    overflow-y:hidden;
    border-radius:24px;
}

.app-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
    border-radius:24px;
}

.app-table th,
.app-table td{
    padding:16px;
    text-align:left;
  height:64px;
  box-sizing:border-box;
  white-space:nowrap;
}

.app-table th{
  height:72px;
}

.app-table tr:last-child td{
    border-bottom:none;
}

.app-table a{
    color:#1683ff;
    text-decoration:none;
    font-weight:600;
}

.app-table a:hover{
    text-decoration:underline;
}

.app-development{
    padding:20px;
    text-align:center;
    box-sizing:border-box;
}

.app-table-container{
        background:rgba(30,30,30,0.35);
        backdrop-filter:blur(15px) saturate(144%);
        -webkit-backdrop-filter:blur(15px) saturate(144%);
        border:1px solid rgba(255,255,255,0.10);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.18),
            inset 0 -1px 0 rgba(255,255,255,0.06),
            0 8px 32px rgba(0,0,0,0.40);
    }

    .app-table{
        background:rgba(30,30,30,0.25);
        border:1px solid rgba(255,255,255,0.10);
    }

    .app-table th{
        background:rgba(255,255,255,0.08);
    }

    .app-table th,
    .app-table td{
        border-bottom:1px solid rgba(255,255,255,0.08);
    }

    .app-development{
        color:#999;
    }


/* ---------------------------------------------------------------------モード--------------------------------------------------------------------- */

@media (prefers-color-scheme:light) {

  body{
    font-family: "Segoe UI", sans-serif;
    height: 100dvh;
    margin: 0;
    color: #111;
    padding: 20px;
  }

.bg {
  position: fixed;
  inset: 0;
  background: url("index/bg_light.png") center/cover no-repeat;
  z-index: -1;
}

  /* 全体パネル */
.panel {
  background: rgba(250,250,250,0.2);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 24px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* クリック部分 */
.panel summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: bold;
  background: rgba(250,250,250,0.5);
  list-style: none;
}

/* 三角マーク消す（Chrome） */
.panel summary::-webkit-details-marker {
  display: none;
}

/* 中身 */
.panel .content {
  padding: 12px 14px;
  border-top: 1px solid #e5e5e5;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);
  overflow: hidden;
}

/* 開いてるときの見た目 */
.panel[open] summary {
  background: rgba(240,240,240,0.7);
}

/* 検索ボックス */
.search-box {
  width: 100%;
  max-width: 560px;
  height:50px;
  padding: 10px 12px;
  padding-left: 40px; /* ← アイコンの分 */
  margin-bottom: 16px;
  font-size: 14px;

  background: rgba(250,250,250,0.4) url("index/search-dark.png") no-repeat 12px center;
  background-size: 18px;
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);

    border: 0.5px solid rgba(190,190,190,0.5);
  
  overflow: hidden;

  color: #000000;


  border-radius: 25px;
  outline: none;

  box-sizing: border-box;
}


/* ===== 上固定ナビバー ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;

  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px) saturate(144%);

   box-shadow: 0 2px 5px rgba(0,0,0,0);

  z-index: 1000;
}

.navbar img {
  filter: invert(1);
}

/* ナビリンク */

.navbar a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.navbar a:hover {
  color: black;
}



/* 上バー分スペース確保 */

body {
  padding-top: 80px;
}

/* タイトル中央 */

.title{
  text-align:center;
  margin-top:80px;
}

/* ボタンエリア */

.year-buttons{
  display:flex;
  flex-direction:column; 

  align-items:center; /* 真ん中寄せ */

  gap:20px;
  margin-top:40px;
}

/* ボタン */

.year-btn{

  width:220px;

  background: rgba(245,245,245,0.6);
  color:black;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;

  border:none;

  padding:16px;

  font-size:16px;
  font-weight:bold;

  border-radius:24px;

  cursor:pointer;

  transition:0.2s;
}

.year-btn:hover{
  background:#0066ff;
  color:white;
}



/* dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  color: #000000;
  font-size: 14px;
  cursor: pointer;
}

/* dropdown-menu */
.dropdown-content {
  position: fixed;
  top: 75px;
  z-index: 2000;
  padding: 8px 2.5px;

  min-width: 208px;
  width: 208px;

  border-radius: 28px;

  background: rgba(255,255,255,0.3); 
  backdrop-filter: blur(10px) saturate(144%);
  -webkit-backdrop-filter: blur(10px)saturate(144%);
  
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -1px 0 rgba(255,255,255,0.16),
    0 8px 32px rgba(0,0,0,0.12);

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: 0.2s;
}

.dropdown-content.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 中のボタン */
.dropdown-content button {
  width: 95%;
  padding: 14px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  
  background: none;
  border: none;

  color: black;
  text-align: left;

  cursor: pointer;

  transition:
    width 0.3s cubic-bezier(0.2,0.8,0.2,1),
    border-radius 0.25s ease,
    background 0.25s ease;
}

.dropdown-content button:last-child {
  border-bottom: none;
}

.dropdown-content button:hover {
  border-radius: 24px;
  background: rgba(0,0,0,0.12)
}

.os-card {
  background: rgba(250,250,250,0.6);
  backdrop-filter:blur(10px) saturate(144%);
  -webkit-backdrop-filter:blur(10px) saturate(144%);
  overflow:hidden;

  box-shadow:inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -1px 0 rgba(255,255,255,0.16),
    0 8px 32px rgba(0,0,0,0.12);

  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.os-card:hover {
  background: rgba(234,234,234,0.6);
  backdrop-filter:blur(10px) saturate(144%);
  -webkit-backdrop-filter:blur(10px) saturate(144%);
  overflow:hidden;

  box-shadow:inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -1px 0 rgba(255,255,255,0.16),
    0 8px 32px rgba(0,0,0,0.12);
  
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
 }

.os-title {
  color: #111;
}

 .os-desc {
   color: #555;
 }

/* ダウンロードの確認ダイアログ */

.dialog{
    background:rgba(200,200,200,0.1);
}

.dialog-box{
    background:rgba(255,255,255,0.5);
    border:1px solid rgba(255,255,255,0.35);
    color:#222;
    box-shadow:
        0 12px 40px rgba(0,0,0,0.18),
        inset 0 1px rgba(255,255,255,0.45);
}

.typeSize{
    color:#666;
}

.cancelBtn{
    background:rgba(0,0,0,0.08);
    color:#222;
}

.downloadBtn{
    justify-content:space-between;
    background:#007AFF;
    color:white;
}

.dialog.show{
  opacity:1;
  visibility:visible;
}

.dialog.shou .dialog-box{
  opacity:1;
  transform:translateY(0) scale(1);
}

/*更新履歴のUI*/

.msg{
  display:block;
  padding:18px;
  max-width:900px;
  margin:16px auto;
  
  background:rgba(255,255,255,0.4);
  backdrop-filter:blur(10px) saturate(144%);
  -webkit-backdrop-filter:blur(10px) saturate(144%);
  
  box-shadow: 0 3px 5px rgba(0,0,0,0.1);

  box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.32),
            inset 0 -1px 0 rgba(0,0,0,0.05),
            0 8px 32px rgba(0,0,0,0.10);

  overflow:hidden;

  transition:
    transform 0.2s ease, background 0.2s ease;
}

.msg:hover{
  transform: translateY(-3px);
  background:rgba(255,255,255,0.3);
}

.msg:actove{
  transform:scale(0.985);
}

.msg-header{
  display:flex;
  align-items:center;
  gap:14px;
}

.msg-icon{
  width:64px; height:64px;
}

.msg-date{
  font-size:13px;
  color:#808080;
}

.msg-text{
  margin-top:0;
  font-size:16px;
  font-weight:600;
  line-height:1.5;
  flex:1;
}

.msg-detail{
  margin-top:10px;
  padding-left:8px;
  border-left:3px solid rgba(10,10,10,0.2);
  font-size:14px;
  line-height:1.6;
}


  .app-table-container{
        background:rgba(255,255,255,0.25);
        backdrop-filter:blur(15px) saturate(144%);
        -webkit-backdrop-filter:blur(15px) saturate(144%);
        border:1px solid rgba(0,0,0,0.08);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.75),
            inset 0 -1px 0 rgba(0,0,0,0.05),
            0 8px 32px rgba(0,0,0,0.10);
    }

    .app-table{
        background:rgba(255,255,255,0.18);
        border:1px solid rgba(0,0,0,0.08);
    }
.app-table th{
  background:rgba(255,255,255,0.30);
}

.app-table th,
.app-table td{
  border-bottom:1px solid rgba(0,0,0,0.08);
}

.app-development{
  color:#777;
}
}


/*--------------------------------------------------------------------スマホ用--------------------------------------------------------------------*/

@media screen and (max-width: 600px) {

  @media (prefers-color-scheme:dark) {
    .bg {
  background: url("index/bg_dark_sh.jpg") center/cover no-repeat;}
  }
  @media (prefers-color-scheme:light) {
    .bg {
  background: url("index/bg_light_sh.png") center/cover no-repeat;}
  }

  /* 全体パネル */
.panel {
  border-radius: 28px;
}

/* クリック部分 */
.panel summary {
  padding: 16px 21px;
}

/* 中身 */
.panel .content {
  padding: 16px 18px;
}

#menu1 {
  left: 45%;
  transform: translateX(-120px) translateY(-10px);
}

#menu2 {
  left: 35%;
  transform: translateX(40px) translateY(-10px);
}

  .dialog-box{
    width: calc(100% - 32px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .dialog-box h2#dialogTitle {
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.2;
  }

  .dialogButtons button{
    width:160px;
    height:48px;
    padding:8px 22px;
    border-radius:28px;
    font-size:13px;
}
  
    .app-table-container {
        display: block;
        width: 95%;
        max-width: 95%;
        margin: 0 auto 24px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .app-table {
        width: 1000px;
        min-width: 1000px;
        max-width: none;
        table-layout: fixed;
    }

    .app-table th,
    .app-table td {
        box-sizing: border-box;
        white-space: nowrap;
    }

    .app-table th:nth-child(1),
    .app-table td:nth-child(1) {
        width: 140px;
    }

    .app-table th:nth-child(2),
    .app-table td:nth-child(2) {
        width: 170px;
    }

    .app-table th:nth-child(3),
    .app-table td:nth-child(3) {
        width: 390px;
    }

    .app-table th:nth-child(4),
    .app-table td:nth-child(4) {
        width: 150px;
        min-width: 150px;
    }
  
  .app-table th:nth-child(4),
    .app-table td:nth-child(4) {
        width: 150px;
        min-width: 150px;
    }
  
}
