@charset "utf-8";
/* CSS Document */
/*
Theme Name:     matsuura-eyeclinic
Description:    
Author:         matsuura-eyeclinic
Template:       graphy

(optional values you can add: Theme URI, Author URI, Version)
*/

@import url("../graphy/style.css");

/* =Global
----------------------------------------------- */
/* Reset */
html {
    color:#333;
	background-color:#fff;
}
html, body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, h1, h2, h3, h4, h5, h6, input, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, fieldset, form, label, legend, caption, textarea, tbody, tfoot, thead,th,td {
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
}
/* Base */
body {
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic" !important;
}
body,
button,
input,
select,
textarea,
table {
	color: #333;
	font-size: 18px !important;
	line-height: 28px !important;
	font-weight: 500;
}
html, body {
  height: 100%;
}

body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic" !important;
	color:#666;
	letter-spacing: 0em !important;
	margin:5px 0;
	clear: both;
}
h1.page-title , h2.page-title  {
    font-family:inherit;
    font-size: 32px;
	text-align: center;
	width: 650px;
    margin: 30px auto;
}
h2 {
font-size: 2.5rem !important;
	}
h3 {
		font-size: 1.4em !important;
	}
h4 {
		font-size: 1.1em !important;
	}
p {
	margin: 0px;
}
.small {
	font-size: 15px !important;
	line-height: 20px !important;
	}
.clear {
	clear: both;
	}

hr {
	background-color: #333;
  	height: 1px !important;
	margin: 1em auto;
}
.block-table {
	display: table;
	margin: 0 auto;
}

.entry-content {
	margin-bottom: 10px;
}
.entry-content h1 {
    	margin-bottom: 0;
    	margin-top: 0;
}
.entry-content a {
	color: #508cdc; !important;
}

.entry-content a:hover {
	color: #000 !important;
}
.entry-content a, .entry-summary a, .page-content a, .author-profile-description a, .comment-content a, .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a {
    text-decoration: none;
}
.page .entry-content {
	border-bottom: none !important;
}

/* Base */
.single .hentry {
    margin: 10px 0 20px 0 ;
	padding: 20px 0 ;
	border-top: solid 1px;
	border-bottom: solid 1px;
}
.entry-content p {
    margin: 0 !important;
}
.entry-content p img:only-child {
    margin-top: 0px;
}
.entry-content table {
	margin: 0 auto;
	max-width: 100%;
	border: none;
}
.entry-content table.margin {
	margin: 0 auto 50px;
}
.entry-content td {
	border: none !important;
	padding: 5px !important;
	word-break: break-all;
	vertical-align: middle;
}

.entry-content table th, table td {
	word-wrap:break-word;
	vertical-align: top;
	padding: 0;
}

.entry-content h1 img {
    margin: 0px auto 10px auto;
	box-shadow: none !important;
}

td.noborder {
	border-bottom: solid 1px #e6e6e6 !important;
}

.entry-content table p {
	line-height: 2em;
	font-size: 0.95em;
	font-weight: 500;
}
/* Links */
a,
a img {
	color: #508cdc;
	text-decoration: none;
	opacity: 1;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
a:hover {
	color: #000 !important;
	text-decoration: none !important;
}
a, a:visited {
    outline: none !important;
}
a.img:hover {
	color: #000 !important;
	text-decoration: none !important;
}

a:hover img {
	opacity: 0.65;
	transition-duration: 0.3s;
}
a:focus {
 border: none;
}
a.anchor{
    display: block;
    padding-top: 200px;
    margin-top: -200px;
	border-bottom: none !important;
}
/*----- フェードイン -----*/
.inviewfadeIn {
	opacity: 0;
	transition: 2s;
}
    
.fadeIn {
	opacity: 1.0;
}

/* =Layout
----------------------------------------------- */
.site {
	width: 1400px;
	margin: 0 auto;
	padding: 0px;
	max-width: 100%;
}
.site-branding,
.site-content {
	max-width: 1100px;
	margin: 0 auto;
    text-align: center;
}
.site-branding {
	padding: 10px !important;
	}

#main-part {
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}
.content-area,
.sidebar-area {
	margin: 30px 0;
}
.no-sidebar .content-area, .full-width .content-area {
    border-right: none;
    float: none;
	width: auto !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 !important;
}

