@charset "UTF-8";
@media screen and (min-width: 768px) and (max-width: 1220px) {
  #header .header__main-container {
    display: block;
  }
  #header .header__main-container .header__nav {
    width: 100%;
    margin: 10px 0 0;
  }
  #header .header__main-container .header__nav nav #g_nav {
    justify-content: space-between;
    gap: 0!important;
  }
}
body #wrapper {
  padding: 0;
}

p {
  margin-bottom: 0;
}

:root {
  --cl-page: #51AA90;
}

@media screen and (max-width: 767px) {
  .fixed-box .fixed-banner__sp ul li:nth-child(1) img {
    height: 42px;
  }
}
#header .header__main-container .header__nav nav #g_nav li.current-menu-item .up-menu .menu-text {
  color: var(--cl-page);
}

#mainimage {
  position: relative;
}
#mainimage::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: url("../img/gastroenterology/key_deco.png") no-repeat left top/100% auto;
  width: 475px;
  height: 486px;
  max-width: 35%;
}
@media screen and (max-width: 767px) {
  #mainimage::before {
    max-width: 100%;
    width: 180px;
    height: 221px;
  }
}
#mainimage .group-content {
  position: absolute;
  z-index: 2;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (max-width: 1200px) {
  #mainimage .group-content {
    top: 60%;
  }
}
@media screen and (max-width: 767px) {
  #mainimage .group-content {
    top: auto;
    bottom: 120px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: -moz-max-content;
    width: max-content;
  }
}
#mainimage .group-content .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#mainimage .group-content .sub-link {
  background: #fff;
  margin: 0 0 22px;
}
@media screen and (max-width: 1200px) {
  #mainimage .group-content .sub-link {
    margin: 0 0 1vw;
  }
}
@media screen and (max-width: 767px) {
  #mainimage .group-content .sub-link {
    margin-bottom: 18px;
  }
}
#mainimage .group-content .sub-link a {
  display: block;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--cl-page);
  font-weight: 500;
  padding: 0 5px 0 8px;
}
@media screen and (max-width: 1200px) {
  #mainimage .group-content .sub-link a {
    font-size: min(20px, 1.7vw);
  }
}
@media screen and (max-width: 767px) {
  #mainimage .group-content .sub-link a {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 8px 2px;
    letter-spacing: 0;
  }
}
#mainimage .group-content .sub-link a:hover {
  opacity: 0.8;
}
#mainimage .group-content .tit {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
#mainimage .group-content .tit span {
  font-size: 40px;
  line-height: 1.5;
  padding: 0 8px;
  color: #fff;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 1200px) {
  #mainimage .group-content .tit span {
    font-size: min(40px, 3.2vw);
  }
}
@media screen and (max-width: 767px) {
  #mainimage .group-content .tit span {
    font-size: 28px;
    line-height: 38px;
    letter-spacing: 0;
  }
}
#mainimage .group-content .tit span:nth-child(1) {
  background: var(--cl-page);
}
#mainimage .group-content .tit span:nth-child(2) {
  background: #43937B;
}
#mainimage .group-content .sub-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
}
#mainimage .group-content .sub-txt .bg-pc, #mainimage .group-content .sub-txt .bg {
  background: #fff;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  padding: 0 8px 1px;
  letter-spacing: 0.08em;
  color: var(--cl-page);
}
@media screen and (max-width: 1200px) {
  #mainimage .group-content .sub-txt .bg-pc, #mainimage .group-content .sub-txt .bg {
    font-size: min(18px, 1.5vw);
  }
}
@media screen and (max-width: 767px) {
  #mainimage .group-content .sub-txt {
    margin: 32px 0 0;
    gap: 4px;
  }
  #mainimage .group-content .sub-txt .bg-pc {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  #mainimage .group-content .sub-txt .bg-sp, #mainimage .group-content .sub-txt .bg {
    background: #fff;
    font-weight: 500;
    padding: 0 8px 1px;
    font-size: 18px;
  }
}

.title-page {
  font-family: "Cormorant", serif;
  font-size: 48px;
  line-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: 0;
}
@media screen and (max-width: 767px) {
  .title-page {
    font-size: 36px;
    line-height: 43px;
  }
}
.title-page small {
  margin: 8px 0 0;
  border: 0.5px solid;
  color: var(--cl-page);
  font-size: 24px;
  line-height: 35px;
  font-family: "Shippori Mincho", serif;
  padding: 0 32px 2px;
}
@media screen and (max-width: 767px) {
  .title-page small {
    font-size: 14px;
    line-height: 20px;
    padding: 0 24px 2px;
  }
}

