/*
Theme Name: FPテンプレート
Author: RYO the Hayfever
Description: FP x Dimension. ワードプレス建設会社パッケージ Ver.1。
*/

/*--白背景化--*/
.white-bg{
            background-color: white;
            padding: 20px; /* 必要に応じてパディングを調整 */
            margin: 10px 0; /* 必要に応じてマージンを調整 */
        }



.doc_box01 li {
  width: 50%;
  box-sizing: border-box;
  padding: 10px;
  /* 各リストアイテムの高さも均一にする場合は、min-heightなどを設定すると良いでしょう */
  /* 例: min-height: 300px; */
  display: flex; /* liのコンテンツをFlexboxで整列させる場合 */
  flex-direction: column; /* コンテンツを縦方向に並べる */
  align-items: center; /* 中央揃えにする場合 */
  text-align: center; /* テキストを中央揃えにする場合 */
}

/*--ドクターページ関連--*/
/* --- 画像均一化のためのCSS --- */
.doc_box01 li img {
  /* 1. 画像の表示サイズを固定する */
  width: 150px;   /* 画像の表示幅 */
  height: 150px;  /* 画像の表示高さ */
  
  /* 2. 画像の縦横比を保ちつつ、指定されたサイズに収める（トリミング） */
  object-fit: cover; /* 画像がはみ出る場合は中央からトリミングして収める */
  
  /* オプション: 画像の下に余白を追加 */
  margin-bottom: 10px; 
  
  /* オプション: 画像を丸くする */
  /* border-radius: 50%; */
}

/* 画面幅が小さい場合の調整（既存のメディアクエリに画像調整も追加） */
@media (max-width: 768px) {
  .doc_box01 li {
    width: 100%;
  }
  .doc_box01 li img {
    /* 必要であれば、スマホでの画像サイズを調整 */
    width: 120px;
    height: 120px;
  }
}

/*--TEL文字拡大--*/
.tel{
	 font-weight: bold !important;
	 background: linear-gradient(transparent 50%, #41AAF0 100%) !important;
}

/*--蛍光ペン風装飾--*/

.marker-g {
    /*-緑色-*/
    font-weight: bold;
    background: linear-gradient(transparent 70%, #49EF8C 45%);
}

.marker-o {
    /*-オレンジ-*/
    font-weight: bold;
    background: linear-gradient(transparent 70%, #F3A572 45%);
}

.marker-b {
    /*-青色-*/
    font-weight: bold;
    background: linear-gradient(transparent 70%, #41AAF0 45%);
}

.marker-r {
    /*-赤色-*/
    font-weight: bold;
    background: linear-gradient(transparent 70%, #F27B87 45%);
}

.marker-y {
    /*-黄色-*/
    font-weight: bold;
    background: linear-gradient(transparent 70%, #F0DE41 45%);
}


/*--基本的に<span class="マーカーの色"> でいく。--*/


/*太字にするCSS*/

.futozi {
    font-weight: bold;
}

#privacy h3 {
    margin: 20px 0;
    border-left: 4px solid #b8421d;
    padding-left: 8px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 23px;
    font-weight: normal;
    color: #b8421d;
}

#yosou {
    margin: 20px 0;
    border-left: 4px solid #b8421d;
    padding-left: 8px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: #b8421d;
}

#yosounaiyou {
    margin: 20px 0;
    border-left: 4px solid #b8421d;
    padding-left: 8px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 18px;
    font-weight: normal;
    color: #b8421d;
}

#hours {
    font-size: 23px;
}

/*Googleカレンダー　レスポンシブ表示 */
.calendar-content iframe {
  width: 100%;
}


/* テーブルを横スクロール */

table {
    width: 100%;
}


/*tableをスクロールさせる*/


/*tableのセル内にある文字の折り返しを禁止*/

.scroll {
    overflow: auto;
    white-space: nowrap;
}


/*tableにスクロールバーを追加*/

.scroll::-webkit-scrollbar {
    height: 5px;
}


/*tableにスクロールバーを追加*/

.scroll::-webkit-scrollbar-track {
    background: #F1F1F1;
}


/*tableにスクロールバーを追加*/

.scroll::-webkit-scrollbar-thumb {
    background: #BCBCBC;
}

.acd-check {
    display: none;
}

.acd-label {
    display: block;
    cursor: pointer;
}

.acd-content {
    height: 0;
    opacity: 0;
    transition: .5s;
    visibility: hidden;
}

.acd-check:checked+.acd-label+.acd-content {
    height: auto;
    opacity: 1;
    visibility: visible;
}

.acd-content ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #332927;
    margin-top: 2px;
    border: 5px solid #fff;
}

.acd-content li {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    background: #332927;
    border-left: dotted 1px #7e7673;
    border-bottom: dotted 1px #7e7673;
    list-style: none;
    width: 33.33333333%;
    box-sizing: border-box;
}

.acd-content li:last-child {
    width: 100%;
}

.acd-content li a {
    display: block;
    line-height: 22px;
    color: #FFF;
    background: url(https://hasegawaseikeigeka.com/common/img/base/arrow.png) no-repeat left center;
    background-size: 5px 5px;
    background-position: 10px;
    text-align: left;
    margin: 0 0 0 0;
    padding: 10px 10px 10px 20px;
}

.acd-content li:last-child a {
    text-align: center;
    background-position: left 42% top 18px;
}

.orange #gl_menu {
    border-top: 15px #FF9F35 solid;
}


/*20200909追加*/

.hour_title {
    font-size: 22px;
    font-weight: normal;
    color: #231815;
    text-align: center;
    border-bottom: solid 1px #afb0b0;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    background: url(https://hasegawaseikeigeka.com/common/img/base/border.jpg) no-repeat left bottom;
    background-size: contain;
    clear: both;
}

.on_banner01_off01 .on_banner_inner {
    background: #e6dfd5;
    display: block;
    color: #3f2212;
}

.on_banner01_off01 a {
    text-decoration: none;
}

.on_banner01_off01 .title {
    display: block;
    font-size: 28px;
    text-align: center;
    padding: 14px 14px 5px;
}

.on_banner01_off01 .paragraph {
    display: block;
    font-size: 12px;
    width: 90%;
    margin: 8px auto 0;
    padding-bottom: 10px;
}

.g-nav,
.clone-nav {
    display: none;
}

.content_shinkyu .treatment_sec02cov {
    margin-bottom: 50px;
    background: #fff;
    padding-bottom: 0;
}

#main section .blue_tlt01 {
    font-weight: normal;
}

