@charset "UTF-8";
/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Add your custom styles here */
html, body {
  overflow-x: hidden;
  width: 100%;
}

a:hover {
  cursor: pointer !important;
}

/* タイトル画面のスタイル 画像などの設定はfunctions.phpで処理 */
.page-header .entry-title {
  width: 100% !important;
}

.site-main {
  width: 1140px;
  padding: 0 !important;
}
@media (max-width: 1199px) {
  .site-main {
    width: 800px !important;
  }
}
@media (max-width: 991px) {
  .site-main {
    width: 600px !important;
  }
}
@media (max-width: 768px) {
  .site-main {
    width: 500px !important;
  }
}
@media (max-width: 575px) {
  .site-main {
    width: 100% !important;
  }
}

h1 {
  width: 100% !important;
  color: #54595f !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  text-align: center;
  padding: 52px 0 !important;
}
@media (max-width: 768px) {
  h1 {
    font-size: 26px !important;
    padding: 20px 0 !important;
  }
}

/* ローディング画面のスタイル */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1; /* 初期状態は完全に表示 */
}

.loader-container.hidden {
  animation: fadeOut 0.6s ease-out forwards; /* カスタムアニメーション */
  pointer-events: none; /* クリック無効化 */
}

.loader-container.hidden.animation-complete {
  opacity: 0;
  display: none; /* アニメーション終了後に完全非表示 */
}

/* ローダー本体 */
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #60ac47;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

/* 回転アニメーション */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* カスタムフェードアウトアニメーション */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1; /* 最初の0.4秒間はそのまま */
  }
  100% {
    opacity: 0; /* 残り0.4秒で徐々に非表示 */
  }
}
.openbtn2 {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  background: #60ac47;
  z-index: 1002;
  display: none;
  border-radius: 5px;
  margin: 5px;
}
.openbtn2 span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 11px;
  height: 2px;
  background-color: #fff;
}
.openbtn2 span:nth-of-type(1) {
  top: 16px;
  width: 50%;
}
.openbtn2 span:nth-of-type(2) {
  top: 29px;
  width: 30%;
}
.openbtn2.active {
  background: transparent;
}
.openbtn2.active span:nth-of-type(1) {
  top: 16px;
  left: 14px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}
.openbtn2.active span:nth-of-type(2) {
  top: 28px;
  left: 14px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}

@media (min-width: 769px) {
  #header-nav-wrapper .menu {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #header-nav-wrapper .menu li {
    position: relative;
    display: inline-block;
    border-radius: 5%;
    font-size: 20px;
  }
  #header-nav-wrapper .menu li:hover .sub-menu, #header-nav-wrapper .menu li:focus-within .sub-menu,
  #header-nav-wrapper .menu li .sub-menu:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  #header-nav-wrapper .menu li.menu-item-has-children > a {
    position: relative;
    padding-left: 1.5rem;
  }
  #header-nav-wrapper .menu li.menu-item-has-children > a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #60ac47;
    transition: transform 0.3s ease-in-out;
  }
  #header-nav-wrapper .menu li:hover > a::before, #header-nav-wrapper .menu li:focus-within > a::before,
  #header-nav-wrapper .menu li .sub-menu:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
  }
  #header-nav-wrapper .menu a {
    text-decoration: none;
    padding: 1rem;
    display: block;
    color: #54595f;
    transition: background-color 0.3s ease-in-out;
    text-align: center;
    cursor: pointer;
  }
  #header-nav-wrapper .menu a:hover {
    background-color: #e5e5e5;
  }
  #header-nav-wrapper .menu .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-radius: 5%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none;
    width: 100%;
    height: auto;
  }
  #header-nav-wrapper .menu .sub-menu li {
    display: block;
    border: none;
    border-radius: 0;
  }
  #header-nav-wrapper .menu .sub-menu li a {
    padding: 1rem;
    color: #54595f;
    text-align: center;
    cursor: pointer;
  }
  #header-nav-wrapper .menu li:hover .sub-menu,
  #header-nav-wrapper .menu li:focus-within .sub-menu {
    pointer-events: auto;
  }
}
/* スマホ用のメニュースタイル */
@media (max-width: 768px) {
  .openbtn2 {
    display: block;
  }
  #header-nav-wrapper {
    height: 0;
    padding: 0;
  }
  #header-nav-wrapper .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 72, 60, 0.9);
    transition: right 0.3s ease-in-out;
    padding: 1rem;
    padding-top: 65px;
    z-index: 1001;
  }
  #header-nav-wrapper .menu > li {
    border-bottom: 1px solid #d1d1d1;
    position: relative;
  }
  #header-nav-wrapper .menu li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.3rem 0;
    position: relative;
  }
  #header-nav-wrapper .menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    padding: 3px;
    width: 80vw;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
  }
  #header-nav-wrapper .menu li::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    transition: transform 0.3s ease-in-out;
  }
  #header-nav-wrapper .menu li.menu-item-has-children::after {
    border-width: 5px 5px 0 5px;
    border-color: #fff transparent transparent transparent;
  }
  #header-nav-wrapper .menu li:not(.menu-item-has-children)::after {
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #fff;
  }
  #header-nav-wrapper .menu li.menu-item-has-children.active::after {
    transform: translateY(-50%) rotate(180deg);
  }
  #header-nav-wrapper .menu li.menu-item-has-children .sub-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-top: 0.5rem;
  }
  #header-nav-wrapper .menu li.menu-item-has-children .sub-menu li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    margin: 0.3rem 0;
  }
  #header-nav-wrapper .menu li.menu-item-has-children .sub-menu li a {
    width: 40vw;
    cursor: pointer;
  }
  #header-nav-wrapper .menu li.menu-item-has-children .sub-menu li::after {
    content: none;
  }
  #header-nav-wrapper .menu li.menu-item-has-children.active .sub-menu {
    display: flex;
  }
  #header-nav-wrapper .menu.active {
    right: 0;
  }
}
.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .fixed-header {
    background: none;
  }
}
#header-msg p {
  margin: 0;
}