.clear{
	clear:both;
	font-size:0;
	line-height:0;
}
.nowrap { 
	white-space: nowrap;
}
.sp {
	display: none !important;
}
.sp1200 {
	display: none !important;
}
/******************************************************************
Header
******************************************************************/
/* =Header
----------------------------------------------- */
.site-header {
	padding-bottom: 10px;
	position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
	width: 1200px;
	max-width: 100%;
	z-index: 5000;
	background-color: rgba( 255, 255, 255, 0.9 );
	border-radius: 0 0 40px 40px;
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3);
}
.site-logo {
  margin: 0 auto auto 0 !important;
  padding-bottom: 0;
  float: left;
}
.site-header-info {
	color: #508cdc;
	font-size: 16px !important;
	line-height: 28px !important;
	font-weight: 500;
	text-align: right;
	float: right;
	display: flex;
    align-items: flex-end;
	}
.site-header-tel {
	font-size: 30px !important;
	margin: 0 0 0 15px;
	float: right;
	display: flex;
    align-items: flex-end;
}
.site-header-banner {
	margin: 0 0 0 15px;
	float: right;
}
.header-image {
	width: 100%;
	max-height: 350px;
	overflow: hidden;
}
.header-image img {
	width: 140%;
	margin-left: -20%;
	max-width: 140%;
}

@media screen and (min-width: 780px) {
	.site-branding {
		
	}
	.site-logo img {
		zoom: 1;
	}
	.site-header {
		margin: 0 auto;
	}
	.site-title {
		font-size: 43px;
		line-height: 50px;
		margin-bottom: 8px;
	}
	.site-description {
		font-size: 10px !important;
		letter-spacing: 0.2em;
	}
	.header-image {
		margin: 10px 0 0 0;
	}
	.header-image img {
		width: 100%;
		margin-left: 0;
		max-width: 100%;
	}
}

/******************************************************************
Menu
******************************************************************/
.main-navigation,
.main-navigation a,
.menu-toggle {
	line-height: 26px;
}
.menu-toggle{
	padding: 10px 0 10px 10px;
}

.main-navigation {
	max-width: 1100px;
	padding-top: 10px;
    font-size: 18px;
	line-height: 26px !important;
	color: #7f7f7f;
	border-top: 1px solid #508cdc !important;
	border-bottom: none !important;
}
.main-navigation-wrapper {
	border-top: none !important;
	border-bottom: none !important;
}

.main-navigation ul.menu > li {
	letter-spacing: 0.02em !important;
	background-color: transparent;
}
.main-navigation div.menu > ul, .main-navigation ul.menu {
   	border-top: none !important;
	text-transform: none;
}
.main-navigation ul.menu {
    padding: 0 !important;
}
.main-navigation li {
	padding: 0px 12px !important;
}

.main-navigation li a {
	color: #7f7f7f;
	font-weight: 600;
	padding: 6px 0 !important;
}
.main-navigation li a:hover,  {
	color: #508cdc !important;
}
.main-navigation li.current_page_item > a, .main-navigation .current_page_ancestor > a {
	color: #508cdc;
}
.main-navigation li.current-menu-item > a {
	color: #508cdc;
}

.main-navigation li::after {	
	position: absolute;
	top: 15px;
	right: -10px;
	content: "";	
	margin-right: 5px;	
	width: 10px;	
	height: 10px;	
	vertical-align: middle;	
	background-image: url(https://matsuura-eyeclinic.jp/wp/wp-content/uploads/2024/06/menu_icon.png);	
	background-size: 10px 10px;	
	background-repeat: no-repeat;
	background-position: 0 0;
}
.main-navigation li:last-child::after {	
	content: none;
	background-image: none;	
}
.menu-text {
    background-color: rgba( 255, 255, 255, 0 );
}
/* single post menu */
.main-navigation li.current-post-ancestor > a {
	color: #508cdc;
}

/* archive , categoly list */
.archive .main-navigation li.menu-item-object-category > a {
	color: #508cdc;
}
a.category {
	color: #fff;
	background: none repeat scroll 0% 0% #508cdc !important;
	padding: 5px 10px;
	display: inline-block;
	line-height: 1;
	border-radius: 2px;
}

.news_category {
	width: 700px;
	max-width:90%;
	margin: 0 auto;
    color: #508cdc;
	font-size: 1.75em;
    font-style: normal !important;
	font-weight: 500 !important;
	line-height: 1.6em;
}
.news_category_none {
	display: none;
}

/******************************************************************
Footer
******************************************************************/
.site-footer {
  color: #fff;
  padding-top: 10px;
  margin: 0 auto;
  width: 1300px;
  max-width: 100%;
  z-index: 5000;
	background:linear-gradient(to bottom, #9bc0f2, #cadcf5);
  border-radius: 40px 40px 0 0;
}
.site-info {
  width: 100%;
  padding-top: 30px;
  clear: both;
}
.site-footer .site-header-info {
	    color: #fff;
}
.site-footer .site-branding {
	border-bottom: solid 1px;
}
.site-copyright, .site-copyright a, .site-credit {
	text-align: center;
  padding-top: 0px;
}
.site-copyright a {
	color: #fff !important;
}
.site-copyright a {
	color: #508cdc !important;
}
.site-copyright a:hover {
		color: #fff !important;
}

@media screen and (min-width: 960px) {
	.site {
	max-width: 100%;
	}
	.site-footer {
    	border-top: none !important;
    	clear: both;
	}
}
.content_block {
	width: 1000px;
	display:block-table;
	margin: 0 auto;
	clear: both;
}
/* =トップページ ニュース書き出し
----------------------------------------------- */
#news {
	width: 560px;
	min-height: 160px;
	margin: 30px auto 15px auto;
	padding: 0 10px 10px !important;
	line-height: 1.5em;
}
.news-title {
	text-align: center;
}
.newsdate {
	color: #508cdc;
}
.topdate{
	width: 120px  !important;
	float: left;
	}
.topnews{
	width: 580px  !important;
	font-weight:600;
	}
#news ul {
	list-style: none;
	margin: 20px 0 !important;
}
#news ul li a,#news_sakura ul li a{
	margin-bottom: 0px;
}