.mb10{
	    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

#column #main h4.komidashi {
    font-size: 17px;
    line-height: 17px;
    font-weight: normal;
    margin: 1% 0 2% 0;
    padding: 10px 0;
    clear: both;
    box-sizing: border-box;
    border-left: none;
    color: #330000;
}

#column #main h4.komidashi:before {
    content: "○";
    margin: 0 7px 0 0;
}

.pick {
    background: #00A1A2;
    display: inline-block;
    padding: 3px 10px;
    color: #fff;
    margin: 0 10px 0 0;
}

#page #column #main ul.check {
    margin: 0 0 10px;
}

#page #column #main ul.check li {
    background: url(images/ico_plus.png) no-repeat 20px center #fff;
    font-size: 16px;
    display: block;
    padding: 10px 20px 10px 41px;
    margin: 10px 5px 0 0;
    color: #330000;
    font-weight: normal;
    line-height: 1.2;
}

@media(min-width:1px) and (max-width:940px) {
    /* #gl_header.head_orange {
        border-top: 15px #FF9F35 solid;
    } */
    /*----------------spnav--------------------*/
    .menu-trigger,
    .menu-trigger span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
        cursor: pointer;
    }
    .menu-trigger {
        position: absolute;
        width: 50px;
        height: 50px;
        z-index: 300;
        top: 2px;
        right: 3px;
    }
    .menu-trigger:after {
        content: "メニュー";
        display: block;
        font-size: 11px;
        font-weight: 600;
        position: absolute;
        bottom: 0.5px;
        left: 3px;
        color: #fff;
    }
    .menu-trigger span {
        position: absolute;
        background: #fff;
        width: 26px;
        height: 1px;
        left: 0;
        right: 0;
        margin: auto;
    }
    .menu-trigger span:nth-of-type(1) {
        top: 12px;
    }
    .menu-trigger span:nth-of-type(2) {
        top: 20px;
        /* bottom: 0; */
    }
    .menu-trigger span:nth-of-type(3) {
        bottom: 21px;
    }
    .menu-trigger.active {
        background: #00A7A8;
        position: fixed;
        top: 0;
    }
    .menu-trigger.active:after {
        color: #fff;
    }
    .menu-trigger.active span:nth-of-type(1) {
        -webkit-transform: translateY(8px) rotate(-45deg);
        transform: translateY(8px) rotate(-45deg);
        background: #fff;
    }
    .menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
    }
    .menu-trigger.active span:nth-of-type(3) {
        -webkit-transform: translateY(-8px) rotate(45deg);
        transform: translateY(-8px) rotate(45deg);
        background: #fff;
        color: #fff;
    }
    .g-nav {
        display: none;
        top: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        z-index: 200;
        background: #fff;
        border: 5px solid #00A7A8;
        position: fixed;
        padding-bottom: 10px;
        box-sizing: border-box;
    }
    .g-nav_inner {
        overflow-y: scroll;
        height: 100%;
        padding: 65px 5% 25px;
        box-sizing: border-box;
        background: #fff;
    }
    .g-nav .main_logo {
        width: 70%;
        margin: 0 auto;
        text-align: center;
    }
    .g-nav .main_logo img {
        max-width: 100%;
        height: auto;
    }
    .g-nav .list {
        padding-top: 47px;
    }
    .g-nav .list .item {
        border-bottom: 1px solid #00532e;
    }
    .g-nav .list .item:first-child {
        border-top: 1px solid #00532e;
    }
    .g-nav .list .item a {
        display: block;
        text-align: center;
        text-decoration: none;
        color: #fff;
        padding: 15px 0;
    }
    .g-nav div.bottom {
        width: 100%;
        text-align: center;
        font-size: 12px;
        margin: 30px 0 0;
    }
    .g-nav div.bottom a {
        display: block;
        margin: 0 0 10px;
    }
    .g-nav div.bottom p {
        line-height: 1.8;
    }
    .g-nav .list_first li {
        border: 1px solid #ccc;
        padding: 5px;
        margin: 10px 0 0;
    }
    .g-nav .list_first li a {
        text-decoration: none;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        align-content: center;
    }
    .g-nav .list_first li a .over {
        margin-left: 5%;
    }
    .g-nav li a .ja {
        color: #333;
    }
    .g-nav li a .en {
        display: block;
        font-family: "Hiragino Maru Gothic Pro";
        font-size: 11px;
        line-height: 16px;
        color: #00A4A5;
    }
    .g-nav .list_second {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .g-nav .list_second li {
        width: 31.5%;
        border: 1px solid #ccc;
        padding: 5px;
        box-sizing: border-box;
        margin: 10px 0 0;
        text-align: center;
        font-size: 13px;
    }
    .g-nav .list_second li a {
        text-decoration: none;
    }
    .g-nav .list_second li a img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto 5px;
    }
    .clone-nav {
        position: fixed !important;
        top: 0;
        left: 0;
        z-index: 250;
        width: 100%;
        transition: .3s;
        transform: translateY(-100%);
        background: rgba(255, 255, 255, 1);
        border: none !important;
    }
    .clone-nav header {
        padding-bottom: 0;
    }
    .is-show {
        display: block !important;
        transform: translateY(0);
    }
    #right-menu2 {
        border: none !important;
    }
    /*----------------spnav--------------------*/
}

