@charset "utf-8";

/*
 * スマホ用スタイルCSS
 */



/* ===================================================================================================================
   ■共有
------------------------------------------------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}
/* リンク */
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: underline;
}


/* ロゴの上下余白調整 */
#h1_teaser_image {
  margin: 0;
}

/* fixする場合
#h1_teaser_image {
  position: fixed;
  top: 0;
  z-index: 1000;
}
#main {
  margin-top: calc(20px + 12.5%)(ハンバーガーメニューの高さ);
  overflow: hidden;
}*/

/* TOP ロゴ非表示 */
#page-6 #h1_teaser_image {
  height: 0 !important;
  background-image: none !important;
}

/* ページ送り */
.tablenav {
  clear: both;
}

.sp_gallery {
  text-align: center;
}
.sp_gallery img {
  max-width: 100%;
  width: auto;
}
.img_border {
  border: 0 none;
}

/* ===================================================================================================================
   ■ナビ
------------------------------------------------------------------------------------------------------------------- */
/* メニューON時　メニューの文字色変更 */
#Side .xoxo li .menu-item a {
  color: #ffffff !important;
}

/* ブログ下部 ブログメニュー部分　文字色変更 */
#primary ul.xoxo li ul li a {
  color: #ff0000 !important;/* 全体のリンクカラー */
}
/* ブログ下部 ブログメニュー部分　下線色変更 */
#Side .xoxo li .menu-item a,
#primary ul.xoxo li ul li {
  border-color: #666666 !important;/* 全体のボーダーカラー */
}
#rSide_wrap {
  background: none transparent !important;
}
#calendar_wrap table tr td a {
  text-decoration: underline;
}
#calendar_wrap table tr td a:hover {
  text-decoration: none;
}
#calendar_wrap table tr td#today,
#calendar_wrap table tr td#today a {
  color: #ffffff;
}/* fffか333かサイト背景色 */

#searchform input[type="text"] {
  max-width: 77%;
}

/* SPメニュークリックで一番上にスクロールさせない */
.scroll-prevent {
  position: static !important;
  overflow: hidden !important;
}
#Side_wrap,
#rSide_wrap,
#Side {
  height: 100% !important;
}

/* ===================================================================================================================
   ■見出し
------------------------------------------------------------------------------------------------------------------- */
/*中ページ ページタイトル*/
#naka_page_title {
    margin: 0 0 1em;
}
#naka_page_title h1 {
  background: #ac190d;
  color: #fff;
  padding: 1em 5%;
}

* .headline_title {
  padding-top: 14vw;
}
* .entry_title {
  text-align: left;
  background-position: center bottom!important;
}
* .widget-title, * .widget-title2, .top-back.unity_title {
  text-align: left;
  background-position: center bottom!important;
}
* .sub_post_title {
  text-align: left;
  background-position: left top!important;
}

* .pageback a,
* .permalink_in a,
* .inline_title,
* small a {
  text-align: center;
  border: none;
}

/* ページ送りのボタン */
.tablenav .page-numbers {
  border-color:#666666;
  background: none transparent!important;
}

/* ===================================================================================================================
   ■ブロック
------------------------------------------------------------------------------------------------------------------- */
th,
td {
  vertical-align: top;
  white-space: initial !important;
}

.mobile_e1 .icon_list_block {
  box-sizing: border-box;
  width: 100%;
}
.mobile_e1 .entry_post:not(:last-of-type) .icon_list_block {
  padding-bottom: 0 !important;
}

.img_thumb,
.column_1,
.column_2,
.column_3,
.column_4 {
  text-align: center;
}
.img_thumb img,
.column_1 img,
.column_2 img,
.column_3 img,
.column_4 img {
  max-width: 100%;

/*width: auto;*/
  vertical-align: top;
}

.menu_area td,
.menu_td_text,
.bottom_border {
  /* Dブロック　メニュー部点線 */
  border-color: #666666 !important;
}
.menu_area td,
.menu_td_text {
  vertical-align: top !important;
}

.flow_arr {
  background-size: contain !important;
}

/* K-01、K-02 メール投稿ブロック */
.k_01 .content_area,
.k-02 .content_area {
  line-height: 2;
}

/* Z-J スライドショー */
.z_j1 {
  margin: 0 0 20px;
}

.gallery_box {
  display: inline-block;
  width: 100%;
  height: auto;
}

.j_01 .sub-post {
  margin: 0 10px 20px;
}
.j_01 .content_area .sub-post {
  margin: 0;
}

.z_d1 {
  overflow-x: hidden;
  overflow-y: scroll;
  margin-bottom: 20px;
  max-height: 75vh;
}

/* 必須項目 */
.iqfm-req_color {
  display: block;
  color: #ff0000;
}
/* メール送信後メッセージボックスのボーダー（デフォルト：グリーン） */
div.wpcf7-mail-sent-ok {
  border-color: #666666 !important;
}

/* お問合せフォーム整形 */
table.iqfm-table {
  margin: 0 auto 1em;
}
table.iqfm-table th,
table.iqfm-table td {
  vertical-align: middle !important;
  white-space: normal !important;
}
table.iqfm-table td {
  min-width: 16em;
}
table.iqfm-table td span.wpcf7-list-item {
  display: block;
  margin: 0;
}
input[type="text"],
input[type="email"],
textarea {
  width: 95%;
}
table.iqfm-table td input[type="text"]:not([size]) {
  width: 96%;
}
table.iqfm-table td input[type="text"][size="4"] {
  width: 4em;
}

/* プライバシーポリシー整形 */
.privacy_block strong {
  font-size: 130%;
  line-height: 2;
}
.privacy_block ul li {
  margin: 0 0 0 20px;
  padding: 0;
  list-style: square outside none;
  line-height: 1.7;
}