#news ul li{
	border-bottom: 1px solid  #000 !important;
	padding: 16px 0 !important;
}
#news ul li:first-child {
  	border-top: 1px solid #000 !important;
}
@media screen and (max-width: 779px) {
  #news, #contents560 {
	white-space: normal;
    max-width: 90%;
  }
  .topdate, .topnews {
    float: none;
    max-width: 100% !important;
	  
  }
}

/* =トップページ 当院について
----------------------------------------------- */
.contents560 {
	width: 560px;
	min-height: 160px;
	margin: 30px auto 15px auto;
	padding: 0 10px !important;
	line-height: 1.5em;
}
@media screen and (max-width: 779px) {
  .contents560 {
	white-space: normal;
    max-width: 90%;
  }
}
/* =トップページ 診療内容 背景ブルー
----------------------------------------------- */
.contents1300 {
  color: #fff;
  padding-top: 10px;
  margin: 0 auto;
  width: 1300px;
  max-width: 90%;
  background:#81afec;
  border-radius: 40px 40px 0 0;
}
.contents1300_02 {
  color: #fff;
  padding-top: 0px;
  margin: 0 auto;
  width: 1300px;
  max-width: 90%;
  background:linear-gradient(to bottom, #81afec, #b9d2f3);
  border-radius: 0 0 40px 40px;
}
.contents1300_02 img {
	margin-bottom:20px;
  }
@media screen and (max-width: 779px) {
  .contents1300_02 img {
	width: 48%;
  }
}

/* =トップページ インフォメーション
----------------------------------------------- */
.contents1000 {
  padding-top: 50px;
  margin: 0 auto;
  width: 1000px;
  max-width: 90%;
}

.info_area {
  padding: 0;
  margin: 0 auto 10px;
  float:left;
}
.hours_area {
  width: 560px;
  max-width: 96%;
  padding: 0;
  margin: 0 auto 10px;
  float:right;
}
.hours_area img {
  padding: 0;
  margin: 0 auto 6px;
}
@media screen and (max-width: 1079px) {
	.info_area {
		padding: 0;
		margin: 0 auto 10px;
  float:none;
}
.hours_area {
  padding: 0;
  margin: 0 auto 10px;
  float:none;
  max-width: 100% !important;
}
.hours_area img {
  max-width: 100% !important;
}
	}
/* =トップページ 地図
----------------------------------------------- */
.contents1300_03 {
  color: #fff;
  padding-top: 10px;
  margin: 0 auto;
  width: 1300px;
  max-width: 100%;
}
/******************************************************************
Google Map
******************************************************************/
.googlemap-bw iframe {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

/* = ニュースページ
----------------------------------------------- */
#news-page {
	width: 700px;
	margin: 15px auto;
	padding: 0 10px 10px !important;
}
@media screen and (max-width: 779px) {
  #news-page {
    white-space: normal;
    width: 90%;
    padding: 10px 0 20px 0px
}
}
/* =診療内容ページ
----------------------------------------------- */
.skyblue {
    max-width: 90%;
	border-radius: 40px;
	background:#eff6fc;
	padding: 30px 50px;
	margin: 0 auto 30px;
	overflow: hidden;
	zoom: 1;
	}
	.skyblue h3 {
	    overflow: hidden;
	    zoom: 1;
	    clear: none;
	}
	.skyblue p {
	    overflow: hidden;
	    zoom: 1;
	}
	.skyblueImg {
	    float: left;
	    margin: 0 30px 20px 0 !important;
	}

