@charset "utf-8";

/*
	Theme Name: 司法書士法人 リーガル札幌
	Description: 札幌市にある司法書士法人 リーガル札幌のWebサイトです。
	Theme URI:
	Author: muotoilu
	Author URI:
	Version: 
*/

body {
	font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
	color: #302400;
	background: url(img/bg.gif) repeat left top;
	line-height: 1.5em;
}

html,
body {
	width: 100%;
}


a.hoge {
	color: #302400;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	outline: 0 none;
	text-decoration: none;
}

a.hoge:hover,
a.hoge:active {
	color: #7e5c09;
}

p {
	margin-bottom: 15px;
	line-height: 1.5em;
}

i {
	margin-right: 5px;
}

h2 {
	padding: 8px 10px;
	margin-bottom: 25px;
	font-size: 28px;
	font-weight: normal;
	color: #fff;
	background: #f0b000;
}

h2 {
	border-radius: 3px;
}

h2 i {
	font-size: 28px;
	margin-right: 8px;
}

h3 {
	padding: 12px 10px;
	margin-bottom: 25px;
	font-size: 20px;
	font-weight: normal;
	background: url(./img/line.png) no-repeat left bottom;
}

h4 {
	padding: 12px 10px;
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: normal;
}

h4 i {
	font-size: 17px;
	margin-right: 8px;
}

.home h2 {
	margin-bottom: 15px;
	padding: 0;
	background: none;
}

/* clearfix */
.cf {
	zoom: 1;
}

.cf:before,
.cf:after {
	content: "";
	display: block;
}

.cf:after {
	clear: both;
}


#wrapper {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

#header {
	background: url(img/header_bg.png) repeat-x left top;
	height: 118px;
}

#main-nav-wrapper {
	background: url(img/nav_bg.png) repeat-x;
	margin-bottom: 45px;
	height: 74px;
}

#footer_wrapper {
	background: url(img/footer_bg.png) repeat-x left bottom;
	height: 334px;
}




/****** Header ******/
#header #header-inner {
	width: 960px;
	margin: 0 auto;
	padding: 35px 0 0 0;
}

#header-inner h1 {
	float: left;
	width: auto;
}

#header-inner .header-info {
	float: right;
	width: auto;
}

#header-inner h1.site-id a:hover {
	opacity: 0.7;
}



/****** Main 画像 ******/
.header-img {
	width: 960px;
	margin: 0 auto;
}



/****** Global Navigation ******/
nav {
	width: 960px;
	margin: 0 auto;
	padding-bottom: 45px;
}


nav li a {
	display: block;
	text-indent: -9999px;
}

nav#main-nav li {
	float: left;
	width: 192px;
}

nav#main-nav li.menu-item-home a {
	background: url(img/home_btn.png) no-repeat;
	height: 70px;
}

nav#main-nav li.menu-item-overview a {
	background: url(img/overview_btn.png) no-repeat;
	height: 70px;
}

nav#main-nav li.menu-item-expense a {
	background: url(img/expense_btn.png) no-repeat;
	height: 70px;
}

nav#main-nav li.menu-item-access a {
	background: url(img/access_btn.png) no-repeat;
	height: 70px;
}

nav#main-nav li.menu-item-contact a {
	background: url(img/contact_btn.png) no-repeat;
	height: 70px;
}


nav#main-nav li a:hover {
	background-position: 0 -75px;
}

/* ハイライト設定 */
body.home nav#main-nav ul li.menu-item-home a,
body.page-id-7 nav#main-nav ul li.menu-item-overview a,
body.page-id-13 nav#main-nav ul li.menu-item-expense a,
body.page-id-15 nav#main-nav ul li.menu-item-access a,
body.page-id-9 nav#main-nav ul li.menu-item-contact a {
	background-position: 0 -75px;
}

/*********** Contents ***********/
.main-area p {
	padding: 5px 10px;
}



#contents {
	width: 960px;
	margin: 0 auto;
}

#main-contents {
	float: right;
	width: 660px
}

aside#sidemenu {
	float: left;
	width: 220px;
}

#main-contents .main-area {
	margin-bottom: 70px;
	border-bottom: 1px dotted #C5BBAC;
}


/* News */
#news dl {
	width: 658px;
	margin-bottom: 15px;
	font-size: 14px;
	background: #44A78A;
	border: 2px solid #326666;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#news dt {
	float: left;
	width: 125px;
	padding: 15px 13px;
	color: #193333;
	border-bottom: 1px dotted #5a7e7e;
}

