/*
Theme Name: Starters Theme
Author: ayumi tsuji
Description: 相談室サイト作成用、スターターテーマ
Version: 1.0
License: GNU General Public License
License URI: license.txt
*/


/* =import
--------------------------------------------------------------*/ 
@import url(layouts/960_12_col.css);


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.5;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0.5em 0.5em 1.5em 0.5em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100% !important; /* Adhere to container width. */
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: royalblue;
	text-decoration:none;
}
a:visited {
	color: #1B43A8;
}
a:hover,
a:focus,
a:active {
	color: midnightblue;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}


/* =Menu
----------------------------------------------- */

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}

/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
	font-size:2.0em;
	color:#0F3E6D;
	font-weight:bold;
	padding:20px 80px;
	
}



/* =Content
----------------------------------------------- */

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-main [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}


/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}


/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}




/* tsuji Original css
----------------------------------------------- */
#page {
	background-image:url(images/body_bk_img.png);
	background-repeat:repeat;
}

#head_bg {
	background-color: #FFF;
	background-image: -moz-linear-gradient(top, transparent, #48c0fc);
	background-image: -ms-linear-gradient(top, transparent, #48c0fc);
	background-image: -o-linear-gradient(top, transparent, #48c0fc);
	background-image: -webkit-gradient(linear, center top, center bottom, from(transparent), to(#48c0fc));
	background-image: -webkit-linear-gradient(top, transparent, #48c0fc);
	background-image: linear-gradient(top, transparent, #48c0fc);
	/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/
	width: 100%;
	border-top-width: 3px;
	border-bottom-width: 5px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #ccfafa;
	border-bottom-color: #00609e;
}

#head_bg2 {
	background-image: url(images/head_bg_img3.png);
	background-repeat: no-repeat;
	background-position: center top;
}

.header-title,.header-description {
	font-size: 0.8em;
	padding:1px 0 0 10px;
	color: #004594;
}
.header-title a:hover{
	text-decoration:none;
	color:#0F3E6D;
}

/* メインナビ */
#site-navigation {
	padding:0 10px;
	background-image: -moz-linear-gradient(top, #64cafd, #95d0e8 50%, #48c0fc);
	background-image: -ms-linear-gradient(top, #64cafd, #95d0e8 50%, #48c0fc);
	background-image: -o-linear-gradient(top, #64cafd, #95d0e8 50%, #48c0fc);
	background-image: -webkit-gradient(linear, center top, center bottom, from(transparent)/*,color-stop(0.5, #95d0e8)*/, to(#48c0fc));
	background-image: -webkit-linear-gradient(top, transparent,/* #95d0e8 50%,*/ #48c0fc);
	background-image: linear-gradient(top, #64cafd, #95d0e8 50%, #48c0fc);
	/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/

}

#site-navigation ul li {
	font-size:1.1em;
	color:#0F3E6D;
	border-right:#00609e 1px solid;
	border-left:white 1px solid;
	font-weight:bold;
	
	
}
#site-navigation ul li a{
	text-decoration:none;
	color:#0F3E6D;
	padding:10px;

}
#site-navigation ul li a:hover {
	text-decoration:none;
	color:#fff;
	background-color:#00609e;
	text-shadow: 2px 2px 4px #131E4C,-2px -2px 4px #131E4C;
	
}

#site-navigation .sub-menu {
	background-color:#ccfafa;
	filter:alpha(opacity=85);
     -moz-opacity:0.85;
     -khtml-opacity: 0.85;
     opacity:0.85;
	margin-top:15px;
	padding:10px;
	-moz-border-radius: 8px 8px 8px 8px;
	-ms-border-radius: 8px 8px 8px 8px;
	-o-border-radius: 8px 8px 8px 8px;
	-webkit-border-radius: 8px 8px 8px 8px;

	
}

#site-navigation .sub-menu li {
	border:none;
	font-size:0.8em;
}
#site-navigation .sub-menu li a:hover {
	-moz-border-radius: 8px 8px 8px 8px;
	-ms-border-radius: 8px 8px 8px 8px;
	-o-border-radius: 8px 8px 8px 8px;
	-webkit-border-radius: 8px 8px 8px 8px;
	background-color:#00609e;
	filter:alpha(opacity=85);
     -moz-opacity:0.85;
     -khtml-opacity: 0.85;
     opacity:0.85;
}

/* コンテンツ */
#content {
	background-color:#FFF;
	-moz-box-shadow: inset 0 0 2px #FFF, 0 0 5px #cacaca;
	-webkit-box-shadow: inset 0 0 2px white, 0 0 5px #CACACA;
	box-shadow: inset 0 0 2px white, 0 0 5px #CACACA;
	margin-top:2px;

}

#main {
	margin:8px 5px 12px 10px;
}


#main article {
	margin:5px 0 15px 5px;
	background-color:#FCFCFC;
	padding:5px;
	-moz-border-radius: 2px 2px 2px 2px;
	-ms-border-radius: 2px 2px 2px 2px;
	-o-border-radius: 2px 2px 2px 2px;
	-webkit-border-radius: 2px 2px 2px 2px;
	box-shadow: 2px 6px 6px -6px #777777;
	-moz-box-shadow: 2px 6px 6px -6px #777777;
	-ms-box-shadow: 2px 6px 6px -6px #777777;
	-o-box-shadow: 2px 6px 6px -6px #777777;
	-webkit-box-shadow: 2px 6px 6px -6px #777777;
	border:1px solid #eaeaea;
}

#main article .entry-header {
}


#main article .entry-title {
	font-size: 1.2em;
	color: #190a02;
	padding:12px 24px 0;
	border-bottom:2px solid #00609e;
}