@media screen and (max-width: 779px) {
  .skyblue {
	padding: 30px;
  }
.skyblueImg {
    float: none;
	margin: 0 auto !important;
	text-align: center;
  }
}

/* =症状から探すページ
----------------------------------------------- */
.lightgray {
    max-width: 90%;
	border-radius: 40px;
	background:#f3f2f1;
	padding: 30px 50px;
	margin: 0 auto 30px;
	overflow: hidden;
	zoom: 1;
	}
	.lightgray h3 {
		color: #508cdc;
	    overflow: hidden;
	    zoom: 1;
	    clear: none;
	}
	.lightgray p {
	    overflow: hidden;
	    zoom: 1;
	}
	.lightgrayImg {
	    float: left;
	    margin: 20px 50px 30px 0 !important;
	}

@media screen and (max-width: 779px) {
  .lightgray {
	padding: 30px;
  }
.lightgrayImg {
    float: none;
	margin: 0 auto !important;
	text-align: center;
  }
}

/* =よくある質問ページ
----------------------------------------------- */
.contentsfaq {
  padding: 0;
  margin: 0 auto;
  width: 800px;
  max-width: 90%;
}
h3.faq {
	font-size: 1.2em !important;
	color: #508cdc;
	margin: 20px 0 15px;
	}
/* =コンタクトレンズページ
----------------------------------------------- */
.contact1000 {
  padding: 0;
  margin: 0 auto;
  width: 1000px;
  max-width: 90%;
}

/* =リクルートページ
----------------------------------------------- */
a.btn-blue {
  display: inline-block;
  padding: 0.5em 1.5em;
  margin: 20px;
  text-decoration: none;
  background: #81afec;
  color: #FFF !important;
  font-size: 24px;
  border-radius: 30px;
  border: none !important;
}
a:hover.btn-blue {
	color: #FFF !important;
	border: none !important;
	background: #abccf9;
}

/******************************************************************
404 PAGE
******************************************************************/
.error-404 {
    margin-bottom: 30px !important;
}
#notfound_block {
	width: 300px;
	max-width: 100%;
	text-align: center;
	margin: 0 auto;
	clear: both;
}
#notfound_block {
	min-height: 300px;
	background-image: url("img/about_bg.png");
	background-position:center center;
	background-repeat: no-repeat;
	background-size: contain;
	padding: 80px 0;
	clear: both;	
}
/******************************************************************
投稿（固定ページ・投稿ページ）
******************************************************************/
/* Entry Header */
.entry-header, .page-header {
    margin-bottom: 0;
}
/* ページタイトル */
.page_tit {
	margin: 0 auto;
	font-weight: 100 !important;
	font-style: normal !important;
	letter-spacing: -0.03em;
	font-size: 48px !important;
}
.entry-title {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic" !important;
  color: #508cdc;
  font-size: 1.4em !important;
  line-height: 1.5em !important;
  letter-spacing: 0.05em !important;
  font-weight: 500 !important;
  margin: 6px 0 20px 0;
}
.entry-meta {
	font-size: 18px;
	color: #666;
	line-height: 1em !important;
	margin-bottom: 8px;
    margin-top: 0px;
	float: left;
}
.entry-meta a {
	border-bottom: none;
}
.entry-meta a:hover {
	color: #6a3a0e;
}
.cat-links {
	font-size: 90% !important;
	float: right;
    margin: 0px !important;
}
.category-sep, .byline {
	display: none;
}
.has-sidebar .entry-meta {
    text-align: right !important;
}
footer .entry-meta {
	padding: 10px 0 !important;
	border-top: 1px solid #e5e5e5 !important;
	border-bottom: 1px solid #e5e5e5 !important;
}
.post-full-summary .hentry {
  background: none;
  border-bottom: solid 1px;
}
.hentry {
    margin-bottom: 24px;
}

.entry-date {
  font-size: 18px;
  line-height: 1em !important;
}
.subtit_blue {
	font-size: 2rem !important;
	font-weight: 500;
	color:#fff;
	text-align:center;
	background-color: #7cb5ff;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	padding: 8px 10px;
}

/******************************************************************
画像
******************************************************************/
.page-content img,
.entry-content img,
.comment-content img,
.welcome-text-image img,
.featured-image {
	max-width:100% !important;
	position: relative;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
	border: none;
    margin: 0px auto 10px auto;
	padding: 0;
}