#reasons {
  padding: 88px 0 0;
}
@media screen and (max-width: 767px) {
  #reasons {
    padding: 62px 0 0;
  }
}
#reasons h2 {
  align-items: center;
  margin: 0 0 80px;
}
@media screen and (max-width: 767px) {
  #reasons h2 {
    margin: 0 -30px 44px;
  }
}
#reasons .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 76.5px 0;
}
@media screen and (max-width: 767px) {
  #reasons .flex {
    gap: 13px;
  }
}
#reasons .flex .item {
  width: 500px;
  max-width: calc(50% - 16px);
  position: relative;
}
@media screen and (max-width: 767px) {
  #reasons .flex .item {
    width: 100%;
    max-width: 100%;
  }
}
#reasons .flex .item .stt {
  position: absolute;
  line-height: 117px;
  opacity: 0.32;
  color: var(--cl-page);
  font-size: 96px;
  top: -63px;
  right: -5.5px;
}
@media screen and (max-width: 767px) {
  #reasons .flex .item .stt {
    right: -20.5px;
    top: -63px;
  }
}
#reasons .flex .item .img {
  overflow: hidden;
  border-top-right-radius: 50px;
}
#reasons .flex .item .group-content {
  margin: -32px 0 0 16px;
  position: relative;
  background: #fff;
  padding: 20px 20px 32px;
  border-top-left-radius: 25px;
}
@media screen and (max-width: 767px) {
  #reasons .flex .item .group-content {
    margin: -40px 0 0;
  }
}
#reasons .flex .item .group-content h4 {
  color: var(--cl-page);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
@media screen and (max-width: 1000px) {
  #reasons .flex .item .group-content h4 {
    font-size: 18px;
    line-height: 1.3;
  }
}
@media screen and (max-width: 767px) {
  #reasons .flex .item .group-content h4 {
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
  }
}
#reasons .flex .item .group-content .txt {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 767px) {
  #reasons .flex .item .group-content .txt {
    line-height: 24px;
  }
}

#menu {
  margin: 74px auto 0;
  width: 1366px;
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  #menu {
    margin: 56px 0 0;
  }
}
@media screen and (min-width: 768px) {
  #menu {
    position: relative;
  }
  #menu::before {
    content: "";
    position: absolute;
    top: 52px;
    left: calc(50% + 167px);
    right: 0;
    height: 718px;
    background: url("../img/gastroenterology/menu_deco.png") no-repeat center left/1148px auto;
  }
  #menu::after {
    content: "";
    position: absolute;
    top: 507px;
    right: calc(50% + 167px);
    left: 0;
    height: 718px;
    background: url("../img/gastroenterology/menu_deco2.png") no-repeat center right/1148px auto;
  }
}
#menu h2 {
  align-items: center;
  margin: 0 0 80px;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  #menu h2 {
    margin: 0 0 34px;
  }
}
#menu .group-item {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  #menu .group-item .item + .item {
    margin-top: 64px;
  }
  #menu .group-item .item:last-child {
    position: relative;
  }
  #menu .group-item .item:last-child::before {
    content: "";
    position: absolute;
    bottom: -217px;
    height: 541px;
    left: 0;
    right: 0;
    background: url("../img/gastroenterology/menu_deco2_sp.png") no-repeat top center/100% auto;
  }
}
@media screen and (min-width: 768px) {
  #menu .group-item .item .inner {
    width: 1223px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 455px;
    max-width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
  }
}
#menu .group-item .item .img {
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  #menu .group-item .item .img {
    width: 683px;
    max-width: 57.5%;
  }
}
#menu .group-item .item .group-content {
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  #menu .group-item .item .group-content {
    width: 414px;
    align-self: center;
    max-width: 35%;
  }
}
@media screen and (max-width: 767px) {
  #menu .group-item .item .group-content {
    padding: 24px 30px;
  }
}
#menu .group-item .item .group-content .tit {
  color: #333333;
  letter-spacing: 0.04em;
  font-size: 16px;
  line-height: 20px;
  margin: 0 0 4px;
}
@media screen and (max-width: 767px) {
  #menu .group-item .item .group-content .tit {
    font-size: 14px;
    line-height: 17px;
    margin: 0;
  }
}
#menu .group-item .item .group-content h3 {
  color: var(--cl-page);
  font-size: 40px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 767px) {
  #menu .group-item .item .group-content h3 {
    font-size: 28px;
    line-height: 40px;
    margin: 16px 0 32px;
  }
}
#menu .group-item .item .group-content .txt {
  margin: 32px 0 32px;
  font-size: 15px;
  line-height: 32px;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 767px) {
  #menu .group-item .item .group-content .txt {
    line-height: 28px;
    margin: 0 0 40px;
  }
}
@media screen and (min-width: 768px) {
  #menu .group-item .item:nth-child(even) .inner {
    width: 1263px;
    margin: 0 0 0 auto;
    padding-right: 0;
    padding-left: 30px;
    flex-direction: row-reverse;
  }
}
#menu .flex {
  margin-top: 64px;
  padding: 0;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  #menu .flex {
    display: flex;
    justify-content: space-between;
  }
}
@media screen and (min-width: 768px) {
  #menu .flex .item {
    width: 510px;
    max-width: 49%;
  }
}
@media screen and (max-width: 767px) {
  #menu .flex .item + .item {
    margin-top: 64px;
  }
}
#menu .flex .item h3 {
  color: var(--cl-page);
  margin: 32px 0 24px 20px;
  font-size: 32px;
  line-height: 1.4375;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 1000px) {
  #menu .flex .item h3 {
    font-size: 28px;
    line-height: 40px;
    margin: 24px 30px 32px;
    letter-spacing: 0;
  }
}
#menu .flex .item .txt {
  font-size: 15px;
  line-height: 32px;
  letter-spacing: 0.04em;
  margin: 0 20px 56px;
}
@media screen and (max-width: 767px) {
  #menu .flex .item .txt {
    margin: 0 30px 40px;
    line-height: 28px;
  }
}
#menu .flex .item .btn-link {
  margin: 0 0 0 20px;
}
@media screen and (max-width: 767px) {
  #menu .flex .item .btn-link {
    margin: 0 30px;
  }
}

