@charset "UTF-8";
/*
Theme Name:Original Style - 1column
Version:1.1
2016.11.05
header,nav,footerなどの構成の指定
*/
/* ======== カラーメモ ========
メインカラー: #82c459;
メインカラー:hover: #62a439;
サブカラー: #82c459;
logoサイズ: 381px;
*/
/*== Reset ==*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, 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;}body { line-height: 1; -webkit-text-size-adjust: 100%;}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;}table.fixed-table { table-layout: fixed;}
@media screen and (min-width: 768px) {a[href^="tel:"] { pointer-events: none; }}
/*==Native ==*/
/* editor */
.mainblock p, .mce-content-body p {
  display: block;
  margin: 0 0 1em;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
blockquote {
  display: block;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 40px;
  -webkit-margin-end: 40px;
}
img[class*="wp-image-"], img[class*="attachment-"] {
  height: auto;
  max-width: 100%;
}
/* clearfix */
.clearfix {
  overflow: hidden;
  zoom: 1;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
body {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ＭＳ 明朝", serif;
  color: #333;
  line-height: 1.8em;
  letter-spacing: 0;
  font-size: 16px;
  box-sizing: border-box;
}
a:focus, *:focus {
  outline: none;
}
a, a img {
  -webkit-transition: none;
  transition: none;
}
a, a:visited {
  color: #333;
}
a:hover {
  text-decoration: none;
}
a:hover img {
  opacity: 0.7;
  -moz-opacity: 0.7;
  filter: alpha(opacity=70);
  cursor: pointer;
}
img {
  height: auto;
  vertical-align: bottom;
  max-width: 100%;
}
.mainblock img {
  max-width: 100%;
}
/* 真ん中寄せ */
.aligncenter {
  display: block;
  margin: 0 auto;
}
/* 小さい画像に対応 */
.img_size img, img.img_size {
  width: auto !important;
}
/*== base ==*/
#header > .inner, #nav > .inner, #contents > .inner, #footer .inner { /* コンテンツ幅 */
  width: 1000px;
  margin: 0 auto;
  max-width: 96%;
}
/*== #header ==*/
#header {
  box-sizing: border-box;
}
#header h1 {
  display: block;
  float: left;
  max-width: 45%;
  width: 381px;
  margin: 0;
}
#header h1 img {
  width: 100%;
}
#header h1 a:hover img {
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
}
.h_info {
  float: right;
  overflow: hidden;
  width: 53%;
  margin: 10px 0 0 2%;
  box-sizing: border-box;
  text-align: right;
  display:flex;
  justify-content: flex-end;
  align-items: center;
}
.h_info .tel{
  margin-left: 1em;
}
.h_info .tel img {
  width: 243px;
}
.h_info .btn{
}
.h_info .btn img {
  width: 230px;
}
/*== #nav ==*/
.menu-sp-nav-container { /* スマホ用メニューを隠す */
  display: none;
}
#nav {
  box-sizing: border-box;
}
/*== #aside==*/
.inq01 {
  position: fixed;
  bottom: 0px;
  right: 0;
  z-index: 100;
}
/** Responsive **/
@media screen and (min-width: 768px) {
  /* タブレットまで */
  .sp {
    display: none !important;
  }
  /*== #header ==*/
  #header {
    padding: 20px 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  /*== #nav ==*/
  #nav {
    width: 100%;
    z-index: 100;
    box-sizing: content-box;
    padding: 10px 0;
    background: #fff;
  }
  #nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
  }
  #nav .inner {
    height: 53px;
  }
  /* PC用グローバルナビゲーション */
  #menu-header-nav li {
    box-sizing: border-box;
  }
  #menu-header-nav a, #menu-header-nav > li > span {
    text-decoration: none;
    display: block;
    text-align: center;
    background-repeat: no-repeat;
    line-height: 1.35em;
    box-sizing: border-box;
    -webkit-transition: none;
    transition: none;
  }
  #menu-header-nav > li {
    width: 12%;
    position: relative;
    float: left;
  }
  #menu-header-nav > li.nav01,
  #menu-header-nav > li.nav04 {
    width: 16%
  }
  #menu-header-nav > li.nav02,
  #menu-header-nav > li.nav03 {
    width: 22%
  }
  #menu-header-nav > li > a, #menu-header-nav > li > span {
    font-size: 16px;
    height: 53px;
    box-sizing: border-box;
    padding: 7px 4px 0;
    color: #333;
    position: relative;
    z-index: 20000;
    line-height: 1.5;
    transition: 200ms;
  }
  #menu-header-nav > li > a span.nav_span, #menu-header-nav > li > span span.nav_span {
    color: #82c459;
    font-size: 12px;
    display: block;
  }
  #menu-header-nav > li.nav01 > a::before {
    left: 0;
  }
  #menu-header-nav > li > a:hover, #menu-header-nav > li > span:hover {
    color: #fff;
    cursor: pointer;
    background: #82c459;
  }
  #menu-header-nav > li > a:hover span.nav_span{
    color: #fff;
  }
  #menu-header-nav li {
    transition: .2s;
  }
  /*仕切りボーダー*/
  #menu-header-nav li > a, #menu-header-nav li > span {
    position: relative;
    border-right: 1px solid #dcdcdc;
  }
  #menu-header-nav li.nav01 > a {
    border-left: 1px solid #dcdcdc;
  }
  #menu-header-nav li > a, #menu-header-nav li > span {
    position: relative;
  }
  /*== #aside==*/
  #aside .inq a {
    display: block;
  }
  #aside .inq .clearfix{
    position: fixed;
    top: 30%;
    width: 47px;
    z-index: 5;
  }
  #aside .inq .side_l{
    left: 0;
  }
  #aside .inq .side_r{
    right: 0;
  }
  #aside .inq .clearfix a:not(:last-child) {
    margin-bottom: 13px;
  }
  #aside .inq a:hover img {
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80);
  }
  #aside .inq01 {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
  }
  @media screen and (max-width: 1224px),(max-height: 700px) {
    #aside .inq .clearfix{
      width: 40px;
    }
  }

}
@media screen and (max-width: 1042px) {
  /*コンテンツが横幅いっぱいになったら*/
  #menu-header-nav li {
    box-sizing: border-box;
  }
  #menu-header-nav > li a, #menu-header-nav > li > span {
    font-size: 14px;
  }
  #menu-header-nav > li > ul.sub-menu > li a, #menu-header-nav .submenu-wrap ul.sub-menu li a {
    font-size: 12px;
  }
  #menu-header-nav .submenu-wrap ul.sub-menu li::before {
    top: 8px;
  }
}
@media screen and (min-width: 768px) and (max-width: 768px) {
  #footer li, #footer li a, #menu-sitemap li, #menu-sitemap li a {
    vertical-align: top;
  }
}
@media screen and (max-width: 767px) {
  /* スマホ */
  .pc {
    display: none !important;
  }
  .page-title {
    padding: 1em 0;
  }
  /*== #header ==*/
  #header {
    padding: 0;
  }
  #header h1 {
    padding: 0;
    max-width: 100%;
    text-align: center;
    margin: 20px auto;
    float: none;
  }
  #header > .inner, #nav > .inner {
    max-width: 100%;
  }
  /* SP Gメニュー*/
  .headerinner ul.sp {
    background: #fff;
    overflow: hidden;
    padding: 10px 0;
    z-index: 99999999;
    max-width: 100%;
    width: 100%;
    list-style: none;
    display:flex;
  }
  .headerinner ul.fixed {
    position: fixed;
    top: 0;
    left: 0;
  }
  .headerinner ul li {
    width: 20%;
    border-right: 1px solid #e7e7e7;
    box-sizing: border-box;
  }
  .headerinner ul li:last-child {
    border: none;
  }
  .headerinner ul img {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0px 5px;
    box-sizing: border-box;
  }
  #nav {
    background: #fff;
    box-sizing: border-box;
    z-index: 999999;
    padding: 0;
  }
  #nav.fixed {
    height: 100%;
    overflow-x: scroll;
  }
  #nav.fixed {
    position: inherit !important;
    top: auto !important;
  }
  /* #menu-header-nav --*/
  #menu-header-nav, #menu-header-nav .sub-menu { /* スライドダウンさせるために隠す */
    display: block;
  }
  #menu-header-nav { /* スライドダウンさせるために隠す */
    display: none;
  }
  #menu-header-nav.menu {
    background: #fff;
    left: 0;
    margin: 0;
    width: 100%;
    position: absolute;
    z-index: 99;
    border-top: 1px solid #ccc;
  }
  #menu-header-nav li .subtxt {
    display: none;
  }
  #menu-header-nav li > a br {
    display: none;
  }
  #menu-header-nav.menu {
    background: #fff;
    left: 0;
    margin: 0;
    width: 100%;
    position: absolute;
    z-index: 99999999;
    border-top: 1px solid #ccc;
  }
  #menu-header-nav li {
    display: block;
    text-align: left;
    background: none;
    float: none;
    height: auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #ccc;
    margin: 0;
  }
  #menu-header-nav li a, #menu-header-nav li > span {
    display: block;
    padding: 14px 6px 13px 15px;
    background-position: 5px center;
    background-size: 16px auto;
    width: 100%;
    float: none;
    box-sizing: border-box;
    text-align: left;
    height: auto;
    line-height: 1.5;
    font-size: 15px;
    text-decoration: none;
    position: relative;
    color: #444;
    transition: 200ms;
  }
  #menu-header-nav li ul li.last {
    border-bottom: none;
  }
  #menu-header-nav li span:hover {
    cursor: pointer;
  }
  #menu-header-nav li a:before, #menu-header-nav li > span:before {
    content: "・"
  }
  #menu-header-nav li a:hover, #menu-header-nav li span:hover {
    color: #fff;
    background: #82c459;
  }
  #menu-header-nav li.has_children > a::after {
    display: block;
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    right: 18px;
    margin: -5px 0 0 0;
    border-bottom: solid 3px #ccc;
    border-right: solid 3px #ccc;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #menu-header-nav li:first-child a {
    border-left: none;
  }
  #contents {
    margin-bottom: 0;
  }
  /*== #aside ==*/
  #aside .inq {
    bottom: 0;
    position: fixed;
    z-index: 1;
    right: 0;
  }
  #aside .inq .clearfix a{
    float: left;
    width: 50%;
  }
  #aside {
    margin-bottom: 0;
  }
  #aside .inq01{
    position: relative;
    bottom: 0px;
    text-align: right;
    width: 15%;
    max-width: 93px;
    margin-left: auto;
  }
  .copyright {
    padding: 1.2em 0 15%;
  }
}
@media screen and (max-width: 480px) {
  /* スマホ480px */
  /*== #header ==*/
  #header {
    padding: 0;
  }
  #header h1 {
    max-width: 80%;
  }
}
/* style */

/* index */
.page-gastroscope p{
  line-height: 2.2;
}
@media screen and (min-width: 2001px) {
  .mainimage img {
    width: 100%;
  }
}
@media screen and (min-width: 768px) and (max-width: 2000px) {
  .mainimage{
    background: url(img/mainimage.jpg) no-repeat center / cover;
    height: 800px;
  }
  .mainimage img {
    object-fit: cover;
    height: 800px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1280px) {
  /* 程よいブラウザサイズでメインイメージを縮小 */
  .mainimage{
    height: 500px;
  }
  .mainimage img {
    height: 500px;
  }
}
@media screen and (max-width: 767px) {
  /*== mainimage ==*/
  .mainimage, .slider {
    margin-bottom: 0;
  }
  .mainimage img {
    height: auto;
    max-width: none;
    max-height: none;
    width: 100%;
  }
  .topinner {
    width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
  }
}