body {
    font-family: "Inter", "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;

    height: 100%; 
    margin: 0; 
    padding: 0;
}

.title-header {
    background-image: url('../img/dokata.jpg');
    background-size: cover; /* 画像を全体に表示 */
    background-position: center; /* 画像を中央に配置 */
    background-repeat: no-repeat; /* 繰り返しを無効に */
    text-align: center;
    padding: 100px 0; /* 上下の余白を追加 */
    color: white; /* タイトルの文字色を白に */
    font-size: 2rem;
}

.main-container {
    display: flex;              /* 子要素をフレックスボックスに */
    justify-content: center;    /* 水平方向に中央寄せ */
    align-items: flex-start;    /* 垂直方向は上に寄せる */
    min-height: 80vh;           /* ヘッダーとフッターを除いた高さ */
    padding: 20px;
    background-color: #f0f0f0;
}

.content {
    width: 60%;                 /* コンテンツの幅を調整 */
    text-align: left;           /* 文章は左揃え */
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 少し影をつける */
    border-radius: 8px;         /* 角を丸くする */
}

.content a {
    text-decoration: none;
    color: #4daafc;
}

.content img {
    width: 70%;
    height: auto;
}

@media (max-width: 768px) {
    .content {
        width: 90%;             /* スマホでは幅を90%に */
        padding: 15px;          /* パディングを少し減らす */
    }
    .text img {
        width: 250px;
    }
}

.text {
    display: flex;             /* 子要素を横並びにする */
    align-items: center;       /* 垂直方向を中央揃え */
    gap: 20px;                 /* 文章と画像の間にスペースを追加 */
}

.text img {
    width: 450px;             /* 画像の幅を調整 */
    height: auto;             /* アスペクト比を維持 */
    border-radius: 8px;       /* 画像の角を丸くする（任意） */
}

.footer {
    text-align: center;
    background-color: #364364;
    color: white;
    padding: 25px;
}

.footer a {
    color: #e2e0e0;
    text-decoration: none;
}

.footer a :hover {
    text-decoration: underline;
}

button {
    padding: 15px 40px;
    margin-top: 50px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #114514, #114514);
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* ボタンのホバー効果 */
button:hover {
    background: linear-gradient(90deg, #95A098, #A1726A, #3F3540, #C9BFB6);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* ボタンをクリックしたとき */
button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.OoNTEXT {
    background: linear-gradient(90deg, #00d7fb, #128AFA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 相互リンク折りたたみ */
.collapsible {
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease-out;
}

.toggle-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
}

.toggle-button::before {
  content: "＋";
  display: inline-block;
  margin-right: 15px;
  font-size: 20px; /* ← ここを変更してサイズ調整 */
  transition: transform 0.3s ease;
}

.toggle-button.open::before {
  transform: rotate(180deg);
  content: "ー";
}
/* 相互リンク折りたたみ終わり */

.sectiontitle {
    margin-top: 50px;
    padding: 0px;
}

.inmtext {
    white-space: pre-wrap;
    font-family: "Inter", "Noto Sans JP", serif;
    tab-size: 2;
}

.yowai {
  color: #aaaaaa ;
}

.super {
    color: red;
}