.content {
  flex: 1;
  max-width: 100%;
  padding: 2em;
  box-sizing: border-box;
}


:root {
    --color-bg: #fdfdfd;
    --color-text: #5a3e3e;
    --color-nav-bg: #242424;
    --color-nav-text: #cfcfcf;
    --color-nav-hover: #ffdd57;
}





body {
  margin: 0;
  font-family: sans-serif;
  display: flex;
  height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
}

nav {
  width: 220px;
  background: var(--color-nav-bg);
  color: #cfcece;
  padding: 1rem;
}

nav a {
  display: block;
  color: #b9aaa4;
  /* margin: 0 rem 0; */
  text-decoration: none;
}

nav a:hover {
  color: var(--color-nav-hover);
  text-decoration: underline;
}

iframe {
  flex: 1;
  border: none;
  height: 100%;
}

/* 中央揃え */
.center-box {
  width: 100%;
  padding: 2em;
  box-sizing: border-box;
}


h3 {
  background: #ca896b79;/*背景色*/
  padding: 0.5em;/*文字まわり（上下左右）の余白*/
  margin: top 0;
  margin-bottom: 0.3em;
}

/* h3:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #252525 #222 #a09395;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
} */


/* QA セクション全体 */
.qa {
  margin: 2em 0;
  border-top: 1px solid #ccc;
}

/* 質問部分 */
.qa .question {
  font-weight: bold;
  background-color: #f5f5f5;
  padding: 0.8em;
  border-left: 4px solid #3b5998;
  margin-top: 1em;
  cursor: pointer;
  transition: background-color 0.2s;
}

.qa .question:hover {
  background-color: #e9e9e9;
}

/* 回答部分 */
.qa .answer {
  padding: 0.8em;
  background-color: #fff;
  border-left: 4px solid #ccc;
  display: none; /* デフォルト非表示 */
  animation: fadeIn 0.3s ease-in-out;
}

/* アニメーション */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



/* 画像だけ中央寄せに */
.img {
  display: flex;
  justify-content: center;
  margin: 2em 0;
}

.img img {
  width: 60%;
}


body {
  margin: 0;
  background: url('your-background.jpg') center / cover fixed no-repeat;
  position: relative;
  overflow-x: hidden;
}

.fog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1); /* 真っ白で覆っておく */
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s ease-out;
}

.dialog {
  font-size: 1.2rem;
  color: #aaa;
  margin: 1.5rem 0;
  line-height: 1.6;
  max-width: 100%;
}

.dialog-left {
  text-align: left;
}
.dialog-right {
  text-align: right;
}
.dialog-center {
  text-align: center;
}


.center-logo img {
  max-width: 90%;
  height: auto;
}

#project span.disabled-link {
  color: #999;
  cursor: default;
  text-decoration: none;
  margin: 0 0.5em;
  display: inline-block;
}