/*
Theme Name:the-beginning-4
*/

/* --------------------------------------
ブラウザスタイル初期化
--------------------------------------*/
*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
html, body {
    width: 100%;
}
img {
    vertical-align: bottom;
}

/* --------------------------------------
背景＆基本設定
--------------------------------------*/
html {
    overflow:auto;
}
body {
    font-size:1em;
    background-color: white;
    -webkit-text-size-adjust: none;
    min-width: 980px;
    /* background-image: url("img/bg.png"); */
    /*font-family: "MS PGothic", Arial, "Hiragino Kaku Gothic ProN", "Osaka", sans-serif;*/
    /* font-family:'MS UI 明朝','MS UI mincho','MS明 朝','MS mincho'; */
    font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
    /* font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',  Meiryo, メイリオ, sans-serif; */
    overflow-x: hidden;
    position: relative;
}
img {
    border: none;
}
a {
    color: #000;
    text-decoration: underline;
}
a:link {
    color: #000;
}
a:hover {
    color: #000;
    text-decoration: none;
}
a:visited {
    color: #000;
    text-decoration: underline;
}
p {
    margin: 0;
    padding: 0;
}
ul {
    text-align: left;
    list-style: none;
    margin-bottom: 20px;
}
ol {
    margin-left: 25px;
}
dt {

}
dd {

}
hr {
    overflow: hidden;
    height: 0;
    border: #bdbdbd dotted 1px;
    margin: 5px 0 15px 0;
}

/* --------------------------------------
レイアウト定義
--------------------------------------*/
#base {
}
#bg {
}
.wrapper {
    padding: 0;
    z-index: 1;
    position: relative;
    padding-top: 0px;
    background-color: #ffffff;
}
/*トップページメイン画面*/
#ibox {
    width: 100%;
    height: 641px;
    /* margin-bottom: 60px; */
    position: relative;
    background: no-repeat center / 2000px url(img/main-bg3.jpg), repeat-x center url(img/main-bg-r.jpg);
}
#ibox-in {
    display: flex;
    align-items: flex-end;
    height: 100%;
}
#ibox-in img {
    margin: 0 auto 44px;
    display: block;
    /* display: flex; */
    /* align-items: baseline; */
    width: 100%;
    max-width: 1342px;
    height: auto;
    padding: 0 20px;
}
/*キャッチを画像にする場合*/

#content {
    padding: 0 0;
    width: 1000px;
    margin: 0px auto 0px;
    z-index: 10;
    position: relative;
}
#content img {
}
.wrap-inner {
    padding: 0 0;
    width: 1000px;
    margin: 0 auto;
}
#pan {
    font-size: 0.8em;
    width: auto;
    margin: 10px auto 10px;
    text-align: center;
}
#pan a {
    text-decoration: none;
}
.breadcrumbs {
    display: inline-block;
}
.infobox {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
}
.cat {
    font-size: 0.8rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
    display: inline-block;
}
.cat a {
    text-decoration: none;
    background: #309b00;
    color: white;
    padding: 4px 10px;
    border-radius: 40px;
}
#content #main .cat p {
    margin-bottom:0;
}
.tags a {
     border: 1px solid #c7c7c7;
    padding: 3px 10px;
    font-size: 0.8rem !important;
    margin: 3px;
    border-radius: 2px;
    background-color: white;
    color: black;
    text-decoration:none;
}
.tags a:before {

}

#content #main {
    width: 1000px;
    float: none;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 auto;
    text-align: justify;
}

#content #main .post {
    margin-bottom: 40px;
    background-position: center;
    border: 2px solid #00000075;
}

#content #main.main-sm {
    width: 750px;
    margin: 0;
    order: 2;
}

#content.c-side-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 80px;
}


/* --------------------------------------
各ページタイトル
--------------------------------------*/

#content #main .singletitle a, #content #main .title a {
    color: #2c3b42;
    text-decoration: none;
}
/* --------------------------------------
マウスオーバー設定
--------------------------------------*/
#header .menu li a:hover {
    opacity: 0.60; /* opera  firefox safari */
    filter: alpha(opacity=60); /* ie */
    -ms-filter: "alpha( opacity=60 )";
}
#content #main a:hover img {
    opacity: 0.60; /* opera  firefox safari */
    filter: alpha(opacity=60); /* ie */
    -ms-filter: "alpha( opacity=60 )";
}
#content #side a:hover img {
    opacity: 0.60; /* opera  firefox safari */
    filter: alpha(opacity=60); /* ie */
    -ms-filter: "alpha( opacity=60 )";
}

/* --------------------------------------
ヘッダー定義
--------------------------------------*/
.wrapper_head {
    margin: 0px auto;
    width: 100%;
    z-index: 1000;
    position: relative;
    padding: 0 0 0;
}
header {
    padding: 0 0 0 0;
    margin: 0 0 0;
    background-color: white;
}
#header {
    background-repeat: no-repeat;
    background-position: left top;
    z-index: 1000;
    height: auto;
    margin: 0px auto;
    position: relative;
    transition: all .3s ease-out;
    width: 1000px;
    padding: 20px 0 10px 0;
}
/*ロゴ　スクロール時非表示*/

/* .header_logo {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
} */
.header_logo h1 {
    margin: 0 !important;
    line-height: 0;
}
/* .header_logo img {
    width: 330px;
} */
.header_logo a {
    text-decoration: none;
    line-height: 1;
}
/*ロゴ左寄せ*/
.header_logo.logo_left {
    margin-bottom: 20px;
}
header .info_right {
    margin-bottom: 20px;
}
header .tel-zone {

}
header .mail-zone {

}
header .mail-zone a {
    padding: 28px 0 0;
    display: block;
    background: gray;
    height: 108px;
    width: 120px;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
}
header .mail-zone img {
    display: block;
    width: 34px;
    margin: 0px auto 12px;
}

.h-sub {
    display: block;
    font-size: 0.9rem;
    position: relative;
    font-weight: normal;
}

#pagetop {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
}
a#pagetop:hover {
    opacity: 0.6;
}

/*-------------------------------------
グローバルナビ定義（gnavi・グロナビ）
------------------------------------- */

#gnav {
    background: #ffffff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-size: auto;
    position: relative;
}
#pc-nav-inner {
    width: 1000px;
    margin: 0 auto;
}

#pc-nav {
    flex-wrap: wrap;
    justify-content: space-between;
    display: flex;
    margin: 0;
}
#pc-nav li {
    /* width: 12%; */
    width: auto;
    padding: 10px 0 10px;
    position: relative;
}
#pc-nav li a {
    /* border-left: 1px solid; */
    border-color: #d5cec5;
    width: 100%;
    height: 44px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    font-size: 1.03rem;
    padding: 0 20px;
    font-weight: bold;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    color: #333;
    border-bottom: 4px solid #ffffff;
}
#pc-nav li:last-child a {
}
#pc-nav li a:hover {
    color: #ad9900;
    border-color: #fde321;
}
#pc-nav li a:hover:after {
    /* 下線を引きたい場合
    border-bottom: 2px solid green;
    position: absolute;
    content: "";
    height: 2px;
    width: 100%;
    bottom: -14px;
    */
}

#sp-nav {
    display:none;
}