.btn-link a {
  color: #fff;
  border-radius: 50px;
  text-align: left;
  padding: 12px 0 12px 24px;
  text-decoration: none;
  position: relative;
  background: #E0C041;
  font-size: 15px;
  display: block;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.btn-link a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  background: url("../img/top/arrow.png") no-repeat center right/100% auto;
  width: 14.5px;
}
@media screen and (min-width: 768px) {
  .btn-link {
    width: 193px;
  }
  .btn-link a:hover {
    opacity: 0.8;
  }
}

#greeting {
  margin: 132px 0 0;
  padding: 96px 0 0;
  position: relative;
}
@media screen and (max-width: 767px) {
  #greeting {
    margin: 120px 0 0;
    padding: 0;
  }
}
@media screen and (min-width: 768px) {
  #greeting::before {
    content: "";
    position: absolute;
    left: calc(50% + 167px);
    top: 0;
    height: 718px;
    right: 0;
    background: url("../img/gastroenterology/greeting_deco.png") no-repeat top left/1148px auto;
  }
  #greeting::after {
    content: "";
    position: absolute;
    right: calc(50% + 167px);
    bottom: -447px;
    height: 718px;
    left: 0;
    background: url("../img/gastroenterology/greeting_deco2.png") no-repeat top right/516px auto;
  }
}
#greeting .wrapp {
  width: 1266px;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  #greeting .wrapp {
    padding: 0;
  }
}
#greeting .wrapp .group-item {
  width: 1231px;
  max-width: 100%;
}
#greeting h2 {
  align-items: center;
  margin: 0 0 72px;
}
@media screen and (max-width: 767px) {
  #greeting h2 {
    margin: 0 0 34px;
  }
}
#greeting .item {
  position: relative;
}
@media screen and (min-width: 768px) {
  #greeting .item {
    padding: 32px 0 0;
  }
}
@media screen and (max-width: 767px) {
  #greeting .item:after {
    content: "";
    display: block;
    width: 100%;
    height: 16px;
    background: linear-gradient(180deg, rgb(67, 147, 123) 0%, rgb(81, 170, 144) 100%);
  }
}
#greeting .item + .item {
  margin-top: 60px;
}
@media screen and (max-width: 767px) {
  #greeting .item + .item {
    margin-top: 40px;
  }
}
@media screen and (min-width: 768px) {
  #greeting .item .group-img {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 367px;
  }
  #greeting .item .group-img:after {
    content: "";
    position: absolute;
    left: 16px;
    top: 100%;
    width: 250px;
    height: 16px;
    background: linear-gradient(180deg, rgb(67, 147, 123) 0%, rgb(81, 170, 144) 100%);
  }
}
#greeting .item .group-img .img {
  overflow: hidden;
  border-top-right-radius: 200px;
}
@media screen and (max-width: 767px) {
  #greeting .item .group-img .img {
    border-top-right-radius: 100px;
  }
}
@media screen and (min-width: 768px) {
  #greeting .item .btn-link {
    position: absolute;
    z-index: 2;
    top: 468px;
    left: 66px;
  }
}
@media screen and (max-width: 767px) {
  #greeting .item .btn-link {
    margin: 64px 30px;
  }
}
#greeting .item .box {
  position: relative;
}
@media screen and (min-width: 768px) {
  #greeting .item .box {
    margin: 0 0 0 266px;
    max-width: calc(100% - 266px);
    width: 965px;
  }
  #greeting .item .box::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -16px;
    width: 100%;
    height: 100%;
    box-shadow: 0 6px 12px rgba(33, 33, 33, 0.08);
    background: linear-gradient(180deg, rgb(67, 147, 123) 0%, rgb(81, 170, 144) 100%);
  }
}
#greeting .item .box .inner {
  padding: 24px 30px 0;
}
@media screen and (min-width: 768px) {
  #greeting .item .box .inner {
    background: #fff;
    position: relative;
    padding: 48px 48px 19px 149px;
    min-height: 556px;
    box-shadow: 0 6px 12px rgba(33, 33, 33, 0.08);
  }
}
@media screen and (min-width: 768px) and (max-width: 1000px) {
  #greeting .item .box .inner {
    padding-left: 124px;
    padding-right: 30px;
  }
}
#greeting .item .box .inner .group-ttl-btn {
  display: flex;
  align-items: center;
  gap: 0 24px;
}
@media screen and (min-width: 768px) {
  #greeting .item .box .inner .group-ttl-btn {
    position: absolute;
    right: 48px;
    top: -29px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1000px) {
  #greeting .item .box .inner .group-ttl-btn {
    right: 20px;
    gap: 0 10px;
  }
}
@media screen and (max-width: 767px) {
  #greeting .item .box .inner .group-ttl-btn {
    justify-content: center;
    gap: 0 48px;
  }
}
#greeting .item .box .inner .group-ttl-btn h3 {
  color: var(--cl-page);
  font-size: 40px;
  line-height: 1.45;
  letter-spacing: 0.16em;
  font-weight: 500;
}
@media screen and (max-width: 1000px) {
  #greeting .item .box .inner .group-ttl-btn h3 {
    font-size: 32px;
  }
}
@media screen and (max-width: 767px) {
  #greeting .item .box .inner .group-ttl-btn h3 {
    font-size: 24px;
    line-height: 35px;
    padding: 0 0 1px;
  }
}
@media screen and (min-width: 768px) {
  #greeting .item .box .inner .group-ttl-btn .btn-link {
    width: 200px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1000px) {
  #greeting .item .box .inner .group-ttl-btn .btn-link {
    width: 185px;
  }
}
#greeting .item .box .inner .group-ttl-btn .btn-link a {
  display: block;
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  #greeting .item .box .inner .group-ttl-btn .btn-link a {
    background: #E0C041;
    border-radius: 50px;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    padding: 12px 0 12px 24px;
    position: relative;
  }
}
@media screen and (min-width: 768px) and (max-width: 1000px) {
  #greeting .item .box .inner .group-ttl-btn .btn-link a {
    padding-left: 15px;
  }
}
@media screen and (min-width: 768px) {
  #greeting .item .box .inner .group-ttl-btn .btn-link a:hover {
    opacity: 0.8;
  }
}
#greeting .item .box .inner .group-ttl-btn .btn-link a::before {
  content: "";
  background: url("../img/top/arrow.png") no-repeat center right/100% auto;
  width: 14.5px;
}
@media screen and (min-width: 768px) {
  #greeting .item .box .inner .group-ttl-btn .btn-link a::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
  }
}
@media screen and (max-width: 767px) {
  #greeting .item .box .inner .group-ttl-btn .btn-link a::before {
    width: 36px;
    height: 36px;
    display: block;
    background: url("../img/top/greeting_arrow_sp.png") no-repeat center/100% auto;
  }
}
#greeting .item .box .inner h4 {
  color: var(--cl-page);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
}
#greeting .item .box .inner .txt {
  letter-spacing: 0.04em;
  margin: 0 0 17px;
}
@media screen and (max-width: 767px) {
  #greeting .item .box .inner .txt {
    margin: 24px 0 40px;
  }
}
#greeting .item .box .inner .toggle .toggle-link {
  font-size: 20px;
  line-height: 1.5;
  color: var(--cl-page);
  font-weight: 500;
  padding: 0 0 12px;
  border-bottom: 1px solid;
}
@media screen and (max-width: 767px) {
  #greeting .item .box .inner .toggle .toggle-link {
    position: relative;
  }
  #greeting .item .box .inner .toggle .toggle-link:after {
    content: "＋";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    color: var(--cl-page);
    font-weight: 800;
  }
}
@media screen and (max-width: 767px) {
  #greeting .item .box .inner .toggle.active .toggle-link:after {
    content: "－";
  }
}
#greeting .item .box .inner .toggle .toggle-main .flex {
  padding: 24px 0 0;
  display: flex;
  gap: 0 23px;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  #greeting .item .box .inner .toggle .toggle-main .flex {
    padding-top: 16px;
  }
}
#greeting .item .box .inner .toggle .toggle-main .flex ul li {
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  line-height: 24px;
  letter-spacing: 0.04em;
}
#greeting .flex2 {
  position: relative;
  margin: 69px auto 0;
}
@media screen and (min-width: 768px) {
  #greeting .flex2 {
    max-width: 100%;
    width: 1100px;
    display: flex;
    justify-content: space-between;
  }
}
@media screen and (max-width: 767px) {
  #greeting .flex2 {
    margin: 40px 30px 0;
  }
}
@media screen and (min-width: 768px) {
  #greeting .flex2 .item2 {
    width: 345px;
    max-width: calc((100% - 40px) / 3);
  }
}
@media screen and (max-width: 767px) {
  #greeting .flex2 .item2 + .item2 {
    margin-top: 24px;
  }
}
#greeting .flex2 .item2 .img {
  overflow: hidden;
  border-top-right-radius: 50px;
}
#greeting .flex2 .item2 .tit {
  margin: -26px 0 0 16px;
  position: relative;
  z-index: 2;
  background: var(--cl-page);
  border-top-left-radius: 25px;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 16px;
}
@media screen and (max-width: 767px) {
  #greeting .flex2 .item2 .tit {
    margin: -46px 0 0 1px;
  }
}

