h1{ text-align: center; width: auto; } .haikei{ background-image: url("../img/natu.jpg"); width: auto; height: 800px; } .mozi{ height: 100%; background: rgba(255,255,255,0.4); } .font1{ color: #fff; font-size: 70px; font-family:MS 明朝, serif; text-shadow: #0000cd 3px 2px ; } .font2{ color: #fff; font-size: 80px; font-family:MS 明朝, serif; text-shadow: orange 5px 2px ; } .font3{ font-size: 20px; font-family:MS 明朝, serif; text-align: center; } .tate1 { -ms-writing-mode: tb-rl; writing-mode: vertical-rl; text-shadow: #fff 2px 1px ; width: 9%; font-size:30px; font-family:MS 明朝, serif; } .tate2 { -ms-writing-mode: tb-rl; writing-mode: vertical-rl; text-shadow: #fff 2px 1px ; text-indent: 1em; width: 7%; font-size:30px; font-family:MS 明朝, serif; } .blue{ color: blue; text-shadow: #fff 2px 1px ; } .red{ color: #ff4500; text-shadow: #fff 2px 1px; } table{ font-size: 25px; margin-left:auto; margin-right:auto; border: solid 3px #191970; } th { padding: 1px 15px; /* 上下 左右 */ border: solid 2px #191970; color: #4169e1; } td { border-bottom: #006400 2px solid ; } .line{ border-bottom: dotted #000; } .centering_parent { padding: 20px; /* 余白指定 */ height: 150px; /* 高さ指定 */ text-align: center; /* 中央寄せ */ } .centering_item { width: 220px; /* 幅指定 */ height: 90px; /* 高さ指定 */ display: inline-block; /* インラインブロックにする */ } .waku{ border: double 5px; }