@charset "UTF-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/* --- CSS カスタムプロパティ (変数) --- */
:root {
  --color-primary: #006888;
  --color-text: #333;
  --color-background: #f8fbf8;
  --color-border: #ccc;
  --color-gray: #ddd;
  --color-gray-dark: #eee;
  --color-gold: #f96;
}

/* --- 全体のスタイルとリセット --- */

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

body {
  height: 100%;
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font-family: sans-serif, "Noto Sans Japanese", Arial, sans-serif;
  font-display: swap;
  font-size: 15px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-background);
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

strong {
  font-weight: normal;
  color: var(--color-gold);
}

.cboth {
  clear: both;
}

/* --- レイアウトとセクション --- */

#outline {
  width: 730px;
  max-width: 100%;
  margin: 0 auto;
}

#header,
#menu,
#main {
  margin-top: 50px;
}

#menu {
  text-align: center;
}

#menu a {
  margin: 0 10px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  line-height: 2;
  white-space: nowrap;
  background-color: #d3ccd6;
}

#footer {
  padding: 50px 0 10px;
  text-align: center;
}

.box {
  margin: 20px 0;
  padding: 20px 15px;
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
}

/* --- リンクとボタン --- */

a {
  color: var(--color-primary);
  text-decoration: underline dotted;
}

.click {
  position: relative;
  width: 80%;
  margin: 30px 10%;
  padding: 3px 0;
  border-radius: 6px;
  box-shadow: 0 0 5px #555;
  background-color: #d4dcd6;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.2em;
}

.click a {
  color: var(--color-text);
  text-decoration: none;
  display: block;
}

.click::after {
  content: ">";
  position: absolute;
  top: 2px;
  left: 10px;
  color: var(--color-text);
}

/* --- 見出し --- */

h1 {
  margin: 100px 0 70px;
  color: #000;
  font-size: 32px;
  font-weight: normal;
  letter-spacing: 0.2em;
  text-align: center;
}

h2,
h3 {
  color: #000;
  font-weight: normal;
  background: repeating-linear-gradient(-45deg, var(--color-background), var(--color-background) 25%, var(--color-gray) 25%, var(--color-gray) 50%);
  background-size: 4px 4px;
}

h2 {
  margin: 80px 0 20px;
  padding: 7px 20px;
  border-left: 5px solid var(--color-text);
  font-size: 21px;
  letter-spacing: 0.3em;
}

h3 {
  margin: 60px 0 15px;
  padding: 3px 20px;
  border-left: 3px solid #999;
  font-size: 18px;
  letter-spacing: 0.1em;
}

/* --- リストとテーブル --- */

ul,
ol {
  margin: 2px 0;
  list-style: none; /* デフォルトのulをリセット */
}

li {
  margin-bottom: 2px;
}

table.chart {
  border-collapse: collapse;
}

table.chart th,
table.chart td {
  padding: 5px 10px;
  border: 1px solid var(--color-border);
  text-align: center;
}

table.chart th {
  padding: 5px; /* 元のコードに合わせる */
  font-weight: normal;
  background-color: var(--color-gray-dark);
}

/* --- アルバムとビデオ --- */

.album {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.photo {
  width: 170px;
  padding: 0 10px 5px 0;
  text-align: center;
}

.photo img {
  max-height: 170px;
}

.video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9のアスペクト比 */
  height: 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- レスポンシブデザイン --- */

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

body {
  font-size: 16px;
  margin: 0 20px;
}

#outline,
#header,
#menu,
#main,
#footer {
  width: 100%;
}

ul {
  list-style: square;
}

iframe {
  width: 100%;
}

.photo {
  width: 47%;
}

}