﻿@charset "UTF-8";

/* ===============　 2026.01.15 Ver2.3 (リニューアル版・リンク指定色継承版) 　====================== */

/* =========================================
   全体設定 (Base)
   ========================================= */
body {
  background-color: #EAF7F7; /* 全体は水色 */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  margin: 0;
  padding: 12px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  -webkit-text-size-adjust: 100%;
}

/* リンク文字色（基本設定） */
a {
  text-decoration: underline; /* ★常にアンダーラインを表示 */
  color: inherit; /* ★周りの文字色（指定色）を自動で引き継ぐ */
  transition: all 0.2s;
}
a:hover {
  text-decoration: none; /* ★マウスを乗せた時は線を消して動きを出す */
  color: #D20050; /* ホバー時はアクセントカラー（赤）に変更 */
  opacity: 0.8;
}

/* =========================================
   メインエリア (コンテナ)
   ========================================= */
.container {
  max-width: 1460px;
  margin: 0 auto;
  background-color: #CCDDCC;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border: 1px solid #ffccd5;
}

/* =========================================
   ヘッダー・ナビゲーション
   ========================================= */
header {
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 3px solid #ff88a0;
  padding-bottom: 10px;
}

.header-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.header-nav a {
  text-decoration: none; /* ★ボタンのアンダーラインを消す */
  background: #fff;
  border: 1px solid #aaa;
  color: #333;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 17px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.page-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
}

.update-date {
  font-size: 0.8em;
  color: #666;
  text-align: right;
  display: block;
}

/* =========================================
   Sub ヘッダー・ナビゲーション
   ========================================= */
.header-sub {
  text-align: center;
  margin-bottom: 5px;
  border-bottom: 2px solid #0000ff;
  padding-bottom: 5px;
}

.header-sub-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.header-sub-nav a {
  text-decoration: none; /* ★ボタンのアンダーラインを消す */
  background: #87ceeb;
  border: 1px solid #aaa;
  color: #333;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* =========================================
   中央揃えの文字帯 (Belt) - ベース設定
   ========================================= */
.belt {
  display: block;         /* ★強制的にブロック（箱）にする */
  width: 100%;            /* ★横幅を100%確保して、物理的に横並びを阻止する */
  box-sizing: border-box; /* ★padding（内側の余白）を含めて100%にし、画面からはみ出さないようにする */
  clear: both;            /* ★前後の回り込みなどを完全に断ち切る */
  text-align: center;
  margin: 10px 0 20px 0;
  padding: 8px;
  border-radius: 8px;
}
.belt span {
  font-weight: bold;
  margin-right: 10px;
}
/* =========================================
   セクション (Section) - ベース設定
   ========================================= */
section {
  margin-bottom: 5px;
  border-bottom: 2px solid #ff88a0;
  padding-bottom: 5px;
}

.sec-head {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 7px;
  background-color: rgba(255, 255, 255, 0.6);
  border-left: 6px solid #ccc;
}

.sec-id {
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 1.1em;
  background-color: #ccc;
  color: #fff;
}

.sec-title {
  font-weight: bold;
  font-size: 1.1em;
  color: #333;
}

/* =========================================
   1. 普通の <hr> タグの設定
   ========================================= */
hr {
  display: block;
  margin: 3px 0;
  border: none;
  border-top: 1px solid #000;
  height: 1;
  background: transparent;
}

/* =========================================
   2. パターン4（自由変更用）の設定
   ========================================= */
hr.my-line {
  border: none;
  border-top: 1px solid #ccc;
  margin: 3px 0;
  height: 0;
  background: transparent;
}

/* =========================================
   リンクボタン (Link Button)
   ========================================= */
.link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 1px;
}

.link-group a {
  text-decoration: none; /* ★ボタンのアンダーラインを消す */
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #bbb;
  border-bottom: 3px solid #aaa;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 17px;
  color: #003399; /* ボタン自体の色は青を維持 */
  min-height: 24px;
  line-height: 1.3;
  font-weight: bold;
}

.link-group a:active {
  border-bottom: 1px solid #aaa;
  transform: translateY(2px);
  background-color: #f0f0f0;
}