#main article .entry-title a {
		color:#190a02;
		text-decoration:none;
}

#main article .entry-title a:hover {
		color:#00609e;
		text-decoration:none;
}

#main article .entry-meta {
	font-size:0.7em;
	padding:5px 20px;

}

#main article .entry-meta span {
	padding:0 0 0 15px;
}

#main article .entry-summary {
}

#main article .entry-content {
	padding:5px 12px;
	margin:0;
}

.party_event_info {
	margin-bottom:24px;
	
}

#main #ts_info {
	margin:40px 60px;
}
#main #ts_info h3 {
	margin:0 auto;
	padding:0 20px;
	font-size:110%;
	border-bottom:1px solid #00609e;
}
#main #ts_info .hp_link {
	font-size: 0.8em;
	line-height: 1.2em;
	margin:8px 0 24px 0;	
}

#main #ts_info a{
	text-decoration:none;
}

#main #ts_info a img{
	height: 60%;
	width: 60%;
}


#main #ts_info a:hover{
	text-decoration:underline;
}

#main #ts_info .hp_link a:hover img{
	opacity:0.7;
}

#main #ts_info .hp_link2 {
	font-size: 1.1em;
	margin:0;	
}
/*archiveページ */
#main article .ac_tn_img {
	float:left;
	padding:0.5em 1em 0;
}

/* 固定ページ */
	/* 慶びの声ページ */
.yorokobi_v {
	margin:5px 6px 24px;
	background-color:#EDFFBB;
	padding: 12px 30px 6px;
	-moz-border-radius: 20px 20px 20px 20px;
	-ms-border-radius: 20px 20px 20px 20px;
	-o-border-radius: 20px 20px 20px 20px;
	-webkit-border-radius: 20px 20px 20px 20px;
	box-shadow: 2px 6px 6px -6px #777777;
	-moz-box-shadow: 2px 6px 6px -6px #777777;
	-ms-box-shadow: 2px 6px 6px -6px #777777;
	-o-box-shadow: 2px 6px 6px -6px #777777;
	-webkit-box-shadow: 2px 6px 6px -6px #777777;
	border:1px solid #eaeaea;
	font-size:0.9em;
	
}
	/* 筆者の紹介ページ,
	相談所紹介ページ */
#writer_intro .wp-image-106 {
	padding:0 12px 24px;
}

#writer_intro h2 {
	display:inline;
	font-size:1.1em;
	font-weight:bold;
	margin-left:12px;
	margin-top:24px;
	
}
#writer_intro h2 span {
	font-size:0.8em;
}
#writer_intro .subcome {
	margin-top:12px;
	margin-bottom:36px;
	font-size:0.9em;
}
#writer_intro .wi_h3,#minamisibu_intro .wi_h3 {
	display:inline;
	margin-bottom:36px;
	margin-left:12px;
	margin-right:12px;
	padding:10px 12px 3px;
	border-bottom:solid 2px #00609e;
	font-size:1.0em;
	font-weight:bold;
}
#writer_intro p,#minamisibu_intro p{
	margin-top:8px;
	font-size:0.9em;
}

#writer_intro table,#minamisibu_intro table{
	font-size:0.8em;
}


#writer_intro table　td {
	text-align:center;
}


#writer_intro ul {
	margin:12px 12px 12px 24px;
	font-size:0.9em;
}
#writer_intro .wp-image-91 {
	padding:10px;
}
#minamisibu_intro #attachment_135{
	font-size:0.8em;
	padding:5px;
}

