@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ(遺言書の書き方講座 用。賢威7時代の見た目を再現)
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*********************************************************************
*  共通の色
*********************************************************************/
:root {
	--yuigon-green: #6ab517;
	--yuigon-teal: #16a085;
	--yuigon-blue-light: #dce6f2;
	--yuigon-orange: #f60;
	--yuigon-line: #cfcfcf;
}

/*********************************************************************
*  背景(壁紙)とコンテンツの白枠
*********************************************************************/
body {
	background-image: url(/wp-content/uploads/2018/01/wallppr073.gif);
}
.l-mainContent__inner,
.l-sidebar .c-widget {
	background: #fff;
}
a:hover {
	color: var(--yuigon-orange);
}

/*********************************************************************
*  ページ最上部の一行目(カスタムフィールド「一行目」)
*********************************************************************/
.top-line {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	font-size: 0.8em;
	font-weight: normal;
	line-height: 1.4;
}

/*********************************************************************
*  ヘッダー(ヘッダー画像をロゴとして横幅いっぱいに表示)
*********************************************************************/
.l-header {
	background: transparent;
	box-shadow: none;
}
@media (min-width: 960px) {
	.l-header__inner {
		max-width: 1200px;
		padding: 0;     /* ヘッダー画像を白枠と同じ横幅(1200px)で表示する */
	}
}
.l-header__gnav {
	display: none;  /* 賢威時代もグローバルナビは無し(未設定だと固定ページ一覧が出るため隠す) */
}

/*********************************************************************
*  ページタイトル・アーカイブタイトル
*********************************************************************/
.c-pageTitle {
	padding: 5px 20px;
	border: none;
	background: var(--yuigon-green);
	color: #fff;
	font-size: 1.125em;
	line-height: 1.5;
}
.-type-archive .c-pageTitle,
.archive .c-pageTitle {
	background: var(--yuigon-teal);
}
.c-pageTitle__inner::before,
.c-pageTitle__inner::after {
	display: none;
}
.c-pageTitle__inner {
	float: none;   /* カテゴリー等の見出しで背景が半分にならないようにする */
	margin: 0;
	padding: 0;
	border: none;
}
.c-pageTitle__subTitle {
	display: none;
}
/* 投稿のタイトルも緑の帯にする */
.c-postTitle__ttl {
	padding: 5px 20px;
	background: var(--yuigon-green);
	color: #fff;
	font-size: 1.125em;
	line-height: 1.5;
}

/*********************************************************************
*  本文の回り込み画像(SWELLは余白なしのため、賢威7と同じ余白を付ける)
*********************************************************************/
.post_content .alignleft {
	float: left;
	margin: 0 1em 1em 0;
}
.post_content .alignright {
	float: right;
	margin: 0 0 1em 1em;
}
.post_content .aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

/*********************************************************************
*  本文の見出し
*********************************************************************/
.post_content h2 {
	margin: 60px 0 30px;
	padding: 5px 18px;
	background: var(--yuigon-green);
	color: #fff;
	font-size: 1.2em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.post_content h2.front-title {
	margin: 0 0 1em;
	padding: 5px 20px;
	font-size: 1.125em;
	box-shadow: none;
}
.post_content h2::before,
.post_content h2::after {
	display: none;
}

/*********************************************************************
*  テーブル
*********************************************************************/
.post_content table {
	border-top: 1px solid var(--yuigon-line);
	border-left: 1px solid var(--yuigon-line);
	border-collapse: collapse;
}
.post_content th,
.post_content td {
	padding: 0.5em;
	border: none;
	border-right: 1px solid var(--yuigon-line);
	border-bottom: 1px solid var(--yuigon-line);
}

/*********************************************************************
*  サイドバー(白い箱に、緑と灰色の下線付き見出し)
*********************************************************************/
.l-sidebar .c-widget {
	margin-bottom: 30px;
	padding: 20px;
	border: 1px solid #ddd;
}
.c-widget__title.-side {
	position: relative;
	margin: 0 0 1em;
	padding: 0 0 10px;
	border-bottom: 4px solid #ccc;
	background: none;
	color: #333;
	font-size: 1em;
	font-weight: normal;
}
.c-widget__title.-side::before {
	display: block;
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 20%;
	height: 4px;
	background: var(--yuigon-teal);
	content: "";
}
.c-widget__title.-side::after {
	display: none;
}
.l-sidebar .c-widget a {
	color: #03c;
	text-decoration: underline;
}
.l-sidebar .c-widget a:hover {
	color: var(--yuigon-orange);
}
.l-sidebar .c-listMenu a::before {
	display: inline-block;  /* 矢印には下線を付けない */
}
.l-sidebar .c-listMenu a {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	border-bottom: none;
}

/*********************************************************************
*  フッター
*********************************************************************/
.l-footer {
	background: #aaa;
	color: #fff;
}
.l-footer a {
	color: #fff;
}
.l-footer a:hover {
	color: var(--yuigon-orange);
}
.l-footer .copyright {
	margin: 0;
	padding: 15px 0;
	background: var(--yuigon-teal);
	color: #fff;
}

/*********************************************************************
*  記事の強調
*********************************************************************/
div.postkyoutyo {
	display: flow-root;
	margin: 10px;
	padding: 10px 10px 10px 15px;
	border-radius: 10px;
	background-color: var(--yuigon-blue-light);
}
div.postkyoutyo li {
	margin: 20px 0;
	line-height: 25px;
}
div.postkyoutyo_lite {
	display: flow-root;
	margin: 10px;
	padding: 10px 10px 10px 15px;
	border: solid;
	border-radius: 10px;
}

/*********************************************************************
*  Q&A
*********************************************************************/
.question,
.answer {
	margin: 10px;
	padding: 10px 10px 10px 60px;
	border-radius: 10px;
	background-repeat: no-repeat;
	background-position: left top;
}
.question {
	background-color: var(--yuigon-blue-light);
	background-image: url(images/q.gif);
	font-weight: bold;
}
.answer {
	background-color: #fef6f0;
	background-image: url(images/a.gif);
}

/*********************************************************************
*  お問い合わせフォーム(Contact Form 7)
*********************************************************************/
.wpcf7-form {
	padding: 20px;
	border-radius: 20px;
	background-color: aliceblue;
}
.wpcf7-form .wpcf7-text {
	width: 80%;
}
.wpcf7-form textarea {
	width: 100%;
}
.wpcf7-form p.submit {
	text-align: center;
}

/*********************************************************************
*  リンク画像のマウスオーバー
*********************************************************************/
a:hover img {
	opacity: 0.5;
}

@media only screen and (max-width: 736px) {
	.post_content h2 {
		font-size: 1.25em;
	}
}
