/*
 Theme Name:   mukaeru-g
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@import url(font.css);

/*
 ----------------------------------
 
 通常設定

 ----------------------------------
*/

.widget-title{
	margin-bottom: 15px;
}
body a {
    color: #006600;
	text-decoration: auto;
}

.kd_smp_tel a{
	font-size: 1.2em;
    font-weight: bold;
	color: var(--contrast) !important;
}

/* コンテンツ見出し（h1） */
.content-area h1.entry-title,
.content-area h1#post_h2
{
    color: #000;/*文字色（黒）*/
    font-size: 1.2em;/*文字サイズ*/
    padding: 15px 20px 15px 30px;/*文字回りの余白（上 右 下 左）*/
    display: block;
    position: relative;
	margin-bottom: 30px;
}
.content-area h1.entry-title:before,
.content-area h1.entry-title:after,
.content-area h1#post_h2:before,
.content-area h1#post_h2:after
{
    content: "";
    display: block;
    position: absolute;
}
.content-area h1.entry-title:before,
.content-area h1#post_h2:before{
    bottom: -5px;
    left: 1px;
    width: 5px;/*左下線の間の幅*/
    height: 20px;/*左下線の高さ*/
    border-left: 2px solid #00511a;/*左下左線（太さ 実線 色）*/
    border-right: 2px solid #00511a;/*左下右線（太さ 実線 色）*/
    transform: skewX(-15deg);/*左下線の傾き*/
}
.content-area h1.entry-title:after,
.content-area h1#post_h2:after{
    left: 15px;
    bottom: 0;
    width: calc(100% - 8px);
    height: 2px;/*下線の太さ（高さ）*/
    background: #00511a;/*背景色（黒）*/
}

/* サイドバー見出し */
h2.widget-title {
    color: #000;/*文字色*/
    font-size: 1em;/*文字サイズ*/
    padding: 10px 15px;/*文字回りの余白（上下 左右）*/
    display: block;
    position: relative;
    border-left: 8px solid #00511a;/*左線上側（太さ 実線 色）*/
	border-bottom: 1px solid #8fc31f;
}
h2.widget-title:before {
    position: absolute;
    content: '';
    left: -8px;
    bottom: 0;
    width: 8px;/*左線下側の太さ（幅）*/
    height: 50%;/*左線下側の高さ*/
    background-color: #8fc31f;/*左線下側の色*/
}

#contents_info {
padding: 20px;
}

.breadcrumbs {
    padding: 10px 15px 10px 15px !important;
    margin-bottom: 10px;
    font-size: 0.86em;
}