@media(min-width:1px) and (max-width:640px) {
    .acd-content li {
        width: 50%;
    }
    .acd-content li:last-child {
        width: 50%;
    }
    .acd-content li:last-child a {
        text-align: center;
        background-position: 10px;
    }
    /*20200909追加*/
    .hour_title {
        font-size: 18px;
        font-weight: normal;
        color: #231815;
        text-align: center;
        border-bottom: solid 1px #afb0b0;
        margin: 0 0 10px 0;
        padding: 0 0 5px 0;
        background: url(https://hasegawaseikeigeka.com/common/img/base/border.jpg) no-repeat left bottom;
        background-size: contain;
        clear: both;
    }
    .on_banner01_off01 .title {
        font-size: 20px;
    }
    .on_banner01_off01 .on_banner_inner {
        line-height: 1.4;
    }
	.sp-on{
		display:block !important;
	}
	.tms-tiryo-wrap{
display:block !important;
}
.tms-toktyo-wrap p:first-child{
	margin-bottom:10px;
}
	.tms-toktyo-wrap {
    display: block !important;
    margin-bottom: 0px !important;
    padding-bottom: 1px !important;
}
}

.bn_sym {
    padding: 5px;
    background: #fff;
    display: block;
    vertical-align;
    line-height: 1;
}

.bn_box {
    margin: 0px 0;
}

img {
    vertical-align: bottom;
}

.blue #gl_menu {
    border-top: 15px #00A7A8 solid;
}

#gl_header {
    position: relative;
}

#btn03 {
    top: 13px;
    right: 56px;
}

#right-menu {
    top: 13px;
}


/*
#gl_header {
position:relative;
background:#fff;
z-index:10000;
}
.fixed {
position: fixed !important;
top: 0;
left: 0;
z-index: 1000000000;
width: 100%;
padding:0 !important;
background: #fff;
transition: .3s;
transform: translateY(-100%);
}
body {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.is-show {
transform: translateY(0);
display:block;
}*/


/* trainingページ関係CSS */

nav#pannavi.training-nav,
nav#pannavi.training-nav a,
.training-archive-box a {
    font-size: 15px;
    font-weight: 600;
    color: #330000;
    padding-bottom: 0;
    margin: 0;
}

#main .training-h1 {
    margin-bottom: 30px;
}

.training-text,
#column #main section p.training-text {
    font-size: 15px;
    margin-bottom: 30px;
}


/* content-trainingページ関係CSS */

#column #main h2.training-h2 {
    font-size: 25px;
    float: none;
    padding-bottom: 15px;
    height: auto;
    border-bottom: 3px solid #330000;
    color: #330000;
    margin-bottom: 30px;
}

#column #main section.training-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    min-height: 0;
}

#column #main section.training-box a {
    text-decoration: none
}

.training-term-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.training-item {
    width: 214px;
    margin: 0 14px 30px 0;
}

.training-item a {
    display: block;
}

.training-item a img {
    margin-bottom: 10px;
    height: 144px;
}

section.training-box div.training-item:nth-of-type(3n) {
    margin: 0 0 30px;
}

#column #main section p.training-item-title {
    margin-bottom: 20px;
}

span.way-term,
span.part-term {
    width: 105px;
    display: inline-block;
    border-radius: 5px;
    padding: 2px;
    text-align: center;
    margin-bottom: 5px;
    box-sizing: border-box;
}

span.way-balance {
    transform: scale(0.75, 1);
    transform-origin: top left;
    width: 133%;
    display: inline-block;
}

span.way-term {
    background-color: #3ca4f4;
}

span.part-term {
    background-color: #f58033;
}

.training-term-box a {
    color: #fff;
}

.training-term-box a :hover,
.training-img-text :hover {
    opacity: 0.6;
}

#column #main h3.training-h3 {
    font-size: 15px;
    max-width: 100%;
    padding-bottom: 7px;
    border-bottom: solid 2px #7a5a58;
    background: none;
    line-height: normal;
    margin-bottom: 17px;
}

#column #main section.training-cat-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: 0;
    margin: 0 0 25px;
}

.training-cat-item {
    margin: 0 14px 25px 0;
}

#column #main section.training-cat-box a:nth-of-type(3n) {
    margin: 0 0 25px;
}

#column #main h4.training-h4 {
    font-size: 15px;
    margin: 0 0 13px;
    line-height: normal;
    border: none;
}

#column #main h4.training-h4:before {
    border-radius: 2.5px;
    /* 線幅の半分 */
    content: "";
    display: inline-block;
    height: 23px;
    /* 線の長さ */
    margin-right: 5px;
    /* 線右の余白 */
    vertical-align: top;
    width: 5px;
    /* 線幅 */
}

#column #main h4.way-h4:before {
    background-color: #3ca4f4;
    /* 線色 */
}

#column #main h4.way-h4 {
    color: #3ca4f4;
}

#column #main h4.part-h4:before {
    background-color: #f58033;
    /* 線色 */
}

#column #main h4.part-h4 {
    color: #f58033;
}


/* ページャ */

.m-pagenation__prev,
.m-pagenation__next,
.m-pagenation a,
.notNumbering {
    display: inline-block;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    margin-right: 5px;
    text-align: center;
    line-height: 33px;
    border: solid 1px #330000;
    color: #330000;
    font-size: 9px;
}