#access {
  position: relative;
  z-index: 2;
  margin: 88px 0 0;
}
@media screen and (max-width: 767px) {
  #access {
    margin: 108px 0 0;
  }
}
#access h2 {
  align-items: center;
  margin: 0 0 80px;
}
@media screen and (max-width: 767px) {
  #access h2 {
    margin-bottom: 32px;
  }
}
#access .ggmap {
  height: 420px;
  box-sizing: border-box;
  border: 20px solid rgba(81, 170, 144, 0.48);
}
#access .ggmap iframe {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 767px) {
  #access .ggmap {
    height: 320px;
    border-width: 30px;
  }
}
#access .flex {
  margin: 64px 0 0;
}
@media screen and (min-width: 1000px) {
  #access .flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}
@media screen and (max-width: 767px) {
  #access .flex {
    margin: 22px 0 0;
  }
}
@media screen and (min-width: 1000px) {
  #access .flex .left {
    width: 600px;
    max-width: 55%;
  }
}
@media screen and (max-width: 767px) {
  #access .flex .left {
    margin: 0 -8px;
  }
}
#access .flex .left .timetb {
  width: 100%;
  margin: 0 0 16px;
}
#access .flex .left .timetb th, #access .flex .left .timetb td {
  border-collapse: collapse;
  line-height: 24px;
  font-weight: 500;
  text-align: center;
}
#access .flex .left .timetb tr th {
  color: var(--cl-page);
}
#access .flex .left .timetb tr th:first-child {
  width: 126px;
  border-right: 1px solid var(--cl-page);
}
@media screen and (max-width: 900px) {
  #access .flex .left .timetb tr th:first-child {
    width: 100px;
  }
}
@media screen and (max-width: 767px) {
  #access .flex .left .timetb tr th:first-child {
    width: 118px;
    text-align: left;
    box-sizing: border-box;
    padding-left: 8px;
  }
}
#access .flex .left .timetb thead th {
  font-size: 18px;
  font-weight: 600;
  padding: 22.5px 0;
  border-bottom: 1px solid;
}
@media screen and (max-width: 767px) {
  #access .flex .left .timetb thead th {
    padding: 16px 0;
    font-size: 16px;
  }
}
#access .flex .left .timetb thead th:first-child {
  font-size: 20px;
  letter-spacing: 0.16em;
}
@media screen and (max-width: 767px) {
  #access .flex .left .timetb thead th:first-child {
    font-size: 16px;
  }
  #access .flex .left .timetb thead th:first-child + th {
    padding-left: 12px;
  }
}
#access .flex .left .timetb tbody tr th, #access .flex .left .timetb tbody tr td {
  padding: 20px 0;
  border-bottom: 1px solid var(--cl-page);
}
@media screen and (max-width: 767px) {
  #access .flex .left .timetb tbody tr th, #access .flex .left .timetb tbody tr td {
    padding: 16px 0;
  }
}
#access .flex .left .timetb tbody tr td {
  color: #666666;
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  #access .flex .left .timetb tbody tr td {
    font-size: 16px;
  }
}
#access .flex .left .timetb tbody tr th {
  font-size: 16px;
  letter-spacing: 0;
}
#access .flex .left .timetb tbody tr th + td {
  padding-left: 12px;
}
#access .flex .left .timetb tbody tr:last-child th, #access .flex .left .timetb tbody tr:last-child td {
  border-bottom: 0;
}
#access .flex .left .txt {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.04em;
}
#access .flex .group-info {
  margin: 17px 0 0;
}
@media screen and (min-width: 1000px) {
  #access .flex .group-info {
    width: 459px;
    max-width: 42%;
  }
}
@media screen and (max-width: 767px) {
  #access .flex .group-info {
    margin: 40px 0 0;
  }
}
#access .flex .group-info dl {
  border-bottom: 1px solid var(--cl-page);
  padding: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}