.posts-wrapper {
  padding: 20px 20px 20px 30px;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .posts-wrapper {
    max-width: 80vw;
  }
}
@media (max-width: 768px) {
  .posts-wrapper {
    padding-left: 10px;
  }
}

.post {
  display: flex;
  align-items: center;
  font-size: 18px;
  border-bottom: 1.5px dashed #d1d1d1;
  padding: 10px 0;
}
.post .post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
}
.post .post-meta .post-categories {
  display: inline-block;
  font-size: 18px;
  border-radius: 15px;
  background-color: #7fb3d5;
  min-width: 130px;
  text-align: center;
  margin-right: 5px;
}
.post .post-meta .post-categories.category-4 {
  background-color: #e74c3c;
}
.post .post-meta .post-categories.category-6 {
  background-color: #f39c12;
}
.post .post-meta .post-categories.category-5 {
  background-color: #82e0aa;
}
.post .post-meta .post-categories.category-11 {
  background-color: #5dade2;
}
.post .post-meta .post-categories a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.post .post-meta .post-date {
  display: inline-block;
  font-size: 18px;
  color: #54595f;
  margin-left: 10px;
}
.post .post-title {
  text-align: left;
  margin-left: 20px;
  margin-bottom: 0px;
}
.post .post-title a {
  font-size: 20px;
  color: #324863;
  cursor: pointer;
}
.post .post-title .new-icon {
  font-size: 12px;
  background-color: #ff5733;
  color: #fff;
  padding: 3px 5px;
  font-weight: 600;
}
@media (min-width: 769px) {
  .post {
    flex-direction: row;
  }
  .post .post-categories {
    padding: 5px;
  }
}
@media (max-width: 768px) {
  .post {
    flex-direction: column;
  }
  .post .post-meta {
    width: 90%;
    display: flex;
    justify-content: space-between;
  }
  .post .post-meta .post-date {
    font-size: 14px;
  }
  .post .post-categories {
    min-width: 40vw;
    padding: 2px;
    line-height: 21px;
  }
  .post .post-categories a {
    font-size: 12px;
  }
  .post .post-title {
    width: 80%;
    margin-top: 6px;
    text-align: left;
  }
  .post .post-title .new-icon {
    font-size: 10px;
  }
  .post .post-title a {
    font-size: 16px;
  }
}

.pagination {
  display: flex; /* フレックスボックスを使用して配置 */
  justify-content: space-between; /* 左・中央・右に分ける */
  align-items: center; /* 縦方向で中央揃え */
  margin-top: 20px;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  border: 1px solid #60ac47;
  background-color: #fff;
  color: #54595f;
  text-decoration: none;
  font-size: 14px;
}
.pagination a:hover,
.pagination span:hover {
  background-color: #60ac47;
  color: #fff;
}
.pagination .prev {
  flex: 0 0 auto; /* 左に固定配置 */
}
.pagination .next {
  flex: 0 0 auto; /* 右に固定配置 */
}
.pagination .numbers {
  display: flex; /* 数字部分をフレックスボックスで中央揃え */
  justify-content: center; /* 数字を中央に揃える */
  flex: 1; /* 空いたスペースを埋める */
}
.pagination .current {
  background-color: #60ac47;
  color: #fff;
  font-weight: bold;
  border-color: #f8d849;
}