.z_g1 .content_area {
  box-shadow: none;
}

/* テーブルブロックのはみ出し禁止 */
.z_g1 .column1,
.z_g1 .column2,
.z_g1 .column3,
.z_g1 .column4 {
  vertical-align: top;
  text-align: left;
  white-space: normal !important;
  word-break: break-all;
}

/* テーブルセルの最小幅設定 */
.menu_area td:before,
.menu_td_text:before,
td.td_name:before,
.z_g1 .column1:before,
.z_g1 .column2:before,
.z_g1 .column3:before,
.z_g1 .column4:before {
  display: block;
  min-width: 4em;
  content: "";
}

#nav-below div a {
  background-size: cover !important;
}

.category-blog .entry-content img:not([src*="wp-social-book"]) {
  max-width: 100%;
  width: auto !important;
  height: auto !important;
}


.entry-content img.alignnone,
.entry-content img.aligncenter,
.entry-content img.alignright,
.entry-content img.alignleft,
.entry-content .photo img {
  min-width: 0;
  max-width: 80%;
  width: auto;
}
.entry-content .alignleft {
  text-align: left;
}
.entry-content .aligncenter {
  text-align: center;
}
.entry-content .alignright {
  text-align: right;
}

/*テーブル設定*/
.iqfm-table tr th {width: 25%;}
.iqfm-table tr th, .iqfm-table tr td, td.td_name, td.td_value,
td.coupon_meta_title, td.coupon_meta, td.coupon_data {box-sizing: border-box;}
.easys_content:not(.ne_01) table:not(#wp-calendar) tr > * {
  border: solid 1px#4e4e4e;
  border-top: none !important;
  border-right: none !important;
  background: none transparent !important;
}
.easys_content:not(.ne_01) table:not(#wp-calendar) tr > *:first-child {
  border-left: none !important;
}
.easys_content:not(.ne_01) table:not(#wp-calendar) tr:first-child > * {
  border-top: none !important;
}
.easys_content:not(.ne_01) table:not(#wp-calendar) tr:last-child > * {
  border-bottom: none !important;
}
.z_m1 {
  margin: 0 10px 10px;
}


#video_teaser_sp,
#jquery_slider_sp {
   margin: 0;
   font-size: 0;
  }


/*  メニューアイコン
---------------------------------------------------------------------------------------------------- */
/* ハンバーガーメニューアイコン */
#float_header #btn_menu {
    top: 20px;
    right: 20px;
    width: 12.5%;
    height: auto;
  }
  /* アクセスマップボタン */
  #float_header #menu_access_btn {
    top: 20px;
    right: calc(20px + 12.5%);/* 12.5％=ハンバーガーメニューの横幅 */
    width: 12.5%;
    height: auto;
  }
  /* メニュー左上のロゴの位置
    ※ハンバーガーメニューのtop指定と同じ値を入れる */
  #menu-sp_side {
    background-position: center 20px;
  }

/*  scrollfooter（最下部固定 お問い合わせ･TELボタン）
     ※画像差し替えはFTPにてそれぞれ上書き
---------------------------------------------------------------------------------------------------- */
body.has_scroll_footer {padding: 0 0 17.5vw;}
.scroll_footer ul {background: none transparent;}
.scroll_footer,
.scroll_footer ul {height: 17.5vw;}
.scroll_footer ul li {width: 50%; height: 17.5vw;}
.scroll_footer ul li.footer_tel_link {left: 0;}/*TELボタン*/
.scroll_footer ul li.footer_contact_link {right: 0;}/*contactボタン*/


/*  その他
---------------------------------------------------------------------------------------------------- */
#foot #copy {
    background: none;
  }
/*  ローディング画面
---------------------------------------------------------------------------------------------------- */
.black-screen {
  background-color: #000000;
}

.black-screen > .inner {
  top: calc(50vh - (5vw / 2));
  width: 3vw;
  height: 3vw;
  background-image: url("/files/loading.svg");
}

/*  地図
---------------------------------------------------------------------------------------------------- */
#map_canvas {
  width: 100%;
  height: 450px;
}

/*  googleカレンダー
---------------------------------------------------------------------------------------------------- */
.z_h1 iframe[src^="https://calendar.google.com"] {
    display: block !important;
    margin: 0 0 20px;
    max-width: 100%;
    width: 1000px !important;
    height: 500px;
    border: none !important;
  }

/* Contact Form 7 　バグ対応
---------------------------------------------------------------------------------------------------- */
input[type="tel"].wpcf7c-conf {
    min-width: 4em;
  }

/*  ビフォーアフター調整
---------------------------------------------------------------------------------------------------- */
.before_after_block{
  width: 100%;
  padding: 0;
  background-size: 100% auto;
background-position: center center;
}

/*お問い合わせフォーム送信後
---------------------------------------------------------------------------------------------------- */
div.wpcf7-mail-sent-ok {
  border: 2px solid #333!important;/* 任意の色 */
}


/*  トップページ
---------------------------------------------------------------------------------------------------- */

.grecaptcha-badge { visibility: hidden; }

#us7cauzvxmrhewmncgjf .content_area,
#hksir24tqitjhxv3nvlr .content_area,
#hltbvmox4fu6bcpge295 .content_area{
    margin: 0;
}

#jquery_slider_sp {
position: relative;
margin: 0px; 
}
#jquery_slider_sp:before{
content: '';
display: block;
position: absolute;
z-index: 100;
width: 100%;
height: 100%;
background: url(/files/ps_branding_box.png) no-repeat top center/100%;
}