#navbutton {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    /* transform: translate(-50%, -50%);*/
    height: auto;
    padding: 0;
    transition: all .5s ease;
    text-align: center;
}

#navbutton .lines {
    background: black;
    display: inline-block;
    width: 30px;
    height: 2px;
    position: relative;
    transition: .3s;
    margin: 0 9px 0;
}

#navbutton .lines:after, #navbutton .lines:before {
    background: black;
    position: absolute;
    display: inline-block;
    height: 2px;
    content: '';
    transition: .3s;
}

#navbutton .lines:before {
    top: 9px;
    right: 0;
    width: 30px;
}

#navbutton .lines:after {
top: -9px;
    right: 0px;
    width: 30px;
}
    
#navbutton span.menu-tx {
    font-size: 10px;
    display: block;
    margin-top: 6px;
    color: #574837;
}

#navbutton a.xclose {
    display: block;
    position: relative;
    /*padding: 0 0;*/
    margin-top: 0px;
    z-index: 1020;
    cursor: pointer;
}

#navbutton .xclose .lines {
    background: 0 0;
}

#navbutton .xclose .lines:before {
    top: 0px;
    right: 0px;
    transform: rotate3d(0,0,1,45deg);
    transition: .3s;
    width: 30px;
}

#navbutton .xclose .lines:after {
    top: 0px;
    right: 0px;
    transform: rotate3d(0,0,1,-45deg);
    transition: .3s;
}

a#sidr-menu-button {
    display: block;
    position: relative;
    /* height: 80px; */
    /* width: 80px; */
    padding: 8px;
    margin-top: 0px;
    cursor: pointer;
    opacity: 1;
    transition: all .5s ease;
    text-decoration: none;
    /* border: 1px solid gray; */
    border-radius: 4px;
    background: #ffed72;
}
#h-nav {
    display: none;
}
/*ハンバーガメニューcss*/
.ac-nav, .sidr-class-ac-nav {
    width: 100%;
    line-height: 1.2;
}

.ac-child a, .sidr-class-ac-child a {
    text-decoration: none;
    padding: 14px 20px 14px 40px;
    display: block;
    font-size: 90%;
    position: relative;
}

.ac-child a:last-child, .sidr-class-ac-child a:last-child {
    /*border: none;*/
}

.ac-parent,
.sidr-class-ac-parent,
.ac-alone,
.sidr-class-ac-alone {
    position: relative;
    /* height: 50px; */
    /* border-bottom: 1px solid #fff; */
    /* background-color: #ffffff; */
    color: black;
    text-align: center;
    /* line-height: 50px; */
    cursor: pointer;
    width: 100%;
    float: none;
    clear: none;
    padding: 0;
    text-align: left;
}

.ac-alone a,
.sidr-class-ac-alone a,
.ac-parent,
.sidr-class-ac-parent {
    text-decoration: none;
    padding: 14px 10px 14px 30px;
    display: block;
   
}

.ac-alone a:hover,
.sidr-class-ac-alone a:hover,
.ac-parent:hover,
.sidr-class-ac-parent:hover,
.ac-child a:hover, .sidr-class-ac-child a:hover {
    opacity:0.6;
}


/* 擬似要素で三角形を作成 */
.ac-alone a:before, .sidr-class-ac-alone a:before, .ac-parent:before, .sidr-class-ac-parent:before {
content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid #f30f0d;
    border-right: 1px solid #f30f0d;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    position: absolute;
    top: 50%;
    left: 10px;
    transition: .3s;
}

.ac-parent:after, .sidr-class-ac-parent:after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #6a6a6a;
    border-right: 2px solid #6a6a6a;
    -webkit-transform: translate(0, -50%) rotate( 45deg);
    transform: translate(0, -50%) rotate( 135deg);
    position: absolute;
    top: 50%;
    right: 12px;
    transition: .3s;
}

/* オープン時にopenクラスを付与 */
.ac-parent.open:after, .sidr-class-ac-parent.open:after {
    transform: rotate(-45deg);
}
.ac-child, .sidr-class-ac-child {
    display: none;
    /* padding: 2rem 1rem; */
    background-color: white;
    text-align: left;
    padding: 0;
        border: none;
}
.ac-child a:before, .sidr-class-ac-child a:before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid #6a6a6a;
    border-right: 1px solid #6a6a6a;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    position: absolute;
    top: 50%;
    left: 20px;
    transition: .3s;
}


.sidr-class-nav-res {
    padding: 20px;
    background: white;
}
.sidr-class-nav-res a {
    display: block;
    margin: 0 0 10px;
}
.sidr-class-nav-res a img {
    width: 100%;
    height: auto;
}
p.sidr-class-nav-info {
    color: rgb(152, 152, 152);
    line-height: 1.4;
    display: block;
}
p.sidr-class-nav-info span {
    color: #0076c1;
}


/*--ここまで--*/


/* -------------------------------------
ドロップダウン
-------------------------------------*/  
ul.sub-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 48px;
    z-index: 9999;
    width: auto;
    /* background-color: #ffffff; */
    /* opacity: 0.8; */
}
   
ul.sub-menu li {
    float: none;
    position: static;
    background-image: none;
    width: auto;
    border: none;
    width: 100% !important;
    text-align: left;
    padding: 0 !important;
}
ul.sub-menu li:hover {
opacity:0.6;
}
  
ul.sub-menu li a {
    text-indent: 0px;
    font-size: 0.9rem;
    padding: 13px 10px;
    color: #000000;
    display: block !important;
    width: 100% !important;
    border: none;
    border-bottom: 1px solid black !important;
    height: auto !important;
    /* text-align: left !important; */
}

ul.sub-menu li a:hover {
    opacity: 0.8;
    background: unset;
}

ul.sub-menu li:hover:before{
    content:none;
}

ul.sub-sub-menu {
    margin-bottom:0;
}
ul.sub-sub-menu li a {
    font-size: 90%;
    color: #3c3c3c;
    line-height: 1.3;
    padding-left: 30px;
    position: relative;
}

ul.sub-sub-menu li a:before {
    content: "∟";
    position: absolute;
    top: 9px;
    left: 7px;
}


/* --------------------------------------
サイドバー定義
--------------------------------------*/
#content #side {
    position: relative;
    float: right;
    /*width: 260px;*/
    width: 200px;
    font-size: 0.9rem;
}

#content #side ul li {
    position: relative;
}

#content #side a {
    text-decoration: none;
    margin-left: 20px;
    display: block;
    line-height: 1.6;
    padding: 8px 0;
}

#content #side a:before {

}

/* --------------------------------------
フッター定義
--------------------------------------*/
footer {
    margin-top: 60px;
    background: white;
}
#footer {
    clear: both;
    text-align: center;
    font-size: 0.85rem;
    padding-bottom: 0px;
    border-top: 1px solid #beb157;
}

.footer_logo a {
    text-decoration: none;
    line-height: 1;
}
.footer_logo img {
    width: 306px;
    height: auto;
}
.footer_info {
    margin-top: 20px;
    font-size: 0.85rem;
    line-height: 1.9;
    color: #333;
    text-align: left;
}
.footer_com {
    height: auto;
    padding-top: 50px;
}

.footer_top {
    width: 1000px;
    margin: 0px auto 20px;
    align-items: flex-start;
}
.footer_left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}
.footer_right {
    width: 100%;
    gap: 20px;
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
}