/* --- カラーバリエーション --- */
a.highlight      { background-color: #fff9c4; border-color: #fbc02d; border-bottom-color: #f57f17; color: #e65100; }
a.navy           { background-color: navy; border-color: #fbc02d; border-bottom-color: #f57f17; color: snow; }
a.blue           { background-color: blue; border-color: #fbc02d; border-bottom-color: #f57f17; color: snow; }
a.skyblue        { background-color: skyblue; border-color: green; border-bottom-color: green; color: black; }
a.aqua           { background-color: aqua; border-color: red; border-bottom-color: #f57f17; color: black; }
a.lightgreen     { background-color: lightgreen; border-color: navy; border-bottom-color: navy; color: black; }
a.lime           { background-color: lime; border-color: navy; border-bottom-color: navy; color: black; }
a.limegreen      { background-color: limegreen; border-color: green; border-bottom-color: green; color: black; }
a.olive          { background-color: olive; border-color: green; border-bottom-color: green; color: white; }
a.green          { background-color: green; border-color: #fbc02d; border-bottom-color: #f57f17; color: snow; }
a.darkolivegreen { background-color: darkolivegreen; border-color: green; border-bottom-color: green; color: white; }
a.mistyrose      { background-color: mistyrose; border-color: green; border-bottom-color: green; color: red; }
a.pink           { background-color: pink; border-color: red; border-bottom-color: green; color: black; }
a.magenta        { background-color: magenta; border-color: green; border-bottom-color: green; color: white; }
a.fuchsia        { background-color: fuchsia; border-color: green; border-bottom-color: green; color: white; }
a.mediumorchid   { background-color: mediumorchid; border-color: green; border-bottom-color: green; color: white; }
a.purple         { background-color: purple; border-color: green; border-bottom-color: green; color: white; }
a.orange         { background-color: orange; border-color: green; border-bottom-color: green; color: black; }
a.red            { background-color: red; border-color: navy; border-bottom-color: navy; color: snow; }
a.maroon         { background-color: maroon; border-color: green; border-bottom-color: green; color: white; }
a.tomato         { background-color: tomato; border-color: green; border-bottom-color: green; color: white; }
a.gold           { background-color: gold; border-color: green; border-bottom-color: green; color: black; }
a.yellow         { background-color: yellow; border-color: red; border-bottom-color: #f57f17; color: black; }
a.dimgray        { background-color: dimgray; border-color: green; border-bottom-color: green; color: white; }
a.black          { background-color: black; border-color: green; border-bottom-color: green; color: white; }

/* =========================================
   データテーブル (Table)
   ========================================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 5px;
  margin-bottom: 20px;
  background: #fff;
  font-size: 0.95em;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.info-table th, 
.info-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.info-table th {
  background-color: #fff0f5;
  width: 35%;
  font-weight: normal;
  color: #333;
}

.info-table td {
  font-weight: bold;
}

.group-header {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #fff;
  background-color: #ff88a0;
  padding: 5px 10px;
  border-radius: 4px;
}

/* =========================================
   スマホ用調整 (Mobile)
   ========================================= */
@media (max-width: 600px) {
  .link-group {
    flex-direction: row;
    gap: 6px;
  }

  .link-group a {
    width: auto;
    flex: 1 1 auto;
    padding: 10px 4px;
    font-size: 14px;
    justify-content: center;
    text-align: center; 
    word-break: break-all;
  }

  .header-nav {
    gap: 5px;
  }
  .header-nav a {
    padding: 6px 8px;
    font-size: 13px;
    flex: 1 1 auto;
    text-align: center;
  }
  
  .header-sub-nav a {
    padding: 6px 8px;
    font-size: 14px;
    flex: 1 1 auto;
    text-align: center;
  }
}

/* =========================================
   写真リスト・サイズ変更機能 (Photos)
   ========================================= */
.link-group a.photo-link {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  height: auto;
  padding: 2px;
}

.photo-link img {
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
  transition: height 0.3s ease;
  height: 120px; 
}

/* 写真サイズ管理 */
body.view-ss .photo-link img { height: 28px; }
body.view-s  .photo-link img { height: 46px; }
body.view-m  .photo-link img { height: 80px; }
body.view-l  .photo-link img { height: 260px; }
body.view-xl .photo-link img { height: 540px; }

/* サイズ変更ボタンエリア */
.size-controls {
  text-align: center;
  margin: 10px 0 20px 0;
  background-color: rgba(255,255,255,0.5);
  padding: 8px;
  border-radius: 8px;
}

.size-controls span {
  font-weight: bold;
  margin-right: 0px;
  font-size: 0.8em;
}

.size-btn {
  background-color: #fff;
  border: 1px solid #999;
  border-radius: 4px;
  padding: 4px 10px;
  margin: 0 0px;
  cursor: pointer;
  font-size: 13px;
}

.size-btn:hover {
  background-color: #ffeff2;
  border-color: #ff6688;
}

@media (max-width: 600px) {
  .photo-link img {
    max-width: 100%;
  }
}

/* =========================================
   文章・説明文用 - ベース設定
   ========================================= */
.text-box {
  margin: 10px 5px;
  line-height: 1.8;
  color: #333;
  word-wrap: break-word;
}


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
   【重要】 上書き用パーツ辞書 (Utility)
   ※基本のグレー背景などに勝つため、一番下に記述します。
   ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

/* -----------------------------------------
   [1] サイズ設定
   ----------------------------------------- */
.size-xl  { font-size: 1.9em; }
.size-ll  { font-size: 1.7em; }
.size-l  { font-size: 1.5em; }
.size-m  { font-size: 1.3em; }
.size-s  { font-size: 0.85em; }
.size-ss  { font-size: 0.7em; }

.text-ss { font-size: 9px; }
.text-s  { font-size: 12px; }
.text-m  { font-size: 15px; font-weight: normal; }
.text-l  { font-size: 18px; font-weight: bold; }
.text-ll  { font-size: 22px; font-weight: bold; }
.text-xl  {
  font-size: 28px;
  font-weight: bold;
  border-bottom: 2px solid #ff88a0;
  display: inline-block;
  margin-bottom: 10px;
}

/* -----------------------------------------
   [2] 汎用カラー設定（文字色・背景色）
   ----------------------------------------- */
.txt-navy    { color: navy; }
.txt-blue    { color: blue; }
.txt-aqua    { color: aqua; }
.txt-lime    { color: lime; }
.txt-green   { color: green; }
.txt-yellow  { color: yellow; }
.txt-gold    { color: gold; }
.txt-red     { color: red; }
.txt-pink    { color: pink; }
.txt-magenta { color: magenta; }
.txt-black   { color: black; }
.txt-white   { color: white; }

.bg-navy    { background-color: navy; }
.bg-blue    { background-color: blue; }
.bg-aqua    { background-color: aqua; }
.bg-lime    { background-color: lime; }
.bg-green   { background-color: green; }
.bg-yellow  { background-color: yellow; }
.bg-gold    { background-color: gold; }
.bg-red     { background-color: red; }
.bg-pink    { background-color: pink; }
.bg-magenta { background-color: magenta; }
.bg-black   { background-color: black; }

/* -----------------------------------------
   [3] パーツ専用のカラー・サイズ設定
   ----------------------------------------- */
.belt.bg-clear     { background-color: rgba(255, 255, 255, 0.5); }
.belt.bg-pink      { background-color: #ff4477; }
.belt.bg-darkgreen { background-color: darkgreen; }

.belt.txt-navy    span { color: navy; }
.belt.txt-blue    span { color: blue; }
.belt.txt-aqua    span { color: aqua; }
.belt.txt-lime    span { color: lime; }
.belt.txt-green   span { color: green; }
.belt.txt-yellow  span { color: yellow; }
.belt.txt-gold    span { color: gold; }
.belt.txt-red     span { color: #ff0000; }
.belt.txt-pink    span { color: pink; }
.belt.txt-magenta span { color: magenta; }
.belt.txt-black   span { color: black; }
.belt.txt-white   span { color: white; }
.belt.txt-mediumblue span { color: mediumblue; }

.belt.size-1 span { font-size: 1.3em; }
.belt.size-2 span { font-size: 1.6em; }
.belt.size-3 span { font-size: 1.9em; }

.sec-head.bg-navy    { background-color: rgba(0, 0, 128, 0.6);    border-left-color: navy; }
.sec-head.bg-blue    { background-color: rgba(0, 0, 255, 0.6);    border-left-color: blue; }
.sec-head.bg-aqua    { background-color: rgba(0, 255, 255, 0.6);  border-left-color: aqua; }
.sec-head.bg-lime    { background-color: rgba(0, 255, 0, 0.6);    border-left-color: lime; }
.sec-head.bg-green   { background-color: rgba(0, 128, 0, 0.6);    border-left-color: green; }
.sec-head.bg-yellow  { background-color: rgba(255, 255, 0, 0.6);  border-left-color: yellow; }
.sec-head.bg-gold    { background-color: rgba(255, 215, 0, 0.6);  border-left-color: gold; }
.sec-head.bg-red     { background-color: rgba(255, 0, 0, 0.6);    border-left-color: red; }
.sec-head.bg-pink    { background-color: rgba(255, 192, 203, 0.6); border-left-color: pink; }
.sec-head.bg-magenta { background-color: rgba(255, 0, 255, 0.6);  border-left-color: magenta; }
.sec-head.bg-black   { background-color: rgba(0, 0, 0, 0.6);      border-left-color: black; }

.sec-head.bdr-navy    { border-left-color: navy; }
.sec-head.bdr-blue    { border-left-color: blue; }
.sec-head.bdr-aqua    { border-left-color: aqua; }
.sec-head.bdr-lime    { border-left-color: lime; }
.sec-head.bdr-green   { border-left-color: green; }
.sec-head.bdr-yellow  { border-left-color: yellow; }
.sec-head.bdr-gold    { border-left-color: gold; }
.sec-head.bdr-red     { border-left-color: red; }
.sec-head.bdr-pink    { border-left-color: pink; }
.sec-head.bdr-magenta { border-left-color: magenta; }
.sec-head.bdr-black   { border-left-color: black; }
