@charset "UTF-8";
/* Minimum width of 769 pixels.
-------------------------------------------------------------- */
@media screen and (min-width: 769px) {
  /**************************************************************
  トップページ
  **************************************************************/
  #home #slider_box {
    position: relative;
    z-index: 1 !important;
    height: 499px;
    padding-top: 1px;
    text-align: center;
  }
  #home #main h3 {
    padding-left: 15px;
    font-size: 23px;
    font-weight: normal;
    line-height: 1.3;
    color: var(--color-accent);
    border-left: 3px solid var(--color-primary);
  }
  #home #main p {
    padding: 15px;
    padding-right: 260px;
    border-left: 3px solid var(--color-secondary-sub);
  }
  #home #main .features {
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 1px dotted var(--color-secondary-sub);
  }
  #home #main .features h3 {
    margin-top: 10px;
  }
  #home #main .features img {
    width: 240px;
    height: auto;
    margin-left: 20px;
    border: 2px solid var(--color-secondary);
  }
  #home #main #whatsnew {
    background-color: #fff;
    box-shadow: 0 0 3px 1px #999;
  }
  #home #main #whatsnew h3 {
    position: relative;
    display: block;
    float: left;
    width: 90px;
    height: 160px;
    padding: 25px 15px;
    margin: 0;
    font-size: 18px;
    /* IE6-9 */
    color: #fff;
    text-align: center;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e91e6+0,0064aa+100 */
    background: var(--color-primary);
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-style: none;
  }
  #home #main #whatsnew h3 img {
    position: absolute;
    top: 65px;
    left: -15px;
  }
  #home #main #whatsnew h3 span {
    display: block;
    font-size: 8px;
  }
  #home #main #whatsnew ul {
    float: right;
    margin: 10px 15px 10px 0;
  }
  #home #main #whatsnew iframe {
    float: right;
    width: 590px;
  }
  #home #main #whatsnew li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px var(--color-secondary-sub) dotted;
  }
  #home #main #whatsnew li span {
    display: inline-block;
    width: 90px;
    font-size: 14px;
    color: var(--color-primary);
  }
  #home #main #whatsnew #iframe_container {
    /* ipad対策 */
    height: 200px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  header {
    position: relative;
    z-index: 1000000 !important;
    box-shadow: 0 0 3px 1px #ccc;
  }
  /**************************************************************
  開院・内覧会のお知らせ
  **************************************************************/
  .info_open {
    border: 4px solid orange;
  }
  .info_nairan {
    border: 4px solid green;
  }
  .info_open,
  .info_nairan {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 10px;
  }
  .info_open h2 {
    font-size: 22px;
    color: orange;
  }
  .info_nairan h2 {
    font-size: 22px;
    color: green;
  }
  .info_open strong {
    font-size: 36px;
  }
  #home #main .info_open p,
  #home #main .info_nairan p {
    padding: 0;
    border: none;
  }
  /**************************************************************
  二階層以下
  **************************************************************/
  h3#page_title {
    position: relative;
    width: 1024px;
    height: 250px;
    margin: 0 auto;
  }
  #clinic h3#page_title {
    background: url("../images/page_title_bg1.jpg");
  }
  #facility h3#page_title {
    background: url("../images/page_title_bg2.jpg");
  }
  #access h3#page_title {
    background: url("../images/page_title_bg3.jpg");
  }
  h3#page_title span {
    position: absolute;
    top: 50%;
    font-size: 45px;
    font-weight: normal;
    color: var(--color-primary);
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
    transform: translateY(-50%);
  }
  h3#page_title span em {
    display: block;
    font-size: 20px;
  }
  /**************************************************************
  医院案内
  **************************************************************/
  #clinic #main .medical_courses p {
    padding: 15px;
    border-left: 3px solid var(--color-secondary-sub);
  }
  #clinic #main h3 {
    margin: 30px 0 0;
    font-size: 30px;
    font-weight: normal;
    color: var(--color-primary);
  }
  #clinic #main h5 {
    margin-top: 30px;
    font-size: 20px;
    font-weight: normal;
    color: var(--color-primary);
  }
  #clinic #main h5 span {
    padding-right: 5px;
    font-size: 22px;
  }
  #clinic #main .intyo_photo {
    float: right;
    width: 200px;
    margin: 10px 0 10px 20px;
  }
  #clinic #main .intyo_photo p {
    padding: 0;
    font-size: 18px;
    border-style: none;
  }
  #clinic #main .intyo_photo p span {
    padding-right: 15px;
    font-size: 14px;
  }
  #clinic #main .medical_courses h4,
  #clinic #main .staff h4,
  #clinic #main .medical_courses_content h4 {
    padding-left: 15px;
    font-size: 23px;
    font-weight: normal;
    line-height: 1.3;
    color: var(--color-accent);
    border-left: 3px solid var(--color-primary);
  }
  #clinic #main .medical_courses {
    padding-bottom: 15px;
    margin-bottom: 30px;
  }
  #clinic #main .medical_courses h4 {
    margin-top: 10px;
  }
  #clinic #main .medical_courses img {
    border: 2px solid var(--color-secondary);
  }
  #clinic #main p.name {
    text-align: right;
  }
  #clinic #main p.name ruby {
    font-size: 30px;
  }
  #clinic #main p.name ruby rb {
    font-size: 30px;
  }
  #clinic #main p.name span {
    padding-right: 10px;
    font-size: 20px;
  }
  #clinic #main .staff img {
    display: block;
    width: 90%;
    margin: 10px auto 30px;
  }
  #clinic .medical_courses dl,
  #clinic .medical_courses dt,
  #clinic .medical_courses dd {
    box-sizing: border-box;
  }
  #clinic .medical_courses dl {
    background: #eee;
    border-bottom: 1px dotted #ccc;
  }
  #clinic .medical_courses dt,
  #clinic .medical_courses dd {
    padding: 10px 10px 0;
    border-top: 1px dotted #ccc;
  }
  #clinic .medical_courses dt {
    float: left;
    width: 120px;
  }
  #clinic .medical_courses dd {
    padding-bottom: 10px;
    margin-left: 120px;
    background: #fff;
  }
  #clinic .medical_courses dd::after {
    display: block;
    clear: both;
    content: "";
  }
  #clinic #main .medical_courses ul {
    border-top: 1px dotted #ccc;
  }
  #clinic #main .medical_courses ul li {
    padding: 10px 0;
    border-bottom: dotted 1px #ccc;
  }
  /**************************************************************
  医院案内（経歴）
  **************************************************************/
  /**************************************************************
  院内設備
  **************************************************************/
  .facility_box_wrap {
    padding-bottom: 40px !important;
    overflow: hidden;
  }
  #facility .facility_box {
    width: 48%;
    min-height: 380px;
  }
  #facility .facility_box h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: normal;
    color: var(--color-primary);
    border-bottom: 1px var(--color-primary) solid;
  }
  #facility .facility_box h3 span {
    font-size: 150%;
    color: var(--color-p rimary);
  }
  #facility .facility_box img {
    /* max-width:100%; */
    max-width: 98%;
    height: auto;
    margin-bottom: 15px;
    border: 2px solid var(--color-secondary);
  }
  /**************************************************************
  アクセス
  **************************************************************/
  #access_cont {
    padding: 40px;
  }
  #access #main section img {
    max-width: 100%;
    height: auto;
  }
  #access #main ul#access_method {
    float: left;
    margin-top: 30px;
    border-top: 1px var(--color-primary) dotted;
  }
  #access #main ul#access_method li {
    position: relative;
    width: 250px;
    height: auto !important;
    height: 35px;
    min-height: 35px;
    padding: 5px 0 5px 100px;
    line-height: 2;
    border-bottom: 1px var(--color-primary-dark) dotted;
  }
  #access #main ul#access_method li span.title {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    float: left;
    width: 80px;
    padding: 0;
    margin-right: 10px;
    line-height: 2;
    color: #302700;
    text-align: center;
    background-color: #fff;
    border: 2px var(--color-primary) solid;
  }
  #access_gazo {
    float: right;
    margin: 15px 5px 5px;
  }
  #access_gazo img {
    margin-left: 20px;
    border: 2px solid var(--color-secondary);
  }
}
/* end min-width: 769px */
/* Max width of 768 pixels.
-------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  /**************************************************************
  トップページ
  **************************************************************/
  #slider_box {
    margin-top: 10px;
    text-align: center;
    background: #fff url("../images/common/header_bg.gif") top left repeat-x;
  }
  #home #main h3 {
    padding-left: 15px;
    font-size: 23px;
    font-weight: normal;
    line-height: 1.3;
    color: var(--color-accent);
    border-left: 3px solid var(--color-primary);
  }
  #home #main p {
    padding: 15px;
    border-left: 3px solid var(--color-secondary-sub);
  }
  #access_bt {
    display: block;
    width: 90%;
    margin: 3% 5%;
  }
  .access_textlink {
    display: block;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(to bottom, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    background-color: var(--color-primary);
    border-radius: 10px;
  }
  .access_textlink:hover {
    text-decoration: none;
  }
  .access_textlink span {
    display: inline-block;
    padding: 20px 20px 20px 50px;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 0 0;
    background-image: url("../images/icon_pin.png");
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 34px 56px;
  }
  #home #main .features {
    padding-bottom: 15px;
    margin-bottom: 10%;
    border-bottom: 1px dotted var(--color-secondary-sub);
  }
  #home #main .features h3 {
    margin-top: 10px;
  }
  #home #main .features img {
    display: block;
    float: none;
    margin: 2% auto;
    border: 2px solid var(--color-secondary);
  }
  #home #main #whatsnew {
    background-color: #fff;
    box-shadow: 0 0 3px 1px #999;
  }
  #home #main #whatsnew h3 {
    position: relative;
    display: block;
    width: 100%;
    padding: 25px 0;
    margin: 0;
    font-size: 18px;
    /* IE6-9 */
    color: #fff;
    text-align: center;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e91e6+0,0064aa+100 */
    background: var(--color-primary);
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-style: none;
  }
  #home #main #whatsnew h3 img {
    position: absolute;
    top: -10px;
    left: -15px;
  }
  #home #main #whatsnew h3 span {
    display: block;
    font-size: 8px;
  }
  #home #main #whatsnew ul {
    width: 90%;
    margin: 10px 15px 10px 0;
  }
  #home #main #whatsnew li {
    padding: 5%;
    font-size: 14px;
    border-bottom: 1px var(--color-secondary-sub) dotted;
  }
  #home #main #whatsnew li span {
    display: block;
    font-size: 14px;
    color: var(--color-primary);
  }
  #home #main #whatsnew #iframe_container {
    width: 100%;
    height: 200px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #home #main p {
    padding-right: 0;
  }
  /**************************************************************
  開院・内覧会のお知らせ
  **************************************************************/
  .info_open {
    border: 4px solid var(--color-open);
  }
  .info_nairan {
    border: 4px solid var(--color-nairan);
  }
  .info_open,
  .info_nairan {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 10px;
  }
  .info_open h2 {
    font-size: 22px;
    color: var(--color-open);
  }
  .info_nairan h2 {
    font-size: 22px;
    color: var(--color-nairan);
  }
  .info_open strong {
    font-size: 20px;
  }
  #home #main .info_open p {
    padding: 0;
    border: none;
  }
  #home #main .info_nairan p {
    padding: 0;
    border: none;
  }
  #home #main .info_nairan p.almob {
    text-align: left;
  }
  /**************************************************************
  二階層以下
  **************************************************************/
  h3#page_title {
    /* 24.414% */
    position: relative;
    height: 0;
    padding-top: 24.4140625%;
  }
  #clinic h3#page_title {
    background: url("../images/page_title_bg1.jpg");
    background-size: cover;
  }
  #facility h3#page_title {
    background: url("../images/page_title_bg2.jpg");
    background-size: cover;
  }
  #access h3#page_title {
    background: url("../images/page_title_bg3.jpg");
    background-size: cover;
  }
  h3#page_title span {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 20px;
    font-weight: normal;
    color: var(--color-primary);
    text-align: center;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
    transform: translate(-50%, -50%);
  }
  h3#page_title span em {
    display: block;
    font-size: 20px;
  }
  /**************************************************************
  医院案内
  **************************************************************/
  #clinic #main .medical_courses p {
    padding: 15px;
  }
  #clinic #main h3 {
    margin: 30px 0 0;
    font-size: 30px;
    font-weight: normal;
    color: var(--color-primary);
  }
  #clinic #main .intyo_photo {
    float: none;
    width: 80%;
    margin: 10px auto;
  }
  #clinic #main .intyo_photo img {
    display: block;
    margin: 10px 0;
    margin: 0 auto !important;
  }
  #clinic #main .intyo_photo p {
    padding: 0;
    font-size: 18px;
    border-style: none;
  }
  #clinic #main .intyo_photo p span {
    padding-right: 15px;
    font-size: 14px;
  }
  #clinic #main h5 {
    margin-top: 30px;
    font-size: 20px;
    font-weight: normal;
    color: var(--color-primary);
  }
  #clinic #main h5 span {
    padding-right: 5px;
    font-size: 22px;
  }
  #clinic #main .medical_courses h4,
  #clinic #main .staff h4,
  #clinic #main .medical_courses_content h4 {
    padding-left: 15px;
    font-size: 23px;
    font-weight: normal;
    line-height: 1.3;
    color: var(--color-accent);
    border-left: 3px solid var(--color-primary);
  }
  #clinic #main .medical_courses {
    padding-bottom: 15px;
    margin-bottom: 30px;
  }
  #clinic #main .medical_courses h4 {
    margin-top: 10px;
  }
  #clinic #main .medical_courses img {
    margin-left: 20px;
    border: 2px solid var(--color-secondary);
  }
  #clinic #main p.name {
    text-align: right;
  }
  #clinic #main p.name ruby {
    font-size: 30px;
  }
  #clinic #main p.name ruby rb {
    font-size: 30px;
  }
  #clinic #main p.name span {
    padding-right: 10px;
    font-size: 20px;
  }
  #clinic #main .staff img {
    display: block;
    width: 90%;
    margin: 10px auto 30px;
  }
  #clinic .medical_courses dl,
  #clinic .medical_courses dt,
  #clinic .medical_courses dd {
    box-sizing: border-box;
  }
  #clinic .medical_courses dl {
    background: #eee;
    border-bottom: 1px dotted #ccc;
  }
  #clinic .medical_courses dt,
  #clinic .medical_courses dd {
    padding: 10px 10px 0;
    border-top: 1px dotted #ccc;
  }
  #clinic .medical_courses dt {
    float: left;
    width: 120px;
  }
  #clinic .medical_courses dd {
    padding-bottom: 10px;
    margin-left: 120px;
    background: #fff;
  }
  #clinic .medical_courses dd::after {
    display: block;
    clear: both;
    content: "";
  }
  #clinic .medical_courses ul {
    border-top: 1px dotted #ccc;
  }
  #clinic .medical_courses ul li {
    padding: 10px 0;
    border-bottom: dotted 1px #ccc;
  }
  /**************************************************************
  医院案内（経歴）
  **************************************************************/
  /**************************************************************
  院内設備
  **************************************************************/
  #facility .facility_box {
    width: 100%;
    height: auto !important;
    padding-bottom: 80px !important;
  }
  #facility .facility_box h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: normal;
    color: var(--color-primary);
    border-bottom: 1px var(--color-primary) solid;
  }
  #facility .facility_box h3 span {
    font-size: 150%;
    color: var(--color-primary);
  }
  #facility .facility_box img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border: 2px solid var(--color-secondary);
  }
  /**************************************************************
  アクセス
  **************************************************************/
  #access #main section img {
    max-width: 100%;
    height: auto;
  }
  #access #main ul#access_method {
    margin-top: 20px;
    border-top: 1px var(--color-primary) dotted;
  }
  #access #main ul#access_method li {
    position: relative;
    height: auto !important;
    height: 35px;
    min-height: 35px;
    padding: 5px 0 5px 100px !important;
    line-height: 2;
    border-bottom: 1px var(--color-primary-dark) dotted;
  }
  #access #main ul#access_method li span.title {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 80px;
    padding: 0;
    margin-right: 10px;
    line-height: 2;
    color: #302700;
    text-align: center;
    background-color: #fff;
    border: 2px var(--color-primary-dark) solid;
  }
  #access_gazo {
    margin-top: 15px;
    text-align: center;
  }
  #access_gazo img {
    margin-left: 0;
    border: 2px solid var(--color-secondary);
  }
}
/* end max-width: 768px */
/*** 240224 web予約バナー追加 ***/
.web_yoyaku {
  display: block;
  padding: 10px;
  margin-bottom: 30px;
  color: #000 !important;
  text-align: center;
  text-decoration: none;
  border: 1px solid #555;
}
.web_yoyaku:hover {
  text-decoration: none;
  background: rgba(238, 238, 238, 0.3);
  transition: 0.5s;
}
.web_yoyaku span {
  /** メインカラー **/
  font-size: 24px;
  color: var(--color-primary);
}