/* ホームのテキストを非表示にしつつ、アクセシビリティは保つ */
.kuzu .home span[property="name"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* アイコン表示 */
.kuzu .home::before {
  content: "\f015"; /* Unicode for 'house' icon in FA6 */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 0.3em;
  display: inline-block;
}

.breadcrumb-separator {
  color: #555555;
  margin: 0 0.5em;
}

/*　side bar menu　*/

aside.widget.inner-padding ul, {
  list-style: none;
  padding: 0;
  margin: 0;
}

aside.widget.inner-padding ul li {
  display: flex; /* ← 横並び＆中央揃えに */
  align-items: center; /* ← 垂直方向に中央揃え */
  border-bottom: 1px dotted #ccc;
  margin-bottom: 0.8em;
  gap: 0.5em; /* アイコンとテキストの間の余白 */
}

aside.widget.inner-padding ul li::before {
  content: "\f105"; /* fa-angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Solid */
  font-weight: 900;
  color: #666;
  font-size: 1em;
  line-height: 1;
}

aside.widget.inner-padding ul li a {
  text-decoration: none;
  color: inherit;
  padding: 0.5em 0;
  display: inline-block;
  flex: 1; /* テキスト側を伸ばす（任意） */
	text-align: left;
}

aside.widget.inner-padding ul li a:hover {
    color: #669900;
}

ul.business-calendar-attribute li::before {
    content: none !important;
    display: none !important;
}

/*　side bar menu　*/

/*　h　*/

.entry h1,
.entry-content h1,
.inside-article h1.wp-block-heading {
	font-size: 1em;
	color: #333333;
	display: block;
	text-align: left;
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 15px;
	background-color: #FFFFFF;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 5px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #E4E4E4;
	border-right-color: #CCCCCC;
	border-bottom-color: #006600;
	border-left-color: #006600;
	clear: both;
}
.entry h2,
.entry-content h2,
.inside-article h2.wp-block-heading {
	font-size: 1em;
	color: #333333;
	display: block;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
	padding-top: 8px;
	padding-right: 15px;
	padding-bottom: 8px;
	padding-left: 15px;
	background-color: #f7f7f7;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 5px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #DDDDDD;
	border-right-color: #CCCCCC;
	border-left-color: #006600;
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
.entry h3,
.entry-content h3,
.inside-article h3.wp-block-heading {
	font-size: 1em;
	color: #333333;
	display: block;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #006600;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 15px;
	background-color: #F7f7f7;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #D8D8D8;
	border-right-color: #D8D8D8;
	border-left-color: #D8D8D8;
	clear: both;
}
.entry h4,
.entry-content h4,
.inside-article h4.wp-block-heading {
	font-size: 1em;
	color: #333333;
	display: block;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #006600;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 15px;
	background-color: #FFFFFF;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #eeeeee;
	border-right-color: #eeeeee;
	border-left-color: #eeeeee;
	clear: both;
}
.entry h5,
.entry-content h5,
.inside-article h5.wp-block-heading {
	font-size: 1em;
	color: #333333;
	display: block;
	text-align: left;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 15px;
	background-color: #f7f7f7;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 7px;
	border-bottom-style: solid;
	border-left-style: double;
	border-bottom-color: #006600;
	border-left-color: #006600;
	clear: both;
}
.entry h6,
.entry-content h6,
.inside-article h6.wp-block-heading {
	font-size: 1em;
	color: #FFFFFF;
	display: block;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #006600;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 15px;
	background-color: #006600;
	border-left-width: 7px;
	border-left-style: double;
	border-left-color: #FFFFFF;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	clear: both;
}

/* .kt-row-column-wrap 配下の h は除外（リセット） */
.kt-row-column-wrap h1,
.kt-row-column-wrap h2,
.kt-row-column-wrap h3,
.kt-row-column-wrap h4,
.kt-row-column-wrap h5,
.kt-row-column-wrap h6 {
	font-size: inherit;
	color: inherit;
	padding: initial;
	background-color: transparent;
	margin: initial;
	border: none;
	clear: none;
}

/*　h　*/

.widget-area .widget {
    padding: 0px 10px 30px 10px;
}

table.business-calendar {
    font-size: 0.8em;
}

.narrowcolumn_right {
    padding: 0px 35px 0px 0px;
}

.narrowcolumn_left {
    padding: 0px 0px 0px 35px;
}

@media (max-width: 768px) {
	.narrowcolumn_right {
    padding: 0px 0px 0px 0px;
}

.narrowcolumn_left {
    padding: 0px 0px 0px 0px;
}
}

.blog_calendar table caption {
	padding: 10px;
}

.blog_calendar table {
	margin-bottom: 10px;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
    color: #000000 !important;
}
    
.wp-block-calendar table:where(:not(.has-text-color)) td, .wp-block-calendar table:where(:not(.has-text-color)) th {
    border-color: #aaaaaa !important;
}

/* 各ページタイトル */
:is(.blog, .category, .tag, .date, .author, .search) .entry-header .entry-title {
	position: relative;
	padding: 10px 10px 20px 10px;
	font-size: 1.1em;
}

:is(.blog, .category, .tag, .date, .author, .search) .entry-header .entry-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background-image: repeating-linear-gradient(45deg, #087900 0px, #087900 1px, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%);
	background-size: 8px 8px;
}

.page-header .page-title {
	font-size: 1.4em;
	padding: 1rem 1rem;
	color: #fff;
	background: #00511a;
	-webkit-box-shadow: 5px 5px 0 #8fc31f;
	box-shadow: 5px 5px 0 #8fc31f;
}

header.page-header {
	margin-bottom: 0px !important;
	padding-bottom: 20px !important;
}

.custom_entry-title {
	font-size: 1.4em;
	padding: 1rem 1rem;
	color: #fff;
	background: #00511a;
	-webkit-box-shadow: 5px 5px 0 #8fc31f;
	box-shadow: 5px 5px 0 #8fc31f;
}
.is-blog-home .breadcrumbs {
    display: none;
}

/* kadence-table */

.kd-table_custom_1 > table {
  min-width: 600px; /* 必要に応じて調整 */
}

/* information 取得カルーセル */
.home_post_slider_cutom h3.entry-title{
	color: #000 !important;
}
.home_post_slider_cutom h3.entry-title a{
	color: var(--contrast) !important;
}


/* 横スクロールのグラデーションヒント */

/* 
.kd-table_custom_1::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to left, #fff 60%, transparent);
  pointer-events: none;
  z-index: 1;
}
.kd-table_custom_1::before {
  content: "← 横にスクロールできます →";
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
  text-align: center;
}
*/

/* Kadence 見出し */
/*
.custom_kd_inline-heading {
  display: inline-block !important;
}*/

/* ====================================

症例（mukaeru）

======================================= */
  
.cat_column_wrapper .cat_column_container ul.grid{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: stretch;
}
.cat_column_wrapper .cat_column_container ul.grid li img {
  width: 100%;
  height: 200px; /* 高さを任意に固定（例：200px） */
  object-fit: cover;
  display: block;
}
/* ① レスポンシブ時も常に li の間隔（マージン）を保つ */
.cat_column_container ul.grid {
  gap: 10px; /* grid内の間隔を一括で指定（flex gap対応ブラウザ用） */
}

.cat_column_container ul.grid li.grid-item {
  margin: 0; /* gap を使うので個別の margin は不要 */
  width: calc((100% - 20px) / 3);
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .cat_column_container ul.grid li.grid-item {
    width: calc((100% - 10px) / 2);
  }
}
@media screen and (max-width: 500px) {
  .cat_column_container ul.grid li.grid-item {
    width: 100%;
  }
}

/* ② 子階層・孫階層の li を100%幅にする */
.cat_column_container ul.child li {
  display: block !important;
  width: 100% !important;
  margin-right: 0 !important;
}

.cat_column_container ul.child li a {
	display: block;
	width: 99%;
	margin-top:5px
}

/* 症例（ムカエル）子階層カテゴリー開閉JS */

.cat_column_container ul.child {
  display: none;
  margin-left: 10px;
}

.child-toggle.open .child {
  display: block;
}

.child-heading {
  cursor: pointer;
  font-weight: bold;
  background: #e0f7f2;
  padding: 8px;
  border: 1px solid #004b37;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.child-heading .arrow {
  margin-left: 8px;
  font-size: 0.9em;
  transition: transform 0.2s;
}

.child-toggle.open .child-heading .arrow {
  transform: rotate(90deg); 
}

.child-heading {
	cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5 !important;
    padding: 10px 14px;
    border-top: 1px dashed var(--accent);
    border-radius: 0px;
    border-left: none;
    border-right: none;
    border-bottom: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    transition: background 0.3s;
}

.child-heading:hover {
  background: #e4f6f0;
}

.child-heading .icon-left {
  margin-right: 8px;
  color: #004b37;
}

.child-heading .arrow {
  margin-left: auto;
  transition: transform 0.3s;
  font-size: 1.2em;
  color: #004b37;
}

/* ページトップ */

.generate-back-to-top{
    bottom: 90px;
	right: 15px !important;
	background-color: #004b37 !important;
    color: #ffffff !important;
}
.generate-back-to-top:hover,
.generate-back-to-top:focus {
    background-color: rgba(0, 75, 55, 0.7) !important;
    color: #FFFFFF !important;
}

/* <div id="contents_info"> トップページの時 */
body.home #contents_info {
    position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
	background: var(--base-2);
	padding-top: 30px;
	padding-bottom: 0px;
	margin-top: 0px;
}
body.home #contents_info .table-ul {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* 任意の余白を調整 */
}

