﻿@charset "UTF-8";

@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url('//fonts.googleapis.com/css?family=Quicksand:300,400,500,700');
@import url('//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&display=swap');


/*==================
MSSサプリメント
===================*/
.supcol {
  width:100%;
  height: auto;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:stretch;
  flex-wrap: wrap;
}
.supcol li {
  width: 33.33%;
  max-width:33.33%;
  width: calc(100% / 3);
  height: auto;
  padding:0 12px 24px;
  box-sizing: border-box;
}
.supcol img {
  width:100%;
  max-width: 380px;
}
@media screen and (max-width: 960px) {
.supcol li {
  padding:0 8px 16px;
  }
}
@media screen and (max-width: 767px) {
.supcol li {
  flex-direction: column;
  display:block;
  width: 100%;
  max-width:100%;
  padding:0 0 18px;
  }
.supcol img {
  max-width: 220px;
  }
}
@media screen and (max-width: 480px) {
.supcol img {
  max-width: 160px;
  }
}

/*個別ボックス*/
.supcol .box{
  font-family: "Roboto", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  width: 100%;
  height: 100%;
  padding: 12px 12px 18px;
  margin: 0 auto;
  background: #F7F7F7;
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.2);
  text-align: center;
}
.supcol .box h2{
  font-size: 1em;
  font-weight: 600;
  line-height: 1.5;
  margin: 10px 0 6px;
  letter-spacing: 0.03em;
}
.supcol .box h3{
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
.supcol .box h3 .taxin{
  font-size: 0.75em;
  margin-left: 0.3em;
}
@media screen and (max-width: 960px) {
.supcol .box h2{
  font-size: 0.9em;
  }
.supcol .box h3{
  font-size: 0.85em;
  }
}
@media screen and (max-width: 640px) {
.supcol .box h2{
  font-size: 1.1em;
  }
}
@media screen and (max-width: 480px) {
.supcol .box{
  padding: 8px 12px 12px;
  }
.supcol .box h2{
  font-size: 1em;
  margin: 6px 0 3px;
  }
.supcol .box h3{
  font-size: 0.9em;
  }
}




/*=================================================
アクセス
=================================================*/
.accessbox {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
}
.accessbox_text {
  width: 100%;
  flex: 1;
  margin:0 20px 0 0;
}
.accessbox_img {
  width: 100%;
  max-width: 420px;
}
@media screen and (max-width: 960px) {
.accessbox_img {
  width: 100%;
  max-width: 320px;
  }
}
@media screen and (max-width: 640px) {
.accessbox {
  flex-direction: column;
  display:block;
  }
.accessbox_text {
  max-width:100%;
  margin:0 0 5px 0;
  }
.accessbox_img {
  max-width:100%;
  }
}

.movewrap {
  width: 100%;
  margin: 0 auto;
  padding: 32px;
  background: #D96D00;
  text-align: center;
  margin-bottom: 30px;
}
.movewrap h3 {
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.5;
  font-size: 1.8em;
  font-weight: 900;
  color: #FFFF4C;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.movewrap h4{
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.5;
  font-size: 1.3em;
  font-weight: 900;
  color: #FFF;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 960px) {
.movewrap {
  padding: 24px;
  text-align: left;
  margin-bottom: 25px;
  }
.movewrap h3 {
  font-size: 1.5em;
  margin-bottom: 12px;
  }
.movewrap h4{
  font-family: "Noto Sans Japanese", sans-serif;
  font-size: 1.2em;
  }
.movewrap br{
  display: none;
  }
}


/*=================================================
診療内容ページ
=================================================*/
/*-------------------------
チェックマークリスト
--------------------------*/
.checkwrap {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.checkwrap li {
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding:0 0.8em 5px 1.7em;
  box-sizing: border-box;
}
.check {
  background: url(../img/common/check.png) no-repeat;
  background-position:0 0.2em;
  background-size: 1.2em;
  padding:0 0 0.2em 1.5em;
}
@media screen and (max-width: 767px) {
.checkwrap li {
  flex-direction: column;
  display:block;
  width: 100%;
  max-width:100%;
  padding:0 0 5px 1.7em;
  }
}


/*=================================================
当院のご案内
=================================================*/
.profilecolumn {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
}
.profilecolumn li{
  width:50%;
  margin:0 20px 0 0;
}
.profilecolumn li:last-child{
  margin:0 0 0 0;
}
@media screen and (max-width: 960px) {
.profilecolumn {
  flex-direction: column;
  display:block;
  }
.profilecolumn li {
  width:100%;
  margin:0 0 15px 0;
  }
.profilecolumn li:last-child{
  margin:0 0 0 0;
  }
}


/*=================================================
トップページ
=================================================*/
/*-------------------------
当院からのお知らせ
--------------------------*/
.newswrap {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: flex-start;
}
.news_title {
  width: 100%;
  max-width: 320px;
  margin:0 30px 0 0;
}
.news_text {
  width: 100%;
  max-width: 640px;
}
@media screen and (max-width: 840px) {
.news_title {
  max-width: 200px;
  }
.news_title img {
  max-width: 160px;
  }
}
@media screen and (max-width: 640px) {
.newswrap {
  flex-direction: column;
  display:block;
  }
.news_title {
  max-width:100%;
  margin:0 auto;
  padding-bottom: 20px;
  }
.news_text {
  max-width:100%;
  }
}

/* 一覧ボタン */
.newsbtnwrap {
  width: 100%;
  text-align: right;
}
.newsbtn {
  -webkit-appearance:none;
  -moz-appearance:none;
  -ms-appearance:none;
  -o-appearance:none;
  appearance:none;
  font-size:0.9em;
  cursor: pointer;
  padding: 8px 12px;
  text-decoration: none;
  color: #66C6F1;
  background: #FFF;
  text-align: center;
  font-weight: bold;
  line-height: 100%;
  border: 2px solid #66C6F1;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  margin:10px 0 0;
  display: inline-block;
  transition: all .3s;
}
.newsbtn:hover {
  background: #66C6F1;
  color: #FFF;
}
@media screen and (max-width: 640px) {
.newsbtnwrap {
  width: 100%;
  text-align: center;
}
.newsbtn {
  margin:0;
  }
}

/*-------------------------
PR枠
--------------------------*/
.prwrap {
  width:100%;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content:center;
  align-items:center;
  align-items:stretch;
  -webkit-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  background: #D9F1FC;
}
.prwrap li{
  width:50%;
}
.pr_textbox {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 25px;
}
.order1 {
  order: 1;
  }
.order2 {
  order: 2;
  }
.order3 {
  order: 4;
  }
.order4 {
  order: 3;
  }
.order5 {
  order: 5;
  }
.order6 {
  order: 6;
  }
@media screen and (max-width: 767px) {
.prwrap {
  flex-direction: column;
  display:block;
  }
.prwrap li{
  width:100%;
}
.pr_textbox {
  max-width: 100%;
  padding: 40px 25px;
  }
.pr_img {
  height: 240px;
  }
.order1 {
  order: 1;
  }
.order2 {
  order: 2;
  }
.order3 {
  order: 3;
  }
.order4 {
  order: 4;
  }
.order5 {
  order: 5;
  }
.order6 {
  order: 6;
  }
}

.pr01_photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background-image:url(../img/index/pr01.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.pr02_photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background-image:url(../img/index/pr02.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.pr03_photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background-image:url(../img/index/pr03.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
@media screen and (max-width: 767px) {
.pr01_photo,
.pr02_photo,
.pr03_photo {
  min-height: 100%;
  }
}

/* ボタン */
.topprbtn {
  display: block;
  position: relative;
  background: #FFF;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #00A0E8;
  color: #00A0E8;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: .5s;
  margin: 8px 0;
}
.topprbtn:before {
  content: "";
  position: absolute;
  top: 42%;
  right: 12px;
  width: 12px;
  height: 2px;
  background: #00A0E8;
  transform: rotate(45deg);
}
.topprbtn:after {
  content: "";
  position: absolute;
  top: 56%;
  right: 12px;
  width: 12px;
  height: 2px;
  background: #00A0E8;
  transform: rotate(-45deg);
}
.topprbtn:hover {
  background: #00A0E8;
  color: #FFF;
}

/*-------------------------
症状から探す
--------------------------*/
.topsymptom {
  width:100%;
  height: auto;
  margin: 0 auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items:stretch;
}
.topsymptom li {
  display: flex;
  width: 25%;
  max-width:25%;
  height: auto;
  width: calc(100% / 4);
  padding:0 15px 15px 0;
  box-sizing: border-box;
}
.topsymptom img {
  width:100%;
  margin-bottom: 15px;
}
.topsymptombox {
  width: 100%;
  height: 100%;
  padding: 15px;
  margin: 0 auto;
  text-align: center;
  color: #FFF;
  background: #009FE7;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  line-height: 1.6;
}
.topsymptom a {
  display: block;
  font-weight: bold;
  text-decoration: none !important;
}
@media screen and (max-width: 960px) {
.topsymptombox {
  padding: 10px;
  font-size: 0.9em;
  }
}
.topsymptomtitle {
  margin-bottom: 20px;
}
@media screen and (max-width: 640px) {
.topsymptom li {
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding:0 10px 10px 0;
  box-sizing: border-box;
  }
.topsymptom img {
  width:100%;
  margin-bottom: 12px;
  }
.topsymptomtitle {
  width: 100%;
  max-width: 240px;
  margin-bottom: 15px;
  }
}

/*-------------------------
病名から探す
--------------------------*/
.topdiseasetitle {
  margin-bottom: 20px;
}
.btn_stomack {
  width: 100%;
  -webkit-appearance:none;
  -moz-appearance:none;
  -ms-appearance:none;
  -o-appearance:none;
  appearance:none;
  font-size:1em;
  cursor: pointer;
  padding: 12px 12px 10px;
  text-decoration: none;
  color: #FFF;
  background: #D9A300;
  text-align: center;
  font-weight: bold;
  line-height: 1.4;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  margin:0;
  display: inline-block;
  transition: all .3s;
}
.btn_colon {
  width: 100%;
  -webkit-appearance:none;
  -moz-appearance:none;
  -ms-appearance:none;
  -o-appearance:none;
  appearance:none;
  font-size:1em;
  cursor: pointer;
  padding: 12px 12px 10px;
  text-decoration: none;
  color: #FFF;
  background: #59B200;
  text-align: center;
  font-weight: bold;
  line-height: 1.4;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  margin:0;
  display: inline-block;
  transition: all .3s;
}
@media screen and (max-width: 640px) {
.topdiseasetitle {
  width: 100%;
  max-width: 240px;
  margin-bottom: 15px;
  }
}

/* ボタン並び */
.topdiseasebtnwrap {
  width:100%;
  margin: 20px 0 0;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.topdiseasebtn {
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding:0 5px 5px 0;
  box-sizing: border-box;
}
@media screen and (max-width: 640px) {
.topdiseasebtnwrap {
  flex-direction: column;
  display:block;
  margin: 12px 0 0;
  }
.topdiseasebtn {
  width: 100%;
  max-width:100%;
  padding:0 0 5px 0;
  }
}

/*-------------------------
当院の特長
--------------------------*/
.toptokucho {
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 20px;
  background: #EEE;
}
@media screen and (max-width: 960px) {
.toptokucho {
  padding: 20px 15px 15px;
  }
}

.feature {
  width:100%;
  height: auto;
  max-width: 1240px;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:stretch;
  flex-wrap: wrap;
}
.feature li {
  width: 33.33%;
  max-width:33.33%;
  width: calc(100% / 3);
  padding:0 10px 20px 10px;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
.feature li {
  flex-direction: column;
  display:block;
  width: 100%;
  max-width:100%;
  padding:0 10px 20px 10px;
  }
}

.featurebox {
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 20px;
  margin: 0 auto;
  background: #FFF;
  position: relative;
  box-shadow: 0px 0px 10px -5px #000;
}
.featurebox:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 68px 68px 0 0;
  border-color: #00A0E8 transparent transparent transparent;
}
.ftnumb {
  position: absolute;
  content: "";
  display: block;
  white-space: pre;
  color: #FFF;
  top: 6px;
  left: 12px;
  z-index: 2;
  line-height: 100%;
  font-size: 1.6em;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
  text-align: center;
  font-weight: bold;
}
.ftcomment {
  font-size: 1.1em;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.4;
  padding-left: 36px;
  padding-bottom: 12px;
  font-weight: bold;
}
@media screen and (max-width: 960px) {
.featurebox {
  padding: 15px;
  }
.featurebox:before {
  border-width: 54px 54px 0 0;
  }
.ftnumb {
  top: 4px;
  left: 8px;
  font-size: 1.4em;
  }
.ftcomment {
  font-size: 1em;
  padding-left: 28px;
  }
}
@media screen and (max-width: 767px) {
.ftcomment {
  font-size: 1.2em;
  padding-left: 32px;
  }
}

/*-------------------------
内視鏡検査について
--------------------------*/
.topcamera {
  width:100%;
  height: auto;
  margin: auto;
  padding:0 32px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  align-items:stretch;
}
.topcamera li{
  width:50%;
  height: auto;
  margin:0 30px 0 0;
}
.topcamera li:last-child{
  margin:0 0 0 0;
}
@media screen and (max-width: 1240px) {
.topcamera {
  flex-direction: column;
  display:block;
  }
.topcamera li {
  width:100%;
  margin: 0 0 25px;
  }
.topcamera li:last-child{
  margin:0 0 0 0;
  }
}

/*胃カメラ*/
.tc_stomach {
  width:100%;
  height: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content:center;
  align-items:center;
  align-items:stretch;
  background: #0065B3;
  border: 5px solid #0065B3;
}
.tc_stomach_text,
.tc_stomach_img{
  width:50%;
  height: auto;
}
.tc_stomach_text {
  margin: 0 auto;
  padding: 30px 25px 30px 0;
  color: #FFF;
}
.tc_stomach_img {
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
}
.tc_stomach_photo {
  width: 100%;
  height: 100%;
  background-image:url(../img/index/topcamera_stomach.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.tc_stomach h3 {
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.5;
  font-weight: 700;
  font-size: 1.4em;
  border-bottom: 1px solid #FFF;
  padding: 0 0 10px;
  text-align: center;
  color: #FFDC73;
}
.tc_stomach p {
  font-family: 'Noto Serif JP', serif;
  line-height:1.7;
  font-weight: 400;
  font-size: 0.9em;
}
@media screen and (max-width: 640px) {
.tc_stomach {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  }
.tc_stomach_text,
.tc_stomach_img{
  width:100%;
}
.tc_stomach_text {
  padding: 10px 25px 25px;
  }
.tc_stomach_img {
  height: 200px;
  -ms-flex-order:-1;
  -webkit-order:-1;
  order:-1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 84%);
  }
}

/*大腸カメラ*/
.tc_colon {
  width:100%;
  height: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content:center;
  align-items:center;
  align-items:stretch;
  background: #0065B3;
  border: 5px solid #0065B3;
}
.tc_colon_text,
.tc_colon_img{
  width:50%;
  height: auto;
}
.tc_colon_text {
  margin: 0 auto;
  padding: 30px 0 30px 25px;
  color: #FFF;
}
.tc_colon_img {
  clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
}
.tc_colon_photo {
  width: 100%;
  height: 100%;
  background-image:url(../img/index/topcamera_colon.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.tc_colon h3 {
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.5;
  font-weight: 700;
  font-size: 1.4em;
  border-bottom: 1px solid #FFF;
  padding: 0 0 10px;
  text-align: center;
  color: #FFDC73;
}
.tc_colon p {
  font-family: 'Noto Serif JP', serif;
  line-height:1.7;
  font-weight: 400;
  font-size: 0.9em;
}
@media screen and (max-width: 640px) {
.tc_colon {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  }
.tc_colon_text,
.tc_colon_img{
  width:100%;
}
.tc_colon_text {
  padding: 10px 25px 25px;
  }
.tc_colon_img {
  height: 200px;
  -ms-flex-order:-1;
  -webkit-order:-1;
  order:-1;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0% 100%);
  }
}

/* 詳細はこちらボタン */
.topcamerabtn {
  display: block;
  position: relative;
  background: #FFDC73;
  padding: 12px 15px 15px;
  color: #0065B3;
  text-align: center;
  text-decoration: none;
  font-family: "Noto Sans Japanese", sans-serif;
  font-weight: 700;
  transition: .5s;
  margin: 15px 0 0;
  line-height: 100%;
  font-size: 0.95em;
  max-width: 200px;
  letter-spacing: 0.06em;
}
.topcamerabtn:before {
  content: "";
  position: absolute;
  top: 42%;
  right: 12px;
  width: 10px;
  height: 2px;
  background: #0065B3;
  transform: rotate(45deg);
}
.topcamerabtn:after {
  content: "";
  position: absolute;
  top: 56%;
  right: 12px;
  width: 10px;
  height: 2px;
  background: #0065B3;
  transform: rotate(-45deg);
}
.topcamerabtn:hover {
  background: #FFF;
}







/*=================================================
共通パーツ
=================================================*/
/*-------------------------
共通ヘッダー
--------------------------*/
header {
  width:100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding:0 20px 15px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-around;
  justify-content: flex-start;
  align-items:center;
}
header >:first-child {
  margin-right: auto;
}
.header_logo img{
  max-width: 320px;
  margin: 0 20px 0 0;
}
.header_hour {
  width: 100%;
  max-width: 380px;
  margin: 0 25px;
}
.header_info {
  max-width: 280px;
  text-align: center;
}
@media screen and (max-width: 1140px) {
.header_hour {
  max-width: 320px;
  margin: 0 20px;
  }
}
@media screen and (max-width: 1080px) {
.header_hour {
  display: none;
  }
}
@media screen and (max-width: 1000px) {
header{
  padding:0 20px 15px;
  }
.header_logo img{
  max-width: 260px;
  margin: 0 20px 0 10px;
  }
}
@media screen and (max-width: 767px) {
header {
  flex-direction: column;
  display:block;
  padding:15px;
  }
.header_logo img{
  max-width: 180px;
  margin:0 0 0 5px;
  }
.header_info {
  display: none;
  }
}

/* ヘッダーボタン(web予約・問診) */
.headbtn {
  width:100%;
  margin: auto;
  padding:0 0 12px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items:flex-start;
}
.headbtn li{
  margin:0 8px 0 0;
}
.headbtn img {
  width: 100%;
  max-width: 120px;
}
.headbtn li:last-child{
  margin:0 0 0 0;
}
@media screen and (max-width: 1000px) {
.headbtn img {
  width: 100%;
  max-width: 100px;
  }
}

/* 院長診療案内ボタン */
.btn_hourincho {
  -webkit-appearance:none;
  -moz-appearance:none;
  -ms-appearance:none;
  -o-appearance:none;
  appearance:none;
  font-size:0.85em;
  cursor: pointer;
  padding: 6px 12px;
  text-decoration: none;
  color: #009FE7;
  background: #FFF;
  text-align: center;
  font-weight: bold;
  line-height: 100%;
  border: 1px solid #009FE7;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  margin:2px 5px 0 0;
  display: inline-block;
  transition: all .3s;
}

/*-------------------------
共通フッター
--------------------------*/
/* ご予約・お問い合わせはお電話で */
.footcontact {
  width: 100%;
  padding: 60px 0 50px;
  margin: 60px 0 0;
  background: #00A0E8;
  text-align: center;
}
a.footcontact_tel{
  padding: 15px 30px 12px 30px;
  margin: 15px 0 10px;
  display:inline-block;
  color: #00A0E8 !important;
  background: #FFF;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  font-family: 'Quicksand', sans-serif;
  line-height:100%;
  font-weight: 500;
  font-size:2em !important;
  text-align:left;
  text-decoration:none !important;
  cursor:pointer;
  transition: all .3s;
  line-height: 100%;
}
a.footcontact_tel:hover {
  background: #EBF5FB;
}
a.footcontact_tel:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin:0 10px 0 0;
  background: url("../img/common/icon_tel.png") no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.footcontactbtnwrap {
  width:100%;
  max-width: 420px;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
}
.footcontactbtnwrap li{
  width:50%;
  margin:15px 12px 0 0;
}
.footcontactbtnwrap li:last-child{
  margin:15px 0 0 0;
}
.btn_footcontact {
  display: block;
  position: relative;
  background: #00A0E8;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #FFF;
  color: #FFF;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: .5s;
  margin: 0;
  font-size: 1.1em;
}
.btn_footcontact:before {
  content: "";
  position: absolute;
  top: 42%;
  right: 12px;
  width: 10px;
  height: 2px;
  background: #FFF;
  transform: rotate(45deg);
}
.btn_footcontact:after {
  content: "";
  position: absolute;
  top: 56%;
  right: 12px;
  width: 10px;
  height: 2px;
  background: #FFF;
  transform: rotate(-45deg);
}
@media screen and (max-width: 640px) {
.footcontact {
  padding: 40px 0 30px;
  margin: 30px 0 0;
  }
a.footcontact_tel{
  padding: 10px 25px 8px 25px;
  margin: 10px 0 10px;
  font-size:1.5em !important;
  }
}

/* フッター医院情報 */
footer {
  width:100%;
  height: auto;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
  align-items:stretch;
}
.footinfo {
  display: flex;
  width: 50%;
  height: auto;
  margin:0;
  padding: 0;
}
.footmap {
  width: 50%;
  height: auto;
  margin: 0;
  padding: 0;
}
.footmap iframe {
  width: 100%;
  height:100%;
  padding: 0;
  margin: 0;
}
.footinfowrap {
  width: 100%;
  max-width: 640px;
  height: 100%;
  margin: 0 auto;
  padding: 40px 20px 12px;
}
.footlogo {
  width: 100%;
  max-width: 260px;
  margin-bottom: 15px;
}
.copyright {
  font-size: 0.7em;
  color: #66C5F1;
  font-family: 'Quicksand', sans-serif;
  margin: 20px 0 0;
}
@media screen and (max-width: 767px) {
footer {
  flex-direction: column;
  display:block;
  }
.footinfo {
  width:100%;
  margin:0 0 15px 0;
  }
.footmap {
  width:100%;
  }
.footmap iframe {
  width: 100%;
  height:320px;
  padding: 0;
  margin: 0;
  }
.footinfowrap {
  text-align: center;
  padding: 30px 15px 0;
  }
.footlogo {
  width: 100%;
  max-width: 240px;
  margin-bottom: 15px;
  }
}

/*-------------------------
ページ上部へジャンプ
--------------------------*/
#jumptop{
  position:fixed;
  right: 30px;
  bottom:30px;
  z-index: 9999;
}
.jumpbtn {
  width:4.5em;
  height:4.5em;
  cursor:pointer;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  cursor:pointer;
  background:#00A0E8;
  position: relative;
  border: 2px solid #FFF;
}
.jumpbtn:before {
  content: '';
  position: absolute;
  top: 42%;
  right: 1.4em;
  display: block;
  width: 1.3em;
  height: 1.3em;
  border-top: 3px solid #FFF; 
  border-right: 3px solid #FFF; 
  transform: rotate(-45deg); 
}
@media(max-width:1200px){
#jumptop{
  z-index: 9;
  }
}
@media(max-width:767px){
#jumptop{
  right: 20px;
  bottom:20px;
  }
.jumpbtn {
  width: 3.5em;
  height: 3.5em;
  }
.jumpbtn:before {
  top: 42%;
  right: 1.2em;
  width: 1em;
  height: 1em;
  }
}

/*-------------------------
右端固定リンクボタン
--------------------------*/
.fixbtn {
  width:80px;
  height:auto;
  position:fixed;
  z-index:9999;
  top: 100px;
  right: 0px;
}
@media screen and (max-width: 1280px) {
.fixbtn {
  top: 300px;
  width:60px;
  }
}
@media screen and (max-width: 767px) {
.fixbtn {
  display: none;
  }
}

/*-------------------------
フッター電話リンク(スマホでのみ表示)
--------------------------*/
.footbtn {
  display: none;
  z-index: 9999;
  position: relative;
}
@media screen and (max-width: 767px) {
.footbtn {
  display: block;
  }
.footbtn_tel {
  width: 60%;
  background: #D9F1FC;
  text-align: center;
  margin: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  }
.footbtn_reserv {
  width: 20%;
  background: #009FE6;
  text-align: center;
  margin: 0;
  position: fixed;
  bottom: 0;
  left: 60%;
  }
.footbtn_consul {
  width: 20%;
  background: #8DCD00;
  text-align: center;
  margin: 0;
  position: fixed;
  bottom: 0;
  left: 80%;
  }
.footbtn img {
  width: auto;
  height: 60px;
  }
footer {
  padding-bottom: 48px;
  }
#jumptop{
  right: 15px;
  bottom:74px;
  }
}

/*-------------------------
ページヘッダー
--------------------------*/
.head {
  width:100%;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content:center;
  align-items:center;
  -webkit-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  background: #D9F1FC;
}
.head li{
  width:50%;
}
.headimg {
  height: 400px;
}
.head_textbox {
  max-width: 640px;
  margin: 0 0 0 20px;
  padding: 30px 20px;
}
@media screen and (max-width: 767px) {
.head {
  flex-direction: column;
  display:block;
  }
.head li{
  width:100%;
  }
.headimg {
  height: 200px;
  }
.head_textbox {
  max-width: 100%;
  padding: 20px 20px;
  margin: 0 0 0 0;
  }
}

/*ページタイトル*/
.pagetitle {
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.6;
  font-size: 1.6em;
  color: #009FE7;
  font-weight: 400;
  margin-bottom: 12px;
}
.pagetitle2 {
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.6;
  font-size: 0.9em;
  color: #666;
  font-weight: 400;
  margin-bottom: 15px;
}
@media screen and (max-width: 1000px) {
.pagetitle {
  font-size: 1.4em;
  }
.pagetitle2 {
  font-size: 0.85em;
  }
}

/* 区切り線付きリンク */
.headlink {
  margin: 0;
  line-height: 2;
  font-size: 0.9em;
}
.headlink li {
	display:inline;
	list-style-type:none;
	margin-right:6px;
	padding-left:10px;
  white-space: nowrap;
}
.headlink li+li {
	border-left:1px solid #ACAC9D;
}
@media screen and (max-width: 1000px) {
.headlink {
  font-size: 0.85em;
  }
}

/*各ヘッダーイメージ*/
.img_aboutus {
  width: 100%;
  height: 100%;
  background-image:url(../img/aboutus/header.png);
  background-position:center right;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_stomach {
  width: 100%;
  height: 100%;
  background-image:url(../img/stomach/kensa/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_colon {
  width: 100%;
  height: 100%;
  background-image:url(../img/colon/kensa/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_gyaku {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/gyaku/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_anisakis {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/anisakis/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_pylori {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/pylori/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_dyspepsia {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/dyspepsia/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_kabin {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/kabin/header.png);
  background-position:bottom center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_benpi {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/benpi/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_geri {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/geri/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_blood {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/blood/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_DM {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/DM/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_HTN {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/HTN/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_DL {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/DL/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_gout {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/gout/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_disease_SAS {
  width: 100%;
  height: 100%;
  background-image:url(../img/disease/SAS/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_symptom_ache {
  width: 100%;
  height: 100%;
  background-image:url(../img/symptom/ache/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_symptom_nausea {
  width: 100%;
  height: 100%;
  background-image:url(../img/symptom/nausea/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_symptom_heavy {
  width: 100%;
  height: 100%;
  background-image:url(../img/symptom/heavy/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_symptom_bloodstool {
  width: 100%;
  height: 100%;
  background-image:url(../img/symptom/bloodstool/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_symptom_fart {
  width: 100%;
  height: 100%;
  background-image:url(../img/symptom/fart/header.png);
  background-position:center top;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_symptom_lossapp {
  width: 100%;
  height: 100%;
  background-image:url(../img/symptom/lossapp/header.png);
  background-position:center top;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_symptom_bloat {
  width: 100%;
  height: 100%;
  background-image:url(../img/symptom/bloat/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_service_naika {
  width: 100%;
  height: 100%;
  background-image:url(../img/service/naika/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_service_shouka {
  width: 100%;
  height: 100%;
  background-image:url(../img/service/shouka/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_service_komon {
  width: 100%;
  height: 100%;
  background-image:url(../img/service/komon/header.png);
  background-position:center right;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_service_homecare {
  width: 100%;
  height: 100%;
  background-image:url(../img/service/homecare/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_service_checkup {
  width: 100%;
  height: 100%;
  background-image:url(../img/service/checkup/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_service_cancer {
  width: 100%;
  height: 100%;
  background-image:url(../img/service/cancer/header.png);
  background-position:bottom center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_service_oneday {
  width: 100%;
  height: 100%;
  background-image:url(../img/service/oneday/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_access {
  width: 100%;
  height: 100%;
  background-image:url(../img/access/header.png);
  background-position:top center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_online {
  width: 100%;
  height: 100%;
  background-image:url(../img/online/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_202406announce {
  width: 100%;
  height: 100%;
  background-image:url(../img/202406announce/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_MSSsup {
  width: 100%;
  height: 100%;
  background-image:url(../img/MSSsup/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}
.img_symptom_snore {
  width: 100%;
  height: 100%;
  background-image:url(../img/symptom/snore/header.png);
  background-position:center center;
  background-repeat:no-repeat;
  -moz-background-size:cover;
  background-size:cover;
}


/* マンガページ用ヘッダー */
.head2 {
  width:100%;
  padding:30px 15px;
  margin: 0 auto;
  background: #D9F1FC;
  text-align: center;
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.6;
  font-weight: 700;
  font-size: 1.3em;
  margin-bottom: 20px;
}
@media screen and (max-width: 640px) {
.head2 {
  padding:15px 15px;
  font-size: 1.15em;
  }
}


/*-------------------------
サブタイトル
--------------------------*/
/* 下線 */
.subtitle {
  position: relative;
  text-align: center;
  font-family: "Noto Sans Japanese", sans-serif;
  line-height:1.6;
  font-size: 1.8em;
  font-weight: 600;
  color: #000;
  margin: 60px 0 60px;
}
.subtitle:before {
  content: '';
  position: absolute;
  bottom: -20px;
  display: inline-block;
  width: 100px;
  height: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00A0E8;
}
@media screen and (max-width: 767px) {
.subtitle {
  font-size: 1.5em;
  margin: 40px 0 40px;
  }
.subtitle:before {
  width: 60px;
  height: 4px;
  bottom: -15px;
  }
}

/* 文頭縦線付き */
.subtitle2 {
  width: 100%;
  padding: 5px 0 0 12px;
  margin: 0 0 15px;
  line-height:1.5;
  font-weight: bold;
  font-size: 1.4em;
  color: #000;
  border-left: solid 8px #00A0E8;
}
@media(max-width:640px){
.subtitle2 {
  padding: 5px 0 0 10px;
  margin: 0 0 12px;
  font-size: 1.15em;
  border-left: solid 6px #00A0E8;
  }
}

/*-------------------------
アイコン付き見出し
--------------------------*/
/*青点＋青文字＋太字*/
.chap {
  background: url(../img/common/chap.png) no-repeat;
  background-position:0 0.15em;
  background-size: 1.2em;
  padding:0 0 0.2em 1.6em;
  font-weight: bold;
  color: #009FE6;
  font-size: 1.1em;
}
/*青点リスト*/
.chap2 li {
  background: url(../img/common/chap2.png) no-repeat;
  background-position:0 0.2em;
  background-size: 1.2em;
  padding:0 0 0.2em 1.5em;
}

/*-------------------------
アイコン付き電話リンク
--------------------------*/
.tel {
  font-size:1.8em;
  line-height:100%;
  padding:0;
  font-family: 'Quicksand', sans-serif;
  margin: 5px 0;
}
.tel :before {
  content:"";
  display:inline-block;
  width:0.9em;
  height:0.9em;
  background:url(../img/common/icon_tel.png) no-repeat;
  background-size:contain;
  padding-left:1.1em;
  margin-bottom: 5px;
  vertical-align:middle;
}
.tel a{
  text-decoration:none;
  color:#009FE6;
  font-weight:500;
}

/*-------------------------
色背景
--------------------------*/
.beige {
  width: 100%;
  padding: 20px 25px;
  margin: 0 auto;
  background: #F3F0E9;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
@media screen and (max-width: 640px) {
.beige {
  padding: 15px;
  background: #F3F0E9;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  }
}

/*-------------------------
2列テーブル
--------------------------*/
table {
  width: 100%;
  border-collapse: collapse;
}
table th{
  padding: 10px 15px;
  text-align: left;
  vertical-align: middle;
  background-color: #F5F5F5;
  border: 1px solid #AAA;
  font-weight:normal;
}
table td{
  padding: 10px 15px;
  background-color: #FFF;
  text-align:left;
  vertical-align: middle;
  border: 1px solid #AAA;
}
table .cell50 {
  width: 50%;
}
table .cell30 {
  width: 30%;
}
table .cell25 {
  width: 25%;
}
@media screen and (max-width: 640px) {
table {
  font-size: 0.85em;
  line-height: 1.6;
  }
table th{
  padding: 8px 10px;
  text-align:left;
  }
table td{
  padding: 8px 10px;
  }
}

/*-------------------------
ボタン
--------------------------*/
/* 青角円ボタン */
.btn_blue {
  -webkit-appearance:none;
  -moz-appearance:none;
  -ms-appearance:none;
  -o-appearance:none;
  appearance:none;
  font-size:0.9em;
  cursor: pointer;
  padding: 10px 15px;
  text-decoration: none;
  color: #FFF;
  background: #009FE7;
  text-align: center;
  font-weight: bold;
  line-height: 100%;
  border: 2px solid #009FE7;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  margin:2px 5px 5px 0;
  display: inline-block;
  transition: all .3s;
}
.btn_blue:hover {
  background: #FFF;
  color: #009FE7;
  border: 2px solid #009FE7;
}

/* 青枠角円ボタン(小さめ) */
.btn_blue2 {
  -webkit-appearance:none;
  -moz-appearance:none;
  -ms-appearance:none;
  -o-appearance:none;
  appearance:none;
  font-size:0.85em;
  cursor: pointer;
  padding: 8px 12px;
  text-decoration: none;
  color: #009FE7;
  background: #FFF;
  text-align: center;
  font-weight: bold;
  line-height: 100%;
  border: 1px solid #009FE7;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  margin:2px 5px 5px 0;
  display: inline-block;
  transition: all .3s;
}
.btn_blue2:hover {
  background: #009FE7;
  color: #FFF;
  border: 1px solid #009FE7;
}

/*-------------------------
写真ギャラリー
--------------------------*/
/* 写真ギャラリー横並び2列(640px以下で縦列切替) */
.gallery2 {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.gallery2 li {
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding:0 15px 15px 0;
  box-sizing: border-box;
}
.gallery2 img {
  width:100%;
}
@media screen and (max-width: 640px) {
.gallery2 li {
  flex-direction: column;
  display:block;
  width: 100%;
  max-width:100%;
  padding:0 0 10px 0;
  }
}

/* 写真ギャラリー横並び2列固定 */
.gallery2_fix {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.gallery2_fix li {
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  padding:0 15px 15px 0;
  box-sizing: border-box;
}
.gallery2_fix img {
  width:100%;
}
@media screen and (max-width: 640px) {
.gallery2_fix li {
  padding:0 10px 10px 0;
  }
}

/* 写真ギャラリー横並び3列(640px以下で縦列切替) */
.gallery3 {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.gallery3 li {
  width: 33.33%;
  max-width:33.33%;
  width: calc(100% / 3);
  padding:0 15px 15px 0;
  box-sizing: border-box;
}
.gallery3 img {
  width:100%;
}
@media screen and (max-width: 640px) {
.gallery3 li {
  flex-direction: column;
  display:block;
  width: 100%;
  max-width:100%;
  padding:0 0 10px 0;
  }
}

/* 写真ギャラリー横並び3列固定 */
.gallery3_fix {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
  flex-wrap: wrap;
}
.gallery3_fix li {
  width: 33.33%;
  max-width:33.33%;
  width: calc(100% / 3);
  padding:0 15px 15px 0;
  box-sizing: border-box;
}
.gallery3_fix img {
  width:100%;
}
@media screen and (max-width: 640px) {
.gallery3_fix li {
  padding:0 8px 8px 0;
  }
}

/* 写真ギャラリーキャプション */
.gallerycaption {
  font-size: 0.9em;
  margin-top: 8px;
  line-height: 1.5;
  padding: 0;
  text-align: center;
}
@media screen and (max-width: 640px) {
.gallerycaption {
  font-size: 0.85em;
  margin-top: 6px;
  line-height: 1.4;
  }
}
/*-------------------------
横並びflexbox
--------------------------*/
/* 均等2列(767px以下で縦列切り替え) */
.col2 {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
}
.col2 li{
  width:50%;
  margin:0 40px 0 0;
}
.col2 li:last-child{
  margin:0 0 0 0;
}
@media screen and (max-width: 767px) {
.col2 {
  flex-direction: column;
  display:block;
  }
.col2 li {
  width:100%;
  margin:0 0 15px 0;
  }
.col2 li:last-child{
  margin:0 0 0 0;
  }
}

/* 画像(320px)＋テキスト上揃え(640px以下で縦列切り替え) */
.column {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: flex-start;
}
.column_img {
  width: 100%;
  max-width: 320px;
  margin:0 30px 0 0;
}
.column_text {
  width: 100%;
  max-width: 640px;
}
@media screen and (max-width: 640px) {
.column {
  flex-direction: column;
  display:block;
  }
.column_img {
  max-width:100%;
  margin:0 0 15px 0;
  }
.column_text {
  max-width:100%;
  }
}

/* 画像(240px)＋テキスト上揃え(640px以下で縦列切り替え) */
.column2 {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
}
.column2_img {
  width: 100%;
  max-width: 240px;
  margin:0 30px 0 0;
}
.column2_text {
  width: 100%;
  max-width: 640px;
}
@media screen and (max-width: 960px) {
.column2_img {
  width: 100%;
  max-width: 180px;
  margin:0 20px 0 0;
  }
}
@media screen and (max-width: 640px) {
.column2 {
  flex-direction: column;
  display:block;
  }
.column2_img {
  max-width:100%;
  margin:0 0 15px 0;
  text-align: center;
  }
.column2_text {
  max-width:100%;
  }
}

/*=================================================
更新プログラム調整
=================================================*/
#detail br{
  display: block;
}
.newsdate {
  color:#66C6F1;
  font-family: 'Quicksand', sans-serif;
  line-height:1.4;
  font-size: 1.1em;
}
.newstitle {
  line-height: 1.5;
  margin: 3px 0 5px;
}
.newstitle2 {
  line-height: 1.5;
  margin: 3px 0 15px;
  padding: 0 0 0 1em;
}
.newsdatail {
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 12px;
  padding: 0 0 0 1em;
}
@media screen and (max-width: 640px) {
.newstitle {
  margin: 2px 0 2px;
  }
.newstitle2 {
  margin: 2px 0 10px;
  }
.newsdatail {
  margin-bottom: 15px;
  }
}

.pager{
	text-align:center;
	padding:10px;
	clear:both;
}
.pager a{
    border: 1px solid #66C6F1;
    border-radius: 5px 5px 5px 5px;
    color: #66C6F1;
    font-size: 1em;
    padding: 3px 7px 2px;
    text-decoration: none;
	margin:0 1px;
}
.pager a.current{
    background: #66C6F1;
    border: 1px solid #66C6F1;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    font-size: 1em;
    padding: 3px 7px 2px;
	margin:0 2px;
    text-decoration: none;
}
.pager a:hover{
    background:#66C6F1;
    color: #fff;
}
.overPagerPattern{
	padding:0 2px ;	
}
