@charset "utf-8";
/* CSS Document */
@media (min-width: 641px) and (max-width: 1024px) {
  body,
  .nav_wrap.fixed,
  .mainvisual_wrap,
  #mainvisual,
  header,
  footer {
    min-width: 1300px;
  }

  .tgl_menu_list ul li.nav_mega_menu .mega_menu_wrap {
    width: 1300px;
  }
}

@media screen and (max-width: 640px) {
  body {
  }

  body,
  .nav_wrap.fixed,
  #mainvisual .inner,
  header,
  footer {
    min-width: 100%;
  }

  /* ナビ展開時スクロール禁止処理 */
  body.nav-open {
    overflow: hidden !important;
  }

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

  header

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

  header {
    display: none;
  }

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

  nav

============================================================================*/
  .nav_wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #353535;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    min-width: 100%;
  }
  .nav_wrap .sp_logo {
    width: calc(100% - 55px);
  }
  .nav_wrap .sp_logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 55px;
    padding: 5px 20px;
  }
  .nav_wrap .sp_logo img {
    width: auto;
    max-height: 100%;
  }

  /* ------- ハンバーガーボタン ------- */
  .btn_menu {
    position: relative;
    right: 0;
    color: #fff;
    width: 55px;
    background: var(--main-color);
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
    transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .btn_menu i {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    margin: auto;
    font-style: normal;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.1em;
  }
  .btn_menu span {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 35px;
    height: 2px;
    background: #fff;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 1;
  }
  .btn_menu span:nth-of-type(1) {
    top: 10px;
  }
  .btn_menu span:nth-of-type(2) {
    top: 20px;
  }
  .btn_menu span:nth-of-type(3) {
    top: 30px;
  }

  /* MENUボタン押下時 */
  .btn_menu.active {
    right: 19.25rem;
  }

  .btn_menu.active span:nth-of-type(1) {
    top: 20px;
    transform: rotate(225deg);
  }

  .btn_menu.active span:nth-of-type(2) {
    opacity: 0;
  }

  .btn_menu.active span:nth-of-type(3) {
    top: 20px;
    transform: rotate(-225deg);
  }

  /* ------- スライドメニュー ------- */
  .menu_list_wrap {
    width: 19.25rem;
    height: 100%;
    transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    background: var(--main-color);
    padding: 15px;
    position: fixed;
    top: 0;
    right: -19.25rem;
    z-index: 2;
    overflow: hidden;
  }
  /* 展開時 */
  body.nav-open .menu_list_wrap {
    overflow-y: scroll;
    overscroll-behavior-y: none;
    right: 0;
  }

  .menu_list_wrap,
  .menu_list_wrap a {
    color: #fff;
  }
  .menu_list_wrap a {
    display: block;
  }
  .nav_menu > li {
    border-bottom: 1px solid #fff;
  }
  .nav_menu > li:first-child {
    border-top: 1px solid #fff;
  }
  .nav_menu .nav_menu_tit,
  .nav_menu .parent_menu {
    padding: 15px 10px;
  }

  .nav_menu .nav_menu_tit.insta-icon{
	display: flex;
    align-items: center;
	}
	
  .nav_menu .nav_menu_tit.insta-icon img{
	padding-right: 3px;
	}	
	
  .nav_menu .nav_menu_en {
    display: none !important;
  }

  /* ------- 下層のあるメニュー ------- */
  .nav_menu .child_menu {
    padding-left: 15px;
    padding-bottom: 10px;
  }
  .nav_menu .child_menu a {
    padding: 5px 10px 5px 1.2em;
    text-indent: -1.2em;
  }
  .nav_menu .child_menu a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    margin-right: 10px;
  }
  .child_menu .nav_arrow {
    display: none !important;
  }

  /* アコーディオンやメガでない時に、展開中に含まれる扉ページのリンクを非表示 */
  .nav_menu .nav_slidebtm:not(.is_accord, .is_mega) .child_menu a.sp:first-of-type {
    display: none !important;
  }

  /* アコーディオン&メガメニュー */
  .nav_slidebtm.is_accord,
  .nav_slidebtm.is_mega {
    cursor: pointer;
  }
  .nav_slidebtm.is_accord .parent_menu,
  .nav_slidebtm.is_mega .parent_menu {
    position: relative;
  }
  .nav_slidebtm:not(.is_accord, .is_mega) .parent_menu:not(.nav_menu_tit) {
    display: none;
  }
  .nav_slidebtm.is_accord .parent_menu::before,
  .nav_slidebtm.is_mega .parent_menu::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f067";
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    border: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }
  .nav_slidebtm.is_accord > a.nav_menu_tit,
  .nav_slidebtm.is_mega > a.nav_menu_tit {
    display: none;
  }
  .nav_slidebtm.is_accord .child_menu,
  .nav_slidebtm.is_mega .child_menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  }

  /* アコーディオン&メガメニュー展開時 */
  .nav_slidebtm.is_accord.active .parent_menu::before,
  .nav_slidebtm.is_mega.active .parent_menu::before {
    content: "\f068";
  }
  .nav_slidebtm.is_accord.active .child_menu,
  .nav_slidebtm.is_mega.active .child_menu {
    opacity: 1;
    visibility: visible;
  }

  /* ------- メガメニュー ------- */
  .mega_menu_ttl {
    display: none !important;
  }

  /* ヘッダー固定ボタンエリア */
  .btn_area {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
  }

  .btn_area ul {
    display: flex;
    background: #fff;
    padding: 5px 2.5px;
  }

  .btn_area li.btn {
    width: 100%;
    margin: 0 2.5px;
  }

  .btn_area li.btn a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 10px 2%;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .btn_area li.btn a i {
    width: 15px;
    margin-right: 3px;
  }

  .btn_area li.btn_tel a {
    /* background: var(--main-color); */
    background: linear-gradient(135deg, #553c31 0%, #7a5e49 50%, #bfa18f 100%);
  }
	
  .btn_area li.btn_yoyaku {
    flex-basis: 50%; 
  }
	
  .btn_area li.btn_access {
    flex-basis: 35%; 
  }
	
  .btn_area li.btn_sns {
    flex-basis: 15%; 
  }

  .btn_area li.btn_yoyaku a {
    /* background: var(--main-color); */
    background: linear-gradient(135deg, #553c31 0%, #7a5e49 50%, #bfa18f 100%);
	flex: 2;
  }

  .btn_area li.btn_monshin a {
    background: #00a3bb;
  }

  .btn_area li.btn_access a {
    /* background: var(--main-color); */
    background: linear-gradient(135deg, #553c31 0%, #7a5e49 50%, #bfa18f 100%);
  }
	
  .btn_area li.btn_sns a {
    /* background: var(--main-color); */
    background: linear-gradient(135deg, #553c31 0%, #7a5e49 50%, #bfa18f 100%);
  }

  /* 準備中用のクラス */
  .btn_area li.btn.coming a {
    background: #aaa !important;
  }

  .btn_area li.btn.coming a {
    pointer-events: none;
    padding: 2px 2% 18px;
  }

  .btn_area li.btn.coming a::before {
    content: "（準備中）";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-size: 90%;
  }

  .btn_area li.btn a[href="tel:準備中"] {
    pointer-events: none;
    padding: 2px 2% 18px;
    background: #aaa;
  }
  .btn_area li.btn a[href="tel:準備中"]::after {
    content: "（準備中）";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-size: 90%;
  }

  /* ナビ展開時の後ろの背景 */
  .nav_overlay {
    display: none;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
  }
  body.nav-open .nav_overlay {
    display: block;
    opacity: 1;
    visibility: visible;
  }

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

#mainvisual

============================================================================*/
  /* 共通 */
  #mainvisual {
    background-attachment: scroll;
    margin-top: 55px;
  }

  #mainvisual .inner {
    width: auto;
    height: inherit;
  }

  /* 下層 */
  /* 見出し */
  .mainvisual_headline p.headline {
    font-size: 22px;
  }

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

#contents

============================================================================*/
  #container {
    padding-top: 0;
    font-size: 1.5rem;
    letter-spacing: 0;
    padding-bottom: 60px;
  }
  .box1 {
    width: auto;
    margin: 0 5% 50px;
  }

  .box2 {
    width: auto;
    margin: 0 6% 80px;
  }

  #contents {
    width: auto;
  }

  #contents_left {
    width: auto;
    float: none;
    margin-right: 0;
  }

  #contents_right {
    width: auto;
    padding: 0 6%;
    float: none;
  }

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