@media (max-width: 768px) {
body.home #contents_info {
        position: fixed;
        bottom: 0;
        left: 0;
	right: 0;
        width: 100%;
        padding: 9px;
        z-index: 9999;
	margin-left: 0vw;
    margin-right: 0vw;
    }
body.home #contents_info .table-ul {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px; /* 任意の余白を調整 */
}
}

/* <div id="contents_info"> 通常 */
#contents_info {
	margin-top: 30px;
}

/* フッターウィジェット個々のマージン */
.footer-widgets .widget{
	margin-bottom: 10px;
}

/* 旧エディター（画像枠線） */
img.wakusen,
.wakusen img {
    padding: 4px;
    display: inline;
    border: 1px solid #DFDFDF !important;
    background-color: #FFFFFF;
}
img.maru,
.maru img {
    border: 5px solid #fff;
    border-radius: 50%;
    -moz-border-image: border-radius: 50%;
    -webkit-border-image: border-radius: 50%;
    margin: 10px;
    padding: 0px;
}

/* ====================================

新CF7

======================================= */
        .form-description {
            text-align: center;
            margin-bottom: 2rem;
            color: #000;
            font-size: 1rem;
        }

        .contact-form {
            /*max-width: 700px;*/
            margin: 5px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px -5px #000000;
        }

        .form-group {
            margin-bottom: 0;
            padding: 1.5rem 0;
            border-bottom: 1px dashed #ddd;
        }

        .form-label {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
            font-size: 0.95rem;
            color: #000;
        }

        .required {
            background: #e4003f;
            color: white;
            font-size: 0.7rem;
            padding: 2px 8px;
            border-radius: 2px;
            margin-left: 0.5rem;
        }

        .optional {
            background: #999;
            color: white;
            font-size: 0.7rem;
            padding: 2px 8px;
            border-radius: 2px;
            margin-left: 0.5rem;
        }

        .form-control {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
            background-color: #fff;
        }

        .form-control:focus {
            outline: none;
            border-color: #7ab80e;
            box-shadow: 0 0 0 2px rgba(122, 184, 14, 0.1);
        }

        .radio-group {
            display: flex;
            gap: 2rem;
        }

        .radio-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            font-size: 0.95rem;
        }

        .select-control {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
            cursor: pointer;
            font-size: 0.95rem;
        }

        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            font-size: 0.95rem;
        }

        .textarea-control {
            width: 100%;
            min-height: 150px;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            resize: vertical;
            font-size: 0.95rem;
        }

        .form-hint {
            font-size: 0.85rem;
            color: #666;
            margin-top: 0.5rem;
        }

        .submit-wrapper {
            text-align: center;
            margin-top: 2rem;
            padding-top: 1rem;
        }

        .submit-button {
            background-color: #666;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 1rem 4rem;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .submit-button:hover {
            background-color: #555;
        }

        .wpcf7-not-valid-tip {
            color: #e4003f;
            font-size: 0.8rem;
            margin-top: 0.25rem;
        }

        .wpcf7-response-output {
            margin: 1rem 0;
            padding: 1rem;
            border-radius: 4px;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            .contact-form {
                padding: 1.5rem;
            }
        }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    text-align: center;
}

