/*
Theme Name: 上六ッ川内科クリニックのブログテーマ
*/

/*----------------------------------
reset
----------------------------------*/

html, body, div, p, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6,
blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}

ol, ul {
list-style: none;
}

blockquote, q {
quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

/*----------------------------------
設定
----------------------------------*/

body {
    font-size: 18px;
    font-family: Arial, Roboto, "“Droid Sans”", “メイリオ”, Meiryo, "“ヒラギノ角ゴ ProN W3″", "“Hiragino Kaku Gothic ProN”", sans-serif;
    line-height: 28px;
    word-break: break-all;
    text-size-adjust: none;
}

.wrapper {
	margin: 0 auto;
	overflow: hidden;
	width: 1200px;
}

.kotei {
	margin-top: 20px;
}

.kotei-top {
	margin-top: 20px;
}

.maincontent {
	float: right;
	overflow: hidden;
	width: 980px;
}

.content {
	float: left;
	width: 660px;
}

.side-left {
	float: left;
	width: 200px;
}

.side-right {
	float: right;
	width: 300px;
}

.center {
	display: block;
	margin: 0 auto;
}

.left {
	float: left;
}

.right {
	float: right;
}

.block {
	display: block;
}

.of {
	overflow: hidden;
}

.t-center {
	text-align: center;
}

.t-left {
	text-align: left;
}

.t-right {
	text-align: right;
}

.clear {
	clear: both;
}

img,iframe {
	display: block;
}

a:hover img {
	opacity: 0.6;
}

.full {
	height: auto;
	width: 100%;
}

.text-base {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 18px;
	position: relative;
}

.text-base-2 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 36px;
	position: relative;
}

.text-base-3 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 54px;
	position: relative;
}

.text-base-4 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 72px;
	position: relative;
}

.text-base-5 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 90px;
	position: relative;
}

.text-in {
	left: 0;
	position: absolute;
	top: 0;
}

.indent-1 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 1em;
	text-indent: -1em;
}

.indent-2 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 2em;
	text-indent: -2em;
}

.indent-3 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 3em;
	text-indent: -3em;
}

.indent-4 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 4em;
	text-indent: -4em;
}

.indent-5 {
	box-sizing: border-box;
	display: inline-block;
	padding-left: 5em;
	text-indent: -5em;
}

.pc {
	display: block;
}

.mobi {
	display: none;
}

.first {
	margin-top: 0 !important;
}

.last {
	margin-bottom: 0 !important;
}

.tb20 {
	margin-top: 20px !important;
	margin-bottom: 20px !important;
}

.to20 {
	margin-top: 20px !important;
}

.no-to20 {
	display: block;
	margin-top: -20px;
}

.bo20 {
	margin-bottom: 20px !important;
}

.bo-20 {
	margin-bottom: 20px !important;
}

.tb40 {
	margin-top: 40px !important;
	margin-bottom: 40px !important;
}

.to40 {
	margin-top: 40px !important;
}

.bo40 {
	margin-bottom: 40px !important;
}

.tb60 {
	margin-top: 60px !important;
	margin-bottom: 60px !important;
}

.to60 {
	margin-top: 60px !important;
}

.bo60 {
	margin-bottom: 60px !important;
}

/*----------------------------------
文字スタイル
----------------------------------*/

strong,b {
	font-weight: bold;
}

.red {
	color: #ff0000;
}

.blue {
	color: #0000ff;
}

.yellow {
	color: #ffff00;
}

.green {
	color: #008800;
}

.orange {
	color: #ff8800;
}