.m-pagenation__prev a,
.m-pagenation__next a {
    color: #330000;
}

.-current {
    display: inline-block;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #330000;
    margin-right: 5px;
    text-align: center;
    line-height: 33px;
    border: solid 1px #330000;
    color: #fff;
    font-size: 9px;
}

.m-pagenation__prev,
.m-pagenation__next {
    font-size: 15px;
    vertical-align: middle;
}

div.pager-box {
    text-align: center;
    margin-bottom: 60px;
}

div.pager-box span:last-child {
    margin: 0;
}


/* 詳細ページ */

.training-pdf-box {
    text-align: center;
}

.training-img-box img {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #fff;
    box-sizing: border-box;
}

a.training-pdf {
    padding: 10px 15px;
    border: solid 1px #330000;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    background-color: #fff;
    color: #330000;
    font-size: 20px;
    text-decoration: none;
}

.training-pdf img {
    display: inline;
    vertical-align: middle;
}

.pdf-img {
    margin-right: 13px;
}

.download-img {
    margin-left: 10px;
}

.training-archive-box {
    text-align: right;
}


/* --YouTubeサイズ調整-- */

div.video-box {
    position: relative;
    height: 0;
    padding: 30px 0 52%;
    margin-bottom: 30px;
    overflow: hidden;
}

div.video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}


/*--- からだのお役立ち情報～スタッフブログ～ 追加 ---*/

#main.blog {
    min-width: 100%;
}

#main .blog-h1 {
    margin: 30px auto;
    width: 100%;
}

#main .blog-h1.sp {
display: none;
}

#column #main h2.blog-h2 {
    min-width: 100%;
    margin: 0 auto 20px;
    font-size: 25px;
    padding-bottom: 15px;
    height: auto;
    border-bottom: 3px solid #330000;
    color: #330000;
}

#column #main section.blog-cat-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    margin: 0 0 25px;
}

#column #main section.blog-cat-box a {
    width: 125px;
    box-sizing: border-box;
    padding: 6px;
    text-align: center;
    margin: 0 15px 8px 0;
    border: 1px solid #00a7a8;
    color: #330000;
    background-color: #fff;
    transition: 0.4s ease-in-out;
}

#column #main section.blog-cat-box a.cat-all {
    background-color: #00a7a8;
    color: #fff;
}

#column #main section.blog-cat-box a:hover,
.blog-term-box a:hover,
.blog-box .blog-item a:hover {
    opacity: 0.6;
    text-decoration: none;
}

#column #main section.blog-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    min-height: 0;
}

.blog-item {
    width: 300px;
    margin-bottom: 30px;
    margin-right: 30px;
}

.blog-item:nth-child(3n) {
    margin-right: 0;
}

.blog-cat-box .blog-item a {
    margin-bottom: 10px;
    height: 144px;
}

.blog-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-term-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}

.blog-term-box {
    font-size: 11px;
}

.blog-term-box a {
    background-color: #300;
    color: #fff;
    width: 115px;
    display: inline-block;
    padding: 2px;
    text-align: center;
    box-sizing: border-box;
    font-size: 13px;
}

#column #main section p.blog-item-title {
    width: 100%;
    padding: 5px 8px;
    font-weight: 600;
    margin: 0;
    background-color: #fff;
}

.blog-item a div,
#column #main section p.blog-item-title,
.blog-term-box {
    border: 1px solid #300;
    box-sizing: border-box;
}

.blog-item a div,
#column #main section p.blog-item-title {
    border-bottom: none;
}

.blog-item a div {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 症例紹介ページ */
#column #main section.casecat_section{
    min-height: auto;
}
.casecat_title{
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    margin-bottom: 10px;
    padding-left: 30px;
}
#column #main .casecat_title h2{
    width: 53%;
    font-size: 35px;
    color: #461c05;
    display: flex;
    align-items: center;
}
.casecat_title_img{
    width: 300px;
    height: 170px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.casecat_list{
    background-color: #fffefb;
    padding: 40px 65px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #d7d0c3;
    border: 2px solid #c3c3c3;
    background: radial-gradient(#fffefb 60%, #f9f5ef 80%);
}
.casecat_list dt.onayami_title{
    text-align: center;
    padding-bottom: 30px;
    font-size: 18px;
    letter-spacing: 1px;
}
#column #main .casecat_list dt.onayami_title h3{
    background:none;
    margin-bottom: 0;
    color: #231815;
    border-bottom: 6px dotted #7e5037;
    padding-bottom: 6px;
}
.casecat_list dt.onayami_title h3 span{
    font-size: 30px;
    position: relative;
}

.casecat_list dt.onayami_title h3 span::after {
    position: absolute;
    top: -15px;
    right: -15px;
    content: '';
    width: 25%;
    height: 77%;
    background-size: contain;
    vertical-align: middle;
    background-image: url(../fp-template/images/mopyamoya-min.png);
    background-repeat: no-repeat;
}
.casecat_list dd{
    font-size: 18px;
    padding-bottom: 14px;
    position: relative;
}
.casecat_list dd::after{
    content: '';
    display: block;
    position: absolute;
    top: .5em;
    left: -1.4em;
    width: 13px;
    height: 5px;
    border-left: 3px solid #ff651b;
    border-bottom: 3px solid #ff651b;
    transform: rotate(-45deg);
}

.float_footer,.float_menu{
    display: none;
}

/* indexお悩みから探す */
.worries_box h2 {
    font-size: 25px;
    font-weight: normal;
    color: #231815;
    text-align: center;
    padding: 20px 0;
    background-color: #fff;
    padding: 13px 0 15px;
    line-height: 1.3;
}
.h2_sub_title{
    font-size: 15px;
    display: block;
    color: #01a1a1;
    line-height: 1;
}
.worries_box{
    border: 5px solid #fff;
background: url(/common/img/index/worries_bg-min.jpg) no-repeat right top;
}
.worries_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 17px;
}
.worries_list li {
padding: 0 10px 30px;
}
.worries_list li a {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #542f1c;
}
.worries_list li:hover {
    opacity: 0.6;
}