/*
 Theme Name:   mukaeru-g
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* menu */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu {
  /*position: fixed;
  top: 10vh;
  left: 0;*/
  flex: 1;
  z-index: 4;
  margin: auto;
}
.outer-menu .checkbox-toggle {
  position: absolute;
  /*top: 0;
  left: 0;*/
  z-index: 2;
  cursor: pointer;
  width: 60px;
  height: 60px;
  margin-top: 10px;
  margin-left: 0;
  opacity: 0;
}
.outer-menu .checkbox-toggle:checked  {
	z-index: 0;
}

.outer-menu .checkbox-toggle:checked + .hamburger > div {
  transform: rotate(135deg);
}
.outer-menu .checkbox-toggle:checked + .hamburger > div:before,
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
  opacity: 0;
}
.outer-menu .checkbox-toggle:checked ~ .m-menu {
  pointer-events: auto;
  visibility: visible;
}
.outer-menu .checkbox-toggle:checked ~ .m-menu > div {
  transform: scale(1);
  transition-duration: .5s;
}
.outer-menu .checkbox-toggle:checked ~ .m-menu > div > div {
  opacity: 1;
  transition: opacity .4s ease .4s;
}
.outer-menu .checkbox-toggle:hover + .hamburger {
  /*box-shadow: inset 0 0 10px rgba(0,0,0,0.1);*/
}
.outer-menu .checkbox-toggle:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}
.outer-menu .hamburger {
  position: absolute;
  /*top: 0;
  left: 0;*/
  z-index: 1;
  width: 60px;
  height: 60px;
  margin-top: 10px;
  margin-left: 0;
  padding: .5em 1em;
  /*background: rgba(33,150,243,0.75);*/
  border-radius: 0 .12em .12em 0;
  cursor: pointer;
  transition: box-shadow .4s ease;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  /* height: 2px;*/
  height: 3px;
  /*background: #FEFEFE;*/
  background: #666666;
  transition: all .4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .hamburger > div:before,
.outer-menu .hamburger > div:after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 0;
  width: 100%;
  /* height: 2px;*/
  height: 3px;
  background: inherit;
  transition: all .4s ease;
}
.outer-menu .hamburger > div:after {
  top: 10px;
}
.outer-menu .m-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  backface-visibility: hidden;
  outline: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
}
.outer-menu .m-menu img {
    width:100%!important;
    height:100%!important;
}
.outer-menu .m-menu > div {
  width: 100%;
  height: 100%;
  color: #FEFEFE;
  background: #FFFFFF;
  /* border-radius: 50%; */
  transition: all .4s ease;
  flex: none;
  transform: scale(0);
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  /* align-items: center; */
  justify-content: center;
}
.outer-menu .m-menu > div > div {
  text-align: center;
  width: 100%;
  /* max-width: 90vw; */
  max-height: 100vh;
  opacity: 0;
  transition: opacity .4s ease;
  overflow-y: auto;
  flex: none;
  /* display: flex; */
  align-items: center;
  justify-content: center;
}
.outer-menu .m-menu > div > div > ul {
  list-style: none;
  padding: 0 1em;
  margin: 0;
  display: block;
  max-height: 100vh;
}
.outer-menu .m-menu > div > div > ul > li {
  padding: 0;
  margin: 1em;
  font-size: 24px;
  display: block;
}
.outer-menu .m-menu > div > div > ul > li > a {
  position: relative;
  display: inline;
  cursor: pointer;
  transition: color .4s ease;
}
.outer-menu .m-menu > div > div > ul > li > a:hover {
  color: #e5e5e5;
}
.outer-menu .m-menu > div > div > ul > li > a:hover:after {
  width: 100%;
}
.outer-menu .m-menu > div > div > ul > li > a:after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: -0.15em;
  left: 0;
  width: 0;
  height: 2px;
  background: #e5e5e5;
  transition: width .4s ease;
}

#header_01 .headerimg_left {
  display: flex;
}

.headerimg_logo {
  flex: 5;
}

.menu_tabs {
margin-top: 50px;
/* padding-bottom: 40px; */
background-color: transparent;
/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
width: 100%;
margin: 0 auto;
border-bottom: 1px solid #5C973D;
}

.menu_tab_item {
width: calc(100%/3.2);
height: 52px;
border: 1px solid #000000;
/* border-bottom: 3px solid #D1B567; */
background-color: #ffffff;
line-height: 55px;
font-size: 20px;
text-align: center;
color: #000000;
display: block;
float: left;
text-align: center;
font-weight: bold;
transition: all 0.2s ease;
margin-bottom: -1px;
}
.menu_tab_item:hover {
/*opacity: 0.8;*/
}