.footer_cta {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* フッター下部（波型黄色背景） */
.footer_btm {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* background-color: #f5e96a; */
    background-image: url(img/footer-bg.jpg);
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: 2000px;
    padding: 60px 0 22px;
}
.footer_btm_wrap {
    width: 1000px;
    margin: 0 auto;
}
#copyright {
    padding: 0;
    font-size: 0.75rem;
    text-align: center;
    color: #555;
}
#copyright a {
    text-decoration: none;
    color: #555;
}

.pc-f-nav-wrap {
    width: 100%;
    padding: 0 0;
}
ul#pc-f-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
}
ul#pc-f-nav li {
    margin: 0 12px;
}
ul#pc-f-nav li a {
    text-decoration: none;
    position:relative;
}
ul#pc-f-nav li a:before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #669b00;
    border-right: 2px solid #669b00;
    transform: translate(0, -50%) rotate(45deg);
}

/* --------------------------------------
コンテンツ共通パーツ
--------------------------------------*/

#content #main p {
    margin-bottom: 20px;
    padding: 0;
    line-height: 2;
    color: #232323;
}
#content #main .singleline {
    overflow: hidden;
}
#submain {
    height: auto;
    background-color: #ded3c5;
    position: relative;
    text-align: center;
    margin: 0 0 40px;
    padding: 90px 10px 70px;
    background: url(img/un-main-bg.jpg);
    background-size: 2000px;
    background-position: top center;
}
#submain img {
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 0;
    top: -550px;
    opacity: 0.5;
}
#submain .h1wrap {
    width: auto;
    text-align: center;
}
#submain h1 {
    color: black;
    text-align: center;
    padding: 0px 0px 0px;
    font-size: 2rem;
    font-weight: normal;
    display: block;
    margin-top: 0px;
    /*font-family: 'Shippori Mincho', serif;*/
    width: auto;
}
.dotted {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 15px;
}

.blog-eyecatch {
    margin: 0 0 0;
}
.blog-eyecatch img {
    width: 100%;
    height: auto;
}
.post_box {
    margin-bottom: 40px !important;
    position: relative;
}
.postslink {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
        z-index: 100;
}

.post_box:hover img, .post_box:hover p {
    opacity: 0.8;
}

.news-wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.news_box {
    width: 23%;
    position: relative;
}
.news_box a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.news-wrap:before,.news-wrap:after {
    content: "";
    display: block;
    width: 23%;
    order: 2;
}
.news_box:hover .blog-eyecatch img {
    opacity: 0.6;
}
.exc-wrap {
    font-size: 0.8rem;
}
.entry {

}
.datetx {
    margin-right: 20px;
}
.datetx p {
    font-size: 0.9rem;
    display: block;
    text-align: left;
    margin-bottom: 0px !important;
    color: #309b00 !important;
}
.e-title {
    text-align: left;
    line-height: 1.7;
    font-size: 1rem;
}



.moretext {
    text-align: center;
    margin-top: 20px;
}

.moretext a {
    display: inline-block;
    padding: 8px 30px;
    border: 1px solid gray;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #ffffff;
    text-decoration: none;
}

.moretext a:hover {
    background-color: gray;
    color: white;
}


/* --------------------------------------
コンテンツ背景
--------------------------------------*/

.bg-brown-wrap {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: url(img/.png),linear-gradient(90deg, #ded3c5 0%,#ded3c5 100%);
}
.bg-white-wrap {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: url(img/.png),linear-gradient(90deg, #ffffff 0%,#ffffff 100%);
    /* background-image: url(img/.png);
    background-size: contain; */
}


/* --------------------------------------
見出し設定
--------------------------------------*/


/* h1共通部分 */

#toph1 {
    text-align:center;
    background-color: green;
    margin-bottom:20px;
}

.home #content h1 {
    clear: both;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    position: relative;
    z-index: 10;
    display: inline-block;
    padding: 4px;
}


#content #main h1.singletitle, #content #main h1 {
    clear: both;
    color: #2c3b42;
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: normal;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0;
    margin-top: 18px;
}

#content #main h2 {
    clear: both;
    color: #333333;
    font-size: 1.7rem;
    margin: 80px 0 30px 0;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    padding: 20px 10px 20px 50px;
    text-align: left;
    background: url(img/bg-h2.png);
    background-repeat: no-repeat;
    background-position: left top 5px;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}

#content #main h3 {
    clear: both;
    color: #333;
    font-size: 1.4rem;
    margin: 40px 0 30px 0;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    padding: 0px 0px 22px;
    text-align: left;
    background: url(img/bg-h3.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
#content #main h4 {
    clear: both;
    color: #303030;
    font-size: 1.1rem;
    margin: 0 0 0 0;
    padding: 30px 10px 32px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    padding: 0;
}


#side h3 {
clear: both;
    color: #7b7b7b;
    border-top: #e0e0e0 solid 1px;
    font-size: 1rem;
    margin: 30px 0 10px 0;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: normal;
    padding: 12px 0 0;
}
#side h3:first-child {
    margin-top:0px;
}
/*special css*/


/*end special css*/

/* --------------------------------------
デバイスごとの表示
--------------------------------------*/
.sp_only {/* スマホにだけ表示させたいものに使用する */
    display: none;
}


/* --------------------------------------
WordPress FCKEditor table
--------------------------------------*/

table {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto 5px auto;
}
td {
    padding: 10px;
}
/* --------------------------------------
テーブル
--------------------------------------*/

.tablestyle {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
}
.tdstyle {
    background-color: #ffffff;
    padding: 8px 10px;
    width: 26%;
    text-align: center;
    font-weight: normal;
}
.tdstyle_none {
    background-color: #F5F3F3;
    border: 1px solid #d2d2d2;
    padding: 8px 10px;
    text-align: center;
}
.tablestyle tr:first-child {
    border-top: 1px solid #d6d191;
}
.tablestyle th {
    background: #fff9d1;
    padding: 30px 30px;
    border-bottom: 1px solid #d6d191;
}
.tablestyle td {
    padding: 30px 30px;
    border-bottom: 1px solid #d6d191;
}
.tablestyle ul {
    margin-bottom: 0;
}

/*special css*/
/*end special css*/


/* --------------------------------------
<div class="sq?"></div>での 飾り設定
--------------------------------------*/
.sq1, .sq2, .sq3, .sq4, .sqred {
    display: inline-block;
}
/* 色:グレー */
.sq1 {
    border: 1px solid #ECEBEB;
    background-color: #F3F3F3;
    margin: 0 0 20px 0;
    padding: 20px 20px 0 20px;
}
/* 囲み:グレー */
.sq2 {
    border: 5px solid #F3F3F3;
    background-color: #fff;
    margin: 0 0 20px 0;
    padding: 20px 20px 0 20px;
}
/* 色:ピンク */
.sq3 {
    border: 1px solid #FFE8E8;
    background-color: #fff1f4;
    margin: 10px 0;
    padding: 20px 20px 0 20px;
}
/* 囲み:ピンク */
.sq4 {
    border: 5px solid #fff1f4;
    background-color: #fff;
    margin: 10px 0;
    padding: 20px 20px 0 20px;
    ;
}
/* 囲み：赤 */
.sqred {
    border: 1px solid #f29e9e;
    background-color: #fffafa;
    margin: 10px 0;
    padding: 20px 20px 0 20px;
}