.joko-sports_box{
    display: flex;
    justify-content: space-between;
}
#contentWrap .joko-sports_box .bn_box{
    width: calc( 50% - 5px );
}

/* sp */

@media(min-width:1px) and (max-width:640px) {
    .training-item,
    .training-cat-item,
    .training-cat-box a,
    #column #main section.training-cat-box a:nth-of-type(3n),
    #column #main section.training-cat-box a:nth-of-type(3n),
    section.training-box div.training-item:nth-of-type(3n) {
        margin: 0 auto 20px;
    }
    #column #main section p.training-item-title {
        margin-bottom: 0;
    }
    img.training-img {
        height: auto;
    }
    .training-img-box img {
        padding: 15px;
    }
    #column #main section.blog-box {
        justify-content: space-around;
    }

    /* 症例紹介ページ */
    #page #column #main section.casecat_section{
        margin-bottom: auto;
    }
    .casecat_title{
        padding-left: 10px;
        align-items: center;
    }
    #column #main .casecat_title h2{
        font-size: 20px;
        width: 60%;
    }
    .casecat_title_img{
        height: auto;
        width: 40%;
    }

    .casecat_list{
        padding: 30px 0;
        background: rgb(249,245,239);
        background: radial-gradient(circle, rgba(249,245,239,1) 60%, rgba(244,232,217,1) 100%);
    }
    .casecat_list dt{
        font-size: 15px;
        padding: 0 21% 6%;
        line-height: 1.2;
    }
    .casecat_list dd{
        font-size: 16px;
        padding: 0 5% 5% 0;
        margin-left: 15%;
        line-height: 1.5;
    }

    /* float_menu */
    .pc_tab{
        display: none;
    }
    .float_menu{
        display: flex;
        align-items: center;
        background: #0da7a9;
        width: 100%;
        height: 60px;
    }
    .float_menu li{
        width: 36%;
        height: 100%;
        line-height: 1.1;
        padding: 7px 5px 5px;
        box-sizing: border-box;
        border-right: 1px solid #fff;
    }
    .float_menu li.float_menu_li2{
        width: 100%;
    }
    .float_menu li.home-tel {
    width: 45%;
    }
    .float_menu li.home-tel a{
        flex-direction: column;
    }
    .float_menu li.home-tel a img{
        width: 45%;
        padding-bottom: 4px;
    }
    .float_menu li a.hamburger{
        height: 50px;
        border-right: none;
    }
    .float_menu li a{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
    }
    .float_menu li:last-child {
        border-right: none;
    }
    .float_menu_top{
        margin-top: 65px;
    }
    #header_wrapper.p_none{
        padding: 0;
    }
    #gl_header.head_blue.float_menu_border0{
        border: none;
    }

    /* float_footer */
    .float_footer{
        display: flex;
        align-items: center;
        position: fixed;
        bottom: 0;
        background: #0da7a9;
        width: 100%;
        height: 55px;
        z-index: 100;
        border-top: 1px solid #fff;
    }
    .float_footer div{
        width: calc(100%/3);
        height: 100%;
        padding-top: 2px;
    }
    .float_footer div:nth-child(2){
        border-right: 1px solid #fff;
        border-left: 1px solid #fff;
    }
    .float_footer div a{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: #fff;
        font-size: 15px;
        line-height: 1.1;
        text-align: center;
        text-shadow: 1px 1px 1px #094748;
        font-weight: 600;
    }
    .float_footer_bottom{
        margin-bottom: 42px;
    }

    /* アクセスページ　地図 */
    .sp_gmap{
        height: 300px;
    }

    /* indexお悩みから探す */
    .worries_box h2{
        font-size: 18px;
        padding: 15px 0;
    }
    .worries_list{
        justify-content: space-around;
    }
    .worries_list li{
        width: 40%;
        height: auto;
        padding: 0 0 15px;
    }
    .worries_list li a{
        font-size: 13px;
    }
    .worries_list li a img{
        width: 100%;
        height: auto;
    }
    .joko-sports_box{
        display: block;
    }
    #contentWrap .joko-sports_box .bn_box{
        width: 100%;
    }
    .casecat_list dt.onayami_title{
        font-size: 105%;
    padding: 0 7% 10%;
    letter-spacing: 0;
    }
    #column #main .casecat_list dt.onayami_title h3{
        line-height: 1.3;
        padding-bottom: 10px;
    }
    .casecat_list dt.onayami_title h3 span{
        font-size: 27px;
    }
    .casecat_list dt.onayami_title h3 span::after {
        top: -18px;
        right: -9px;
    }
		.sp-on{
		display:block !important;
	}
.pc-on{
	display:none !important;
}
	}