input[name="menu_tab_item"] {
display: none;
}

.menu_tab_content {
display: none;
padding: 10px 15px 0;
clear: both;
overflow: hidden;
}

#tab_item_menu:checked ~ #tab_content_menu,
#tab_item_info:checked ~ #tab_content_info,
#tab_item_blog:checked ~ #tab_content_blog {
display: block;
}

.menu_tabs input:checked + .menu_tab_item {
height: 52px;
/* margin-top: -2px; */
/* padding: 6px 0px 0px 0px; */
/* margin-bottom: 3px; */
background-color: #fff;
color: #000000;
border-top: 1px solid #000000;
border-right: 1px solid #000000;
border-left: 1px solid #000000;
border-bottom: 6px solid #060;
/* border-radius: 10px 10px 0 0; */
}

.menu_tab_content {
/* border-left: 1px solid #5C973D; */
padding-bottom: 40px;
/* border-right: 1px solid #5C973D; */
/* border-top: 1px solid #5C973D; */
background: #fff;
text-align: left;
z-index: 0;
}
.menu_tab_content a {
color: #222222;
}
.menu_tab_item:first-of-type {
margin-left: 8px;
margin-right: 5px;
/* border-radius: 10px 0px 0 0; */
margin-top: 5px;
cursor: pointer;
}

.menu_tab_item:last-of-type{
margin-left:5px;
}

.menu_tab_item {
/* border-radius: 0px 10px 0 0; */
margin-top: 5px;
cursor: pointer;
position: sticky;
top: 45px;
z-index: 1;
	border-radius: 5px; /* 250610 k.t */
}

.menu_tab_content .case_category_part {
margin-bottom: 20px;
}

.menu_tab_content .part {
font-size: 19px;
font-weight: bold;
color: #5C973D;
line-height: 1;
margin-bottom: 15px;
}

.menu_tab_content .case_category_list {
display: flex;
flex-wrap: wrap;
}

.menu_tab_content .case_category a {
background: #fffbfc;
color: #5C973D;
font-size: 17px;
padding: 10px;
display: inline-block;
line-height: 1;
border: 1px solid #5C973D;
border-radius: 5px;
margin: 0 8px 6px 0;
font-weight: 700;
}

.menu_tab_content .case_category a:hover {
background: #5C973D;
color: #FFFFFF;
}

.case_cat_newer {
color: white;
display: block;
padding: 10px 50px 10px 20px;
width: 100%;
box-sizing: border-box;
text-align: center;
}

.case_cat_newer a {
color: #fff;
background-color: #5C973D;
border-bottom: 5px solid #b29a57;
padding: 10px 15px 10px 15px;
border-radius: 5px;
font-weight: 700;
}

.case_cat_newer a:hover {
margin-top: 3px;
color: #fff;
background: #e1cc90;
border-bottom: 2px solid #b29a57;
}

.checkbox-toggle + .checkbox-icon:before {
font-size: 1.5em;
font-weight: 900;
font-family: "Font Awesome 5 Free";
content: '\f0c9';
color: #e0d28c;
}

.menu-tab-head {
position: sticky;
top: 0;
text-align: right;
background-color: white;
height: 98px;
z-index: 1;
}

.menu-tab-content {
margin-top: -58px;
}

.menu-btn-close {
background-color: white;
border: none;
color: #ccc;
text-align: right;
position: sticky;
padding: 3px 16px;
font-size: 26px;
cursor: pointer;
margin-bottom: -6px;
}

/*
div#main_sidebar_left {
background-color:black;
}
*/
#tab_content_menu a {
    line-height: 1.5;
	padding-left: 12px;
	padding-right: 12px;
}

#tab_content_menu .menu-abixTreeList {
    padding-top: 3px;
}

@media (max-width: 768px) {
    .slideout-navigation.do-overlay .slideout-exit.has-svg-icon {
        position: absolute;
		padding-top: 5px;
		padding-right: 12px;
        z-index: 5;
    }
/*
	.main-navigation .main-nav>ul {
		row-gap: 20px;
	}
*/
	.menu_tab_content #main_sidebar_right ul {
	    display:block;
	}

	#right-sidebar {
	    display: none;
	}

	.menu_tabs #tab_content_menu .menu-item {
	    background-color: #00674c;
	    border-bottom: 1px solid #fff;
	}

	.menu_tabs  #tab_content_menu .menu-item a {
	    padding: 10px;
	}

	.menu_tabs  #tab_content_menu .sub-menu li {
	    padding-left: 12px;
	}

	.dropdown-menu-toggle {
	    display: block;
	    
	}

	.slideout-navigation.do-overlay .menu_tabs .slideout-menu li {
		margin-bottom: 0;
	}

	.sb-right {
		color: #333;
	}

	.main-navigation .main-nav ul li a,
	.main-navigation .menu-toggle,
	.main-navigation .menu-bar-items {
		color: #fff;
	}
	
	.slideout-menu > li:first-child { /* 250610 k.t */
		padding-top: 5px;
		border-radius: 5px 5px 0px 0px;
	}

