/* すべてのページに適用される設定 */
html{
    font-size: 16px;
    font-family:sans-serif; /* 明朝体の場合はserif */
}
*{
    box-sizing:border-box;
}
body{
    margin: 0 0 0 0;
}

p,li,td{
    line-height: 3;
}
a:link{
    color:#f07d34;
    text-decoration:none;
}
a:visited {
    color: #f07d34;
    text-decoration: none;
}
a:hover {
    color: #f07d34;
    text-decoration: underline;
}
a:active {
    color: #f07d34;
    text-decoration: underline;
}
img {
    max-width: 100%;
}

/* すべてのページに適用　- ヘッダー - */
.header{
    padding-top: 40px;
    background-image: url(../images/stripe.png);
    background-repeat: repeat-x;
}
.logo {
    text-align: center;
}
header img {/* でんゆらルームの大きさを調整している（オリ） */
    width: 300px; /* 親要素の幅に合わせる */
    height: auto; /* 自動調整してアスペクト比を維持 */
}
.nav ul{
    margin: 30px 0 0 0;
    padding: 0px;
    list-style-type: none;

    display: flex;
    justify-content: center;
    gap: 40px;
}
.nav a:link{
    color: #253958;
}
.nav a:visited {
    color: #253958;
}
.nav a:hover {
    text-decoration: none;
}
.nav a:active {
    text-decoration: none;
}
.nav h3{
    color: red;
    text-align: center;
}

/* すべてのページに適用　- ヒーロー - */
.hero {
    padding: 120px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
    font-size: 50px;
}
.hero.index{
    padding: 200px 0;
    background-image: url(../images/home-hero.png);
}
.hero.blog{
    background-image: url(../images/blog-hero.png);
}
.hero.tetris{
    color: rgb(0, 187, 255);
    background-image: url(../images/tetris-hero.png);
}
.hero.contact{
    background-color: #FFC300;
}
.hero.DenCh{
    background-color: #FF7F27;
}
.hero.ReadMe{
    background-color: #0022ffab;
}


/* すべてのページに適用　- メイン - */
main{
    margin: 50px auto 90px auto;
    max-width: 1000px;
}


main h2{
    margin: 60px 0 20px 0;
    border-bottom: 2px solid #253958;
    padding: 0 0 5px 0;
    color:#253958;
    font-size:1.3rem;
}

.blog p {
    background-color: #DDDDDD;
    padding: 20px 40px;
    line-height:2;
}

/* すべてのページに適用　- フッター - */
.gotop{
    text-align:center;
}
.copyright{
    margin-top:20px;
    margin-bottom:0px;
    padding-bottom:75px;
    padding-top:75px;
    background-color:#253958;
    color:#ffffff;
    text-align:center;
}

/* 個別のスタイル */
.den-info{
    border-collapse: collapse;
}
.den-info th,.den-info td{
    border: 3px dashed #dbdbdb;
    padding: 20px;
}
.otiruno{
    display: flex;
    align-items: center;
}
.otiruno p{
    margin-top: -10px;
    padding: 0;

}
.contact p{
    line-height: 1.5;
    margin-bottom: 10px;
}

.thread-create-container input, .thread-create-container textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.thread-create-container button {
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.thread-create-container form {
    text-align: center;
}


/* index.html */