/*special css*/
/*end special css*/


/* --------------------------------------
テキスト飾り設定
--------------------------------------*/

.hosoku {
    color: #5a5a5a;
    font-size: 0.85em;
    line-height: 1.6 !important;
}
.nini {
    font-size: 0.8rem;
    color: gray;
    margin-left: 10px;
}
.hissu {
    font-size: 0.8rem;
    color: #ef4848;
    margin-left: 10px;
}
.fs70 {
    font-size: 70%;
}
.fs80 {
    font-size: 80%;
}
.fs90 {
    font-size: 90%;
}
.fs110 {
    font-size: 110%;
}
.fs120 {
    font-size: 120%;
}
.fs130 {
    font-size: 130%;
}
.fs160 {
    font-size: 160%;
}
.fs200 {
    font-size: 200%;
}
.mt0 {
    margin-top: 0px !important;
}
.mt10 {
    margin-top: 10px !important;
}
.mt20 {
    margin-top: 20px !important;
}
.mt30 {
    margin-top: 30px !important;
}
.mt40 {
    margin-top: 40px !important;
}
.mt50 {
    margin-top: 50px !important;
}
.mt60 {
    margin-top: 60px !important;
}
.mt70 {
    margin-top: 70px !important;
}
.mt80 {
    margin-top: 80px !important;
}
.mb0 {
    margin-bottom: 0px !important;
}
.mb10 {
    margin-bottom: 10px !important;
}
.mb20 {
    margin-bottom: 20px !important;
}
.mb30 {
    margin-bottom: 30px !important;
}
.mb40 {
    margin-bottom: 40px !important;
}
.mb50 {
    margin-bottom: 50px !important;
}
.mb60 {
    margin-bottom: 60px !important;
}
.mb70 {
    margin-bottom: 70px !important;
}
.mb80 {
    margin-bottom: 80px !important;
}
.ml10 {
    margin-left: 10px !important;
}
.ml15 {
    margin-left: 15px !important;
}
.ml20 {
    margin-left: 20px !important;
}
.ml25 {
    margin-left: 25px !important;
}
.ml30 {
    margin-left: 30px !important;
}
.pt10 {
    padding-top: 10px !important;
}

/*テキスト装飾*/
.tk1 {
    /* font-weight: bold; */
    background: linear-gradient(transparent 70%, rgb(255 245 180) 30%);
    padding-bottom: 4px;
}
.tk2 {
    color: #f33d3c;
}
.tk3 {
  font-weight: bold;
  background: linear-gradient(transparent 70%, #ff3737 20%);
  padding-bottom: 3px;
}
.star {
    display: inline-block;
    margin-right: 20px;
    color: #bda357;
}
/*電話番号装飾*/
.telarea {
  border: 1px solid #CECECE;
  margin: 0 0 10px 0;
  padding: 20px 20px 0 20px;
  display: inline-block;
}
.teltext {
  font-size: 2rem;
}
.freedial {
  text-align: left;
}
.uline {
    color: #F00;
    text-decoration: underline;
    font-style: italic;
}

/*special css*/

/*end special css*/



/* --------------------------------------
Q&A
--------------------------------------*/
.q {
    background-color: #F3F3F3;
    color: #ff6000;
    padding: 4px;
    font-weight: bold;
}
.a {
    padding: 7px 4px;
    border-bottom: #CCC 1px dotted;
    margin: 5px 0 20px 1rem;
    text-indent: -1rem;
}
/* --------------------------------------
WordPress 画像貼付け用
--------------------------------------*/
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    float: right;
    margin: 0 0 20px 20px;
    display: inline;
}
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
    display: inline;
}
/* --------------------------------------
youtube・googlemap 埋め込み用
--------------------------------------*/
.yt {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.yt iframe,  
.yt object,  
.yt embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* --------------------------------------
汎用クラス定義
--------------------------------------*/
.clearfix:after {
    content: ".";  /* 新しい要素を作る */
    display: block;  /* ブロックレベル要素に */
    clear: both;
    height: 0;
    visibility: hidden;
}
.clearfix {
    min-height: 1px;
}
* html .clearfix {
    height: 1px;
}


/* --------------------------------------
中央寄せ・右寄せ
--------------------------------------*/
.ac {
    text-align: center;
}
.ar {
    text-align: right;
}
.al {
    text-align: left;
}
/* --------------------------------------
リスト
--------------------------------------*/
ul.ul_1 {
    margin-bottom: 20px;
}
ul.ul_1 li {
    position: relative;
    margin-bottom: 3px;
    padding-left: 1.4rem;
    /* text-indent: -1.1rem; */
}
ul.ul_1 li:before {
    content: "⚫︎";
    color: #ef949f;
    position: absolute;
    left: 0;
    top: 0px;
}

/* --------------------------------------
レイアウトbox(2列・3列・4列)
--------------------------------------*/
.flexwrap {
  justify-content: space-between;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flexeven {
  justify-content: space-evenly;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#main div.flexwrap:after,#main div.flex-even:after {
    content: none;
}

.two_box {
    width: 48%;
    box-sizing: border-box;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}
.two_box:first-child {
}
.two_box img {
    max-width: 100%;
    height: auto;
}

.three_box {
    width: 31%;
    box-sizing: border-box;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}
.three_box:first-child {

}
.three_box p {

}
.four_box {
    width: 22%;
    box-sizing: border-box;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}
.four_box:first-child {
    margin-left: 0;
}


/* --------------------------------------
電話番号エリア
--------------------------------------*/
.responsedevise {
    border: 1px solid #c1c1c1;
    padding: 15px 5px 15px;
    text-align: center;
    width: 80%;
    margin: 80px auto 0;
    border-radius: 5px;
    position:relative;
    overflow:hidden;
}

/* --------------------------------------
リンクボタン
--------------------------------------*/
.link-t1 {
    text-align: left;
    background: none;
    /* color: #003461 !important; */
    display: inline-block;
    width: auto;
    padding: 6px 14px 6px 0px;
    margin: 0 0 20px;
    text-decoration: none !important;
    line-height: 1.2;
    position: relative;
}
.link-t1:after {

}
.link-t1:hover {
    opacity:0.6;
}
.btn-b {
    text-align: center;
    margin-top: 30px;
}
.btn-b a {
    display: inline-block;
    padding: 13px 50px 14px;
    background: #ffed72;
    /* color: white; */
    text-decoration: none;
    /* font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif; */
    font-weight: bold;
    border-radius: 100px;
	position:relative;
}
.btn-b a:after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid;
    border-right: 2px solid;
    transform: translate(0, -50%) rotate(45deg);
}

.btn-b a:hover {
    opacity: 0.6;
}

.btn-bs {

}

.btn-bs a {
    display: inline-block;
    padding: 16px 40px 18px;
    background: black;
    color: white;
    text-decoration: none;
    font-size:90%;
    margin: 0 5px;
}

.btn-bs a:hover {
    opacity: 0.6;
}


/*  special css*/


/*end special css*/

/* ---------------------
H レスポンシブ用
------------------------*/

/* PC用とモバイル用のロゴを出し分ける */

#pc_logo {
    display: inline;
}
#pc_logo img {
    margin: 0 auto;
}