#news dd {
	float: left;
	width: 505px;
	border-bottom: 1px dotted #5a7e7e;
}

#news dt:last-child {
	border-bottom: 0;
}

#news dd:last-child {
	border-bottom: 0;
}

#news dd a {
	display: block;
	padding: 15px 10px;
	color: #f5f4f2;
	text-decoration: underline;
}

#news dd a:hover {
	color: #ddd;
}

#news p.list-link {
	float: right;
	padding: 0;
	text-align: center;
}

#news p.list-link a {
	display: block;
	padding: 8px 15px;
	font-size: 12px;
	background: #44A78A;
	border: 2px solid #326666;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#news p.list-link a:hover {
	background: #f5f4f2;
}

#news p.list-link i {
	padding-right: 8px;
	font-size: 12px;
}

#main-contents .main-area.no-brd {
	border-bottom: 0;
}






/*********** Topページ以外のページ ***********/
.businesswork p {
	line-height: 1.8;
}


table {
	width: 660px;
	border-collapse: collapse;
	margin-bottom: 25px;
}

table th {
	width: 120px;
	padding: 8px 10px;
	text-align: left;
	font-size: 14px;
	color: #f5f4f2;
	background: #302400;
	border: 1px solid #ddd;
}


table td {
	padding: 8px 10px;
	text-align: left;
	border: 1px solid #ccc;
}


.main-area .photo li {
	float: left;
	width: auto;
	margin-right: 6px;
	margin-bottom: 6px;
}

.main-area .photo li:last-child {
	margin-right: 0;
}


/******* 業務一覧 *******/
.page-id-26 p {
	line-height: 1.8em;
}


/* お問い合わせFrom */
form .fm-layout {
	width: 660px;
	background: #302400;
}

form dl.fm-layout dt,
form dl.fm-layout dd {
	padding: 20px;
	color: #f5f4f2;
}

form dl.fm-layout dt {
	float: left;
	width: 150px;
	font-weight: bold;
	font-size: 12px;
	/* 	border-top: 1px solid #f5f4f2; */
	border-left: 1px solid #f5f4f2;
	background: #302400;
	clear: both;
}

form dl.fm-layout dt.het {
	height: 200px;
}

form dl.fm-layout dd {
	padding-left: 210px;
	border-right: 1px solid #302400;
	border-top: 1px solid #302400;
	background: #f5f4f2;
}

form dl.fm-layout dd span.required {
	color: red;
}

form dl.fm-layout dd.b-btm {
	border-bottom: 1px solid #302400;
}

form .fm-layout span {
	font-size: 12px;
	color: #302400;
}

form dl.fm-layout dd textarea {
	width: 96%;
	padding: 5px 8px;
}

form dl.fm-layout .w300 {
	width: 300px;
}

form p.btn-wrapper {
	text-align: center;
	padding: 25px 0;
}

form p.btn-wrapper input {
	width: 95px;
	height: 40px;
	font-size: 13px;
	color: #f5f4f2;
	background: #302400;
	border: none;
	cursor: pointer;
}

form p.btn-wrapper input:hover {
	background: #7e5c09
}

.contact #main-contents .main-area {
	border-bottom: none;
}


/* ▼新着情報 */
.page-template-archive-news .archive-news p.post-meta,
.single-post p.post-meta {
	margin-bottom: 0;
	font-size: 14px;
	font-weight: bold;
}

.single-post p {
	line-height: 1.8em;
}

/* 新着一覧ページ */
.page-template-archive-news .archive-news {
	margin-bottom: 75px;
	line-height: 1.8em;
	border-bottom: 1px dotted #c5bbac;
}

.single-post h3,
.page-template-archive-news h3 {
	padding: 0 12px 10px;
	margin-bottom: 15px;
}

.page-template-archive-news h2.screen-reader-text {
	display: none;
}

.page-template-archive-news h3 a {
	text-decoration: underline;
}

.archive-news a.more-link {
	color: #44A78A;
}

.archive-news a.more-link:hover {
	color: #006464;
}

/* ページャー */
.nav-links a {
	display: inline-block;
	border: 1px solid #302400;
	color: #302400;
	text-decoration: none;
}

.nav-links a .nav-links a {
	color: #302400;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	outline: 0 none;
	text-decoration: none;
}

