@charset "UTF-8";

/*テンプレートcssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("aos.css");
@import url("drawer.css");
@import url("../webfonts/css/all.css");

/*共通
---------------------------------------------------------------------------*/
:root {
--themecolor: #f9be00;
--maincolor: #333333;
--bgcolor: #f7f4ef;
}


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
height: 100%;
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: none;
}
html {
overflow-x: hidden;
overflow-y: auto;
}
body {
background-color: white;color: var(--maincolor);
font-size: clamp(16px, 1vw + 8px, 20px);
font-family: "Meiryo", "メイリオ", "ＭＳ　Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;font-style:normal;
line-height: 2.2;text-align: center;-webkit-font-smoothing: antialiased;
word-wrap: break-word;
}
/* 全体ボックスサイズ */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/*リセット*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
ul {list-style: none;}
input {font-size: 1rem;}
/* clearfix */
.clearfix::after {
content: "";
display: block;
clear: both;
}
.clearfix {
overflow: hidden;
}

/*タップ時の青枠削除
---------------------------------------------------------------------------*/
/* タップ時の青ハイライトを消す（Safari / iOS用） */
a, button, input, textarea {
-webkit-tap-highlight-color: transparent;
outline: none;
}

/*container（サイト全般を囲むブロック）
---------------------------------------------------------------------------*/
.container{
padding: 0 6%;
box-sizing:border-box;
width:100%;
}
#main {
display: grid;
grid-template-rows: auto 1fr auto;
grid-template-columns: 100%;
min-height: 100vh;
margin-top: 100px
}
@media screen and (min-width: 768px) {
.container {
margin: 0 auto;
}
a[href^="tel:"] {
pointer-events: none;
}
}
@media screen and (min-width: 1024px) {
.container{
width:1000px;
padding: 0;
}}

/*img*/
img {
vertical-align: middle;
border-style:none;
border: none;
max-width: 100%;
height: auto;
-webkit-backface-visibility: hidden; backface-visibility: hidden;
}
a:hover img{opacity:0.8;filter:alpha(opacity=80);-ms-filter:"alpha( opacity=80 )";}
/*img Chromeのみ*/
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
img {image-rendering: -webkit-optimize-contrast;}
}

/*p*/
p {text-align: justify;}

/*回りこみ解除*/
.clear {
clear:both;
}
a img,
ol li img,
li img,
ul li img {/*上揃え*/
vertical-align: top;
text-align:center;
border-style:none;
}

/*フロート設定*/
.tex img.centered,.tex img.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
clear:none;
}
.tex img.alignright,
.tex .alignright img{
margin-left:20px;
margin-right:0;
margin-bottom:20px;
display:inline;
clear:none;
}
.tex img.alignleft,
.tex .alignleft img {
margin-left:0;
margin-right:20px;
margin-bottom:20px;
display:inline;
clear:none;
}
.tex img.alignnone,
.tex .alignnone img {
margin-left:0;
margin-right:0;
margin-bottom:10px;
clear:none;
display:block;
}
.tex .alignright,.right {
float:right;
}
.tex .alignleft {
float:left;
}
@media only screen and (max-width:60em) {
.tex img.alignright,.tex img.alignleft,.tex img.alignnone,.tex img.aligncenter {clear:both;display:block;margin-left:auto;margin-right:auto;}
.tex .alignright {float:none;}
.tex .alignleft {float:none;}
.tex .aligncenter {clear:both;display:block;margin-left:auto;margin-right:auto;}
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
color:var(--maincolor);
text-decoration:none;
transition: 0.5s;
}
a:hover {
color:#848484;
text-decoration:none;
transition: 0.5s;
}
/* a TEL */
a[href^="tel:"] {text-decoration:none;color:var(--maincolor);}
@media screen and (min-width: 1024px) {
a[href^="tel:"] {pointer-events: none;}
}

/*PC･スマホ 表示・非表示
---------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) {.sp{display: none !important;}}
@media screen and (max-width: 1023px) {.pc{display: none !important;}}


/*header
---------------------------------------------------------------------------*/
.logo{
margin: 0;
text-align: left;
position: absolute;
left: 30px;
top: 30px;
z-index:99999
}
h1 a {
background: url(../img/logo.svg) no-repeat;
background-size: 167px 30px;
display: block;
width: 167px;
height: 30px;
}
h1 a span {
display: none;
}
@media screen and (min-width: 768px) {
h1 a {
background-size: 223px 40px;
display: block;
width: 223px;
height: 40px;
}
}



/*NEWS
---------------------------------------------------------------------------*/
.news_list {
margin: 0 auto;
width: 100%;
text-align: left;
}
ul.news_list {
list-style: none;
}
.news_list_item {
padding: 25px 0;
border-bottom: 1px solid #ccc;
}
.news_list_item a {
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
text-decoration: none;
}
.news_list_item a:hover{
opacity: 0.5;
}
.news_list_item .date {
font-size: .8em; 
margin-right: 20px;
align-items: top;
}
.news_list_item .category{
margin-right: 20px;
min-width: 90px;
height: 25px;
background: var(--maincolor);
color: #fff;
text-align: center;
font-size: 12px;
line-height: 25px;
border-radius: 100vh;
align-items: center;
}
.news_list_item .title{
margin: 0;
width: 100%;
}
@media screen and (max-width: 767px){
.news_list_item a{
flex-wrap: wrap;
}
.news_list_item .title{
margin-top: 10px;
}
}

/*footer_visual
---------------------------------------------------------------------------*/
.footer_visual img{
width: 100%;
height: 250px;
object-fit: cover;
object-position: center;
display: block;
}
@media screen and (min-width:768px){
.footer_visual img{
height: 350px;
}
}
@media screen and (min-width:1024px){
.footer_visual img{
height: 450px;
}
}


