@charset "UTF-8";

:root {
  --primary-color: #1EC8DC;
  --text-main: #ffffff;
  --text-muted: #cccccc;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* 背景画像の設定 */
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/assets/img/IMG_1135.JPG');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  
  font-family: "Noto Sans", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

/* メインコンテナ */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ヘッダー部分 */
header {
  text-align: center;
  margin-bottom: 40px;
}

.profile-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(30, 200, 220, 0.3);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.profile-icon:hover {
  transform: scale(1.05);
}

h1 {
  color: var(--primary-color);
  font-size: 2rem;
  letter-spacing: 2px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* グラスモーフィズムを採用したカードデザイン */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 1.4rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: inline-block;
}

/* 折りたたみメニュー（details）の装飾 */
details {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 15px;
  margin-top: 15px;
}

summary {
  cursor: pointer;
  font-weight: bold;
  color: var(--primary-color);
  outline: none;
  transition: color 0.2s;
}

summary:hover {
  color: #ffffff;
}

.details-content {
  margin-top: 10px;
  padding-left: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* リンクの装飾 */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(30, 200, 220, 0.6);
}

/* 連絡先・リスト */
.contact-list, .feature-list {
  list-style: none;
}

.contact-list li, .feature-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.contact-list li:last-child, .feature-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-label {
  display: inline-block;
  width: 130px;
  font-weight: bold;
  color: var(--text-muted);
}

/* マインクラフト用：IPアドレス表示ボックス */
.ip-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  font-family: monospace;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 15px 0;
  letter-spacing: 2px;
}

pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* フッター */
footer {
  text-align: center;
  margin-top: 50px;
  color: #888888;
  font-size: 0.9rem;
}

/* ナビゲーションメニュー追加用 */
.nav-links {
  text-align: center;
  margin-bottom: 30px;
}
.nav-links a {
  display: inline-block;
  margin: 0 10px;
  font-weight: bold;
}

/* スマホ向け調整 */
@media (max-width: 600px) {
  .contact-label {
    display: block;
    margin-bottom: 5px;
  }
  .card {
    padding: 20px;
  }
  .ip-box {
    font-size: 1.2rem;
  }
}

/* PC表示（画面幅1024px以上）の場合のレイアウト設定 */
@media screen and (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }

  .two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .col-left .card:last-child,
  .col-right .card:last-child {
    margin-bottom: 0;
  }
}