.smart-footer {
  display: flex;
  position: fixed;
  bottom: -100px;
  width: 100%;
  transition: bottom 0.6s;
  z-index: 1100;
}
.smart-footer .footer-item {
  width: 33.3%;
  padding: 10px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.smart-footer .footer-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.smart-footer .footer-item a .text {
  font-size: 14px;
}
.smart-footer .home-medical {
  background-color: #f8d849;
}
.smart-footer .internal-medical {
  background-color: #60ac47;
}
.smart-footer .line {
  background-color: #00c300;
}
.smart-footer.show {
  bottom: 0;
}
.smart-footer.hide {
  bottom: -100px;
}

.footer-menu ul {
  list-style: none;
}
.footer-menu li {
  padding: 3px;
}
.footer-menu a {
  color: #324863;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: #54595f;
}

article.post h2 {
  font-size: 18px;
}
article.post h2 a {
  color: #324863;
  cursor: pointer;
}
article.post p {
  display: none;
}

.header2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
  text-align: center;
}
.header2:before {
  content: "";
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #60ac47;
  border-radius: 2px;
}
.header2:after {
  content: "";
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 10px;
  height: 5px;
  left: calc(50% + 30px);
  transform: translateX(-50%);
  background-color: #f8d849;
  border-radius: 2px;
}

.header3 {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
  background-color: #f5f4f2;
  border-left: 5px solid #60ac47;
  text-align: center;
}

.article-meta-info {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
@media (max-width: 768px) {
  .article-meta-info {
    flex-direction: column;
  }
}
.article-meta-info .breadcrumbs-wrapper {
  order: 1;
}
@media (max-width: 768px) {
  .article-meta-info .breadcrumbs-wrapper {
    order: 2;
  }
}
.article-meta-info .article-post-date-wrapper {
  order: 2;
}
@media (max-width: 768px) {
  .article-meta-info .article-post-date-wrapper {
    order: 1;
    text-align: right;
  }
}
.article-meta-info .breadcrumbs,
.article-meta-info .article-post-date,
.article-meta-info .article-post-modified-date {
  font-size: 14px;
}
@media (max-width: 768px) {
  .article-meta-info .breadcrumbs,
  .article-meta-info .article-post-date,
  .article-meta-info .article-post-modified-date {
    font-size: 12px;
  }
}
.article-meta-info .breadcrumbs a,
.article-meta-info .article-post-date a,
.article-meta-info .article-post-modified-date a {
  color: #60ac47;
  cursor: pointer;
}

@media (max-width: 768px) {
  .home-eye-catch .elementor-background-slideshow__slide__image {
    position: relative;
  }
  .home-eye-catch .elementor-background-slideshow__slide__image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(255, 255, 255) 2%, rgba(255, 255, 255, 0) 50%);
    z-index: 1;
    pointer-events: none;
  }
}
#kenshin-table.js-scrollable {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  max-height: none !important;
  position: relative;
  -webkit-overflow-scrolling: touch;
}
#kenshin-table .elementor-widget-container {
  overflow-y: visible !important;
  max-height: none !important;
}
#kenshin-table .elementor-widget-container table {
  width: -moz-max-content !important;
  width: max-content !important;
  min-width: 800px !important;
  border-collapse: collapse;
  table-layout: fixed;
}
#kenshin-table .elementor-widget-container table td,
#kenshin-table .elementor-widget-container table th {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  padding: 8px;
}
#kenshin-table .elementor-widget-container table td:nth-child(1),
#kenshin-table .elementor-widget-container table th:nth-child(1) {
  width: 150px;
}
#kenshin-table .elementor-widget-container table td:nth-child(2),
#kenshin-table .elementor-widget-container table th:nth-child(2) {
  width: 200px;
}
#kenshin-table .elementor-widget-container table td:nth-child(n+3),
#kenshin-table .elementor-widget-container table th:nth-child(n+3) {
  width: 180px;
}

.scroll-hint-icon-wrap {
  top: 5px !important;
  right: 5px !important;
  position: absolute;
  z-index: 10;
}

.scroll-hint-text {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}/*# sourceMappingURL=style.css.map */