@media (max-width:940px) {
    div#header_wrapper .contents ul li{
        width: 32.333%;
    }
    .blog-item {
        margin: 0 0 30px;
    }
    #column #main section.blog-box {
        justify-content: space-around;
    }
    #main .blog-h1.sp {
        display: block;
        }
    #main .blog-h1.pc {
        display: none;
        }
        #column #main section.blog-cat-box{
            justify-content: center;
        }
        #column #main section.blog-cat-box a{
            width: calc(50% - 15px);
            margin-bottom: 15px;
        }
        #column #main section.blog-cat-box a:nth-child(2n-1){
            margin-right: 20px;
        }
        #column #main section.blog-cat-box a:nth-child(2n){
            margin-right: 0px;
        }
	.worries-list li{
font-size: 20px;
    font-weight: bold;
	color: #330000 !important;
}
.worries-list li{
	display:flex;
}
.worries-list li img , .worries-list li img{
	display:block;
    height: 0%;
}
	.treatment-text{
    margin: 2% 0% 4% 0px !important;
    line-height: 23px;
    margin: 2% 0% 2% 0px;
    line-height: 23px;
    position: relative;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
}
	.treatment-text-arrow{
    margin: 2% 0% 4% 0px !important;
    line-height: 23px;
    margin: 2% 0% 2% 0px;
    line-height: 23px;
    position: relative;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
}
	.tms-fl-wrap{
		flex-direction: column-reverse;
	}
	.tms-fl-wrap p:first-child{
	width:100% !important;
order:1;
	}
.tms-fl-wrap p:last-child{
	    width: 100% !important;
	text-align:center;
order:2;
	margin-bottom:20px;
	}
	
.tms-wrap{
	margin-top:15px;
}
	.tms-table-wrap{
	background-color:#fff;
	  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
	.tms-price-fr{
		display:block !important;
	}
.tms-price-text span {
    display: block;
    font-size: 13px;
    width: 97%;
}
	.tms-price-title {
    background-color: #009b93;
    text-align: center;
    color: #fff;
    height: auto !important;
    display: block !important;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
	.tms-price-wrap{
width:100% !important;
}
	.table-wrap{
	overflow-x: scroll;
	margin-top:3px !important;
}
	.scroll-text{
		    margin-top: 14px;
	}
	.worries-list li img
{
    position: relative !important;
    bottom: -7px !important;
    margin-right: 4px !important;
}
}
#txt02-blue{
    background: url(https://hasegawaseikeigeka.com/wp_dim/wp-content/uploads/2022/05/border-blue.png) no-repeat left bottom;
    background-size: contain;
    max-width: 670px;
    font-family: "Hiragino Maru Gothic Pro";
    font-size: 20px;
    line-height: 35px;
    font-weight: normal;
    color: #330000;
    margin: 0 0 15px 0;
    padding: 0 0 0 0;
    clear: both;
}
.worries-list{
    background-color: #fff;
    padding: 17px 15px 6px;
    border: solid 2px #00b2b3;
    border-radius: 8px;
}
.treatment-text-arrow{
    margin: 2% 0% 2% 0px;
    line-height: 23px;
    margin: 2% 0% 2% 0px;
    line-height: 23px;
    position: relative;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 20px;
}
.treatment-text-arrow:before{
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 15px solid #fff; 
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
}
.t-center{
text-align:center;
}
.tms-fl-wrap{
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
    padding-bottom: 20px;
}
.tms-fl-wrap p:first-child{
	width:64%;
}
.tms-fl-wrap p:last-child{
	    width: 30%;
}
.tms-wrap{
	margin-top:20px;
}
.fo-bold{
	font-weight:bold;
	color:#330000;
	font-size:17px;
}
.tms-img-wrap{
	margin-top:13px;
	text-align:center;
}
.tms-img-wrap img{
	margin-top:13px;
	text-align:center;
width:100%;
}
.treatment-text{
    margin: 2% 0% 2% 0px;
    line-height: 23px;
    margin: 2% 0% 2% 0px;
    line-height: 23px;
    position: relative;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 20px;
}
.table-wrap{
	margin-top:20px;
}
.tms-table-wrap{
	background-color:#fff;
}
.tms-th-wrap{
	background-color:#bf882e;
	color:#fff;
	border: solid 1px #bf882e;
}
.tms-th-wrap{
	padding: 8px 5px;
}
.tms-th-wrap th{
border-right: solid 1px;
}

.tms-th-wrap th:last-child{
border-right:none !important;
}
.tms-td-wrap td{
	text-align:center;
	padding:11px;
}
.tms-table-wrap td{
	border-bottom: solid 1px gray;
border-right: solid 1px gray;
}
.tms-td-wrap td:first-child{
	border-left: solid 1px gray;
}
.tms_table01 {
    width: 100%;
    border: #CCC 1px solid;
    border-collapse: collapse;
	background-color: #fff;
}
.tms_table01 th {
    border-bottom: 1px solid #CCC;
    padding: 5px;
    font-weight: normal;
    vertical-align: top;
}
.t_right {
    text-align: right;
}
.bg_tms01 {
    background-color: #009b93;
    color: #FFF;
    text-align: center;
}
.tms_table01 td {
    border-bottom: 1px solid #CCC;
    padding: 5px;
}
.worries-list li img
{
    position: relative !important;
    bottom: 5px;
    margin-right: 4px !important;
}
.fukusayo-text{
	margin-bottom:4px;
}
.fukusayo-link{
	margin-top:12px;
	text-align:center;
}

.list-title {
    font-size: 17px;
    font-weight: normal;
    color: #009b93;
    margin: 1% 0 2% 0;
    padding: 0 0 0 5px;
    clear: both;
    margin-bottom: 10px;
    display: block;

}
.tms-price-fr{
	    display: flex;
    justify-content: space-between;
}
.tms-price-title{
    background-color: #009b93;
    font-size: 21px;
    text-align: center;
    color: #fff;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tms-price-text{
	text-align:center;
	font-size:30px;
	background-color:#fff;
	padding-top:8px;
}
.tms-price-wrap{
	width:48%;
	padding-bottom:10px;
	background-color:#fff;
	margin-bottom: 23px;
}
.tms-price-text span{
    display: block;
    font-size: 13px;
}
.tms-price-max{
	padding-bottom:10px;
}
.tms-price-max .tms-price-text{
    padding-top: 7px;
    padding-bottom: 9px;
}
.text-right{
	overflow:hidden;
}
.text-right span{
	float:right;
}
.list-title img{
	margin-right:6px;
	vertical-align:text-bottom !important;
}
.tiryo-wrap{
    background-color: #fff;
    padding: 3px 20px;
}
.tyui{
display:block;
margin-top:14px;
}
.mb-50{
	margin-bottom:50px;
}
@media(min-width:641px) and (max-width:940px){
.worries-list li img{
		position: relative !important;
		bottom: -7px !important;
		margin-right: 4px !important;
	}
.worries-list{
	    background-color: #fff;
    padding: 12px 15px 6px;
    border: solid 2px #00b2b3;
    border-radius: 8px;
}
}
.txt-style{
font-size: 16px;
    line-height: 28px;
    color: #330000;
}
	.sp-on{
		display:none;
	}
.pc-on{
	display:block;
}
.tms-otamesi-title{
	    background-color: #009b93;
    font-size: 19px;
    text-align: center;
    color: #fff;
    align-items: center;
    justify-content: center;
}
.tms-price-text{
	color: #330000;
}
.tms-otamesi-p{
	    padding-top: 21px;
}
.tms-otamesi-p + p{
	    padding-bottom: 13px;
    display: block;
	color:#fff;
	font-size: 16px;
    position: relative;
    top: -5px;
}
.tms-wrap p{
	margin-top:14px;
}
.price-contents{
	margin-top:23px;
}
.btn-square{
    display: inline-block;
    padding: 1.2em 1em;
    text-decoration: none;
    background: #00b2b3;
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 71px;
    font-size: 16px;
}
.btn-square:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}
.onayamilist-wrap{
	margin-top:20px;
}
@media (min-width: 1px) and (max-width: 940px){
	#tabclick{
		font-size:14px !important
	}
	#tabclick a
	{
			display: flex;
	align-items: center;
	justify-content: center;
	}
}