footer

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

  .footer_info {
    display: block;
    width: 90%;
    margin: auto;
  }
  .footer_info_logo {
    width: 90%;
    margin: 0 auto 35px;
  }
  .footer_info_sche {
    width: 100%;
  }
  .footer_info_left,
  .footer_info_right,
  .footer_info_detail {
    width: 100%;
  }
  .footer_info_detail_item span {
    position: static !important;
    display: block;
    line-height: 1;
    text-align: center !important;
    margin-bottom: 10px;
  }
  .footer_info_detail_item.item_align_left {
    padding-left: 0;
  }
  .footer_info_detail_item {
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center !important;
  }
  .footer_info_detail_item.item_text {
    margin-bottom: 25px;
  }
  .footer_access_list {
    display: block;
    margin-top: 30px;
  }
  .footer_access_item {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
  }
  .footer_access_item_tit {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .footer_access_item_text {
    font-size: 1.5rem;
  }
  .copy {
    margin-top: 35px;
    padding-bottom: 40px;
  }

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

$breadcrumbs ぱんくず

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

  .breadcrumbs {
    width: 90%;
    margin: 0 5% 40px;
  }

  .breadcrumbs li {
    display: inline-block;
  }

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

$共通

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

  #contents {
    padding-bottom: 70px;
  }

  .box {
    width: auto;
    padding: 0 6% 8%;
  }

  .text {
    float: none;
    width: auto;
    padding: 0;
    border: none;
  }

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