#content #main p.wp-caption-text {
    margin-top: 2px;
    font-size: 0.9rem;
    text-align: center;
    margin-right: 10px;
    padding: 10px 10px 0;
    line-height: 17px;
}



/* --------------------------------------
フォームボタン
--------------------------------------*/

input.wpcf7-form-control {
    height: auto;
    line-height: 2;
    margin: 0px auto;
    border: 1px solid #d8d8d8;
    padding: 10px;
    width: 80%;
}
input.wpcf7-form-control.wpcf7-submit {
    height: auto;
    line-height: 2;
    margin: 60px auto;
    border: none;
    padding: 10px;
    background-color: orange;
    width: 280px;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    display: block;
}

input.wpcf7-form-control.wpcf7-submit:hover {
    opacity: 0.6;
}
.wpcf7-form-control .wpcf7-list-item {
    display: inline-block;
    margin: 0 20px 0 0;
}
select.wpcf7-form-control {/*プルダウンメニュー*/
    width: auto;
    height: auto;
}
textarea.wpcf7-form-control {
    border: 1px solid #d8d8d8;
    padding: 10px;
    width: 80%;
    line-height: 2;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    /*bodyのフォント指定が効かないため設定*/
}
.s-button {
    text-align:center;
}
.s-button input {
    padding: 10px 40px;
    height: auto;
    margin-top: 50px;
    cursor: pointer;
    width: 200px;
    font-size: 1.2rem;
    background-color: black;
    color: white;
    border: none;
}
.s-button input:hover {
    opacity:0.6;
}
/*MW form*/
table.table-form td, table.table-form th {
    vertical-align: middle;
    padding: 20px 0;
}
table.table-form th {
    font-weight:normal;
}
.table-form input[type="text"], .table-form input[type="email"], .table-form input[type="tel"] {
    height: auto;
    line-height: 2;
    margin: 0px auto;
    border: 0;
    padding: 10px 20px;
    width: 100%;
    background: white;
    border-radius: 4px;
border: 1px solid #d1cdc9;
}
table.table-form textarea {
    line-height: 2;
    margin: 0px auto;
    border: 0;
    padding: 10px 20px;
    width: 100%;
    background: white;
    border-radius: 4px;
    border: 1px solid #d1cdc9;
    display: block;
}
.form-btn input[type="submit"] {
    display: inline-block;
    padding: 14px 100px 16px;
    background: #123188;
    color: white;
    text-decoration: none;
    transition: 0.6s;
    font-size: 1.1rem;
    line-height: 1.4;
    border-radius: 100px;
        border: none;
        cursor: pointer;
}
.form-btn input[type="submit"]:hover {
    opacity: 0.6;
}
.form-btn {
    text-align: center;
}


/* --------------------------------------
ページナビ
--------------------------------------*/

.wp-pagenavi {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
#main .wp-pagenavi span.pages {
    display: none;
}
.wp-pagenavi a.page, .wp-pagenavi .current, .wp-pagenavi span {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #dddddd;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 5px;
    border-radius: 6px;
    color: #333333;
}
#main .wp-pagenavi .current {
    border: none !important;
    background: #2d9602;
    color: white;
    width: 60px;
}
#main .wp-pagenavi a, #main .wp-pagenavi span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    border: 1px solid #dddddd;
    font-weight: bold;
    position: relative;
    font-size: 0.9rem;
    margin: 5px;
    border-radius: 6px;
}
#main .wp-pagenavi span {
    border: none;
    width: auto;
}
#main .wp-pagenavi a.last,#main .wp-pagenavi a.first {
    font-weight: normal;
    font-size: 0.8rem;
}
.wp-pagenavi a:hover {
    opacity: 0.6;
    border: 1px solid #dddddd !important;
}
.wp-pagenavi a.nextpostslink:before {
    content: '';
    position: absolute;
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #7d7d7d;
    border-right: 2px solid #7d7d7d;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%) rotate(45deg);
}
.wp-pagenavi a.previouspostslink:before {
    content: '';
    position: absolute;
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #7d7d7d;
    border-right: 2px solid #7d7d7d;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
}



/*コンテンツ装飾
ここから*/

/* ---------------------
キャッチコピーバー
------------------------*/
#catchcopy {
    width: 100%;
    background: #ffffff;
    /* border-bottom: 1px solid #e8e8e8; */
    padding: 10px 0 0;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}
#catchcopy h1, #catchcopy p {
    font-size: 0.78rem;
    font-weight: normal;
    color: #595959;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

/* ---------------------
ヘッダーレイアウト（ロゴ＋CTAボタン）
------------------------*/
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header_logo {
    text-align: left;
    margin-bottom: 0;
    flex-shrink: 0;
}
.header_logo img {
    width: auto;
    max-height: 80px;
}
.header_cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    line-height: 1.3;
    transition: opacity 0.2s;
    white-space: nowrap;
    width: 176px;
    height: 52px;
}
.cta-btn:link,
.cta-btn:visited {
    color: #ffffff;
    text-decoration: none;
}
.cta-btn:hover {
    opacity: 0.75;
    color: #ffffff;
    text-decoration: none;
}
.cta-instagram {
    background: #c8188c;
}
a.cta-btn.cta-instagram img {
    width: 18px;
    height: auto;
}
.cta-line {
    background: #06c755;
}
a.cta-btn.cta-line img {
    width: 26px;
    height: auto;
}
.cta-reserve {
    background: #f13e3e;
}
a.cta-btn.cta-reserve img {
    width: 20px;
    height: auto;
}
.cta-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.cta-icon img {
    width: 22px;
    height: 22px;
    vertical-align: middle;
}
.cta-text {
    display: flex;
    flex-direction: column;
}
.cta-sub {
    font-size: 0.65rem;
    font-weight: normal;
    display: block;
}
.cta-main {
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
}


#main .cta-btn {
    padding: 10px 30px;
    height: 56px;
    width: auto;
}
#main .cta-main {
    font-size: 1rem;
}

/* グローバルナビ下線（アクティブ） */
#pc-nav li.current-menu-item > a,
#pc-nav li.current_page_item > a,
#pc-nav li.current-menu-ancestor > a {
    border-bottom: 3px solid #f5c518;
    padding-bottom: 4px;
}

