/* 共通 */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #333333;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --ayame: #7B76A8;
    --white: #ffffff;
    --black: #333333;
}

section {
    margin: 60px 0;
}

h1 {
    font-size: 32px;
    color: #7B76A8;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

h1::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #7B76A8;
    border-radius: 2px;
}

h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    padding-left: 16px;
    border-left: 4px solid #7B76A8;
}

p{

    margin-bottom: 24px;

}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px; /* スマホ時の左右余白 */
    position: relative;
    clear: both;
    width: 100%;
    padding: 0;
    min-height: 90vh;
}
body.body.page-id-3168 {
  color: #c8c8fa;
  font-family: Consolas, 'Courier New', monospace;
  margin: 0;
  padding: 0;
}

#mnemo-console {
  padding: 10px;
  max-width: 800px;
  margin: 20px auto;
  border: 1px solid #c8c8fa;
  background-color: #111;
  overflow: hidden;
}

#console-output {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  overflow-y: auto;
  height: 360px;
  color: #c8c8fa;
}

#console-output div {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}


a, a:visited {
  color: #c8c8fa;
  text-decoration: underline;
}

a:hover, a:active {
  color: #7532fa; /* ホバー時にシアンに */
  text-decoration: underline;
}


#input-area {
  text-align: center;
  margin-top: 20px;
}

.input-group {
  display: flex;
  justify-content: center;
  gap: 8px;
}

#mnemo-id {
  background-color: #111;
  border: 1px solid #c8c8fa;
  color: #c8c8fa;
  padding: 8px 12px;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 16px;
  width: 220px;
  outline: none;
}

#mnemo-id:focus {
  border-color: #c8c8fa;
}

#input-area button {
  background: #111;
  border: 1px solid #c8c8fa;
  color: #c8c8fa;
  padding: 8px 16px;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 14px;
  cursor: pointer;
}

#input-area button:hover {
  background-color: #c8c8fa;
  color: #111;
}



/* ヘッダー全体 */
.site-header {
    background-color: var(--ayame);
    color: var(--white);
    padding: 10px 0;
}

.header-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px; /* ← 左右のマージンを追加 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* ロゴ */
.logo img {
    height: 40px;
}

/* メニュー */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    font-weight: bold;
    position: relative;
    padding: 8px 0;
    text-decoration: none;
}

/* ホバー効果 */
.nav-menu a {
    color: var(--white);
    font-weight: bold;
    position: relative;
    padding: 8px 12px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
}

/* ホバー時：白背景＋アヤメ文字 */
.nav-menu a:hover {
    background-color: var(--white);
    color: var(--ayame);
}

/* アクティブ時：アヤメ色で強調 */
.nav-menu a.active {
    background-color: var(--white);
    color: var(--ayame);
    font-weight: bold;
}

/* 下線効果（任意） */
.nav-menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--ayame);
}




/* フッター */
.site-footer {
    background-color: #7B76A8; /* アヤメ色 */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* メイン */
main {
    padding: 20px;
}
.shiryou {
    width: 100%;
    object-fit: cover;           /* はみ出た部分はカット */
    border-radius: 8px;          /* 任意：角を丸める */
    margin-bottom: 24px;         /* 下に余白 */
    display: block;
}


/* スマホ対応 */
@media screen and (max-width: 600px) {
    .story-card {
        flex-direction: column;
        align-items: center;
    }

    .story-photo {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .story-info {
        text-align: center;
    }
}


/* PWフォーム */
.password-form {
    text-align: center;
    margin: 60px 0;
}

.password-form input[type="password"] {
    padding: 10px;
    font-size: 16px;
    width: 200px;
    margin-bottom: 10px;
}

.password-form button {
    padding: 10px 20px;
    background-color: #7B76A8;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* 表 */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-size: 16px;
}

.simple-table th,
.simple-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
}

.simple-table thead {
  background-color: #7B76A8;
  color: white;
}

.keireki{
  
  margin: 40px 0;
  font-size: 16px;
}

/* リンクボタン */
.button {
  display: inline-block;
  background-color: #7B76A8;  /* アヤメ色 */
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 8px;
  transition: 0.3s;
  text-align: center;
  width: 250px;
  margin-right: 20px;
  margin-left: 20px;

}

.button:hover {
  background-color: #fff;
  color: #7B76A8;
  border: 1px solid #7B76A8;
}
.button-center {
  text-align: center;
  margin: 40px 0;
}


/* モバイル対応 */
@media screen and (max-width: 600px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
        width: 100%;
    }

    .nav-menu a {
        background-color: #444;
        width: 80%;
        text-align: center;
        font-size: 18px;
        padding: 12px 0;
        border-radius: 4px;
    }

@media (hover: hover) {
    .nav-menu a:hover {
        background-color: var(--white);
        color: var(--ayame);
    }
}


/* 大画面対応 */
@media screen and (min-width: 1200px) {
    .header-container {
        padding: 0 60px;
    }
}


