body {
  /*background-color: #f3f3ec;*/
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "メイリオ", "Meiryo", sans-serif;
 

}
@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */
body{width:480px }}
img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

/*ヘッダー*/

header {
  overflow: hidden;
  background-color: #fff;
  width: 100%;
  height: 100px;
}
.head-left {
  float: left;
  height: 90px;
  margin: 10px 5px;
}
.head-right {
  float: right;
  height: 90px;
  margin: 10px 20px;
}

/*ヘッダーメニュー*/
.navigation {
  background-color: #fff;
}

.head-menu {
  max-width: 800px;
  padding: 0;
  margin: 0 auto;
  text-align: center;
  list-style: none;
  overflow: hidden;
}
.head-menu li {
  display: inline-block;

  text-align: center;

  cursor: pointer;

  padding: 0 10px;
}

.head-menu li a {
  display: inline-block;
  position: relative;

  color: #4e4947;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;

  height: 20px;
  padding: 6px 10px;
  margin-bottom: 10px;
  line-height: 20px;
}

.head-menu li:not(.now-item) ::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #75a314;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}
.head-menu li :hover::after {
  transform: scale(1, 2);
}

.now-item ::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  transform-origin: left top;
  content: "";
  transform: scale(1, 2);
  background: #75a314;
  width: 100%;
  height: 2px;
}

.navigation::after {
  content: " ";
  border-bottom: dotted 2px #999;
  height: 10px;
  display: block;
} /*ヘッダーメニュー下の点線*/

/*見出し*/

h2 {
  margin-bottom: 20px;
  padding-left: 45px;
  line-height: 42px;
  font-weight: 600;
  font-size: 110%;
  background: url(icon/index.png) no-repeat;
}
h4 {
  margin: 1em 0 0 0 ;
  padding: 0;
} 
/*コンテンツ全体*/

.contents {
 max-width: 700px;
  margin: 0 auto;

  padding-bottom: 100px;
  background-color: #fff;
}

.content {
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 50px auto;
}

.content li {
  list-style: none;
}

/*個別コンテンツ*/

.headimg {
  margin: 30px auto;
padding-top: 37%;
  background-image: url(img/headimg.jpg);

  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  position: relative;
  filter: hue-rotate(-15deg) opacity(90%) blur(0.5px);
}

.headimg2{
  
  margin: 20px auto;
  padding-top: 20%;
  background-image: url(img/headimg.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
      background-position-x: center;
      background-position-y: center;
  position: relative;
  filter: hue-rotate(-15deg) opacity(90%) blur(0.5px);


}
/*お知らせ*/

.news li {
  background-image: url(icon/right-allow.png);
  background-position: 0 1.2em;
  background-repeat: no-repeat;
  background-size: 12px;
  padding: 0.9em 0.9em;
  border-bottom: dotted #222 1px;
}

.news ul {
  margin-bottom: 50px;
}

/*予約ボタン―トップ*/

.topappointment {
  margin: 0 auto;
  width: 70%;
}

.topappointment:hover,
.appointmentimg:hover {
  opacity: 0.6;
}

/*時間表*/

table.schedule {
  border-collapse: collapse;
  width: 80%;
  margin: 0 auto;
}

.schedule th,
.schedule td {
  text-align: center;
  font-weight: bold;
  border: 3px solid #fff;
  padding: 10px;
}

.schedule th {
  background: #abd64d; /*曜日緑*/
}
.schedule td {
  background-color: #bfe1f9; /*〇水色*/
}
td.none {
  background-color: #f5d187; /*日曜オレンジ*/
}

.schedule td:not(.nochange) {
  font-size: 1.8em; /*記号フォントサイズ調整*/
}

.schedule td.star {
  font-size: 1.2em; /*記号フォントサイズ調整*/
}

/*表下の注釈*/

.underschedule {
  width: 80%;
  margin: 15px auto;
  display: flex;
  justify-content: space-between;
}
.rightschedule {
  text-align: right;
}
span.bigchange {
  font-size: 1.4em;
}

/*カレンダー*/
.calendar img {
  width: 90%; 
  margin: 0 10px;
}

/* 診察*/

.appointment p,
.prevention p {
  line-height: 32px;
  padding-left: 40px;
  padding-top: 13px;
}

span.colorchange {
  background: linear-gradient(transparent 75%, #67c4fa 75%);
  font-weight: bold;
}

.room {
  display: flex;
  justify-content: space-between;

  margin: 60px 40px 40px 40px;
}

.appointmentimg {
  width: 330px;
}

.roomimg {
  position: relative;
  margin: 40px;
}

.balloon {
  position: absolute;
  top: 15px;
  right: -100px;
  background: url(icon/balloon.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 25px 40px 38px;
}

/*アクセス*/
.google {
  text-align: center;
}

.google {
  max-width: 700px;
}

/*クリニックについて*/
.about table {
  width: 100%;
}

.about table tr {
  border-bottom: solid 2px white;
}

.about table tr:last-child {
  border-bottom: none;
}
.about th {
  position: relative;
  text-align: left;
  width: 30%;
  background-color: #52c2d0;
  color: white;
  text-align: center;
  padding: 10px 0;
}
.about th {
  position: relative;
  text-align: left;
  width: 30%;
  background-color: #52c2d0;
  color: white;
  text-align: center;
  padding: 10px 0;
}
.about th::after {
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top: calc(50% - 10px);
  right: -10px;
  border-left: 10px solid #52c2d0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.about td {
  text-align: left;
  width: 70%;
  text-align: center;
  background-color: #eee;
  padding: 10px 0;
}
.pagetop {
  text-align: right;
  font-size: 0.7em;
}
.pagetop a {
  color: #194991;
}
/*フッター*/
footer {
  width: 100%;
  background: #75a314;
  overflow: hidden;
}
.contact {
  float: right;
  margin: 50px;

  color: #fff;
  border-radius: 20px;
  padding: 0.5em 2em 0.5em 0.5em;
}

.contact h3 {
  margin-left: 30px;
}
.contact li {
  list-style: none;
}

/*画像CSS化*/

.appo {
  background-color: red;
  height: 380px;
  width: 320px;
  border-top: #f1bf31 solid 7px;
  border-bottom: #f1bf31 solid 7px;
}