/* ---------------------
フッター新規パーツ
------------------------*/
.footer_section {
    width: 48%;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
.footer_section_ttl {
    /* background: #2f9b00; */
    background: #ffe6be;
    /* color: #fde321; */
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    padding: 9px 0;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    border-radius: 8px;
}
/* 診療時間 Grid レイアウト */
.f-schedule {
    display: grid;
    grid-template-columns: 60px repeat(8, 1fr);
    grid-template-rows: auto auto;
    border: 1px solid #beb157;
    border-radius: 10px;
    overflow: hidden;
    background: #fffdf0;
    font-size: 0.8rem;
    text-align: center;
}
.f-schedule__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 4px;
    border-right: 1px solid #beb157;
    /* border-bottom: 1px solid #d4c88a; */
    line-height: 1.4;
    background: white;
}
/* 各行の最右セルのborderを消す */
.f-schedule__cell:nth-child(9n) {
    border-right: none;
}
/* 最下行のborderを消す */
.f-schedule__cell:nth-child(n+10) {
    border-bottom: none;
}
.f-schedule__head {
    font-weight: bold;
    color: #796a00;
    background: #faf9ee;
    font-size: 1.03rem;
    padding: 12px 4px;
}
.f-schedule__label {
    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: bold;
    color: #796a00;
}
.f-circle {
    color: #f01f1f;
    font-size: 1.2rem;
    font-weight: bold;
}
.f-sat {
    color: #f01f1f;
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: bold;
}
.footer_access {
    gap: 14px;
    align-items: flex-start;
    display: flex;
}
.footer_access_text {
    line-height: 1.9;
    color: #333;
    /* flex: 1; */
    text-align: left;
    flex-shrink: 0;
    margin-right: 20px;
}
.footer_access_text p {
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer_access_text strong {
    display: block;
}
p.address-txt1 {
    margin-bottom: 20px;
}
.footer_access_map {
    width: 100%;
    flex-shrink: 1;
}
.footer_access_map img {
    width: 100%;
    height: auto;
    display: block;
}


.cause-img {
    width: 36%;
}
.cause-txt {
    width: 60%;
}

.cause-ai-wrap {
    text-align: center;
    padding-top: 40px;
    position: relative;
}
.cause-ai-wrap:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 30px solid transparent;
    border-left: 30px solid transparent;
    border-top: 20px solid #ee949e;
    border-bottom: 0;
    position: absolute;
    left: calc(50% - 30px);
    top: 10px;
    /* margin-left: calc(-50vw + 50%); */
}
.cause-ai-inner {
    display: inline-block;
    /* background: #ffed72; */
    /* padding: 20px 40px; */
}
p.cause-ai {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    /* border-bottom: 2px solid #ffed72; */
}
span.ca-under-line {
    border-bottom: 2px solid #ef949e;
    padding-bottom: 10px;
}

.aicheck-flex.flexwrap {
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
justify-content: center;
}
.aicheck-txt {
    width: auto;
    margin-right: 4%;
}
.aicheck-img {
    width: 36%;
}

ul.aicheck-list li:before,
ul.aicheck-list li:after {
    content: "";
    display: block;
    position: absolute;
}
ul.aicheck-list li {
    padding-left: 33px;
    position: relative;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 18px;
}
ul.aicheck-list li:before {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background: #ffffff;
    border: 2px solid #fbe86f;
    left: 0;
    top: 6px;
}
ul.aicheck-list li:after {
    border-left: 3px solid #f30f0d;
    border-bottom: 3px solid #f30f0d;
    width: 17px;
    height: 9px;
    transform: rotate(-45deg);
    left: 5px;
    top: 7px;
}


.aicheck-caption-wrap {
    background: #fff9d1;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}
.aicheck-caption-wrap p {
    margin-bottom: 0 !IMPORTANT;
    line-height: 1.6 !important;
    display: flex;
    align-items: flex-start;
}
span.ac-shorei {
    font-size: 0.9rem;
    background: white;
    padding: 2px 10px;
    display: inline-block;
    border-radius: 100px;
    flex-shrink: 0;
    margin-right: 10px;
}


ul.symptom-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
ul.symptom-list li {
    text-align: center;
    /* background: #fff9d1; */
    background: #ffe6be;
    padding: 10px;
    border-radius: 6px;
    /* border: 2px solid pink; */
}

.voice-imgs {
    margin-bottom: 20px;
}
.voice-img img {
    width: 100%;
    height: auto;
    border: 3px solid #ffec71;
    border-radius: 20px;
}
.voice-img {
    width: 24%;
}

.voicelist-img img {
    border: 3px solid #ffec71;
    border-radius: 20px;
}

.recommend-list {
    max-width: 900px;
    margin: 0 auto;
}
.recommend-item.flexwrap {
    justify-content: flex-start;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    align-items: center;
}
.recommend-img {
    width: 20%;
    margin-right: 40px;
    flex-shrink: 0;
}
.recommend-img img {
    width: 100%;
    height: auto;
}

p.recommend-name {
    font-size: 1.1rem;
}
span.rn-big {
    font-size: 1.2em;
    margin-right: 4px;
    /* color: #f30f0d; */
}
span.rn-wrap {
    display: inline-block;
    /* background: pink; */
    padding: 0 10px;
    /* border-radius: 100px; */
    border-bottom: 2px solid #ee949e;
}


.rco-comment-wrap {
    position: relative;
    padding: 20px 26px;
}
.rco-comment-wrap:before {
    content: "“";
    font-size: 3rem;
    position: absolute;
    color: rgb(238 148 158);
    top: 10px;
    left: 0px;
    line-height: 1;
}
.rco-comment-wrap:after {
    content: "”";
    font-size: 3rem;
    position: absolute;
    color: rgb(238 148 158);
    bottom: -10px;
    right: 0px;
    line-height: 1;
}

#content #main p.rco-comment {
    margin-bottom: 0 !important;
    font-size: 1.1rem;
}
.recommend-body {
    padding: 0 20px;
}
.reco-box {
    margin-bottom: 100px;
}
.reco-box:last-child {
    margin-bottom: 0px;
}


.director-img img {
    border-radius: 100%;
    width: 100%;
    height: auto;
}
.director-img {
    margin-right: 40px;
    width: 240px;
    height: auto;
}
.director-flex.flexwrap {
    justify-content: left;
    align-items: center;
    margin-bottom: 30px;
}

span.dn-incho {
    background: #ee949e;
    padding: 6px 10px;
    border-radius: 100px;
    margin-right: 10px;
    font-size: 1rem;
}
p.director-name {
    font-size: 1.4rem;
    margin-bottom: 10px !important;
}
p.director-career {
    margin-bottom: 0 !IMPORTANT;
}

ul.infolist a {
    display: flex;
    text-decoration: none;
    margin-bottom: 10px;
}
span.infolist-date {
    margin-right: 20px;
    color: #309b00;
}

.director-message {
    padding: 40px 40px 20px;
    background: #fffdf0;
    border: 3px solid #feec71;
    border-radius: 30px;
position: relative;
}
.director-message p {
    font-size: 0.9rem;
}
.director-message:before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    border-style: solid;
    border-width: 0 10px 20px 10px;
    border-color: transparent transparent #feec71;
    translate: -50% -100%;
}
.director-message:after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  border-style: solid;
  border-width: 0 6.6px 13.3px 6.6px;
  border-color: transparent transparent #fffdf0;
  translate: -50% -100%;
}

.price-wrap table.tablestyle {
    margin-bottom: 20px;
}
.price-wrap table.tablestyle td.pri-t-min {
    text-align: center;
}
.price-wrap table.tablestyle td.pri-t-price {
    text-align:center;
}

.voicelist-item.flexwrap {
    justify-content: flex-start;
    margin-bottom: 30px;
}
.voicelist-img {
    width: 40%;
    margin-right: 40px;
}
.voicelist-img img {
    width: 100%;
    height: auto;
}
.voicelist-txt {
    flex: 1;
}
#content #main .voicelist-item p {
    font-size: 1.1rem;
}
#content #main .voicelist-item p.voicelist-cat {
    /* border-bottom: 2px solid #ee949e; */
    border-bottom: 3px solid #ffeb71;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 20px;
    display: flex;
    align-items: center;
}
span.w-wrap {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 10px;
    background: #ffe6e6;
    border-radius: 100px;
    line-height: 1.2;
    margin-right: 9px;
}
span.m-wrap {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 10px;
background: #dfeef9;
    border-radius: 100px;
    line-height: 1.2;
    margin-right: 9px;
}