/*footer
---------------------------------------------------------------------------*/
#footer{
width: 100%;
margin: 0;
padding: 50px 0;
background: var(--bgcolor);
}
/* 全体レイアウト */
#footer .flexbox {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
@media screen and (max-width: 767px) {
#footer {
padding: 50px 0 90px 0;
}
}

/* ----------------------
 左：ロゴ・住所
---------------------- */
.f_box {
width: 45%;
text-align: left;
}
.f_box h5 img {
width: 200px;
height: auto;
margin-bottom: 30px;
}
.f_box address {
font-style: normal;
font-size: 90%;
}
a.f_box_link {
text-decoration: underline;
}
a:hover .f_box_link {
text-decoration: underline;
}

/* ----------------------
 右：メニュー＋コピー
---------------------- */
#foot-box {
margin-left: auto;
}

.flex_foot-box {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.flex_foot-item ul {
list-style: none;
margin: 0;
padding: 0;
text-align: left
}
.flex_foot-item a {
font-size: 90%;
color: var(--maincolor);
text-decoration: none;
}
.flex_foot-item a:hover {
opacity: 0.6;
transition: 0.3s;
}
.flex_foot-item.hyphen li::before {
content: "-";
margin-right: 12px; /* ハイフンと文字の間の余白 */
}
.foot-title {
margin-bottom: 0
}
/* コピー */
#copy {
font-family: Verdana, "Droid Sans";
font-size: 80%;
padding-top: 30px;
text-align: center;
}
@media only screen and (max-width: 1023px) {
#footer .flexbox {
flex-direction: column;
}
.f_box,
#foot-box {
width: 100%;
}
.flex_foot-box {
display: none;
}
}



/* アイコン型SNS
/* ------------------------------------- */
#copy-icon {
margin-top: 20px;
}
#social-icon a {
display: block;
float: left;
padding: 0;
color: var(--maincolor);
font-size: 160%;
}
#social-icon i {
margin: 0;
text-align: center;
}
#social-icon a:hover i { opacity: 0.5;transition: 0.5s; }

@media screen and (min-width: 769px) {
#social-icon a {
margin-right: 30px;
}
}
@media screen and (max-width: 768px) {
#copy-icon {
width: 120px;
}
#social-icon {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
#social-icon a {
font-size: 200%;
}
}


/*pagetop
---------------------------------------------------------------------------*/
.pagetop {
display: none;
position: fixed;
bottom: 0;
left: 0;
z-index: 10000;
}
.pagetop a {
display: block;
background-color: var(--themecolor);
text-align: center;
color: #fff;
font-size: 20px;
padding: 15px 25px;
}
.pagetop a:hover {
display: block;
opacity: 0.5;
transition: 0.5s;
color: #fff;
}
@media screen and (max-width: 1023px) {
.pagetop a {
font-size: 14px;
padding: 9px 18px;
}
}


/*google-maps youtube
---------------------------------------------------------------------------*/
.google-maps {
position: relative;
padding-bottom: 75%;
height: 0;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}
.youtube {
position: relative;
padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
height: 0;
overflow: hidden;
}
 .youtube iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/*badge Contact
---------------------------------------------------------------------------*/
.badge a{
width: 110px;
height: 110px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-radius: 50%;
background-color: var(--themecolor);
text-align: center;
display: inline-flex;
position: fixed;
bottom: 10px;
right: 10px;
z-index: 100;
flex-flow: column wrap; 
vertical-align: middle;
justify-content: center;
align-items: center;
text-decoration:none;
transition: opacity .3s;
}
.badge a:hover {
opacity: 0.8;
color: var(--maincolor);
background-color: var(--themecolor);
}
.badge_text {
font-size: 1em;
line-height:1em;
font-weight: normal;
}
.badge_text_small {
font-size: 0.7em;
text-align: center;
margin-top: 5px;
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
}
.badge i{
font-size: 1.3em;
}
@media screen and (min-width: 1024px) {
.badge a{
width: 160px;
height: 160px;
bottom: 30px;
right: 30px;
}
.badge_text {
font-size: 1.3em;
}
.badge_text_small {
font-size: 1em;
text-align: center;
margin-top: 10px
}
.badge i{
font-size: 1.5em;
}
}

/* 診療時間 
---------------------------------------------------------------------------*/
.time_table{
width: 100%;
table-layout: fixed;
border-collapse: collapse;
text-align: center;
border: 1px solid #d9cfc2;
margin: 30px 0 10px 0
}
.time_table th,
.time_table td{
border:1px solid #d9cfc2;
padding:5px;
font-size:1rem;
}

.time_table th{
font-weight:bold;
background:#f7f4ef;
}

.time_table td:first-child{
white-space:nowrap;
font-weight:500;
}

.time_table td:not(:first-child){
font-size:1.5rem;
color:var(--themecolor);
line-height:1.5;
}
.time_table td.off{
color:#333333;
font-weight:100
}
.time_note{
font-size:1rem;
text-align:left;
}
.time_table th:nth-of-type(1),
.time_table td:nth-of-type(1){
width: 130px;
}
.info_toiawase address{
font-size:1rem;
line-height:1.6;
margin-top: 30px;
font-style: normal;
}
@media screen and (min-width: 981px) {
.time_table{
margin: 0 0 10px 0
}
.time_table th:nth-of-type(1),
.time_table td:nth-of-type(1){
width: 140px;
}
}

/* <br>の表示切替 */
.br_sp {
display: none !important;
}

@media screen and (max-width:980px) {
.br_pc {
display: none !important;
}
.br_sp {
display: block !important;
}
}