body {
    font-family: "Inter", "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;

    height: 100%; 
    margin: 0; 
    padding: 0;
}

.title-header {
    background-image: url('ikisugi.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;         /* 角を丸くする */
}

@media (max-width: 768px) {
    .content {
        width: 90%;             /* スマホでは幅を90%に */
        padding: 15px;          /* パディングを少し減らす */
    }
    .text {
        display: none;
        align-items: normal;
    }
    .text img {
        width: 250px;
    }
}

.text {
    display: flex;             /* 子要素を横並びにする */
    align-items: center;       /* 垂直方向を中央揃え */
    gap: 20px;                 /* 文章と画像の間にスペースを追加 */
}

.content img {
    width: 300px;             /* 画像の幅を調整 */
    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;
}

#playButton {
    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;
}

.homobutton {
    font-size: 1.2rem;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .yes-button {
    background-color: #4CAF50;
    color: white;
  }
  .no-button {
    background-color: #f44336;
    color: white;
  }
  .homobutton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  }
  .homobutton:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }


/* ボタンのホバー効果 */
#playButton: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);
}

a {
    text-decoration: none;
    color: #81c2fd;
}