#access .flex .group-info dl dd a {
  display: block;
}
@media screen and (min-width: 1000px) {
  #access .flex .group-info dl {
    display: flex;
  }
  #access .flex .group-info dl dt {
    width: 110px;
  }
  #access .flex .group-info dl dd {
    width: calc(100% - 110px);
  }
  #access .flex .group-info dl:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  #access .flex .group-info dl {
    padding: 0 0 16px;
  }
}
#access .flex .group-info dl + dl {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  #access .flex .group-info dl + dl {
    margin-top: 16px;
  }
}
#access .flex .group-info dl dt {
  color: var(--cl-page);
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  #access .flex .group-info dl dt {
    margin-bottom: 8px;
  }
}

#news {
  position: relative;
  margin: 120px auto 0;
}
@media screen and (min-width: 768px) {
  #news {
    max-width: calc(100% - 60px);
    width: 1100px;
  }
  #news .btn-link {
    position: absolute;
    left: 55px;
    bottom: 77px;
  }
}
@media screen and (max-width: 767px) {
  #news {
    margin: 40px 0 0;
    padding: 40px 30px 12px;
    background: url("../img/gastroenterology/news_deco_sp.png") no-repeat center/cover;
  }
}
#news .btn-link a {
  font-size: 14px;
  line-height: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: var(--cl-page);
}
@media screen and (max-width: 767px) {
  #news .btn-link a {
    border-radius: 0;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}