.slideout-menu > li:last-child { /* 250610 k.t */
		padding-bottom: 5px;
		border-radius: 0px 0px 5px 5px;
	}
	
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li:not([class*="current-menu-"]):hover > a,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li:not([class*="current-menu-"]):focus > a,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
	.main-navigation .menu_tabs #tab_content_menu .menu-bar-item:hover > a,
	.main-navigation .menu_tabs #tab_content_menu .menu-bar-item.sfHover > a,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li[class*="current-menu-"] > a,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li[class*="current-menu-"]:hover > a,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li[class*="current-menu-"]:focus > a {
	    color: var(--base-3);
	    background-color: #00674c;
	}

	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li.menu_icon,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li.menu_icon:hover,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li.menu_icon:focus {
	    /* background-color: var(--base-3); */ /* 250610 k.t */
	}

	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li.menu_icon a,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li.menu_icon a:hover,
	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li.menu_icon a:focus {
		/* color: #00674c; */
		color: var(--base-3); /* 250610 k.t */
	}

	.main-navigation .menu_tabs #tab_content_menu .main-nav ul li[class*="current-menu-"] > a {
		text-decoration: underline;
	}

	#generate-slideout-menu.do-overlay .menu_tabs .slideout-menu li,
	#generate-slideout-menu.do-overlay .menu_tabs .menu li,
	.slideout-navigation.do-overlay .inside-navigation {
		text-align: left;
	}

	.slideout-navigation.do-overlay .menu_tabs #tab_content_menu .menu-item-has-children .dropdown-menu-toggle {
		position: fixed;
		height: auto;
		right: 16px;
	}

	.menu_tab_content .widget {
	    margin-top: 24px;
	}
}

.menu_tab_content #main_sidebar_left {
    /* margin-top: 20px; */
	margin-top: 10px;/* 250610 k.t */
}

/* Q&A デザイン 2 */
.qa-list{
	margin-bottom: 25px;
}

.qa-item{
		border-bottom: 3px #006766 dotted;/* 配色指定 */
}

.qa-check{
    display: none;
}
.qa-question{
    display: block;
    margin-bottom: 0px;
    margin-top: 8px;
    font-size: 18px;
    padding: 5px 0 12px 0;
	position: relative;
}
.qa-answer{
    display: block;
    font-size: 18px;
    padding: 3px 0 10px 42px;
}
.qa-label{
    display: block;
}
.qa-label:before {
    content: "Q";
    display: block;
    background-color: #006766;/* 配色指定 */
    padding: 5px 10px 5px 10px;
    border-radius: 6px;
	  border:1px solid #006766;
    color: #fff;/* 配色指定 */
    font-weight: bold;
    white-space: pre;
    font-size: 18px;
    float: left;
	  margin-top: -5px;

	margin-right:10px;
}

#kiji_rist .qa-label:after{
	  margin-top: 8px;
}

.qa-label:after{
  font-family: "Font Awesome 5 Free";
	  font-size: 14px;
    color: #666666;
    font-weight: 900;
    content: "\f078";
  	position: absolute;
  	right: 0;
	  margin-right:12px;
}

.qa-check:checked + .qa-label:after {
  content: "\f077";
}

.qa-label:hover {
    opacity:0.75;
}
.qa-content{
	padding-right: 25px!important;
    height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
    overflow: hidden;
}
.qa-content:before {
	    content: "A";
    display: block;
    background-color: #e2938d;/* 配色指定 */
    padding: 5px 10px 5px 10px;
    border-radius: 6px;
	  border:1px solid #e2938d;
    color: #fff;/* 配色指定 */
    font-weight: bold;
    white-space: pre;
    /* width: max-content; */
    font-size: 18px;
float:left;
		  margin-right:10px;

}
.qa-check:checked + .qa-label + .qa-content{
    height: 100%;
    opacity: 1;
    padding: 10px 10px 15px 0px;
    visibility: visible;
}

.qa-item .news_category a {
    text-decoration: none;
	font-size: 0.9em;
}

input.qa-check {
    display: none;
}

.news_category {
	border: 1px solid #009966;
	background-color: #FAFFF2;
	padding-top: 2px;
	padding-right: 3px;
	padding-bottom: 2px;
	padding-left: 3px;
	float: left;
	margin-right: 10px;
	font-size: 0.9em;
}

.news_category a {
    color: #006766 !important;
}

/*--------------------------------------------------------------

症例 style

--------------------------------------------------------------*/

.cat_column_container {
	/*background-color: #fcf8f1; */
    /* border-radius: 18px; */
    /* padding: 16px 20px 8px 20px; */
    /* border: 5px solid #fff; */
    /* overflow: hidden; */
    /* box-shadow: 0 0 12px 0 rgba(0,0,0,.08); */
    position: relative;
    margin: 20px 0px 20px 0px;
}