#prp_midashi{
background: #f99e00!important;
border:none!important;
margin: 15px 0 15px 0!important;
padding: 13px 0!important;
text-align:center!important;
font-weight: bold!important;
color:#fff!important;
}

.align-right{
	float:right;
	margin-left:10px;
}

.yuukou_box{
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.yuukou{
	display:inline-block;
	color: #008586;
	padding: 3px 5px;
	background:#feff7b;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
}

.incho_fukidashi{
	width: 36%;
}

.yuukou_box p{
	width: 60%;
}

.bold{
	font-weight: bold;
}

.mt20{
	margin-top: 20px;
}


.mb10{
	margin-bottom: 10px;
}
.mb20{
	margin-bottom: 20px;
}

.balloon-004 {
    align-items: center;
    position: relative;
    width: 54%;
    margin-left: 15px;
    padding: .8em 1.2em;
    border-radius: 5px;
    background-color: #fff;
}

.balloon-004::before {
    position: absolute;
	top:10%;
left: -14px;
    width: 15px;
    height: 30px;
    background-color: #fff;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}

.osu_oya{
	position: relative;
}

.prp_osu{
	position: absolute;
	top: -39px;
}

.prp_price {
border: 1px solid #00b1b3;
    font-weight: bold;
    font-size: 25px;
    margin-top: 10px;
}

.prp_price th {
    background: #00b1b3;
    color: #fff;
    padding: 15px;
}

.prp_price td{
	text-align: center;
	background: #fff;
	color: #099ea3;
}

.prp_price span{
	font-size: 13px;
}

.prp_qa{
 font-weight: bold;
}

.prp_qa dt{
	background: #01b3b2;
    color: #fff;
	margin-bottom: 5px;
    padding: 10px 10px;
	font-size: 17px;
}

.prp_qa dt:before{
	content: "Q";
	color:#faf614;
	padding-right: 10px;
}

.prp_qa dd{
	color: #553407;
    margin-bottom: 25px;
}

@media (max-width:480px) {
.prp_price {
    font-size: 18px;
}
	
.prp_price span{
	display: block;
}	
	
.align-right{
float:none;
display:block;
width:100%;
margin: 0 auto -10px;
}
	
#prp_midashi{
padding: 7px 0!important;
}
	

#column #main h3{
	font-size: 1.25em!important;
}
.incho_fukidashi {
    width: 30%;
}
.balloon-004 {
    width: 57%;
    padding: 0.8em 0.8em;
    font-size: 14px;
}

.balloon-004::before {
	top: 5%;
    left: -14px;
    height: 20px;
}	
}

@media screen and (min-width:481px) and ( max-width:940px) {
.incho_fukidashi {
    width: 33%;
	}}
	#prp_midashi{
		position:relative;
	}
	
	.img_position_a_wrap p{
		position:relative;
	}
	
	#prp_midashi .img_position_a{
    width: 105px;
    position: absolute;
    top: 0;
    z-index: 999;
    left: 22%;
    top: -5rem;
	}
#column #main .midasi_style_a{
	position:relative;
	font-family: "Hiragino Maru Gothic Pro";
    font-size: 23px;
    line-height: 35px;
	background:none;
	    background: #f99e00!important;
    border: none!important;
