@charset "utf-8"; /*全体の設定 ---------------------------------------------------------------------------*/ body { color: #666; /*全体の文字色*/ margin: 0px; padding: 0px; font: 14px/2 "メイリオ", Meiryo, "MS Pゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";/*文字サイズ・行間・フォント設定*/ background: #FFF center top; /*背景色、背景画像の読み込み&リピートしない&左右中央の上部に配置*/ } h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{ margin: 0px; padding: 0px; } ul{ list-style-type: none; } img { border: none; } input,textarea,select { font-size: 1em; } form { margin: 0px; } table { border-collapse:collapse; font-size: 100%; border-spacing: 0; } /*コンテンツ(main,subを囲むブロック) ---------------------------------------------------------------------------*/ #contents { clear: center; } /*メインコンテンツ(右側ブロック) ---------------------------------------------------------------------------*/ #main { width: 700px; /*メインコンテンツ幅*/ clear: center; } /*mainコンテンツのh2タグの設定*/ #main h2 { clear: both; background-color: #f695a2; /*背景色(古いブラウザだとここの色のみが出ます)*/ background: url(../images/round1.png) no-repeat 10px center, #f695a2 url(../images/bg1.png); /*背景画像の読み込み。カンマ区切りで2つ指定。*/ border-radius: 5px; /*角丸のサイズ*/ border: 1px solid rgba(255,255,255,0.5); /*枠線の幅、線種、色。色については左3つの数値はRGBカラーでの色指定。一番右は透明度(0.5=50%)の指定。*/ font-size: 100%; /*文字サイズ*/ color: #FFF; /*文字色*/ padding: 3px 0px 3px 40px; /*余白。左から、上、右、下、左への指定。*/ } /*mainコンテンツのh3タグの設定*/ #main h3 { background-color: #FFF; /*背景色(古いブラウザだとここの色のみが出ます)*/ background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#f4f4f4)); /*グラデーション*/ background-image: -webkit-linear-gradient(#FFF, #e8e8e8); /*同上*/ background-image: linear-gradient(#FFF, #e8e8e8); /*同上*/ font-size: 100%; padding: 3px 15px; /*左から、上下、左右への余白*/ border-radius: 5px; /*角丸のサイズ*/ clear: both; border: 1px solid #f695a2; /*枠線の幅、線種、色*/ color: #f695a2; /*文字色*/ } /*mainコンテンツのh4タグの設定*/ #main h4 { padding: 2px 0px 2px 10px; /*上、右、下、左側への余白*/ font-size: 100%; border-bottom: 1px solid #CCC; /*下側の線の幅、線種、色*/ border-left: 3px solid #f695a2; /*左側の線の幅、線種、色*/ margin-bottom: 0.5em; color: #000; /*文字色*/ } /*mainコンテンツの段落タグ設定*/ #main p { padding: 0.5em 10px 1em; /*左から、上、左右、下への余白*/ } /*テーブル1 ---------------------------------------------------------------------------*/ .ta1 { width: 100%; } .ta1, .ta1 td, .ta1 th{ border: 1px solid #c9c9c9; /*テーブルの枠線の幅、線種、色*/ } /*テーブル内の右側*/ .ta1 td{ padding: 10px; } /*テーブル内の左側の見出し部分*/ .ta1 th{ width: 200px; /*幅*/ padding: 10px; text-align: center; background: #f6f6f6; /*背景色*/ } /*テーブル1行目に入った見出し部分*/ .ta1 th.tamidashi{ width: auto; text-align: left; background: #e2dfd9; /*背景色*/ } /*テーブルのキャプション設定*/ .ta1 caption{ padding: 10px; border-top: 1px solid #c9c9c9; /*上側の線の幅、線種、色*/ border-right: 1px solid #c9c9c9; /*右側の線の幅、線種、色*/ border-left: 1px solid #c9c9c9; /*左側の線の幅、線種、色*/ text-align: left; font-weight: bold; /*文字を太字にする設定*/ background-color: #f7f4cc; /*背景色(古いブラウザだとここの色のみが出ます)*/ background-image: -webkit-gradient(linear, left top, left bottom, from(#f7f6e3), to(#f7f4cc)); /*グラデーション*/ background-image: -webkit-linear-gradient(#f7f6e3, #f7f4cc); /*同上*/ background-image: linear-gradient(#f7f6e3, #f7f4cc); /*同上*/ } /*ボタンの設定*/ input[type="submit"], input[type="button"], input[type="reset"] { width: 250px; /*ボタン幅*/ padding: 10px; /*ボタン内の余白*/ margin-bottom: 20px; border-radius: 30px; /*角丸のサイズ*/ background-color: #e5e5e5; /*背景色(古いブラウザだとここの色のみが出ます)*/ background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#e5e5e5)); /*グラデーション*/ background-image: -webkit-linear-gradient(#FFF, #e5e5e5); /*同上*/ background-image: linear-gradient(#FFF, #e5e5e5); /*同上*/ -webkit-box-shadow: 1px 2px 7px #ccc; /*影の設定。それぞれ右へ、下へ、ぼかし幅、色の設定。*/ box-shadow: 1px 2px 7px #ccc; /*同上*/ font-size: 16px; /*文字サイズ*/ letter-spacing: 0.1em; border: 1px solid #999; } /*ボタンのマウスオン時の設定*/ input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover { background-color: #FFF; /*背景色(古いブラウザだとここの色のみが出ます)*/ background-image: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#FFF)); /*グラデーション*/ background-image: -webkit-linear-gradient(#e5e5e5, #FFF); /*同上*/ background-image: linear-gradient(#e5e5e5, #FFF); /*同上*/ }