#minamisibu_intro .page_inbox {
	margin:3px 20px 20px;
}

#minamisibu_intro .page_inbox .page_h4 {
	font-size: 1.0em;
	color:#00609e;
	padding-left:12px;
	padding-top:12px;

}
#minamisibu_intro .page_inbox p {
	margin-top:3px;
	margin-bottom:6px;
}

/* サイドバー */
#secondary {
		text-decoration:none;
		margin-bottom:12px;
}

#secondary aside {
	margin:8px 15px 12px 5px;
	background-color:#FCFCFC;
	padding: 0;
	-moz-border-radius: 5px 5px 5px 5px;
	-ms-border-radius: 5px 5px 5px 5px;
	-o-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	box-shadow: 2px 6px 6px -6px #777777;
	-moz-box-shadow: 2px 6px 6px -6px #777777;
	-ms-box-shadow: 2px 6px 6px -6px #777777;
	-o-box-shadow: 2px 6px 6px -6px #777777;
	-webkit-box-shadow: 2px 6px 6px -6px #777777;
	border:1px solid #eaeaea;
}

#secondary aside .widget-title {
	margin:0;
	background-color:#FCFCFC;
	padding: 3px 24px;
	-moz-border-radius: 5px 5px 0 0;
	-ms-border-radius: 5px 5px 0 0;
	-o-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	background-image: -moz-linear-gradient(top, #64cafd, #95d0e8 80%, #48c0fc);
	background-image: -ms-linear-gradient(top, #64cafd, #95d0e8 80%, #48c0fc);
	background-image: -o-linear-gradient(top, #64cafd, #95d0e8 80%, #48c0fc);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#64cafd),color-stop(0.8, #95d0e8), to(#48c0fc));
	background-image: -webkit-linear-gradient(top, , #95d0e8 80%, #48c0fc);
	background-image: linear-gradient(top, #64cafd, #95d0e8 80%%, #48c0fc);
	/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/
	border-bottom:solid 2px #00609e;
	color: #0F3E6D;
	font-size:1.1em;
}

#secondary aside .search_box{
	margin:12px 24px;
}


#secondary aside ul {
	list-style:none;
}

#secondary aside ul li {
	border:#e8e8e8 solid 1px;
	margin-bottom:0.2em;

}

#secondary aside ul li a {
	display:block;
	padding:0.2em 0.2em 0.2em 1.0em;
	font-size:0.9em;


	
}
#secondary aside ul li .post-date{
	display:block;
	font-size: 0.7em;
	padding:0 1em 0.2em 6em;
	text-align:right;
	
}

#secondary aside ul li a:hover  {
	background-image: -moz-linear-gradient(top, #ccfafa, rgba(255, 255, 255, 0));
	background-image: -ms-linear-gradient(top, #ccfafa, transparent);
	background-image: -o-linear-gradient(top, #ccfafa, transparent);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#ccfafa), to(transparent));
	background-image: -webkit-linear-gradient(top, #ccfafa, transparent);
	background-image: linear-gradient(top, #ccfafa, transparent);
	/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/
	
}

#secondary aside #prof_hu {
	margin:12px;
}

#secondary aside #prof_hu .portrait {
	padding: 2px;
	box-shadow: 2px 6px 6px -6px #777777;
	-moz-box-shadow: 2px 6px 6px -6px #777777;
	-ms-box-shadow: 2px 6px 6px -6px #777777;
	-o-box-shadow: 2px 6px 6px -6px #777777;
	-webkit-box-shadow: 2px 6px 6px -6px #777777;
	border: 1px solid #eaeaea;
	background-color: #FFF;
	float: right;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 10px;
}

#secondary aside #prof_hu .prof_name{
	float: left;
	margin-top:0.8em;
}
#secondary aside #prof_hu .prof_name .name1{
	font-weight:bold;
	margin-bottom:0.8em;
	
}
#secondary aside #prof_hu .prof_name .prof_sabcome{
	font-size: 0.8em;
	margin-bottom:0;
	padding-bottom:0;
}


#secondary aside #prof_hu .prof_text{
	clear: both;
}



/* フッター */
.site-footer {
	background-color:#ccfafa;

}
#footer_contents {
	padding:24px 0 12px 0;
	background-color:#ccfafa;
	
}

#footer_contents .foot_widget {
	border-bottom:#999 solid 1px;
}
#footer_contents .fwsp {
	margin-left:1em;
	margin-right:1em;
}

/*#footer_contents .fw_rline {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCC;
}
*/#footer_contents .foot_widget .widget-title {
	padding-left:1.2em;
	border-bottom:solid 2px #00609e;
	color: #0F3E6D;
}
	

