
/* ==========================================
   ダウンロードした TTF フォント読み込み
   ========================================== */
@font-face {
  font-family: 'UnifrakturCook';
  src: url('yurumoji.ttf') format('truetype'); /* TTFファイルのパスに合わせて変更 */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Cinzel';
  src: url('cinzel.ttf') format('truetype'); /* CinzelのTTFファイルを用意 */
  font-weight: normal;
  font-style: normal;
}

/* ==========================================
   全体スタイル
   ========================================== */
body {
  margin: 0;
  background-color: ivory;
  background-image: repeating-linear-gradient(
    to right,
    aliceblue,
    aliceblue 40px,
    ivory 40px,
    ivory 80px
  );
  color: #786d63;
  font-family: 'Cinzel', serif;  /* 全体ベース */
  text-align: center;
  font-size: 20px;
}

:root {
  --header-height: 100px; /* ヘッダー高さ */
}

/* ==========================================
   ヘッダー
   ========================================== */
.header-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-image: url("s08-bg-frill.gif");
  background-repeat: repeat-x;
  background-position: top center;
  background-color: ghostwhite;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.header-pattern .goth-title img {
  max-height: 80px;
  width: auto;
}

/* ==========================================
   左サイドバー
   ========================================== */
.sidebar-left {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 220px;
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background-color: ghostwhite;
  color: #4a3e3e;
  padding: 1em;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  text-align: center;
  background-image: url("q11-bg-lace.gif");
  background-repeat: repeat-y;
  z-index: 1000;
}

/* ==========================================
   右サイドバー
   ========================================== */
.sidebar-right {
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: 220px;
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background-color: ghostwhite;
  color: #4a3e3e;
  padding: 1em;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  text-align: center;
  background-image: url("q11-bg-lace.gif");
  background-repeat: repeat-y;
  z-index: 1000;
}

/* ==========================================
   メインコンテンツ
   ========================================== */
main {
  margin-top: 5%;
  margin-left: 240px;     /* 左サイドバー分 */
  margin-right: 240px;    /* 右サイドバー分 */
  padding: 2em;
  max-width: calc(100% - 480px);
  box-sizing: border-box;
}

main section {
  text-align: center;
}

/* ==========================================
   サイドバー内アイコン
   ========================================== */
.aside-icon {
  width: 250px;
  height: auto;
  display: block;
}

/* ==========================================
   本文ボックス
   ========================================== */
.goth-text {
  font-family: 'UnifrakturCook', cursive;
  color: #a89f91;
  font-size: 1.2rem;
  background-color: rgba(240, 240, 240, 0.05);
  border-left: 4px double #8caacc;
  padding: 1.2em;
  margin: 1.5em auto;
  width: 70%;
  max-width: 800px;
  box-shadow: 0 0 8px rgba(132, 147, 208, 0.6);
  line-height: 1.8;
  text-align: left;
  border-radius: 6px;
}

.goth-title {
  margin-top: 0%;
  margin-bottom: 0%;
}
  
.img-title {
  margin-top: 10%;
  margin-bottom: 0%;
}
  
 


/*.aside-text {
  font-family: 'UnifrakturCook', cursive; /* ダウンロードフォント */
  /*color: #a89f91;
  /*font-size: 2rem;
  /*margin-bottom: 0.5em;
  /*}

/*.aside-icon {
 /* width: 60px;      /* 横幅を固定 */
  /*height: auto;     /* 縦は自動で比率キープ */
  /*display: block;   /* ブロック要素化で扱いやすく */
  /*margin: 10px auto; /* 上下に余白＋中央寄せ */
/*}*/