@media screen and (max-width: 767px) {
  #news .btn-link {
    margin: -4px 0 0;
  }
}
#news .box {
  border: 4px solid var(--cl-page);
  background: #fff;
}
@media screen and (min-width: 768px) {
  #news .box {
    display: flex;
  }
  #news .box .title-page {
    min-height: 309px;
    box-sizing: border-box;
    width: 276px;
    align-items: center;
    padding: 73px 0 0;
    border-right: 1px solid var(--cl-page);
  }
}
@media screen and (max-width: 767px) {
  #news .box .title-page {
    align-items: center;
    padding: 36px 0 34px;
    border-bottom: 1px solid var(--cl-page);
  }
}
#news .box .group {
  padding: 36px 40px;
}
@media screen and (min-width: 768px) {
  #news .box .group {
    width: calc(100% - 276px);
  }
}
@media screen and (max-width: 767px) {
  #news .box .group {
    padding: 20px 16px 36px;
  }
}
#news .box .group dl {
  border-bottom: 1px solid var(--cl-page);
  padding: 0 0 16px;
}
#news .box .group dl + dl {
  margin-top: 16px;
}
#news .box .group dl dt {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 24px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
#news .box .group dl dt span {
  font-family: "Cormorant", serif;
  color: var(--cl-page);
}
#news .box .group dl dd a {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  height: 24px;
  overflow: hidden;
}
#group {
    position: relative;
    margin: 81px 0 0;
  }
  @media screen and (max-width: 767px) {
    #group {
      margin-top: 64px;
    }
  }
  #group::before, #group:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
  }
  @media screen and (max-width: 767px) {
    #group::before, #group:after {
      height: 100%;
      width: 50%;
    }
  }
  #group::before {
    top: 0;
    background: #43937B;
  }
  @media screen and (max-width: 767px) {
    #group::before {
      right: auto;
    }
  }
  #group::after {
    bottom: 0;
    background: #51AA90;
  }
  @media screen and (max-width: 767px) {
    #group::after {
      left: auto;
      top: 0;
    }
  }
  #group .inner {
    position: relative;
    z-index: 2;
    padding: 72px 55px;
  }
  @media screen and (max-width: 767px) {
    #group .inner {
      padding: 30px 30px;
    }
  }
  @media screen and (min-width: 768px) {
    #group .inner::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: calc(50% + 208px);
      right: 0;
      background: url("../img/top/group_deco.png") no-repeat center left/auto 100%;
    }
  }
  #group .box {
    padding: 10px;
    position: relative;
    width: 784px;
    max-width: 100%;
    margin: 0 auto;
  }
  #group .box::before, #group .box:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
  }
  @media screen and (max-width: 767px) {
    #group .box::before, #group .box:after {
      height: 100%;
      width: 50%;
      top: 0;
    }
  }
  #group .box::before {
    top: 0;
    background: var(--cl-page);
  }
  @media screen and (max-width: 767px) {
    #group .box::before {
      right: auto;
    }
  }
  #group .box::after {
    bottom: 0;
    background: #43937B;
  }
  @media screen and (max-width: 767px) {
    #group .box::after {
      left: auto;
    }
  }
  #group .box .box-inner {
    position: relative;
    z-index: 2;
    background: url("../img/gastroenterology/group_bg2.png") no-repeat top right/287px auto, url("../img/gastroenterology/group_bg.png") no-repeat center/cover;
    padding: 20px 20px 21px;
  }
  @media screen and (max-width: 767px) {
    #group .box .box-inner {
      padding: 40px 0 0;
      background: url("../img/top/group_bg2_sp.png") no-repeat right bottom 40px/70px auto, url("../img/gastroenterology/group_bg_sp.png") no-repeat center/cover;
    }
  }
  #group .box .box-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url("../img/gastroenterology/group_triangle.png") no-repeat top left/100% auto;
    width: 288.5px;
    height: 82.5px;
  }
  @media screen and (max-width: 767px) {
    #group .box .box-inner::before {
      background: url("../img/top/group_triangle.png") no-repeat top left/100% auto;
      width: 100px;
      height: 64px;
    }
  }
  #group .box .box-inner .tit {
    position: absolute;
    top: -80px;
    width: 348.5px;
    left: -69.5px;
  }
  #group .box .box-inner h4 {
    width: 418px;
    text-align: right;
    max-width: 100%;
    color: #51AA90;
    font-size: 26px;
    line-height: 37px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }
  #group .box .box-inner h4 small {
    display: block;
    font-size: 20px;
    line-height: 1.45;
  }
  @media screen and (max-width: 767px) {
    #group .box .box-inner h4 {
      width: 100%;
      text-align: center;
      font-size: 24px;
      line-height: 35px;
      letter-spacing: -0.05em;
    }
    #group .box .box-inner h4 small {
      font-size: 16px;
      line-height: 1.5;
    }
  }
  #group .box .box-inner .txt {
    font-size: 15px;
    line-height: 26px;
    margin: 17px 0 0;
    letter-spacing: -0.04em;
    max-width: calc(100% - 255px);
  }
  @media screen and (max-width: 767px) {
    #group .box .box-inner .txt {
      line-height: 24px;
      letter-spacing: 0.04em;
      margin: 16px 20px 46px;
      max-width: 100%;
    }
  }
  #group .box .box-inner .btn-link {
    width: 250px;
    text-align: left;
  }
  @media screen and (min-width: 768px) {
    #group .box .box-inner .btn-link {
      position: absolute;
      right: 16px;
      bottom: 16px;
    }
  }
  @media screen and (max-width: 767px) {
    #group .box .box-inner .btn-link {
      width: 100%;
    }
  }
  #group .box .box-inner .btn-link a {
    display: block;
    padding: 12px 0 12px 24px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
    background: #E0C041;
    color: #fff;
  }
  #group .box .box-inner .btn-link a small {
    display: block;
    font-size: inherit;
  }
  #group .box .box-inner .btn-link a span {
    display: block;
    font-size: 24px;
  }
  #group .box .box-inner .btn-link a::before {
    display: none;
  }
  #group .box .box-inner .btn-link a::after {
    content: "";
    background: url("../img/top/arrow.png") no-repeat center right/100% auto;
    width: 14.5px;
  }
  @media screen and (min-width: 768px) {
    #group .box .box-inner .btn-link a::after {
      position: absolute;
      top: 0;
      bottom: 0;
      right: 20px;
    }
  }
  @media screen and (min-width: 768px) {
    #group .box .box-inner .btn-link a {
      border-radius: 50px;
    }
    #group .box .box-inner .btn-link a:hover {
      opacity: 0.8;
    }
  }
  @media screen and (max-width: 767px) {
    #group .box .box-inner .btn-link a {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0 23px;
      padding: 10px 0;
      border-radius: 0;
      font-size: 14px;
      line-height: 20px;
    }
    #group .box .box-inner .btn-link a span {
      font-size: 18px;
    }
    #group .box .box-inner .btn-link a::after {
      width: 14px;
      height: 12px;
      position: relative;
      top: auto;
      bottom: auto;
      background-image: url("../img/top/group_arrow_sp.png");
    }
  }