.nav-links a:hover {
	background: #44A78A;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	outline: 0 none;
	text-decoration: none;
}

.nav-links a.prev,
.nav-links a.next {
	padding: 3px 4px;
}

.nav-links a.page-numbers {
	padding: 3px 6px;
}

/*********** Side Navi ***********/
aside#sidemenu {
	margin-bottom: 45px;
}

.r-nav {
	margin-bottom: 15px;
}

.r-nav h2 {
	margin-bottom: 3px;
	padding: 0;
	font-size: 18px;
	color: #302400;
	text-align: left;
}

.r-nav ul {
	background: #eeddbc;
	border: 2px solid #F39800;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.r-nav ul li {
	border-bottom: 1px solid #f5f4f2;
}

.r-nav ul li a {
	display: block;
	padding: 10px 12px;
	font-size: 18px;
	color: #302400;
	text-decoration: none;
}

.r-nav ul li a:hover {
	text-decoration: underline;
}

.r-nav ul li a:last-child {
	border-bottom: 0;
}

.r-nav ul li a span {
	font-size: 15px;
}

.r-nav i {
	font-size: 17px;
	margin-right: 5px;
	vertical-align: middle;
}

.r-nav h2.recent-post {
	margin-bottom: 3px;
	padding: 10px 12px;
	background: #44a78a;
	color: #f6f5f4;
	border: 2px solid #326666;
	font-size: 17px;
}

.r-nav h2.recent-post i {
	margin-left: 2px;
	font-size: 16px;
}

.rnav-post ul {
	background: #44a78a;
	border: 2px solid #326666;
}

.rnav-post ul li:last-child {
	border-bottom: 0;
}

.rnav-post ul li a {
	display: inline-block;
	font-size: 14px;
	color: #193333;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	outline: 0 none;
	text-decoration: none
}

.rnav-post ul li a:hover {
	color: #f6f5f4;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	outline: 0 none;
}

/*********** Footer ***********/
#footer-contents {
	width: 960px;
	margin: 0 auto;
	padding-top: 40px;
}

#footer-contents address {
	float: left;
	width: 220px;
}

#footer-contents address {
	padding-right: 15px;
	font-size: 14px;
	color: #f5f4f2;
	border-right: 1px dotted #f5f4f2;
}

#footer-contents .footer-nav {
	float: left;
	width: 220px;
}

#footer-contents .footer-nav a {
	display: inline-block;
	margin-left: 40px;
	padding: 3px 5px;
	font-size: 14px;
	color: #f5f4f2;
}

#footer-contents .footer-nav a:hover {
	color: #7e5c09;
	text-decoration: underline;
}

#footer-contents .footer-nav i {
	font-size: 14px;
	padding-right: 8px;
}


/* Back to Top Button */
#pageTop {
	background: #44A78A;
	border-radius: 5px;
	color: #FFF;
	padding: 0;
	position: fixed;
	bottom: 20px;
	right: 20px;
}

#pageTop:hover {
	background: #7E5C09;
}



nav li a {
	color: #302400;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
	outline: 0 none;
	text-decoration: none;
}

nav li a:hover,
nav li a:active {
	color: #7e5c09;
}

dl.fm-layout P {
	padding: 0;
	margin: 0;
	line-height: 0;
}





/* ==================================================
   Contact Form 7 リニューアル用スタイル（リーガル札幌）
================================================== */
.ls-contact-form,
.ls-contact-form *,
.ls-contact-form *::before,
.ls-contact-form *::after {
	box-sizing: border-box;
}

.ls-contact-form {
	width: 100%;
	margin: 10px 0 30px;
	padding: 28px 32px 36px;
	background: #ffffff;
	border: 1px solid #e2dacb;
	border-top: 4px solid #326666;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(48, 36, 0, 0.06);
	color: #302400;
	font-family: 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

/* 既存 .main-area p の余白指定・CF7自動<p>/<br>をリセット */
.ls-contact-form p {
	padding: 0;
	margin: 0;
	line-height: 1.6;
}

.ls-contact-form .ls-form-label br,
.ls-contact-form .ls-form-submit br {
	display: none;
}

/* リード文 */
.ls-contact-form p.ls-form-lead {
	margin-bottom: 24px;
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.8;
	color: #4a3c1a;
	background: #faf8f3;
	border-left: 3px solid #f0b000;
	border-radius: 4px;
}

.ls-contact-form p.ls-form-lead .ls-badge-required {
	margin: 0 4px;
	vertical-align: 1px;
}

/* 各入力行 */
.ls-form-row {
	display: grid;
	grid-template-columns: 180px 1fr;
	column-gap: 20px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid #ede8de;
}

.ls-form-row:first-of-type {
	border-top: 1px solid #ede8de;
}

/* ラベル側 */
.ls-form-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 10px;
	font-size: 14px;
	font-weight: bold;
	color: #302400;
	line-height: 1.4;
}