.cat_column_wrapper h2 {
    position: absolute;
    top: -65px;
    left: calc((100% - 213.84px)/ 2);
    background: #004b37;
    padding: 10px 15px 10px 15px;
    color: #fff;
    border-radius: 10px;
    border: 5px solid #fff;
    box-shadow: 0 0 12px 0 rgba(0,0,0,.08);
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
}
.cat_column_wrapper h2:hover {
	background:#fcf8f1;
	color: #004b37;
	border: 5px solid #004b37;
}

.cat_column_wrapper h2 i{
	margin-right:8px;
}

.cat_column_wrapper h2 i:before {
	color:#fff;
}
.cat_column_wrapper h2:hover i:before {
	color: #004b37;
}

.cat_column_wrapper h2 span{
	position:relative;
	padding-right: 30px;
}

.cat_column_wrapper h2.cat_column_title span:after {
    display: block;
    content: "";
    width: 9px;
    height: 9px;
    position: absolute;
    top: 70%;
    right: 7px;
    margin-top: -8px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    transition: .2s linear;
    -webkit-transition: .2s linear;
    -moz-transition: .2s linear;
    -o-transition: .2s linear;
    -ms-transition: .2s linear;
	transform: rotate(-45deg);
}
.cat_column_wrapper h2.cat_column_title:hover span:after {
	border-top: solid 1px #004b37;
	border-right: solid 1px #004b37;
}

.cat_column_wrapper h2.cat_column_title.open span:after {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
	    margin-top: -12px;
}

.cat_column_container ul {
	margin: 0px;
    padding: 0px;
	overflow:hidden;
}

.cat_column_container ul ul {
    padding: 0px;
	margin: 10px 10px 0px 10px;
    overflow: hidden;
}

.cat_column_container ul li {
display: block;
    float: left;
    border-left: solid 3px #004b37;
    border-top: solid 3px #004b37;
    border-right: solid 3px #004b37;
    border-bottom: solid 3px #004b37;
    /*border-radius: 12px;*/
    margin-right: 10px;
    background: #fff;
    width: calc((100% - 20px)/ 3);
    box-sizing: border-box;
    margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
	.cat_column_container ul li {
		width: calc((100% - 20px)/ 2);
	}
}
@media screen and (max-width: 500px) {
	.cat_column_container ul li {
		width: 100%;
	}
}
.cat_column_container ul li:nth-child(3n) {
	margin-right:0px;
}
.cat_column_container ul li li:nth-child(3n) {
	margin-right:10px;
}
.cat_column_container img {
		margin: 0;
	padding: 0;
	    vertical-align: bottom;
}
.cat_column_container ul li a {
    display: block;
    background: #fbfbfb;
    padding: 10px;
    /* border-bottom: dashed 1px #004b37; */
    /* border-radius: 8px 8px 0px 0px; */
    text-align: center;
    color: #004b37;
}

.cat_column_container ul li li {
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
    display: inline-block !important;
    /* background: #004b37; */
    margin-bottom: 10px;
    width: auto;

}
.cat_column_container ul li li a {
border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
    background: #fbfbfb;
    border-radius: 6px;
    margin: 1px;
    border: 1px solid #004b37;
    box-shadow: 2px 2px 0px 0px #004b37;
    text-align: left;
    line-height: 1;
}

.cat_column_container ul li li a:hover {
	background:#fff;
	box-shadow: none;
}

/* accordion */
.case_inner_01 label{
    display: block;
    margin: 1.5px 0;
    /* padding : 11px 12px; */
    /* background :#a4cbf3; */
    cursor :pointer;
    transition: all 0.5s;
}

.case_inner_detail {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

.cb_case:checked ~ .case_inner_detail {
    height: auto;
    padding: 5px;
    opacity: 1;    
}

.cb_case{display:none}


.case_more *, .case_more *:before, .case_more *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.case_more {
	width: auto;
    margin-bottom: 10px;
}
.case_more label {
	font-weight: bold;
	position: relative;
	display: block;
	margin: auto;
	padding: 0.6em 1em;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
	/*color: #988574;*/
	border: 2px solid #004b37;
	border-radius: 0px;
}
/*.case_more label:hover {
	transition: all 0.3s;
	color: #ffffff;
	background: #988574;
}*/

.case_inner_02 {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 1em 0;
}

.case_inner_02 input {
	position: absolute;
	opacity: 0;
}

.case_inner_02 label {
	    line-height: 1.6em;
    position: relative;
    display: block;
    margin: 0 0.5em 0.5em 2em;
    padding: 0em 0 0em 0;
    cursor: pointer;
    border-radius: 0.3em;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.3);
}

.case_more h4 {
	text-align: left;
    display: block;
    padding: 16px 20px 16px 30px;
    margin: 0px;
	background: #fff; /* 追加 */
	border: none;
}

.case_inner_02 label span {
	display: block;
    padding: 0.3em 2em 0.3em 2em;
    border-top: 1px solid #004b37;
    background: #fbfbfb;
    color: #004b37;
}
.case_inner_02 label span:hover {
	opacity: 0.7;
}