/*** 240224 スマホフッターリンクボタン追加 ***/
.footer_btn {
  display: none;
}
.footer_btn a.yoyaku p::before {
  position: absolute;
  top: -10px;
  left: -27px;
  width: 22.5px;
  height: 50px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='30' width='22.5' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%23ffffff' d='M16 64C16 28.7 44.7 0 80 0H304c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H80c-35.3 0-64-28.7-64-64V64zM224 448a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM304 64H80V384H304V64z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 7px;
}
.footer_btn a.tel-link p::before {
  position: absolute;
  top: -5px;
  left: -27px;
  width: 22.5px;
  height: 50px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' width='20' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%23ffffff' d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 7px;
}

@media screen and (max-width: 768px) {
  .footer_btn {
    position: fixed;
    bottom: 0;
    display: flex;
    width: 100%;
  }
  .footer_btn a {
    display: block;
    flex: 1;
    width: 100%;
    padding: 10px;
    line-height: 2;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: var(--color-primary);
  }
  .footer_btn a p {
    position: relative;
    display: inline-block;
    font-size: 18px;
  }
  .footer_btn a:nth-child(2n) {
    border-left: 1px solid #fff;
  }
}
/*** 240225 診療案内ページ・求人情報 ***/
table.recruit {
  width: 100%;
  border-collapse: collapse;
}
table.recruit th,
table.recruit td {
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #000;
}
table.recruit th {
  color: #fff;
  text-align: center;
  background: var(--color-primary);
}
table.recruit th:first-child {
  width: 200px;
}

@media screen and (max-width: 768px) {
  table.recruit th {
    box-sizing: border-box;
    display: block;
  }
  table.recruit th:first-child {
    width: 100%;
  }
  table.recruit td {
    box-sizing: border-box;
    display: block;
  }
  table.recruit th {
    border-top: none;
    border-bottom: none;
  }
  table.recruit tr:first-child th {
    border-top: 1px solid #000;
  }
}
/*** 240613 #sideブロック化 ***/
#side {
  display: inline-block;
  float: right;
  width: 275px;
}

@media screen and (max-width: 768px) {
  #side {
    display: block;
    float: none;
    width: 100%;
  }
}