.qr-flex.flexwrap {
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    flex-wrap: nowrap;
}
.qr-img img {
    width: 100%;
    height: auto;
}
.qr-img {
    width: 180px;
    margin-right: 40px;
    flex-shrink: 0;
}


.access-map {
    height: 420px;
    margin-bottom: 30px;
}


.infolist-wrap {
	text-align:center;
}
.archive ul.infolist li {
    font-size: 1.1em;
}
.archive ul.infolist {
    display: inline-block;
}

#ibox-in img.main-sp {
		display:none;
	}

/*コンテンツ装飾 ここまで*/



/******************************
★ Media Queries タブレット・スマフォ表示の設定(1000px以下で読み込むcss)
******************************************************************************************************************************/

@media screen and (max-width: 1000px) {
/* 構造 */

body {
    min-width: 320px;
    overflow-x: hidden;
}
body, .home {
}
.wrapper {
    z-index: 10;
    width: 100%;
}
.wrapper_head {
    margin: 0px auto;
    width: 100%;
    z-index: 1000;
    position: relative;
}
#header .header_logo img {
    margin: 0;
    width: 300px;
    height: auto;
}
header .res-wrap {
    display: none;
}
.h-sub {
    font-size: 0.8rem;
}

#submain .h1wrap {
    width: auto;
}
#content #side {/* スマホ用のサイドバー */
    display: block;
    width: 90%;
    margin: 50px auto 0;
    float: none;
    max-width: 700px;
}
#content #side h3 {
    width: 100%;
}

#catchcopy {
    padding: 10px 10px 0;
}
	
#pc-nav {
    display:none;
}

#sp-nav {
    display:block;
}
#navbutton {
        top: -10px;
        right: 20px;
    }

    
#content #main,
#content #main.main-sm {
    margin:0 auto;
    width: 94%;
    float:none;
    order: 0;
}

#submain img {
    top: -250px;
}

#content img {
    max-width: 100%;
    height: auto;
}
#content {
padding-top: 0;
    width: auto;
}
#pan {
    width: auto;
    margin-left: 10px;
}
#content .sec {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

/* ヘッダー */    
#header {
        width: 100%;
        flex-wrap: wrap;
        padding: 6px 20px 10px;
	z-index:0;
    }
#header .header_logo {
    display: block;
    position: relative;
    margin-bottom: 0;
}
.header_cta {
    width: 100%;
    justify-content: center;
    padding-top: 8px;
}
	
#pc_button {
    display: none;
}
#mobile_side {
    display: block;
    width: 100%;
    margin: 0 auto;
}
.side_area img {
    display: block;
    margin: 0 auto;
}
#mobile_side .side_area h3 {
    width: 100%;
}
/* テーブル */

.tablestyle {
    border-collapse: collapse;
    width: 100% !important;
    border-top: none;
}
.tablestyle ul {
    text-align: center;     
}   
.tablestyle .tdstyle {
    background-color: #ffffff;
    padding: 8px 10px;
    width: 100%;
    text-align: center;
    font-weight: normal;
    padding-bottom: 10px;
    border-bottom: 1px solid #d0d0d0;
}
.tdstyle2 {
    border-bottom: none;
}
/* 固定ページ */

.alignright, .alignleft, .alignnone {
    float: none;
    display: block;
    margin: 0px auto;
}
.alignright.pc_only, .alignleft.pc_only, .alignnone.pc_only { /* caption分岐の際、余白防止 */
    display: none;
}
/* コンタクトフォーム */

textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
}
.wpcf7-text {
    width: 90%;
}
.k-year .wpcf7-form-control {/*年号のテキスト*/
    width: 5rem;
}
.wpcf7 td {/* フォームの行を縦に並べる */
    display: block;
    width: 100%;
}
.wpcf7 .tdstyle {/* フォームの項目を左寄せ */
    text-align: left;
}

.footer_top {
    width: 94%;
    margin: 0px auto 20px;
    flex-direction: column;
    gap: 30px;
}
.footer_left {
    width: 100%;
    text-align: center;
}
.footer_left .footer_info {
    text-align: center;
}
.footer_right {
        width: 100%;
        flex-direction: column;
        gap: 24px;
        max-width: 640px;
        margin: 0 auto;
    }
.footer_section {
    width: 100%;
}
.footer_access {
        /* flex-direction: column; */
        justify-content: center;
        flex-wrap: wrap;
    }
.footer_access_map {
        width: 100%;
        order: 1;
        height: 300px;
    }
.footer_btm_wrap {
    width: 94%;
}

    
.footer_btm_wrap {
    width: 100%;
    float: none;
}
.footer_com {
}
#logo_footer {
    float: none;
    display: inline-block;
}

#footer .footer_btm {
    width: 100%;
    text-align: center;
}

#footermenu {
    text-align: center;
}
#copyright {
    text-align: center;
}


/*コンテンツ装飾
ここから*/
	
#ibox {
        width: 100%;
        height: 55vw;
        /* margin-bottom: 60px; */
        position: relative;
        background: no-repeat top / 180vw url(img/main-bg3.jpg);
    }
#ibox-in img {
    margin: 0px auto 5vw;
}
	
.footer_left {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
.footer_logo {
    margin-bottom: 20px;
}
.footer_cta {
    width: 100%;
    justify-content: center;
}
.footer_access_text {
    display: flex;
    order: 2;
    justify-content: center;
    align-items: center;
    margin: 0;
        gap: 20px;
}
p.address-txt1 {
    margin-bottom: 0;
}
	
#submain h1 {
    font-size: 1.8rem;
}
	
.wrap-inner {
    width: 100%;
}
#content #main h2 {
    font-size: 1.5rem;
    margin: 70px 0 30px 0;
    background-position: left top 1px;
}
	
	
ul.symptom-list li {
    line-height: 1.5;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: .9rem;
}
	
.qr-img {
    margin-right: 30px;
}
	
.director-message:before,
.director-message:after {
		left:15%;
	}
	
}/*end*/

/******************************
★ Media Queries スマフォ表示の設定(599px以下で読み込むcss)
******************************************************************************************************************************/
@media screen and (max-width: 599px) {

.sp_only {/* スマホにだけ表示させたいものに使用する */
    display: block;
}
.pc_only {/* pc・タブレットにだけ表示させたいものに使用する */
    display: none;
}

#navbutton {
        top: 5px;
        right: 6px;
    }
        
#content #main,
#content #main.main-sm {
    width: 94%;
}
#content #main h1.singletitle, #content #main h1 {
    font-size: 2rem;
}
#content #main h2 {

}
#content #main h3 {

}
#submain {
    height: auto;
}

#submain .h1wrap {
    margin: 0;
    text-align: center;
}
#submain h1 {
    font-size:2.8rem;
}
    
.footer_tel {
    padding: 10px 0;
}
.f_telbtn {
    display: block;
}
#logo_footer {
    float: none;
    text-align: center;
    display: inline-block;
}
.footer_com {
}
#footer .footer_btm {
    margin-bottom: 0px;
}
.footer_btm_wrap {
    margin-top: 0px;
    float: none;
    /*padding-top: 25px;*/
    width: auto;
}
.telnum {
    display: none;
}
#footer-nav li {
    width: 40%;
}
    
