/* カスタム CSS をここに入力してください */

 /* ページ全体 サイドバーサイズ調整 */
@media only screen and (min-width: 1166px) {
#sidebar1 {
width: 291px !important;
}
#main {
width: 843px !important;
}
}
@media only screen and (max-width: 1165px) and (min-width: 768px) {
#sidebar1 {
width: 25% !important;
}
#main {
width: 74% !important;
}
}


body {
    font-family: Helvetica, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

body.home #inner-content {
	padding-top: 0 !important;
}
div.fusion-title:first-child {
	margin-top: 0 !important;
}

a.fusion-button {
	background: #565656;
}
.searchbox input[type="search"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.2;
    font-size: 16px !important;
    padding: 3% 2% !important;
}
h2.title-heading-center {
    color: white !important;
}
body div.sidebar .widget .heading h4, div.sidebar .widget h4 {
    background-color: #a8004c !important;
	color: white;
}
/* グローバルナビ */
.nav > li > a {
    padding-top: 21px !important;
}

/* ヘッダー画像 */
div#custom_header {
	margin: -1em auto 1em;
	max-width: 1350px;
}
@media (max-width:767px) {
	div#custom_header {
			margin-top: 0;
			height: auto;
	}
}

/* トップページレイアウト */
body.home main#main {
	padding-left: 0;
}
#inner-content {
	padding-right: 0;
}
img.top-academy {
	width: 100%;
	margin-bottom: 20px;
}

/* トップページ コンタクト */
div.top-contact {
	margin-top: 20px;
	padding: 10px;
	background-color: #fff2f9;
	color: #313131;
}
.top-contact tr th:first-child {
	width: 187px;
}
.top-contact tr th {
	padding: 10px;
	text-align: left;
	vertical-align: top;
}
.top-contact tr th h4 {
	margin-top: 0;
}
.top-contact tr th p {
	font-size: 0.8em;
}
.top-contact tr th p:nth-child(4) {
  text-align: right;
}
.top-contact tr th h4, .top-contact tr th a {
  color: #b9005f;
	text-decoration: none;
}
.top-contact tr th p a {
     position: relative;
     padding-left: 13px;
}
.top-contact p a:before {
     position: absolute;
     content: '';
     width: 0;
     height: 0;
     border: solid 6px transparent;
     border-left: solid 8px #b9005f;
     top: 50%;
     left: 0;
     margin-top: -5px;
}
.top-contact p a:hover {
	text-decoration: underline;
}

/* 各ページタイトル */
div.entry-title-wrap h1 {
  position: relative;
  color: #b9005f;
}
div.entry-title-wrap {
	position: relative;
	margin-bottom: 40px;
}
div.entry-title-wrap h1:after {
	content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 100%;
  height: 7px;
  background: -webkit-repeating-linear-gradient(-45deg, #fbe4f2, #fbe4f2 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #fbe4f2, #fbe4f2 2px, #fff 2px, #fff 4px);
}
div.entry-title-wrap:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 8px #b9005f;
  bottom: -15px;
  width: 20%;
}

/* トップ・ページ内小見出し */

/* 見出し2 + 関連記事タイトル */
body.home div#content h2, section.entry-content h2, h2.related-title {
	padding: 10px 0.5em 0.5em;
  color: #b9005f;
  background: #fae1f1;
  border-left: solid 5px #b9005f;
	-webkit-border-radius: unset;
	border-radius: unset;
	font-size: 1.2em;
    line-height: 1.5em;
}

/* 見出し3 + カテゴリータイトル */
article.post h3, h1.archive-title-add {
  position: relative;
  color: #b9005f;
	border-left: unset;
	padding: 0;
}
article.post h3, h1.archive-title-add {
	position: relative;
	margin-bottom: 40px;
}
article.post h3:before, h1.archive-title-add:before {
	content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 100%;
  height: 7px;
  background: -webkit-repeating-linear-gradient(-45deg, #fbe4f2, #fbe4f2 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #fbe4f2, #fbe4f2 2px, #fff 2px, #fff 4px);
}
article.post h3:after, h1.archive-title-add:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 8px #b9005f;
  bottom: -15px;
  width: 20%;
}
h1.archive-title-add.page {
	position: relative;
	margin-bottom: 70px;
}

/* 見出し4 */
article.page h4, article.post h4 {
	padding-left: 10px;
	font-size:1em;
	color: #b9005f;
}
h4.add_square {
	position: relative;
	padding-left: 2em !important;
	margin-top: 1.8em;
}
h4.add_square:before {
 content: '■';
	position: absolute;
    top: 1px;
    left: 10px;
    color: #a8004c;
}

/* 本文 */
.entry-content > p {
	padding-left: 10px;
}

/* 目次 */
.toc_title {
	color: #b9005f ;
}

/* 記事内リンク文字 */
.entry-content a {
	color: #003399;
}