.full-box .elementor-container {
  width: 100% !important;
  max-width: 100% !important;
}

#add-box {
  background: url("../img/gastroenterology/add_left.png") no-repeat bottom left, url("../img/gastroenterology/add_right.png") no-repeat bottom right, url("../img/gastroenterology/add_bg1.png") no-repeat center;
  background-size: 409.5px auto, 478px auto, cover;
  padding: 110px 0 120px;
}

#add-box .inner {
  max-width: 656px;
  width: calc(100% - 420px);
}

#add-box h2 {
  color: #51aa90;
  font-size: 24px;
  line-height: 35px;
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

#add-box h3 {
  color: #51aa90;
  font-size: 30px;
  line-height: 56px;
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.08em;
}

#add-box .note {
  font-size: 20px;
  line-height: 34px;
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.04em;
  padding: 50px 0 30px;
  margin-right: -30px;
}

#add-box .line {
  max-width: 750px;
  border: 1px solid #51AA90;
  padding: 20px;
  font-size: 16px;
  line-height: 34px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

#add-box .line ul li {
  list-style: none;
  position: relative;
  background: url("../img/gastroenterology/add_dot.png") no-repeat 0 10px;
  background-size: 16px auto;
  padding-left: 30px;
}

/* @media screen and (max-width: 1260px) and (min-width: 768px) {
  #add-box {
    background: url(../img/gastroenterology/add_left.png) no-repeat bottom left, url(../img/gastroenterology/add_right.png) no-repeat bottom right, url(../img/gastroenterology/add_bg1.png) no-repeat center;
    background-size: 409.5px auto, 478px auto, cover;
    padding: 110px 0 120px;
  }
  #add-box h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  #add-box h3 {
    font-size: 26px;
  }
  #add-box .note {
    font-size: 18px;
    padding: 40px 0 30px;
  }
  #add-box .line {
    max-width: 750px;
    border: 1px solid #51AA90;
    padding: 20px;
    font-size: 16px;
    line-height: 34px;
    box-sizing: border-box;
    margin-bottom: 20px;
  }
  #add-box .line ul li {
    list-style: none;
    position: relative;
    background: url("../img/gastroenterology/add_dot.png") no-repeat 0 10px;
    background-size: 16px auto;
    padding-left: 30px;
  }
} */