$見出し

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

  h1 {
    font-size: 12px;
    width: auto;
    padding: 5px 15px;
    text-align: center;
    position: static;
    margin-top: 0 !important;
  }

  .tit01,
  .tit02,
  .tit03,
  .tit04 {
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
  }

  .tit02::before {
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 40px;
    height: 57px;
    background-image: url(../images/tit02_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .nowrap {
    white-space: normal;
  }

  /* テーブル */
  .tb01 {
    white-space: inherit;
  }

  .tb01 th {
    width: 30%;
    font-size: 14px;
  }

  .tb01 td {
    font-size: 14px;
    text-align: center;
  }

  .tb03,
  .tb03 th {
    white-space: inherit;
  }

  .tb03.w075par {
    width: 100%;
  }

  /* 縦積みにした時 */
  .tb03.ver th,
  .tb03.ver td {
    display: block;
    width: 100%;
  }

  .tb03.ver td {
    border-top: none;
  }

  .tb03.ver th:not(:first-child) {
    border-top: none;
  }

  /* 横スクロール */
  .scroll_tb {
    overflow-x: scroll;
  }

  .scroll_tb table {
    width: 816px;
  }

  .scroll_tb table th {
    position: sticky;
    left: 0;
  }

  .scroll_tb table th::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border: 1px solid var(--border-color);
  }

  .tb04,
  .tb04 th {
    white-space: normal;
  }

  .tb04 th {
    font-size: 13px;
  }

  .tb04 td,
  .tb04 th {
    padding: 2%;
  }

  /* ボタン */
  .btn01 a {
    display: block;
  }

  /* アンカーリンク */
  .ank02 {
    width: 100%;
  }

  .ank02 li {
    width: 100%;
  }

  .ank03 {
    width: 100%;
  }

  .ank03 li {
    width: 100%;
  }

  .ank04 {
    width: 100%;
  }

  .ank04 li {
    width: 100%;
  }

  /* 画像右寄せ */
  .img_fr {
    float: none;
    margin-left: 0;
    text-align: center;
    max-width: 100%;
  }

  .img_fr img {
    margin-bottom: 15px;
  }

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

$medical

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

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

$contact

============================================================================*/
  .contact th,
  .contact td {
    display: block;
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--main-color);
    padding: 10px 5%;
  }

  .contact tr:last-child td {
    border-bottom: none;
  }

  .contact input[type="date"] {
    display: block;
    margin-bottom: 10px;
  }

  .contact select {
    display: block;
    margin-bottom: 20px;
  }

  .submit_btn input {
    max-width: 110px;
  }

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

.layout