/* サイドバー */
.textwidget .side-banner img {
	width: 100%;
}
.sidebar .widget h4.widgettitle {
	border-radius: unset;
	font-family: Helvetica, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
	font-size: 1em !important;
	padding:5px;
}
.widgettitle span {
	padding: 0;
}
.twaku1 {
	text-align: center;
}

/* アイコン */
.hicon {
	display: inline-block;
	float: right;
	margin-left: 5px;
	padding-top: 3px;
}
.hicon img {
	width: 26px;
}
/* サイドバーカテゴリー */
.widget.widget_nav_menu li:last-child {
	border-bottom: 1px dotted rgba(125, 125, 125, 0.2) !important;
}
#category-posts-2-internal .cat-post-item:last-child {
	border-bottom: 1px solid #ccc !important;
}
.widget ul.menu li a {
    padding-left: 2em !important;
}
.widget ul.menu li a:before {
 content: '+';
	position: absolute;
    top: 0.5em;
    left: 0.3em;
    color: #a8004c;
    font-size: 1.5em;
}
.widget ul.menu li a:after {
 content: '' !important;	
}

ul.category-posts-internal a.cat-post-title {
	font-size:13px !important;
	font-weight: normal !important;
	color: #231815;
	line-height: 1.5;
	display: block;
}
ul.category-posts-internal span.cat-post-date {
	font-size:13px !important;
	color: #231815;
	font-weight: normal;
	font-style: normal !important;
}
body.home .sub-menu {
	display: none;
}
.widget.widget_nav_menu .sub-menu li:last-child {
	border-bottom: none !important;
}
.sub-menu li {
	margin-left: 1.5em !important;
}
body.single .menu-item-has-children > a {
	padding-bottom: 0.5em !important;
}

/* サイドバー 人気記事 */
ul.wpp-list img {
	margin-right: 10px !important;
}
ul.wpp-list li {
	font-size:13px !important;
	font-weight: normal !important;
	color: #231815 !important;
	margin-bottom: 13px;
}
ul.wpp-list a {
	line-height: 1.5;
	display: block;
	color: #231815 !important;
	font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

/* パンくずリスト */
#breadcrumb {
	overflow: scroll;
}
@media only screen and (min-width: 1166px) {
.header {
    margin-bottom: 0;
}
}
#breadcrumb {
	background-color: #f7f7f7 !important;
	box-shadow: unset;
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
}
#breadcrumb ul {
    width: 1136px;
    margin: 0 auto;
}

/* ページ全体 */
#inner-content {
	box-shadow: unset;
	padding-top: 10px;
}

/* 問い合わせフォーム */
.wpcf7-form th {
	background-color: #f7f7f7;
}
.wpcf7-submit {
	width: 257px;
	background: #b9005f !important;
}
.wpcf7-form input.wpcf7-text, .wpcf7-form textarea.wpcf7-textarea {
	border: none;
	background: #f7f7f7;
}

/* LINE公式 */

.bottom-line-container {
	display:flex;
	flex-wrap:wrap;
}
.bottom-line-item.item-right {
	margin-left: auto;
}
.bottom-line-item.item-text {
	max-width: 350px;
}

.line-text {
	display: block;
}

.line-qr {
	margin-bottom:20px;
}
@media (max-width:767px) {
	.line-qr {
	margin-bottom:9px;
}
}

@media (max-width:1130px) {
.line-text {
	display: inline-block !important;
	padding-top: 10px;
}
.line-qr {
	width: calc(100% - 300px);
	max-width: 197px;
}
}
@media (max-width:580px) {
.line-qr {
	width: auto;
}
}

.bottom_line {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff2f9;
	border-style: hidden;
}
.bottom_line td {
	padding: 10px;
}
.bottom_line td, .bottom_line tr {
	border-style: hidden;
	vertical-align: top;
}
.bottom_line img {
	margin-bottom: 10px;
}

/* 記事ページ カテゴリ一覧リンク */
.bottom-catlink {
	margin-bottom: 20px;
}

/* 関連記事 */
.related-box li {
	min-height: 176px !important;
}

/* フッター */
#on-footer {
	    border-top: 2px solid #cf9c13;
    padding-top: 20px;
    padding-bottom: 20px;
}
ul#menu-footer {
	margin: 0 auto;
	text-align: center;
}
ul#menu-footer a {
color: #535353;
}
.bottom-gaiyo {
	float: left;
    font-size: 0.8em;
}
.copyright {
	float: right;
}
.voices_box {
	border:1px solid #cccccc;
	background-color:#ffe0ef;
  margin:15px 0px;
	padding:10px;
	font-size:85%
}
@media only screen and (min-width: 1166px){
.nav > li > a {
    padding: 15px 1.4em 7px;
}
}
@media only screen and (min-width: 768px){
.nav > li > a {
    padding: 15px 0.8em 7px;
}
}