.case_inner_02 label::after {
	/*font-size: 1em;
	font-weight: normal;
	line-height: 1em;
	position: absolute;
	right: 0;
	bottom: 1em;
	content: '▽ 症例を見る';
	display: inline-block;
	width: 100%;
	height: 1em;
	padding: 0.5em;
	text-align: center;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;*/
}

.case_inner_02 label.fa-link::before {
    font-family: "Font Awesome 5 Free";
    font-size: 1.5em;
    position: absolute;
    z-index: 99;
    top: 0.8em;
    left: -1em;
    padding: 0.08em 0.2em 0 0.2em;
    /*content: '\f00c';*/
	content: "\f46d";
    border: 3px solid #004b37;
    border-radius: 50%;
    background: #ffffff;
    display: inline-block;
    width: 1.8em;
    height: 1.8em;
    line-height: 1.4em;
	color: #004b37;
	font-weight: 900;
}

/* 症例レイアウト */
.case_layout_left {
  padding-right: 8px;
}
.case_layout_right {
  padding-left: 8px;
}

.case_text{
  padding-top: 15px;
}

.case_layout img {
	padding-left: 3px;
  max-width: 98%;
  height: auto;
}

/* Responsive */
@media ( min-width : 600px ){
    .case_layout {
      width: 100%;
      margin: 0 auto;
      display: -webkit-flex;
      display: flex;
    }
  .case_layout_left,
  .case_layout_right {
    -webkit-flex: 1;
    flex: 1;
    background: none;
  }
}

/***********************
NEW お客様の声 一覧
************************/

#voice_main{
	/*padding-right: 10px;
	padding-left: 10px;*/
	}
	
#contents #voice_main{
	padding-right: 5px;
    padding-left: 5px;
}

.voice_h2 {
    background-image: url(images/new_content_voice.png);
    background-repeat: no-repeat;
    background-position: 10px 50%;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 40px;
    font-size: 1em;
    margin-top: 25px;
}

.voice_inner {
    border: 3px solid #67afce;
    margin-bottom: 18px;
    overflow: hidden;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    line-height: 1.4em;
    letter-spacing: 0.01em;
}
.voice_inner_left {
	width: 175px;
	float: left;
	margin-bottom: 7px;
}
.voice_inner_lt_01 {
	overflow: hidden;
}
.voice_inner_lt_age {
	float: left;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	font-size:0.9em;
}
.voice_inner_lt_name {
overflow: hidden;
    float: left;
    padding-top: 0px;
    padding-right: 5px;
    padding-bottom: 0px;
    padding-left: 5px;
    font-size: 0.9em;
}
.voice_inner_lt_img img {
	border: 1px solid #ccc;
    width: 153px;
    height: auto;
}
.voice_inner_lt_address {
	/*margin-bottom: 15px;*/
	overflow: hidden;
	font-size: 0.8em;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

	
@media all and (-ms-high-contrast:none){ /*IE10以降*/
.voice_inner_right {
	/*width: 440px !important;*/
	width: 71% !important;
}
}
#contents .voice_inner_right {
	/*width: 440px;*/
	width: 71% ;
}
#top_contents .voice_inner_right {
	/*width: 420px;*/
	width: 71% !important;
}
.single-voice_box .voice_inner_right {
	/*width: 420px !important;*/
	width: 71% !important;
}
.narrowcolumn_search .voice_inner_right {
	width: 76% !important;
}
.single-voice_box {
}
.voice_inner_right {
	float: right;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	line-height: 1.6em;
}
.voice_inner_rt_01 {
	overflow: hidden;
	padding-bottom: 10px;
}
.voice_inner_rt_cat{
	float: left;
	width: 72%;
}
.voice_inner_rt_year{
	float: right;
	font-size: 0.8em;
}
.voice_inner_rt_message {
	overflow: hidden;
}
/***********************
NEW お客様の声 タグ
************************/
.tag-cloud {
    border: 3px #67afce;
    border-style: solid;
    padding: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.8);
    margin-right: 5px;
    margin-left: 5px;
}

.tag-cloud a {
    background-color: #FAFBFE;
    border: 1px solid #0099cc;
    float: left;
    /* margin-right: 10px; */
    padding: 2px 3px;
    color: #0099cc;
    font-weight: bold;
    display: inline-block;
}
#content ul.wp-tag-cloud {
	margin: 0px;
	padding: 0px;	
}
#content ul.wp-tag-cloud li {
	padding: 0px;
	display: block;
	float: left;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 5px;
	margin-left: 0px;
}

/*--------------------------------------------------------------

患者様の声

--------------------------------------------------------------*/



/* 患者様の声カテゴリーBOX */
.tag-cloud {
    border-color: #006766;
    background-color: #fff;
    border-style: solid;
}

/* 患者様の声カテゴリーBOX内のカテゴリー */
.tag-cloud a {
border-color: #006766;
    background-color: #FAFBFE;
    color: #006766 !important;
}

/* 患者様の声カテゴリー詳細BOX */
/*.voice_inner {
    border-color: #ccc;
    background-color:rgba(255, 255, 255, 0.8);
}*/

