@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@700;900&family=Outfit:wght@700;900&display=swap");

:root {
  --phone-width: 390px;
  --aero-blue: #00d2ff;
  --deep-blue: #004d73;
  --bg-base: #c1e8ff;
  --vivid-magenta: #ff00ff;
}

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

body {
  background: var(--bg-base);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: var(--deep-blue);
  -webkit-font-smoothing: antialiased;
}

/* スマホコンテナ */
.app-container {
  position: relative;
  width: var(--phone-width);
  max-width: 100vw;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
}

.scroll-content {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 20px;
}
.scroll-content::-webkit-scrollbar {
  display: none;
}

/* ヘッダー (px指定で固定) */
.site-header {
  padding: 30px 20px 0;
  text-align: center;
}
.site-title {
  font-size: 24px;
  font-weight: 900;
  text-shadow: 0 0 20px #fff;
  margin-bottom: 5px;
}
.site-sub {
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.4);
  padding: 2px 10px;
  border-radius: 99px;
  display: inline-block;
}
.sns-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}
.sns-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--deep-blue);
  font-size: 18px;
}

.header-divider {
  width: 30px;
  height: 3px;
  background: rgba(0, 77, 115, 0.1);
  margin: 15px auto;
  border-radius: 10px;
}

/* 見出し */
.section-main-title {
  display: flex;
  align-items: center;
  margin: 10px 0 15px;
  justify-content: center;
}
.title-glow {
  font-weight: 900;
  font-size: 16px;
  color: var(--deep-blue);
}
.section-main-title::before,
.section-main-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 77, 115, 0.15);
  margin: 0 10px;
}

.content {
  padding: 10px 15px 40px;
}

/* ガラスカード */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}

.info-label {
  font-weight: 900;
  color: var(--aero-blue);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  font-size: 9px;
}
.info-item {
  font-size: 12px;
  line-height: 1.7;
  color: var(--deep-blue);
}
.label-cyan {
  color: #00b8d4;
  font-weight: 900;
}
.label-magenta {
  color: #d81b60;
  font-weight: 900;
}

.commission-cta-btn {
  margin-top: 15px;
  padding: 12px;
  background: linear-gradient(135deg, var(--aero-blue) 0%, #0088ff 100%);
  color: #fff;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 180, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* メインボタン */
.link-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.glass-btn {
  min-height: 48px;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--deep-blue);
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}
.glass-btn:active {
  transform: scale(0.98);
}
.highlight-btn {
  border: 2px solid var(--aero-blue);
  background: rgba(255, 255, 255, 0.6);
}

/* 音楽リンク (アイコンサイズ固定) */
.music-links {
  margin-top: 25px;
  text-align: center;
}
.music-label {
  font-size: 10px;
  font-weight: 900;
  color: var(--deep-blue);
  margin-bottom: 12px;
  letter-spacing: 0.2em;
}
.music-row {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.music-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--deep-blue);
  font-size: 20px;
}

/* プロフ画像 */
.profile-card .profile-icon-box {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 24px;
  border: 3px solid #fff;
  overflow: hidden;
  background: #fff;
}
.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-text {
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

/* 実績グリッドの崩れ防止 */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}
.work-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
} /* min-width: 0 で巨大化を防ぐ */
.work-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  border: 2px solid #fff;
  background-size: cover;
  background-position: center;
}
.work-info strong {
  font-size: 11px;
  color: var(--deep-blue);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 5px;
  text-align: center;
}

.year-divider {
  display: flex;
  align-items: center;
  margin: 30px 0 12px;
}
.year-divider span {
  font-weight: 900;
  font-size: 18px;
  padding-right: 12px;
}
.year-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 77, 115, 0.1);
}

/* COMMISSION 修正 */
.contact-subtext {
  font-size: 10px;
  opacity: 0.8;
  margin-top: 2px;
  margin-bottom: 10px;
}
.commission-contact-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.commission-contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  text-decoration: none;
  color: var(--deep-blue);
  font-weight: 900;
  font-size: 13px;
}
.commission-info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 12px;
}
.attention-text-block {
  list-style: disc;
  padding-left: 1.2em;
  font-size: 12px;
  line-height: 1.7;
}

/* 下部ナビゲーション (隙間対策) */
.bottom-fixed-area {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}
.bottom-nav {
  padding: 8px 0 5px;
}
.shortcut-label {
  font-size: 10px;
  font-weight: 900;
  padding-left: 15px;
  margin-bottom: 4px;
  opacity: 0.6;
}
.nav-icons-wrapper {
  display: flex;
  justify-content: space-around;
  width: 100%;
}
.nav-icon {
  background: none;
  border: none;
  color: #b0c4de;
  flex: 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-icon.active-nav {
  color: #0288d1;
}
.nav-icon i {
  font-size: 18px;
  margin-bottom: 2px;
}
.nav-icon .label {
  font-size: 9px;
  font-weight: 900;
}
.copyright-bar {
  background: var(--deep-blue);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
}

/* 背景・オーブ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #e0f7ff 0%, #b3e5fc 100%);
}
.outer-visual {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  filter: blur(8px);
}
.outer-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  width: 300px;
  height: 300px;
  background: #00d2ff;
  top: -50px;
  left: -50px;
}
.main-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.main-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.visual-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 15%,
    rgba(193, 232, 255, 0.6) 75%,
    var(--bg-base) 100%
  );
}

/* ページ切替・モーダル */
.page {
  display: none;
}
.page.active {
  display: block;
  animation: popIn 0.3s ease-out;
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.back-pill {
  background: #fff;
  border: 1px solid var(--aero-blue);
  border-radius: 99px;
  color: var(--aero-blue);
  padding: 4px 20px;
  font-weight: 900;
  font-size: 11px;
  margin-bottom: 10px;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.modal.active {
  display: flex;
}
.modal-content {
  width: 100%;
  max-width: 320px;
  position: relative;
}
.modal-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  width: 100%;
}
.close-pill {
  background: #fff;
  border: 1px solid var(--aero-blue);
  border-radius: 99px;
  color: var(--aero-blue);
  padding: 4px 12px;
  font-weight: 900;
  font-size: 11px;
  cursor: pointer;
}
.modal-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 12px;
  border: 2px solid #fff;
}
.modal-date {
  font-size: 11px;
  font-weight: 800;
  color: var(--aero-blue);
  margin-bottom: 6px;
}
.modal-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--deep-blue);
  margin-bottom: 10px;
}
.modal-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}
.modal-link-btn {
  display: block;
  margin-top: 15px;
  padding: 14px;
  background: linear-gradient(135deg, var(--aero-blue) 0%, #0088ff 100%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 18px;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(0, 180, 255, 0.4);
}
