@font-face {
    font-family: 'Keifont';
    src: url('font/Keifont.woff') format('woff');
  }
  


/* リセットと基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Keifont';
    font-weight: 300; /* フォントを細く */
    color: #ffffff;
    background-color: #8f8f8f;
    line-height: 1.6;
}

.nocolorlink a {
    color: rgb(224, 224, 224);
    text-decoration: none;
    margin-left: 4%;
    margin-top: 7%;
    margin-bottom: 7%;
}

/* ヘッダー */
header {
    background-color: #282c34;
    color: #ffffff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    user-select: none; /* 選択を禁止する */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-container img.logo {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* セクション */
section {
    padding: 2rem;
    margin-top: 60px; /* Headerの高さ分 */
}

section:not(:first-of-type) {
    margin-top: 3rem; /* セクション間のスペース */
}

h1, h2 {
    margin-bottom: 1rem;
}

/* フォーム */
form {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem; /* フッターとの間のスペース */
}

form label {
    margin: 0.5rem 0 0.2rem;
}

form input, form textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #282c34;
    color: #ffffff;
    border: none;
    padding: 0.7rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

form button:hover {
    background-color: #404654;
}

/* フッター */
footer {
    background-color: #282c34;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    user-select: none; /* 選択を禁止する */
}

/* ボタン */
a.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

a.button:hover {
    background-color: #0089b3;
    transform: translateY(-2px);
}

a.button:active {
    background-color: #006680;
    transform: translateY(0);
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

/* 画像 */
img {
    width: 44px;
}

/* その他スタイル */
.object {
    text-align: center;
}

.top {
    text-align: center;
}

textarea {
    width: 80%; /* 横幅をページの80%に設定 */
    height: 150px; /* 高さを150pxに設定 */
    padding: 10px; /* 内側の余白を10px */
    border: 1px solid #ccc; /* 薄いグレーの枠線 */
    border-radius: 5px; /* 角を少し丸く */
    font-size: 16px; /* フォントサイズを16px */
    resize: vertical; /* 縦方向のみサイズ変更を許可 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽いシャドウを追加 */
}

button {
    background-color: #cffffd; /* ボタンの背景色 */
    border: 2px solid #b0e0e6; /* 外枠の色 */
    border-radius: 8px; /* ボタンの角を丸く */
    padding: 10px 20px; /* ボタン内の余白 */
    font-size: 16px; /* フォントサイズ */
    font-weight: bold; /* フォントを太字に */
    color: #333; /* テキストの色 */
    cursor: pointer; /* ホバー時にポインターに変更 */
    box-shadow: 0 5px #a2d1cf; /* 立体感のために下に影をつける */
    transition: all 0.2s ease; /* ホバー時のスムーズな変化 */
}

button:active {
    box-shadow: 0 2px #a2d1cf; /* 押された時の影を縮める */
    transform: translateY(3px); /* ボタンを少し下げる */
}

button:hover {
    background-color: #b0f7f3; /* ホバー時に少し色を変える */
}