.y-b {
	background: linear-gradient(transparent 50%, #ffff00 50%);
}

.mini-text {
	font-size: 15px;
	line-height: 25px;
    margin: -18px 0 0 18px;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?n598jn');
  src:  url('fonts/icomoon.eot?n598jn#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?n598jn') format('truetype'),
    url('fonts/icomoon.woff?n598jn') format('woff'),
    url('fonts/icomoon.svg?n598jn#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?c3xvg7');
  src:  url('fonts/icomoon.eot?c3xvg7#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?c3xvg7') format('truetype'),
    url('fonts/icomoon.woff?c3xvg7') format('woff'),
    url('fonts/icomoon.svg?c3xvg7#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-triangle-right:before {
  content: "\e902";
}

.icon-cheveron-up:before {
  content: "\e900";
}

/*----------------------------------
header
----------------------------------*/

header.pc {
    background: url(images/55.png) no-repeat center bottom;
    border-top: 8px solid #9bc426;
    height: 165px;
}

header.pc .wrapper {
	overflow: visible;
	position: relative;
	width: 910px;
}

.head-logo {
	margin-top: 40px;
}

.head-info {
	margin-top: 45px;
}

.head-access {
    position: absolute;
    right: 0;
    top: -8px;
}

.head {
	margin: 10px 0;
}

.head a {
	color: #000;
	display: block;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-right: 20px;
	padding: 2px 0;
	text-decoration: none;
}

.head a:hover {
	opacity: 0.6;
}

.head-search {
	margin: 10px 0;
}

.head-search input[type="text"] {
	border: 1px solid #ccc;
	box-sizing: border-box;
	border-radius: 5px;
	font-size: 15px;
	line-height: 25px;
	margin-right: 20px;
	padding: 5px 10px;
	-webkit-appearance: none;
	width: 230px;
}

header.pc nav {
}

header.pc nav ul {
	overflow: hidden;
}

header.pc nav ul li {
	float: left;
	line-height: 57px;
	height: 57px;
	margin-right: 55px;
}

header.pc nav ul li:last-child {
	margin-right: 0;
}

header.pc nav ul li a {
	color: #fff;
	display: block;
	padding-left: 15px;
	position: relative;
	text-decoration: none;
}

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

header.pc nav ul li a::before {
	background: url(images/yazirushi-icon.png);
	background-size: 100%;
	content: "";
	height: 12px;
	left: 0;
	position: absolute;
	top: 21px;
	width: 10px;
}

.mega-menu {
	background: rgba(0,0,0,0.7);
	box-sizing: border-box;
	left: 0;
	padding: 20px 0;
	position: fixed;
	top: 57px;
	z-index: 9999;
	width: 100%;
}

.mega-menu li {
	float: none !important;
	line-height: 28px !important;
	height: auto !important;
	margin-bottom: 10px;
}

.mega-menu li:last-child {
	margin-bottom: 0;
}

.mega-menu li a {
	padding-left: 20px !important;
}

.mega-menu li a::before {
	top: 7px !important;
}

.mega-menu li a {
	color: #fff;
	text-decoration: none;
}

.mega-menu li a:hover {
	text-decoration: underline;
}

.mega-menu.atopic-mega {
	display: none;
}

.sp-menu{
	display: none;
}

/*----------------------------------
トップページ
----------------------------------*/

.top-kizi {
	background: #fff;
	border: 1px solid #ccc;
	box-sizing: border-box;
	padding: 10px;
}

.top-kizi h1 {
	box-sizing: border-box;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
}

.kansyuu-info {
	box-sizing: border-box;
	border-bottom: 1px solid #ccc;
	color: #666;
	font-size: 15px;
	line-height: 25px;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.top-img img {
	height: auto;
	margin: 0 0 40px !important;
	width: 100%;
}

.top-kizi-in p {
	margin-bottom: 20px;
}

.top-kizi-in p:last-child {
	margin-bottom: 0;
}

.top-kizi-in img {
	height: auto;
	margin: 20px auto;
	max-width: 100%;
}

.top-kizi-in h2 {
	border-top: 3px solid #2C893A;
	border-bottom: 3px solid #2C893A;
	border-radius: 5px;
	box-sizing: border-box;
	color: #2C893A;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 20px;
	padding: 10px 10px;
	position: relative;
	text-align: left;
}

.top-kizi-in h2::before {
	border-top: 1px dashed #2C893A;
	content: "";
	left: 0;
	position: absolute;
	top: 5px;
	width: 100%;
}

.top-kizi-in h2::after {
	border-top: 1px dashed #2C893A;
	bottom: 5px;
	content: "";
	left: 0;
	position: absolute;
	width: 100%;
}

.top-kizi-in h3 {
	border-left: 7px solid #2C893A;
	border-radius: 5px;
	box-sizing: border-box;
	color: #2C893A;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 20px;
	padding: 0 0 0 5px;
}

.top-kizi-in h4 {
	border-bottom: 2px solid #2C893A;
	box-sizing: border-box;
	color: #2C893A;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 20px;
}

.top-kizi-in p + h2,
.top-kizi-in p + h3,
.top-kizi-in p + h4,
.top-kizi-in img + h2,
.top-kizi-in img + h3,
.top-kizi-in img + h4,
.top-kizi-in ul + h2,
.top-kizi-in ul + h3,
.top-kizi-in ul + h4 {
	margin-top: 60px;
}

.writer-info {
	box-sizing: border-box;
	border-top: 1px solid #ccc;
	margin-top: 100px;
}

.writer-info h2 {
	border: 0 !important;
	color: #000 !important;
	font-size: 20px !important;
	line-height: 30px !important;
	margin-top: 20px !important;
	padding: 0 !important;
	text-align: left !important;
}

.writer-info h2::before,
.writer-info h2::after {
	content: none !important;
}

.writer-info-in {
	margin: 20px 0;
	overflow: hidden;
}

.writer-info-in img {
	float: left !important;
	margin: 0 !important;
	margin-right: 20px !important;
}

.writer-info-in p {
	margin: 0 !important;
}

.writer-in {
	box-sizing: border-box;
	color: #666;
	float: right;
	font-size: 15px;
	line-height: 25px;
	margin-top: -5px;
	width: 435px;
}

.writer-in strong {
	font-size: 20px;
	line-height: 30px;
}

/*----------------------------------
投稿・固定ページ
----------------------------------*/

.list {
	margin-bottom: 20px;
}

.list li {
	list-style: disc;
	margin-left: 20px;
}

.num {
	margin-bottom: 20px;
}

.num li {
	padding-left: 35px;
	position: relative;
}

.num li .num-in {
	left: 0;
	position: absolute;
}

.kizi {
	background: #fff;
	border: 1px solid #ccc;
	box-sizing: border-box;
	padding: 10px;
}

.kizi h1 {
	box-sizing: border-box;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
}

.page-title {
    box-sizing: border-box;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.kizi-date {
	border-bottom: 1px solid #ccc;
	box-sizing: border-box;
	color: #999;
	margin-bottom: 20px;
	padding-bottom: 20px;
	text-align: right;
}

.single-img img {
	height: auto;
	margin: 0 0 40px !important;
	width: 100%;
}

.single p {
	margin-bottom: 20px;
}

.single p:last-child {
	margin-bottom: 0;
}

.single img {
	height: auto;
	margin: 20px auto;
	max-width: 100%;
}

.kizi h2 {
	border-top: 3px solid #2C893A;
	border-bottom: 3px solid #2C893A;
	border-radius: 5px;
	box-sizing: border-box;
	color: #2C893A;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 20px;
	padding: 10px 10px;
	position: relative;
	text-align: left;
}

.kizi h2::before {
	border-top: 1px dashed #2C893A;
	content: "";
	left: 0;
	position: absolute;
	top: 5px;
	width: 100%;
}

.kizi h2::after {
	border-top: 1px dashed #2C893A;
	bottom: 5px;
	content: "";
	left: 0;
	position: absolute;
	width: 100%;
}

.h2-title {
	border-top: 3px solid #2C893A;
	border-bottom: 3px solid #2C893A;
	border-radius: 5px;
	box-sizing: border-box;
	color: #2C893A;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 20px;
	padding: 10px 10px;
	position: relative;
	text-align: left;
}

.h2-title::before {
	border-top: 1px dashed #2C893A;
	content: "";
	left: 0;
	position: absolute;
	top: 5px;
	width: 100%;
}

.h2-title::after {
	border-top: 1px dashed #2C893A;
	bottom: 5px;
	content: "";
	left: 0;
	position: absolute;
	width: 100%;
}

.kizi h3 {
	border-left: 7px solid #2C893A;
	border-radius: 5px;
	box-sizing: border-box;
	color: #2C893A;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 20px;
	padding: 0 0 0 5px;
}

.kizi h4 {
	border-bottom: 2px solid #2C893A;
	box-sizing: border-box;
	color: #2C893A;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 20px;
}

.kizi .inter-title {
	box-sizing: border-box;
	color: #2C893A;
	font-weight: bold;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 20px;
	padding-left: 30px;
	position: relative;
}

.kizi .inter-title::before {
	content: "■";
    color: #2C893A;
    font-size: 40px;
    left: 0;
    position: absolute;
    top: -5px;
}

.kizi p + h2,
.kizi p + h3,
.kizi p + h4,
.kizi img + h2,
.kizi img + h3,
.kizi img + h4,
.kizi ul + h2,
.kizi ul + h3,
.kizi ul + h4,
.kizi ol + h2,
.kizi ol + h3,
.kizi ol + h4,
.kizi dl + h2,
.kizi dl + h3,
.kizi dl + h4,
.kizi p + .h2-title {
	margin-top: 60px;
}

.kizi table{
	width:100%;
	margin:30px 0;
}

.kizi table th{
	background:#f7f7f7;
}

.kizi table th,.kizi table td {
    border: 1px solid #ccc; padding: 10px;
}

.no-top {
	margin-top: -20px;
}

.list-img-2 {
	margin: 0 0 20px 0;
	overflow: hidden;
}

.list-img-2 li {
	float: left;
	margin-right: 10px;
	width: 314px;
}

.list-img-2 li:last-child {
	margin-right: 0;
}

.list-img-2 li img {
	height: auto;
	margin: 0 !important;
	width: 100%;
}

.single img.alignright {
	float: right;
	height: auto;
	width: 50%;
	margin: 0 0 20px 20px;
}

.interview dt {
	box-sizing: border-box;
	color: #9bc426;
	clear: both;
	font-weight: bold;
	float: left;
	width: 13%;
}

.interview dd {
	box-sizing: border-box;
	margin-left: 13%;
	margin-bottom: 20px;
}

.interview dd:last-child {
	margin-bottom: 0;
}

.comment {
	font-weight: bold;
	font-family: “Times New Roman”, “游明朝”, YuMincho, “ヒラギノ明朝 ProN W3″, “Hiragino Mincho ProN”, serif;
	margin-bottom: 20px;
}

.breadcrumbs {
	color: #666;
    font-size: 15px;
    line-height: 25px;
	margin-bottom: 20px;
}

.breadcrumbs a {
	color: #0000ff;
}

.sns-list {
	float: left;
	margin: 20px 0;
}

.sankou {
	box-sizing: border-box;
	display: inline-block;
	font-size: 15px;
	line-height: 25px;
}

.blog-banner {
	box-sizing: border-box;
	display: block;
	width: 638px;
}

.blog-banner img {
	height: auto;
	width: 100%;
}

/*----------------------------------
一覧ページ
----------------------------------*/

.itiran li {
	border: 1px solid #ccc;
	border-bottom: 0;
	box-sizing: border-box;
	overflow: hidden;
	padding: 10px;
}

.itiran li:last-child {
	border-bottom: 1px solid #ccc;
}

.itiran-img img {
	height: 150px;
	width: 150px;
	object-fit:cover;
}

.itiran-info {
	width: 470px;
}

.itiran-info h2 a {
	color: #000;
	display: inline-block;
	font-size: 23px;
	line-height: 33px;
	margin-bottom: 10px;
	text-decoration: none;
}

.itiran-info h2 a:hover {
	text-decoration: underline;
}

.itiran-text {
	box-sizing: border-box;
	margin-bottom: 10px;
}

.itiran-date {
	color: #999;
}

.blog-pager {
	font-size: 18px;
	line-height: 28px;
	margin-top: 40px;
	text-align: center;
}

.blog-pager .wp-pagenavi a {
	border: 1px solid #2D893C;
	box-sizing: border-box;
	border-radius: 5px;
	color: #2D893C;
	display: inline-block;
	padding: 5px 10px;
}

.blog-pager .wp-pagenavi a:hover {
	background: #2D893C;
	border: 1px solid #2D893C;
	box-sizing: border-box;
	border-radius: 5px;
	color: #fff;
}

.blog-pager .wp-pagenavi span.current {
	background: #2D893C;
	border: 1px solid #2D893C;
	box-sizing: border-box;
	border-radius: 5px;
	color: #fff;
	padding: 10px 10px;
}

.blog-pager .wp-pagenavi span {
	border: 1px solid #2D893C;
	box-sizing: border-box;
	border-radius: 5px;
	color: #2D893C;
	padding: 10px 10px;
}

/*----------------------------------
検索
----------------------------------*/

.search-main {
	margin-top: 20px;
}

.search-main input[type="text"] {
	border: 1px solid #ccc;
	box-sizing: border-box;
	border-radius: 5px;
	font-size: 18px;
	line-height: 28px;
	padding: 5px 10px;
	-webkit-appearance: none;
	width: 100%;
}

.search-main input[type="submit"] {
	background: #ff7800;
	border: 0;
	box-sizing: border-box;
	border-radius: 10px;
	cursor: pointer;
	color: #fff;
	display: block;
	font-size: 18px;
	line-height: 28px;
	margin: 20px auto;
	padding: 5px 10px;
	-webkit-appearance: none;
	width: 100px;
}

.search-main input[type="submit"]:hover {
	opacity: 0.6;
}

/*----------------------------------
右サイドバー
----------------------------------*/

.widget {
	margin-bottom: 30px;
}

.widget:last-child {
	margin-bottom: 0;
}

.side-right .widget {
	margin-bottom: 20px;
}

.side-right .widget img {
    height: auto;
    width: 100%;
}

.side-right h3 {
	background: #6a9634;
	box-sizing: border-box;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	line-height: 30px;
	padding: 5px 10px;
}

.right-content {
	border: 1px solid #ccc;
	box-sizing: border-box;
	padding: 10px;
}

.none {
	padding: 0;
}

.side-itiran li {
	border-bottom: 1px solid #ccc;
	box-sizing: border-box;
	font-size: 13px;
	line-height: 18px;
	overflow: hidden;
	padding: 10px;
}

.side-itiran li:last-child {
	border-bottom: 0;
}

.side-itiran li a {
	color: #000;
}

.side-itiran li a:hover {
	text-decoration: none;
}

.side-img {
	width: 75px;
}

.side-img img {
	height: auto;
	width: 100%;
}

.side-info {
	margin-top: -5px;
	width: 195px;
}

.side-date {
	color: #999;
}

.side-info h4 a {
	color: #000;
	display: block;
	text-decoration: none;
}

.side-info h4 a:hover {
	text-decoration: underline;
}

.side-access a {
	background: url(images/side/bnr_access_n_ov.png) no-repeat;
	display: block;
	height: 371px;
	margin: 0 auto;
	width: 298px;
}

.side-access a:hover img {
	display: none;
}

.side-search input[type="text"] {
	background: #ffc;
	border: 1px solid #ccc;
	box-sizing: border-box;
	border-radius: 0;
	font-size: 16px;
	line-height: 26px;
	padding: 5px 10px;
	-webkit-appearance: none;
	width: 200px;
}

.side-search input[type="submit"] {
	background: #ff7800;
	border: 0;
	box-sizing: border-box;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	display: block;
	font-weight: bold;
	font-size: 16px;
	line-height: 26px;
	margin-top: 10px;
	padding: 5px 10px;
	-webkit-appearance: none;
	width: 200px;
}

.side-search input[type="submit"]:hover {
	opacity: 0.6;
}

/*----------------------------------
左サイドバー
----------------------------------*/

.side-left h3 {
	background: #6a9634;
	box-sizing: border-box;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	line-height: 30px;
	padding: 5px 10px;
}

.left-content {
	border: 1px solid #ccc;
	box-sizing: border-box;
	padding: 10px;
}

.side-list li {
	position: relative;
}

.side-list li a {
	color: #000;
	display: block;
	font-size: 15px;
	line-height: 25px;
	padding-left: 15px;
	position: relative;
	text-decoration: none;
}

.side-list li a::before {
	background: url(images/yazirushi-icon2.png);
	background-size: 100%;
	content: "";
	height: 12px;
	left: 0;
	position: absolute;
	top: 6px;
	width: 10px;
}

.side-list li a:hover {
	text-decoration: underline;
}

.side-list-menu {
    background: #efefef;
    border: 2px solid #ccc;
    display: none;
    left: 210px;
    padding: 10px 15px;
    position: absolute;
    top: -15px;
    width: 625px;
}

.side-list-menu.view {
	display: block;
}

.side-list-menu::before {
    content: "";
    border-top: 10px solid transparent;
    border-right: 25px solid #ccc;
    border-bottom: 10px solid transparent;
    border-left: 20px solid transparent;
    left: -45px;
    position: absolute;
    right: 0;
    top: 15px;
    width: 0;
}

.side-list li:hover .side-list-menu {
	display: block;
	display: none !important;
}

/*----------------------------------
footer
----------------------------------*/

footer {
	background: #9bc426;
	box-sizing: border-box;
	margin-top: 80px;
	padding: 20px 0;
	text-align: center;
}

/*----------------------------------
検索フォーム
----------------------------------*/

.blog-search {
	margin-top: 20px;
}

.blog-search input[type="text"] {
	background: #ffc;
	border: 1px solid #ccc;
	box-sizing: border-box;
	border-radius: 0;
	font-size: 18px;
	line-height: 28px;
	padding: 5px 10px;
	-webkit-appearance: none;
	width: 400px;
}

.blog-search input[type="submit"] {
	background: #ff7800;
	border: 0;
	box-sizing: border-box;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	line-height: 28px;
	padding: 5px 20px;
	-webkit-appearance: none;
}

.blog-search input[type="submit"]:hover {
	opacity: 0.6;
}

/*----------------------------------
191017追加
----------------------------------*/

.kousin{
	text-align: right !important;
	display: block !important;
}

/*----------------------------------
210519追加
----------------------------------*/

.sns-lists{
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	margin-top: 20px;
}

.sns-lists li {
	box-sizing: border-box;
	margin-right: 10px;
	width: 54px;
}

.sns-lists li:last-child {
	margin-right: 0;
}

.sns-lists li img {
	height: auto;
	width: 100%;
}

.question_answers {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	margin: 20px auto 0;
	flex-wrap: wrap;
	width: 80%;
}

.question_answers3 {
	width: 100%;
}

.question_answer {
	margin: 10px 0 0 !important ;
	background-color: #6a9634;
	color: white;
	height: 40px;
	width: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 20px;
}

.question_answer:hover {
	background-color: green;
}

.answer_link {
	color: white;
	text-decoration: none;
}

.question_nav {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 50%;
	margin: 0 auto;
}

.question_nav p {
	color: black;
	margin: 0 !important;
}

.question_nav p:hover {
	font-weight: bold;
}

.
.question_answers {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	margin: 20px auto 0;
	flex-wrap: wrap;
	width: 80%;
}

.question_answers3 {
	width: 100%;
}

.question_answer {
	margin: 10px 0 0 !important ;
	background-color: #6a9634;
	color: white;
	height: 40px;
	width: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 20px;
}

.question_answer:hover {
	background-color: green;
}

.answer_link {
	color: white;
	text-decoration: none;
}

.question_nav {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 50%;
	margin: 0 auto;
}

.question_nav p {
	color: black;
	margin: 0 !important;
}

.question_nav p:hover {
	font-weight: bold;
}

.question_nav_link {
	color: black;
	text-decoration: none;
}

/* =============================
   カテゴリー別CTA 26/05/19
============================= */
.cat-cta {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin: 3rem 0 2rem;
}

.cat-cta a{
	background:none;
}

/* 上段：症状リスト */
.cat-cta__symptoms {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

/* 下段：CTAエリア */
.cat-cta__action {
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    text-align: center;
}

/* 共通見出し */
.cat-cta__heading {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-cta__action .cat-cta__heading {
    justify-content: center;
}

/* アイコン（見出し左の青いボックス） */
.cat-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    /*background: #1a56db;
    border-radius: 4px;*/
    flex-shrink: 0;
}

/* チェックリスト */
.cat-cta__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-cta__list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    padding: 5px 0;
    color: #333;
}

/* チェックボックス風アイコン */
.cat-cta__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #1a56db;
    border-radius: 3px;
    color: #1a56db;
    flex-shrink: 0;
}

/* サブテキスト */
.cat-cta__sub {
    font-size: 13px;
    color: #666;
    margin: 0 0 14px;
}

/* メインボタン */
.cat-cta__main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 96%;
    padding: 24px 16px;
    font-size: 20px !important;
    font-weight: 700;
    color: #fff !important;
	background:#1F4FA3 !important;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(31, 79, 163, 0.25);
    transition: transform 0.15s;
    letter-spacing: 0.03em;
	text-decoration:none !important;
}

.cat-cta__main-btn:hover {
    background: #1648c0;
    color: #fff;
}

/* サブボタン群 */
.cat-cta__sub-btns {
    display: flex;
    gap: 8px;
}

.cat-cta__sub-btn {
    flex: 1;
    display: block;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 11px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #d0d0d0;
    text-align: center;
}

.cat-cta__sub-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.cat-cta__note {
    font-size: 14px;
    color: #333;
    margin: 12px 0 0;
}

.ai-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* WEB予約（1番目） */
.cat-cta__sub-btn:nth-child(1) {
    padding: 13px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    color: #666;
	text-decoration:none !important;
}

.cat-cta__sub-btn:nth-child(1):hover {
    background: #f5f5f5;
    
}

/* 電話する（2番目） */
.cat-cta__sub-btn:nth-child(2) {
    padding: 13px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    color: #666;
	text-decoration:none !important;
}

.cat-cta__sub-btn:nth-child(2):hover {
    background: #f5f5f5;

}

.cat-cta__icon {
    position:relative;
}
.cat-cta__icon:before{
	content:"";
	background: url(images/ai-monshin-icon.png) no-repeat center center;
	width:22px;
	height:22px;
	background-size:contain;
	left:0;
	top:1px;
	position:absolute;
}

@media (max-width: 640px) {
	.cat-cta__list-item{
		font-size:4vw;
	}
}

/* =============================
   関連記事
============================= */
.related-posts {
    margin: 2rem 0;
}

.related-posts a{
	background:none !important;
	color:#333;
}

.related-posts a p{
	font-size:15px;
}

.related-posts__heading {
    font-size: 14px;
	line-height:1.5;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 1rem;
}

.related-posts__icon {
    display: inline-flex;
    align-items: center;
    color: #1a56db;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-posts__item {
    text-decoration: none;
    color: inherit;
}

.related-posts__item:hover .related-posts__title {
    color: #1a56db;
	background:none;
}

.related-posts__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 8px;
}

.related-posts__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-posts__title {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-posts__more {
    text-align: center;
    margin-top: 1.25rem;
}

.related-posts__more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1a56db;
    text-decoration: none !important;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
	
}

.related-posts__more-link:hover {
    opacity: 0.75;
}

/* スマホは1列 */
@media (max-width: 640px) {
    .related-posts__grid {
        grid-template-columns: 1fr;
    }
}