#logo_footer img {
    margin-top: 40px;
}

.two_box,.three_box,.four_box {
  width: 100%;
  float: none;
  margin: 0 auto;
}
    
a.link, a.link2 {
    width: 90%;
}

.responsedevise {
    width: 100%;

}

#main .wp-pagenavi a, #main .wp-pagenavi span {
    font-size: 0.8rem;
}
#main .wp-pagenavi a.last, #main .wp-pagenavi a.first {
    font-size: 0.6rem;
    line-height: 1.3;
}
    
/*コンテンツ装飾
ここから*/  

#catchcopy h1, #catchcopy p {
    font-size: 0.5rem;
    text-align: center;
}
	
#header {
    padding: 16px 6px 6px;
}
#header .header_logo img {
    width: 240px;
}
.header_cta {
        padding-top: 20px;
        gap: 6px;
    }
	
.cta-sub {
    font-size: 0.5rem;
}
.cta-main {
    font-size: 0.73rem;
}
.cta-btn {
    width: 33%;
    padding: 0px 10px;
    height: 40px;
    gap: 6px;
}
a.cta-btn.cta-instagram img {
    width: 12px;
    height: auto;
}
a.cta-btn.cta-line img {
    width: 19px;
    height: auto;
}
a.cta-btn.cta-reserve img {
    width: 16px;
    height: auto;
}
	
#ibox {
    height: auto;
    background: none;
        margin-bottom: 60px;
}
#ibox-in img {
    width: 100%;
    margin: 0;
    padding: 0;
	}
	
#ibox-in img.main-pc {
		display:none;
	}
#ibox-in img.main-sp {
		display:block;
	}
	
#content #main h2 {
    font-size: 1.3rem;
    background-size: 10px;
    padding: 6px 10px 0 30px;
    background-position: left top 0px;
}
#content #main h3 {
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0 0 16px;
    background-size: 580px;
}
	
.cause-img {
    /* flex: 1; */
    width: 50%;
    margin: 0 auto 20px;
}
.cause-txt {
    width: 100%;
}
#content #main p {
    line-height: 1.8;
}
	
.aicheck-img {
    order: 1;
    width: 50%;
    margin: 0 auto 20px;
}
.aicheck-txt {
    order: 2;
    margin: 0;
}
.aicheck-caption-wrap {
    order: 3;
}
	
ul.aicheck-list li {
    font-size: 1.1rem;
    line-height: 1.5;
}
ul.aicheck-list li:before {
    top: 3px;
}
ul.aicheck-list li:after {
    top: 4px;
}
.aicheck-caption-wrap {
    order: 3;
    margin-top: 0;
    padding: 10px 20px;
}
.aicheck-caption-wrap p {
    flex-wrap: wrap;
    font-size: 0.8rem;
}
span.ac-shorei {
    font-size: 0.8rem;
    margin-bottom: 4px;
}
	

ul.symptom-list {
    grid-template-columns: 1fr 1fr;
}
	
.btn-b a {
    padding: 13px 34px 14px;
    font-size: 1rem;
}
.btn-b a:after {
    right: 18px;
}
	
.voice-imgs.flexwrap {
    gap: 10px;
    justify-content: center;
}
.voice-img {
    width: 47%;
}
	
.recommend-img {
    margin-right: 20px;
}
p.recommend-name {
    line-height: 1.6 !important;
    font-size: 1rem;
}
span.rn-wrap {
    margin-top: 2px;
}
span.rn-big {
    font-size: 1.1em;
}
.recommend-item.flexwrap {
    align-items: flex-start;
}
#content #main p.rco-comment {
    font-size: 1rem;
    line-height: 1.6;
}
.rco-comment-wrap {
    position: relative;
    padding: 20px 18px;
}
.rco-comment-wrap:before,.rco-comment-wrap:after {
    font-size: 2rem;
}
	
.director-flex.flexwrap {
    justify-content: center;
}
    .director-img {
margin: 0 0 18px;
        width: 100%;
	}
	.director-img img {
    width: 220px;
    margin: 0 auto;
    display: block;
}
p.director-career {
    text-align: center;
}
p.director-name {
        /* line-height: 1 !IMPORTANT; */
        display: flex;
        align-items: center;
        margin-bottom: 3px !important;
    }
span.dn-incho {
    line-height: 1;
    font-size: 0.9rem;
}
.footer_cta {
    gap: 6px;
}
.footer_left {
    margin-bottom: 0;
}
	
ul#pc-f-nav {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* display: flex; */
    margin: 0 10px;
}
ul#pc-f-nav li {
    width: auto;
    margin: 0;
    padding: 7px 2px 7px 18px;
}
	
.footer_section_ttl {
    margin-bottom: 18px;
}
.footer_section {
    margin-bottom: 20px;
	}
	
#submain h1 {
    font-size: 1.5rem;
}
	
#content #main section:first-child h2:first-child {
        margin-top: 30px;
    }
	
.tablestyle th {
    padding: 20px;
    line-height: 1.6;
    font-size: 0.9rem;
}
.tablestyle td {
    padding: 20px;
    font-size: 0.9rem;
}
.price-wrap table.tablestyle td.pri-t-price {
    /* padding-left: 0;*/
}
.price-wrap .tablestyle th {
        width: 50%;
        /* font-size: 0.8rem; */
        padding-right: 10px;
        text-align: left;
    }
	
.hosoku {
    /* line-height: 1.4 !important; */
    display: inline-block;
}
	
.voicelist-item.flexwrap {
    flex-wrap: wrap;
}
.voicelist-img {
    width: 80%;
    margin: 0 auto 0;
}
.voicelist-txt {
    flex: none;
    width: 100%;
    padding: 0 20px;
}
	
#content #main p.voicelist-cat {
        margin-bottom: 12px;
        font-size: 1.13rem;
        justify-content: center;
        padding-bottom: 0px;
        border-bottom: none;
    }
	
.qr-img {
    display: none;
}
	

#content #main .cta-btn {
    width: auto;
}
#content #main .cta-main {
    font-size: 1rem;
}
#content #main .cta-btn {
    width: auto;
    padding: 20px;
    height: 48px;
    gap: 8px;
}
#content #main .cta-sub {
        font-size: 0.7rem;
    }
	
#content #main a.cta-btn.cta-line img {
    width: 22px;
}
#content #main a.cta-btn.cta-reserve img {
        width: 20px;
        height: auto;
    }
#content #main a.cta-btn.cta-instagram img {
        width: 16px;
        height: auto;
    }
	
.access-wrap .tablestyle th {
    width: 107px;
}
.access-wrap .tablestyle td {
    text-align: left;
}
	
.director-message:before,
.director-message:after {
		left:50%;
	}
	
.director-message {
    padding: 30px 30px 10px;
}
.director-message p {
    font-size: 0.8rem;
}
	
p.cause-ai {
        font-size: 1.2rem;
        line-height: 1.6 !important;
        border: 2px solid #ef949e;
        padding: 20px ! IMPORTANT;
        /* background: #fff9d1; */
    }
span.ca-under-line {
    border-bottom: none;
}
	
}/*end*/