display:inline;
    text-align: center!important;
    font-weight: bold!important;
    color: #fff!important;
}
.midasi_style_a::before{
    right: 6.5em;
    content: '';
    display: inline-block;
    width: 103px;
    height: 68px;
    background-image: url(https://hasegawaseikeigeka.com/wp_dim/wp-content/uploads/2023/08/midashi_osu.png);
    background-size: contain;
    vertical-align: middle;
    top: -19px;
    position: absolute;
}
@media screen and (min-width:335px) and ( max-width:395px) {
.midasi_style_a::before {
    right: 6.3em;
    content: '';
    display: inline-block;
    width: 89px;
    height: 59px;
    background-image: url(https://hasegawaseikeigeka.com/wp_dim/wp-content/uploads/2023/08/midashi_osu.png);
    background-size: contain;
    vertical-align: middle;
    top: -15px;
    position: absolute;
}
}
@media screen and  (max-width:354px) {
	.midasi_style_a::before {
    right: 6.33em;
    content: '';
    display: inline-block;
    width: 79px;
    height: 52px;
    background-image: url(https://hasegawaseikeigeka.com/wp_dim/wp-content/uploads/2023/08/midashi_osu.png);
    background-size: contain;
    vertical-align: middle;
    top: -12px;
    position: absolute;
}
}
.prp_banner_wrap{
    margin-top: 10px;
    margin-bottom: 10px;
}


#nai , #jun_nai{
	background: url(https://hasegawaseikeigeka.com/wp_dim/wp-content/uploads/2022/05/border-blue.png) no-repeat left bottom !important;
    background-size: contain !important;
    max-width: 670px !important;
    font-family: "Hiragino Maru Gothic Pro" !important;
    font-size: 24px !important;
    line-height: 35px !important;
    font-weight: normal !important;
    color: #330000 !important;
    margin: 20px 0 10px 0 !important;
    padding: 0 0 5px 0 !important;
    clear: both !important;
	height: auto !important;
}

#nai_komi{
	font-size: 20px !important;
}
.nai-list li{
	font-weight: normal;
	border-bottom: 1px dotted #3ab2b4;
    padding-bottom: 10px!important;
}

.nai-list span{
	font-weight: bold;
}

.nai_merit dt{
	font-weight: bold;
    background: #36a7a9;
	color: #fff;
	padding: 5px;
	margin-bottom: 10px;
}

.nai_merit dd{
	margin-bottom: 15px;
}

.nai_syokai{
	text-align: right;
	margin-bottom: 30px;
    margin-top: -20px;
}

.nai_syokai a{
	text-decoration: underline;
	font-weight: bold;
	font-size: 18px;
}

.nai_syokai a:after{
	content: "\03e";
	font-size: 130%;
}

.page_link{
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

.page_link div{
	width: 48%;
	text-align: center;
}

.page_link a{
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	margin: auto;
	padding: 1em 0;
	font-weight: bold;
	border-radius: 0.3rem;
	color: #fff;
	font-size: 18px;
}

.page_link a:after{
	content:"\025bc";
	padding-left:3px;
}

.nai_btn1{
	border-bottom: 7px solid #0686b2;
	background: #27acd9;
}

.nai_btn2{
	border-bottom: 7px solid #338b21;
	background: #2da939;
}

@media screen and  (max-width:480px) {
	.page_link a{
		padding: 0.5em 0;
		font-size: 16px;
	}
	
	.nai-list li{
		font-size: 16px!important;
		display: block!important;
	}

}

.setsubi_txt{
	margin-bottom: 35px;
}

.setsubi_txt dt{
	font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    color: #330000;
    margin-bottom: 10px;
	border-left: 8px solid #36a7a9;
	padding-left: 5px;
}

@media (max-width:480px) {
	.setsubi img{
		margin-bottom: 20px;
	}
	
}
.banner_parts_bag{
	position:relative;
}
.banner_parts_bag ul{
	display:flex;
}
.banner_parts_bag ul li:nth-child(1){
	    margin-right: 13px;
}
.banner_parts_bag{
	    overflow: hidden;
    padding-bottom: 45px;
    margin-top: 20px;
}
.banner_parts_bag ul {
    display: flex;
    z-index: 2;
    position: relative;
	width:83%;
		margin-left:20px;
}
.banner_bg{
    position: absolute;
    top: 0;
    z-index: 1;
}
.banner_text{
	    position: relative;
    z-index: 3;
    width: 85%;
    margin-left: 10px;
    margin-top: 14px;
}
.banner_bg{
	width:100%;
}
.banner_img_mg_tuning{
		margin-top: 18px;
	}
@media screen and  (max-width:480px) {
	.banner_text {
    position: relative;
    z-index: 3;
    width: 85%;
    margin-left: 0px;
    margin-top: 5px;
}
	.banner_parts_bag ul {
    display: flex;
    z-index: 2;
    position: relative;
    width: 83%;
    margin-left: 11px;
}
	.banner_parts_bag {
    padding-bottom: 34px;
}
	.banner_img_mg_tuning{
			margin-top: 0;
		margin-bottom: 18px;
	}
}
.mg_tuning_b{
	margin-top:-50px;
	padding-top:50px;
}
#nai, #jun_nai {
    background: url(https://hasegawaseikeigeka.com/wp_dim/wp-content/uploads/2022/05/border-blue.png) no-repeat left bottom!important;
    background-size: contain!important;
    max-width: 670px!important;
    font-family: "Hiragino Maru Gothic Pro"!important;
    font-size: 24px!important;
    line-height: 35px!important;
    font-weight: normal!important;
    color: #330000!important;
    margin: -44px 0 33px 0!important;
    padding: 44px 0 5px 0!important;
    clear: both!important;
    height: auto!important;
    position: relative;
    /* top: 29px; */
}

#jun_nai{
    margin: -100px 0 33px 0!important;
    padding: 100px 0 5px 0!important;
}
	.page_link.mg_tuning_c{
    margin-bottom: 28px;
	}

.page_link.mg_tuning_c{
    margin-bottom: 28px;
	}