#footer_contents .foot_widget ul {
	list-style:none;
}
#footer_contents .foot_widget ul li {
	padding-bottom:0.6em;
}
#footer_contents .site-info {
	margin-top:24px;
	margin-bottom:12px;
}

#footer_contents .site-info .backtomain {
	float:left;
	margin-left:100px;
}


#footer_contents .site-info .copyrights {
	color:#888;
	float:right;
	margin-right:100px;
}

@media screen and (max-width: 980px) {
	html {
	font-size: 80%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}



	#page,#head_bg,#head_bg2 {
		background-image:none;
		border:none;
	}
	#masthead {
	background-color: #FFF;
	background-image: -moz-linear-gradient(top, transparent, #48c0fc);
	background-image: -ms-linear-gradient(top, transparent, #48c0fc);
	background-image: -o-linear-gradient(top, transparent, #48c0fc);
	background-image: -webkit-gradient(linear, center top, center bottom, from(transparent), to(#48c0fc));
	background-image: -webkit-linear-gradient(top, transparent, #48c0fc);
	background-image: linear-gradient(top, transparent, #48c0fc);
	/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/
	border-top-width: 3px;
	border-bottom-width: 5px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #ccfafa;
	border-bottom-color: #00609e;
	}
	/* メインナビ */
	#site-navigation ul li a {
		font-size:1.0em;
    }
	/* コンテンツ */
	#main #ts_info a img{
		height: 80%;
		width: 80%;
	}
	
	
/* サイドバー */
#secondary aside .search_box{
	margin:12px 16px;
}

#secondary aside #prof_hu .portrait {
	margin-left: 3px;

}
#secondary aside #prof_hu .prof_name{
	margin-top:0.8em;
}
#secondary aside #prof_hu .prof_name .name1{
	font-weight:bold;
	margin-bottom:0.8em;
	
}
#secondary aside #prof_hu .prof_name .prof_sabcome{
	font-size: 0.6em;
	margin-bottom:0;
	padding-bottom:0;
}

}


@media screen and (max-width: 500px) {
	html {
	font-size: 100%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	}

	/* メインナビ */
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
	#site-navigation ul li {
		float:none;
		padding-top:10px;
		padding-bottom:10px;
		font-size:1.6em;

	}

	#site-navigation ul li a {
		padding-top:10px;
		padding-bottom:10px;

	}
	#site-navigation .sub-menu {
		margin-top:0;
		margin-left:280px;
	}

	#site-navigation .sub-menu li {
	border:none;
	font-size:0.9em;
	}
	.main-navigation ul ul a {
	width: 300px;
    }


	/* コンテンツ */
	.container_12 .grid_8 {
	  width: 940px;
	}
	#content {
		font-size:1.4em;
	}
	#main article {
		margin:24px 12px 24px;
		padding:10px 12px;
	}
	#main article .entry-title {
		padding:12px 36px 0;
	}
	#main #ts_info a img{
		margin-top:1.2em;
		height: 90%;
		width: 90%;
	}
	
	/*archiveページ */
	#main article .ac_tn_img img {
		width:200px;
		height:200px;
	}

	/* 慶びの声ページ */
.yorokobi_v {
	margin:5px 6px 36px;
}
.yorokobi_v p img {
	width:300px;
	height:300px;
}


	/* サイドバー */
	.container_12 .grid_4 {
	  width: 940px;
	}
	#secondary aside {
		margin:1.2em ;
		-moz-border-radius: 20px 20px 20px 20px;
		-ms-border-radius: 20px 20px 20px 20px;
		-o-border-radius: 20px 20px 20px 20px;
		-webkit-border-radius: 20px 20px 20px 20px;
	}
	
	#secondary aside .widget-title {
		padding: 0.8em 1.4em;
		font-size:1.2em;
		-moz-border-radius: 20px 20px 0 0;
		-ms-border-radius: 20px 20px 0 0;
		-o-border-radius: 20px 20px 0 0;
		-webkit-border-radius: 20px 20px 0 0;
	
	}
	
	#secondary aside .search_box{
		margin:24px 36px;
	}
	#secondary aside ul li {
		margin-left:0.4em;
		margin-right:0.4em;
	
	}
	
	#secondary aside #prof_hu {
		margin:1em 1.2em 1em;
	}
	
	#secondary aside #prof_hu .portrait img{
		width:230px;
		height:230px;
		
	}
	
	#secondary aside #prof_hu .prof_name .prof_sabcome{
		font-size: 0.9em;
	}
	
	/* フッター */
	#footer_contents .foot_widget {
		display:none;
	}
}