@media screen and (max-width: 900px) {
  #add-box {
    background: url(../img/gastroenterology/sp_1.png) no-repeat top 13px right, url(../img/gastroenterology/sp_2.png) no-repeat top 259px left, url(../img/gastroenterology/sp2.png) no-repeat bottom center, url(../img/gastroenterology/add_bg_sp.jpg) no-repeat center;
    background-size: 133px auto, 280px auto, 310px auto, cover;
    padding: 59px 0 464px;
  }
  #add-box .inner {
    max-width: 100%;
    width: 750px;
    margin: 0 auto;
  }
  #add-box h2 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 5px;
    letter-spacing: 0.04em;
  }
  #add-box h3 {
    font-size: 24px;
    line-height: 48px;
    letter-spacing: 0;
  }
  #add-box .note {
    font-size: 18px;
    padding: 20px 0 20px;
    line-height: 32px;
    letter-spacing: 0;
    margin-right: 0;
  }
  #add-box .line {
    max-width: 750px;
    border: 1px solid #51AA90;
    padding: 20px;
    font-size: 16px;
    line-height: 28px;
    box-sizing: border-box;
    margin-bottom: 15px;
  }
  #add-box .line ul li {
    list-style: none;
    position: relative;
    background: url("../img/gastroenterology/add_dot.png") no-repeat 0 10px;
    background-size: 12px auto;
    padding-left: 20px;
  }
  #add-box .txt {
    font-size: 16px;
    line-height: 28px;
  }
}
