← Back
Editing: style.css
@charset "utf-8"; /*PC・タブレット・スマホ共通設定 ---------------------------------------------------------------------------*/ /*全体の設定 ---------------------------------------------------------------------------*/ body { margin: 0px; padding: 0px; color: #fff; /*全体の文字色*/ font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif; /*フォント種類*/ font-size: 14px; /*文字サイズ*/ line-height: 2; /*行間*/ background: #000; /*背景色*/ -webkit-text-size-adjust: none; } h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;} ul {list-style-type: none;} img {border: none;max-width: 100%;height: auto;} table {border-collapse:collapse;font-size: 100%;border-spacing: 0;} iframe {width: 100%;} /*リンク(全般)設定 ---------------------------------------------------------------------------*/ a { color: #fff; /*リンクテキストの色*/ -webkit-transition: 0.5s; /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/ transition: 0.5s; /*同上*/ } a:hover { color: #fffe43; /*マウスオン時の文字色*/ text-decoration: none; /*マウスオン時に下線を消す設定。残したいならこの1行削除。*/ } /*コンテナー(HPを囲む一番外側のブロック) ---------------------------------------------------------------------------*/ #container { width: 1000px; /*幅*/ margin: 0 auto; } /*ヘッダー(ロゴが入った最上段のブロック) ---------------------------------------------------------------------------*/ /*ヘッダーブロック*/ header { background: #000; /*背景色(古いブラウザ用)*/ background: -webkit-linear-gradient(#5c5c5c, #000); /*同上*/ background: linear-gradient(#5c5c5c, #000); /*同上*/ padding: 0px 20px; /*上下、左右への余白設定*/ overflow: hidden; } /*ロゴ画像*/ header #logo { float: left; width: 185px; /*ロゴ画像の幅*/ margin-bottom: 8px; } /*TEL*/ header #tel { display: block; width: 250px; float: right; background: #fffe43; /*背景色*/ color: #000; /*文字色*/ font-weight: bold; /*太字にする設定。通常がいいならこの行削除。*/ border-radius: 4px; /*角丸のサイズ*/ margin-top: 13px; line-height: 1.5; text-align: center; letter-spacing: 0.2em; } /*TEL内の小文字部分*/ header #tel span { font-weight: normal; /*上で設定した太字を標準にする設定*/ font-size: 10px; /*文字サイズ*/ display: block; } /*メインメニュー ---------------------------------------------------------------------------*/ /*メニューブロック*/ #menubar, #menubar-s { clear: both; overflow: hidden; background: #1893e2; /*背景色(古いブラウザ用)*/ background-image: repeating-linear-gradient(45deg,rgba(255,255,255,0.1), rgba(255,255,255,0.1) 5px,transparent 0,transparent 10px),linear-gradient(#3bcfff, #0f62d4);/*ストライプ柄。上の背景色に透明度0.1(10%)の白(255,255,255)を重ねる。「2px」と「4px」の数字を変えればストライプ幅の変更ができます。「45deg」が角度。最後のカラーコードがグラデーション。*/ } /*メニュー1個あたりの設定*/ #menubar li, #menubar-s li { float: left; } #menubar li a, #menubar-s li a { display: block; text-decoration: none; color: #fff; /*文字色*/ padding: 15px 20px; /*上下・左右にあける余白*/ text-shadow: 1px 1px rgba(0,0,0,0.4); /*テキストの影。下へ・右へ・色(rgba)の設定。0,0,0は黒を指し、0.4が透明度40%のこと。*/ letter-spacing: 0.2em; /*文字間隔を少し広くする設定*/ } /*マウスオン時*/ #menubar li a:hover { background: #0f62d4; /*背景色*/ color: #fffe43; /*文字色*/ } /*スマホ用メニューを表示させない*/ #menubar-s { display: none; } /*3本バーアイコンを表示させない*/ #menubar_hdr { display: none; } /*コンテンツ ---------------------------------------------------------------------------*/ /*main,sub,sideを囲むブロック設定*/ #contents { clear: left; padding-top: 40px; overflow: hidden; } /*main,subを囲むブロック設定*/ #contents-inner { float: left; width: 775px; overflow: hidden; } /*main,subを囲むブロック設定(※2カラム利用時)*/ .c2 #contents-inner { float: none; width: 100%; } /*メインコンテンツ ---------------------------------------------------------------------------*/ #main { float: right; /*右側に回り込み*/ width: 550px; /*幅*/ } /*2カラム利用時*/ .c2 #main { width: 770px; } /*mainコンテンツのh2タグの設定*/ #main h2 { clear: both; margin-bottom: 15px; font-size: 100%; color: #FFF; /*文字色*/ padding: 5px 15px; /*上下、左右への余白*/ background: #1893e2; /*背景色(古いブラウザ用)*/ background: linear-gradient(#3bcfff, #0f62d4);/*グラデーション*/ text-shadow: 1px 1px rgba(0,0,0,0.4); /*テキストの影。下へ・右へ・色(rgba)の設定。*/ } /*mainコンテンツのh2タグの1文字目への設定*/ #main h2::first-letter { border-left: 3px solid #fffe43; /*左側のアクセント用ラインの幅、線種、色*/ padding-left: 10px; /*アクセントラインと文字の間にとる余白*/ } /*mainコンテンツのh3タグの設定*/ #main h3 { clear: both; margin-bottom: 15px; font-size: 100%; padding: 3px 15px; /*上下、左右への余白*/ color: #000; /*文字色*/ background: #fff; /*背景色(古いブラウザ用)*/ background: linear-gradient(#FFF, #dcdcdc); /*グラデーション*/ } /*mainコンテンツのh3タグの1文字目への設定*/ #main h3::first-letter { border-left: 3px solid #1893e2; /*左側のアクセント用ラインの幅、線種、色*/ padding-left: 10px; /*アクセントラインと文字の間にとる余白*/ } /*mainコンテンツの段落タグ設定*/ #main p { padding: 7px 15px 14px; /*上、左右、下への余白*/ } #main p + p { padding-top: 0px; } #main h2 + p, #main h3 + p { padding-top: 0px; margin-top: -5px; } /*Castページの各ブロック ---------------------------------------------------------------------------*/ /*各ボックスの共通設定*/ #main section.list { position: relative; overflow: hidden; font-size: 11px; /*文字サイズ*/ line-height: 1.5; width: 23%; float: left; margin-left: 1.5%; margin-bottom: 15px; } #main section.list a { padding: 10%; /*ボックス内の余白*/ text-decoration: none; display: block; overflow: hidden; height: 180px; /*高さ*/ border: 1px solid #ccc; /*枠線の幅、線種、色*/ } .c2 #main section.list a { height: 210px; /*2カラム利用時の高さ*/ } /*ボックス内の段落タグ設定*/ #main section.list p { padding: 0px; } /*ボックス内のh4タグ設定*/ #main section.list h4 { font-size: 100%; margin-bottom: 0.5em; color: #2495df; /*文字色*/ } /*マウスオン時のボックス*/ #main section.list a:hover { background: #fff; /*背景色*/ color: #000; /*文字色*/ } /*スタッフ詳細ページ staff.html ---------------------------------------------------------------------------*/ /*写真とテーブルを囲むボックス*/ #main .staff { margin: 0px 10px; } /*左側ボックス*/ #main .staff .left { float: left; /*左に回り込み*/ width: 35%; /*幅*/ padding-bottom: 15px; } /*左側ボックス内の段落タグ*/ #main .staff .left p { padding: 0px; } /*右側ボックス*/ #main .staff .right { width: 60%; /*幅*/ float: right; /*右に回り込み*/ padding-bottom: 15px; } /*テーブルタグの左側の見出し(※幅以外は下の方にある「テーブル1」のスタイルで設定しています)*/ #main .staff .right .ta1 th { width: 100px; /*幅*/ } /*sub,sideコンテンツ ---------------------------------------------------------------------------*/ #sub,#side { width: 180px; /*幅*/ background: #1893e2; /*背景色*/ padding: 10px 10px 0px; overflow: hidden; } #sub { float: left; /*左に回り込み*/ } #side { float: right; /*右に回り込み*/ } .c2 #side { display: none; /*2カラム利用時にsideブロックを非表示にする設定*/ } /*sub,sideコンテンツ内のh2タグ設定*/ #sub h2, #side h2 { font-size: 100%; background: #fff; /*背景色*/ background: -webkit-linear-gradient(#FFF, #dcdcdc); /*グラデーション*/ background: linear-gradient(#FFF, #dcdcdc); /*同上*/ color: #000; /*文字色*/ text-align: center; /*文字をセンタリング*/ padding: 5px 0px; /*上下、左右への余白*/ } /*sub,sideコンテンツ内のpタグ設定*/ #sub p, #side p { padding: 0px 0px 5px; } /*sub,sideコンテンツ内のメニュー ---------------------------------------------------------------------------*/ /*メニュー全体の設定*/ #sub ul.submenu, #side ul.submenu { margin-bottom: 15px; /*メニューブロックの下に空けるスペース*/ background: #000; /*背景色*/ } #sub .box1 ul.submenu, #side .box1 ul.submenu { margin-bottom: 0; } /*メニュー1個ごとの設定*/ #sub ul.submenu li, #side ul.submenu li{ border-top: 1px solid #fff; /*下線の幅、線種、色*/ } #sub ul.submenu li a, #side ul.submenu li a { text-decoration: none; display: block; padding: 0px 10px; /*メニュー内の余白。上下、左右への設定。*/ } /*sub,sideコンテンツ内のbox1 ---------------------------------------------------------------------------*/ #sub .box1, #side .box1 { margin-bottom: 15px; /*ボックスの下に空けるスペース*/ border: 1px solid #fff; /*枠線の幅、線種、色*/ background: #000; /*背景色*/ } #sub .box1 p, #side .box1 p { padding: 10px; } /*フッター設定 ---------------------------------------------------------------------------*/ footer { clear: both; text-align: center; padding: 10px 0px; } footer a { text-decoration: none; } footer .pr { display: block; font-size: 80%; } /*トップページ内「更新情報・お知らせ」ブロック ---------------------------------------------------------------------------*/ /*ブロック全体の設定*/ #new dl{ padding-left: 15px; margin-bottom: 15px; height: 170px; overflow: auto; } /*日付設定*/ #new dt { font-weight: bold; /*太字にする設定。標準がいいならこの行削除。*/ float: left; width: 8em; } /*記事設定*/ #new dd { padding-left: 8em; } /*テーブル ---------------------------------------------------------------------------*/ /*ta1設定*/ .ta1 { width: 100%; margin-bottom: 15px; } .ta1, .ta1 td, .ta1 th { border: 1px solid #ccc; /*テーブルの枠線の幅、線種、色*/ padding: 10px; /*ボックス内の余白*/ word-break: break-all; } /*テーブル1行目に入った見出し部分*/ .ta1 th.tamidashi { width: auto; text-align: left; /*左よせ*/ background: #222; /*背景色*/ } /*ta1の左側ボックス*/ .ta1 th { width: 140px; /*幅*/ text-align: center; /*センタリング*/ } /*画像*/ .ta1 img { vertical-align: bottom; } /*CMS用(schedule2.htmlのテーブルスタイル)*/ .ta1.schedule-table td { width: 12%; } /*PAGE TOP設定 ---------------------------------------------------------------------------*/ #pagetop { clear: both; padding-top: 40px; } #pagetop a { color: #FFF; /*文字色*/ font-size: 20px; /*文字サイズ*/ background: #2495df; /*背景色*/ text-decoration: none; text-align: center; display: block; float: right; border-radius: 25px; /*角丸のサイズ*/ width: 50px; /*幅*/ line-height: 50px; /*高さ*/ margin-bottom: 30px; } /*マウスオン時*/ #pagetop a:hover { background-color: #999; /*背景色*/ color: #FFF; /*文字色*/ } /*トップページのNEWアイコン ---------------------------------------------------------------------------*/ .newicon { background: #F00; color: #FFF; font-size: 10px; padding: 0px 5px; border-radius: 2px; margin: 0px 5px; } /*「人気」「NEW」マーク ---------------------------------------------------------------------------*/ .mark1, .mark2 { display: inline-block; position: absolute; left: 4px; /*ボックス内の左から4pxの場所に配置*/ top: 4px; /*ボックス内の上から4pxの場所に配置*/ width: 30px; /*幅*/ line-height: 30px; /*高さ*/ font-size: 9px; /*文字サイズ*/ text-align: center; color: #fff; /*文字色*/ border-radius: 15px; /*角丸のサイズ。大きな数字であれば適当でもOK。*/ transform: rotate(-30deg); /*左回転で30度傾ける設定*/ } .mark1 { background: #df246f; /*mark1の背景色*/ } .mark2 { background: #249fdf; /*mark2の背景色*/ } /*その他 ---------------------------------------------------------------------------*/ .look {background: #333;} .mb15,.mb1em {margin-bottom: 15px;} .clear {clear: both;} ul.disc {padding: 0em 25px 1em;list-style: disc;} .color1 {color: #fffe43;} .pr {font-size: 10px;} .wl {width: 96%;} .ws {width: 50%;} .c {text-align: center;} .r {text-align: right;} .l {text-align: left;} img.fr {float: right;margin-left: 10px;margin-bottom: 10px;} img.fl {float: left;margin-right: 10px;margin-bottom: 10px;} .big1 {font-size: 30px;letter-spacing: 0.2em;} .mini1 {font-size: 11px;} /*画面幅800px以下の設定 ---------------------------------------------------------------------------*/ @media screen and (max-width:800px){ /*コンテナー(HPを囲む一番外側のブロック) ---------------------------------------------------------------------------*/ #container { width: auto; } /*ヘッダー(ロゴが入った最上段のブロック) ---------------------------------------------------------------------------*/ /*TEL*/ header #tel { margin-right: 70px; } /*メインメニュー ---------------------------------------------------------------------------*/ /*メニューブロック*/ #menubar-s { margin: 0px 10px 10px; } /*スマホ用メニューを非表示から表示に切り替える*/ #menubar-s { display: block; } /*PC用メニューを非表示にする*/ #menubar { display: none; } /*3本バーアイコン設定 ---------------------------------------------------------------------------*/ /*3本バーブロック*/ #menubar_hdr { display: block; position: absolute; top: 7px; /*上から7pxの場所に配置*/ right: 10px; /*右から10pxの場所に配置*/ width: 30px; /*幅*/ border: 1px solid #fff; /*枠線の幅、線種、色*/ border-radius: 4px; /*角丸のサイズ*/ padding: 12px 10px 5px; /*上、左右、下へのボックス内余白*/ } /*3本のバー(1本あたり)*/ #menubar_hdr span { display: block; border-top: 3px solid #fff; /*枠線の幅、線種、色*/ margin-bottom: 7px; /*バー同士の余白*/ } /*コンテンツ ---------------------------------------------------------------------------*/ /*main,sub,sideを囲むブロック設定*/ #contents { width: auto; padding: 0px 10px 10px; } /*main,subを囲むブロック設定*/ #contents-inner { float: none; width: auto; } /*main,sub,sideコンテンツ ---------------------------------------------------------------------------*/ #main, #sub, #side { float: none; width: auto; } /*Castページの各ブロック ---------------------------------------------------------------------------*/ /*各ボックスの共通設定*/ #main section.list a { height: 210px; } /*トップページ内「更新情報・お知らせ」ブロック ---------------------------------------------------------------------------*/ section#new h2.open { background: url(../images/btn_minus.png) no-repeat right center/34px 34px,linear-gradient(#3bcfff, #0f62d4); } section#new h2.close { background: url(../images/btn_plus.png) no-repeat right center/34px 34px,linear-gradient(#3bcfff, #0f62d4); } /*その他 ---------------------------------------------------------------------------*/ body.s-n #sub,body.s-n #side {display: none;} } /*画面幅600px以下の設定 ---------------------------------------------------------------------------*/ @media screen and (max-width:600px){ /*ヘッダー(ロゴが入った最上段のブロック) ---------------------------------------------------------------------------*/ /*ヘッダーブロック*/ header { text-align: center; } /*ロゴ画像*/ header #logo { float: none; margin: 0 auto; } /*TEL*/ header #tel { float: none; margin: 0 auto; margin-bottom: 20px; } /*メインメニュー ---------------------------------------------------------------------------*/ /*メニュー1個あたりの設定*/ #menubar-s li { width: 100%; float: none; border-bottom: 1px solid #000; } /*テーブル ---------------------------------------------------------------------------*/ /*テーブル内の左側*/ .ta1 th { width: 100px; padding: 5px; } /*テーブル内の右側*/ .ta1 td { width: auto; padding: 5px; } } /*画面幅480px以下の設定 ---------------------------------------------------------------------------*/ @media screen and (max-width:480px){ /*Castページの各ブロック ---------------------------------------------------------------------------*/ /*各ボックスの共通設定*/ #main section.list { float: none; width: auto; margin: 0; } #main section.list a { padding:10px; border:none; height: auto; } #main section.list figure { width: 20%; float: left; margin-right: 10px; } /*スタッフ詳細ページ staff.html ---------------------------------------------------------------------------*/ #main .staff .left,#main .staff .right { float: none; width: auto; } /*その他 ---------------------------------------------------------------------------*/ .ws,.wl {width: 90%;} img.fr,img.fl {float: none;margin: 0;width: 100%;} }
Save File
Cancel