==================================================================*/
  .layout_tit {
    font-size: 18px;
  }

  .layout_tit em {
    font-size: 24px;
  }

  /* 1つ並びのレイアウト。画像は無し、左にタイトル、右に文章 */
  .layout01 .layout01_box {
    display: block;
  }

  .layout01 .layout01_title {
    width: 100%;
  }

  .layout01 .layout01_text {
    width: 100%;
  }

  .layout01 .layout01_text img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  /* 2つ並びのレイアウト。最初(dt)にタイトル、画像がその下(dd)、画像の下に文章 */
  .layout02 {
    display: block;
  }

  .layout02 .layout02_box {
    width: 100%;
  }

  .layout02 .layout02_box img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  /* 1つ並びのレイアウト。画像が左、右にタイトル、タイトル下に文章 */
  .layout03 {
    margin: 0 0 15px;
  }

  .layout03 .layout03_box {
    display: block;
  }

  .layout03 .layout03_title {
    width: 100%;
  }

  .layout03 .layout03_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
    padding: 0;
  }

  .layout03 .layout03_text {
    width: 100%;
    padding: 15px 3% 1%;
  }

  /* 1つ並びのレイアウト。画像が左、右にタイトル、タイトル下に文章、タイトルと文章のエリア(dd)は背景色が別の色 */
  .layout04 .layout04_box {
    display: block;
  }

  .layout04 .layout04_title {
    width: 100%;
    padding: 2%;
  }

  .layout04 .layout04_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout04 .layout04_text {
    width: 100%;
  }

  /* 1つ並びで3列に区切られたレイアウト。画像が左、画像の下にタイトル、右に文章 */
  .layout05 .layout05_box {
    display: block;
  }

  .layout05 .layout05_title {
    width: 100%;
    text-align: center;
    display: block;
    margin-bottom: 10px;
  }

  .layout05 .layout05_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout05 .layout05_text1 {
    padding-bottom: 0;
    padding-top: 0;
  }

  .layout05 .layout05_text1:not(:last-child) {
    margin-bottom: 15px;
  }

  .layout05 .layout05_text1:nth-child(2) {
    width: 100%;
  }

  .layout05 .layout05_text1:nth-child(3) {
    width: 100%;
    border-left: none;
  }

  /* 1つ並びで3列に区切られたレイアウト。左がタイトル、真ん中と右に文章 */
  .layout06 {
    margin: 0 0 15px;
  }

  .layout06 .layout06_box {
    display: block;
  }

  .layout06 .layout06_title {
    width: 100%;
    padding: 3%;
    display: block;
    text-align: center;
  }

  .layout06 .layout06_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  /* 数字 */
  .layout06 .layout06_text1:nth-child(2) {
    width: 100%;
    margin-top: 10px;
  }

  .layout06 .layout06_text1:nth-child(3) {
    width: 100%;
    border-left: none;
  }

  /* 3つ並びのレイアウト。 */
  .layout07 {
    display: block;
  }

  .layout07 .layout07_box {
    display: block;
    width: 100%;
  }

  /* layout09 */
  .layout09 .layout09_box {
    display: block;
  }

  .layout09 .layout09_title {
    width: 100%;
    text-align: center;
    display: block;
  }

  .layout09 .layout09_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout09 .layout09_text1 {
    width: 100%;
    margin-top: 10px;
  }

  /* layout10 */
  .layout10 .flow_box {
    justify-content: space-between;
    padding: 6%;
  }

  .layout10 .flow_box::before {
    display: none;
  }

  .layout10 .flow_box .number {
    width: 42px;
    height: 42px;
    margin-right: 0;
    font-size: 20px;
  }

  .layout10 .flow_box .layout10_box {
    width: 80%;
  }

  .layout10 .flow_box .layout10_text .title {
    font-size: 14px;
    line-height: 1.4;
  }

  .layout10 .flow_box .layout10_text .title span {
    display: block;
    padding-bottom: 8px;
    font-weight: bold;
  }

  .layout10 .flow_box .layout10_text .title span::after {
    display: none;
  }

  .course_ablation::before {
    display: none;
  }

  /* layout11 */
  [class^="layout11_text"] dl dt,
  [class^="layout11_text"] dl dd {
    margin-left: 0;
    width: 100%;
  }

  [class^="layout11_text"] dl dt {
    margin-bottom: 0;
  }

  [class^="layout11_text"] dl dd {
    margin-bottom: 10px;
  }

  .layout11_image02 {
    flex-wrap: wrap;
  }

  .layout11_image02 span {
    width: 100%;
  }

  .layout11_image02 span:last-child {
    margin-top: 40px;
  }

  .layout11_image02 span:last-child::before {
    top: -32px;
    bottom: auto;
    left: 0;
    right: 0;
    justify-content: center;
    content: "\f078";
  }

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

$mpcloud_schedule

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

  #mpcloud_schedule {
    width: 100%;
    right: 0;
    left: 0;
    border-radius: 0;
  }

  .time_close {
    right: 20px;
    font-size: 17px;
  }

  .schedule_time {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .schedule_time dt {
    width: 35%;
    margin-bottom: 5px;
  }

  .schedule_time dd {
    width: 65%;
    margin-bottom: 5px;
  }

  .schedule_time dd i {
    margin: 0 3px 0 15px;
    vertical-align: text-bottom;
  }

  /*common*/
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  .pc_inline {
    display: none !important;
  }
  .sp_inline {
    display: inline !important;
  }
  .pc_table {
    display: table !important;
  }
  .sp_table {
    display: table !important;
  }
  .sp_mb00 {
    margin-bottom: 0 !important;
  }
  .sp_mr00 {
    margin-right: 0 !important;
  }
  .sp_ml00 {
    margin-left: 0 !important;
  }
  .sp_mt00 {
    margin-top: 0 !important;
  }
  .sp_pb00 {
    padding-bottom: 0 !important;
  }
  .sp_pr00 {
    padding-right: 0 !important;
  }
  .sp_pl00 {
    padding-left: 0 !important;
  }
  .sp_pt00 {
    padding-top: 0 !important;
  }
  .sp_center {
    text-align: center;
  }
}

@media screen and (max-width: 320px) {
  .main_open {
    position: absolute;
    top: auto;
    bottom: 50px;
    right: 0;
    left: 0;
    width: 50%;
    margin: auto;
  }

  .sp_inline_iP {
    display: inline !important;
  }
}
