/* CSSファイル: styles.css */
html,
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    background: #EEEEEE;
    color: #686D76;
}

header {
    display: flex;
    flex-direction: column;
    background-color: #373A40;
    color: #EEEEEE;
    margin: 0;
}

.title {
    color: #EEEEEE;
}

nav {
    margin-left: auto;
    margin-bottom: 44px;
    height: 0;
}

.clearText {
    display: none;
}

.follow_me {
    display: flex;
    list-style: none;
    margin: 0;
}

.follow_me a {
    -webkit-border-radius: 2px;
    border-radius: 2px;
    color: #333;
    display: inline-block;
    height: 44px;
    /* Button height */
    line-height: 44px;
    /* Button height */
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    text-align: center;
    width: 44px;
    /* Button width */
}

.follow_me a:hover {
    background-color: #EEEEEE;
}

.follow_me a .icon {
    fill: #EEEEEE;
    width: 20px;
    height: 20px;
}

.follow_me a:hover svg {
    fill: #373A40;
    /* stroke: #fff; */
}


h1 {
    text-align: center;
    font-size: 2rem;
    line-height: 1.4;
    margin: 0;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    border-bottom: 3px double #A0A3A8;
}

a {
    color: #DC5F00;
    text-decoration: none;
}

form {
    max-width: 400px;
    margin: 1rem auto;
    padding: 1rem 1rem;
    background: #EEEEEE;
    border: 1px solid #686D76;
    /* ボーダー色 */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form:focus-within {
    border-color: #DC5F00;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #686D76;
    border-radius: 4px;
    margin-bottom: 10px;
    box-sizing: border-box;
    background: #EEEEEE;
    color: #373A40;
}

input[type="text"]:focus {
    border-color: #DC5F00;
    /* フォーカス時のボーダー色 */
}

label {
    color: #373A40;
}

button {
    margin: 10px 0px;
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    color: #EEEEEE;
    background-color: #DC5F00;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #B84D00;
}

/* 非活性のボタン */
button:disabled,
button[disabled] {
    background-color: #686D76;
    /* 灰色の背景 */
    color: #A0A3A8;
    /* 薄い灰色の文字 */
    cursor: not-allowed;
    /* マウスポインタを禁止に */
}


/* しりとりの単語表示エリア */
.shiritori-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.word-list {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.word-list li {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.word-list .arrow {
    font-size: 24px;
    align-self: center;
}

.word-answer label {
    font-size: 14px;
}

.content {
    max-width: 50rem;
    padding: 1rem 1rem;
    margin: 1em auto;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #EEEEEE;
    background-color: #373A40;
}