img.margin {
    margin: 10px auto !important;
}

img.no_shadow {
    box-shadow: none !important;
}
img.alignleft,
.wp-caption.alignleft {
	margin: 0 20px 0 0 !important;
}

img.alignright,
.wp-caption.alignright {
	margin: 0 0 0 20px !important;
}
img.round {
	border: none;
	border-radius: 40px;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
}
.gallery {
  margin-bottom: 0;
}
figure {
	margin: 0 auto !important;
}
.error-404 {
    margin-top: 160px;
}
#fancybox-title {
  font-size: 16px !important;
}

/* ページ送り */
.pagination {
    text-align: center;
	padding-top: 20px;
}
/* 単ページ送り */
.post-navigation h2 {
    font-size: 14px !important;
}
.post-navigation a {
    color: #000;
}
.post-navigation a:hover {
	border-bottom: 1px dashed #000 !important
}
.post-list .post-thumbnail img {
    width: 100%;
}
.post-thumbnail {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
/* 投稿者名削除 */
.byline {
	display: none !important;
}
	
/******************************************************************
smooth scroll
******************************************************************/
a#scroll-to-top {
    background: url('images/arrow.png') no-repeat scroll center center transparent;
    width: 45px;
    height: 45px !important;
    bottom: 30px !important;
    right: 15px;
}
a:hover#scroll-to-top {
	-webkit-transform: translate3d(0,-10px,0);
	-moz-transform: translate3d(0,-10px,0);
	-ms-transform: translateY(-10px);
	-o-transform: translate3d(0,-10px,0);
	transform: translate3d(0,-10px,0);
}
/******************************************************************
responsive
******************************************************************/

@media screen and (max-width: 1200px) {

.site-header {
	position:relative !important;
    margin-bottom: 0 !important;
	border-radius: 0  !important;
	background-color: #eef4fc;
}

.site-footer {
	border-radius: 0  !important;
}
.sp1200 {
	display: block !important;
}

.site-main img, .entry-content img, .featured-image {
	max-width:96%;
}
	
.pc {
	display: none !important;
}
}

@media screen and (max-width: 779px) {
	
	.site-header-info {
	display:block;
	}
	.site-header-tel {
	display: inline-block;
    float: none;
}
	.site-header-banner {
	display: block;
    float: none;
	margin: 5px 0 0 0;
}
	
.menu-text::before {
	font-size: 1.2em;
    margin-right: 6px;
}
.entry-content img, .featured-image {
	max-width:96%;
}
.no-sidebar .content-area, .full-width .content-area {
    max-width: 96% !important;
    margin: 0 10px;
}
.menu-text {
    font-size: 1.7em;
	padding-right: 10px;
}
.main-navigation li::after {	
	content: none;	
}
.main-navigation a {
	font-size: 1.2em;
    line-height: 40px;
	text-align: left;
}
.main-navigation li a:hover {
	border-bottom: none !important;
}
#main-part {
	margin: 0 auto 10px auto;
}
#main_block {
	width: 100%;
	padding-top: 75.8% !important; /* 高さ ÷ 幅 */
	background-image: url("img/top/main_visual1320.jpg") !important;
}
h1.page-title {
	width: 98%;
    font-size: 2.5em !important;
}
.entry-content td {
	display:block;
	margin: 0 auto 10px auto !important;
	padding: 10px 0 20px !important;
	border-bottom: dotted 1px #666 !important;
}
.entry-content td.normal {
	display:table-cell;
	margin: 0 auto 10px auto !important;
	padding: 10px 0 20px !important;
	border-bottom: none !important;
}
img.alignleft,
.wp-caption.alignleft,
img.alignright,
.wp-caption.alignright{
  float: none;
  clear: both;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content table.margin {
	margin: 0 auto !important;
}

.block-table {
	max-width: 90%;
}
/* Contentsブロック */
.content_block {
	width: 100%;
}

/* 各PAGE */
.footer-area {
	border-bottom: solid 1px #000 !important;
	margin: 48px 15px 0 15px;
}

.site-header {
    margin-bottom: 0 !important;
	border-radius: 0 ;
}
.site-footer {
    border-top: none !important;
    clear: both;
}

.main-navigation ul.menu {
    padding: 0px 20px  !important;
}

a#scroll-to-top {
    display: none !important;
}

figure {
	margin: 0 auto !important;
	display: block !important;
}
.sp {
	display: block !important;
}

.pc {
	display: none !important;
}
}