.ls-form-label label {
	cursor: pointer;
}

/* 必須バッジ */
.ls-badge-required {
	display: inline-block;
	flex-shrink: 0;
	padding: 2px 7px;
	font-size: 11px;
	font-weight: bold;
	line-height: 1.3;
	color: #ffffff;
	background: #c63d3d;
	border-radius: 3px;
	letter-spacing: 0.04em;
}

/* 入力欄側 */
.ls-form-field {
	min-width: 0;
}

.ls-contact-form .wpcf7-form-control-wrap {
	display: block;
}

/* テキスト・メール・電話・セレクト・テキストエリア共通 */
.ls-contact-form input[type="text"],
.ls-contact-form input[type="email"],
.ls-contact-form input[type="tel"],
.ls-contact-form select,
.ls-contact-form textarea {
	display: block;
	width: 100%;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: #302400;
	background-color: #faf9f6;
	border: 1px solid #cfc7b8;
	border-radius: 5px;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ls-contact-form input[type="text"],
.ls-contact-form input[type="email"],
.ls-contact-form input[type="tel"],
.ls-contact-form select {
	min-height: 44px;
}

.ls-contact-form textarea {
	min-height: 160px;
	line-height: 1.7;
	resize: vertical;
}

.ls-contact-form input::placeholder,
.ls-contact-form textarea::placeholder {
	color: #a69c8b;
	font-size: 14px;
}

/* フォーカス時 */
.ls-contact-form input[type="text"]:focus,
.ls-contact-form input[type="email"]:focus,
.ls-contact-form input[type="tel"]:focus,
.ls-contact-form select:focus,
.ls-contact-form textarea:focus {
	background-color: #ffffff;
	border-color: #44A78A;
	box-shadow: 0 0 0 3px rgba(68, 167, 138, 0.18);
	outline: none;
}

/* セレクトボックスの矢印カスタマイズ */
.ls-contact-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 38px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23302400' d='M1.41.59 6 5.17 10.59.59 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
}

/* 補足テキスト */
.ls-form-note {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #7a6e5a;
	line-height: 1.4;
}

/* 送信ボタンエリア */
.ls-form-submit {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 30px;
}

.ls-contact-form .ls-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 240px;
	height: 50px;
	padding: 0 36px;
	font-family: inherit;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.1em;
	color: #ffffff;
	background: #326666;
	border: none;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(50, 102, 102, 0.24);
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.ls-contact-form .ls-submit-btn:hover {
	background: #44A78A;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(68, 167, 138, 0.32);
}

.ls-contact-form .ls-submit-btn:active {
	transform: translateY(0);
}

/* CF7 スピナー中央揃え */
.ls-contact-form .wpcf7-spinner {
	margin: 12px 0 0;
}

/* CF7 バリデーションエラー表示 */
.ls-contact-form .wpcf7-not-valid {
	border-color: #c63d3d !important;
	background-color: #fff8f8 !important;
}

.ls-contact-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 12px;
	font-weight: normal;
	color: #c63d3d;
	line-height: 1.4;
}

/* CF7 送信結果メッセージボックス */
.wpcf7 form .wpcf7-response-output {
	margin: 22px 0 0;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.7;
	border-radius: 6px;
	border-width: 1px;
}

.wpcf7 form.sent .wpcf7-response-output {
	color: #1f4d40;
	background: #eef8f4;
	border-color: #44A78A;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	color: #8f2424;
	background: #fdf2f2;
	border-color: #e09b9b;
}

/* 将来レスポンシブ化した場合のフォールバック */
@media screen and (max-width: 767px) {
	.ls-contact-form {
		padding: 20px 16px 28px;
	}

	.ls-form-row {
		grid-template-columns: 1fr;
		row-gap: 8px;
		padding: 14px 0;
	}

	.ls-form-label {
		justify-content: flex-start;
		padding-top: 0;
	}

	.ls-contact-form .ls-submit-btn {
		width: 100%;
	}
}