/*###################################################
#     メイン
###################################################*/

html,body {
  background-color: #f8f9fa;
  background-image: linear-gradient(to bottom, #301123, #f8f9fa);
  background-repeat: no-repeat;
}

main {
  background-color: #f8f9fa;
}

body .card {
  background-color: #ffffff;
}
body .card-body {
  background-color: #ffffff;
  border-radius: 15px;
}

h1.page-header {
  border: none;
}

/*###################################################
#     編集画面
###################################################*/

.page-node-type-pickup-user #content-top h1.page-header,
.page-node-type-schedule #content-top h1.page-header {
  font-family: sans-serif;
  font-size: 18px;
  font-weight: normal;
}

.node-schedule-form input.form-date {
  font-size: 24px;
}

.node-schedule-form input#edit-field-welcome-message-0-value {
  font-size: 18px;
  word-wrap: break-word;
}

.node-schedule-form label {
  font-size: 18px;
  font-weight: normal;
}

.field--name-field-user label.control-label {
  font-size: 16px;
}

.field--name-field-user .field--name-field-user .form-checkboxes input[type=checkbox] {
  transform: scale(1.2);
}

body .view-schedule h4 {
  font-size: 120%;
}

body .view-schedule h3 small {
  color: #888;
}

a.list-group-item.today {
  border: 1px #428bca solid;
  border-bottom: 2px #428bca solid;
}

/*###################################################
#     色指定
###################################################*/

/* メインカラー　#3f1b2c */

/* 薄いメインカラー #6a4b5a */

/* 背景色 #f3f4f8 */

/* ナビバーの茶色 #a36b46 */

#content-top {
  background: #f3f4f8;
}

.list-group-item.active {
  background: #3e132f;
  border-color: #3e132f;
}

.list-group-item.active:hover,
.list-group-item.active:active,
.list-group-item.active:visited {
  background: #3e132f;
  border-color: #3e132f;
}

/* ナビバー */

#navbar .nav li a {
    color: #a36b46;
}

#navbar .nav li a.is-active {
    border-bottom: 1px solid #a36b46;
}

#navbar,
#navbar .nav li a.is-active,
button.navbar-toggle span.icon-bar,
button.navbar-toggle {
    background: #fff;
}

a.name.navbar-brand,
a:hover.name.navbar-brand,
button.navbar-toggle span.icon-bar {
    color: #fff;
}

.navbar-header {
    background: #301123;
    border: none;
}

/* 電話番号 */

#telnumber a {
    color:#6a4b5a;
    font-size:26px;
    line-height: 1.4em;
    text-decoration: none;
}

#telnumber span {
    color:#999;
    font-size: 12px;
    line-height: 38px;
}

/*###################################################
#     メインコンテナ main container
###################################################*/

/*###################################################
#     フッター footer
###################################################*/

footer, footer.footer {
  border-top: 1px solid #ddd;
  background-color: #f8f9fa;
}

.footer h2.block-title {
  font-size: 18px;
}

footer.footer ul.menu li a {
  text-decoration: none;
  color: #666;
}

footer ul.caution li  {
  list-style-type: none;
  text-indent: -1.0em;
  line-height: 1.8em;
  text-align:justify;
  text-justify:inter-character;
  font-size: 0.85rem;
}

footer ul.caution li:before  {
  content: "※";
}

/*###################################################
#    ナビバー navbar
###################################################*/

.navbar-brand {
    font-family: 'Italianno';
    font-style: normal;
    font-weight: normal;
    font-size: 32px;
}

@media (max-width: 767px) {
  body .card-body,
  body .list-group-item {
    border-radius: 0 !important;
  }
    #telnumber {
        text-align: center;
    }
    #telnumber > span {
        line-height: 1.2;
    }
    #telnumber span.bi-earphone {
        font-size: 14px;
        line-height: 1.2;
    }
    #telnumber a {
        font-size: 28px;
    }
}

#navbar {
    border: none;
}

body #navbar .navbar-nav .nav-item .nav-link.active,
body #navbar .navbar-nav .nav-item .nav-link.is-active {
    text-decoration: underline;
    text-decoration-color: #a36b46;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

body #navbar .navbar-nav .nav-item .nav-link {
    color: #a36b46;
}

/* Navbar flexible wrapping layout */

.region-nav-main .nav-link {
    font-size: 0.9rem;
}

#telnumber {
    white-space: nowrap;
}

/* Hamburger Button Animation */

.animated-toggler {
  border: none;
  background: transparent;
}

.animated-toggler:focus {
  box-shadow: none;
  outline: none;
}

.toggler-line {
  background-color: #a36b46;
  transition: all 0.4s ease;
  transform-origin: center;
}

/* X state when opened (not collapsed) */

.animated-toggler:not(.collapsed) .top-line {
  transform: translateY(5px) rotate(45deg);
}

.animated-toggler:not(.collapsed) .bottom-line {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 991px) {
  
  /* Make header elements white on the theme color background */
  body .toggler-line {
    background-color: #fff;
  }
  
  /* Full screen animated overlay */
  #navbarSupportedContent {
    background-color: #fff;
    border-top: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  
  #navbarSupportedContent.show,
  #navbarSupportedContent.collapsing.is-opening {
    opacity: 1;
    visibility: visible;
  }
  
  #navbarSupportedContent.collapsing {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
  }
  
  /* Enlarge menu text */
  #navbarSupportedContent .nav-link {
    font-size: 1.5rem;
  }
}

/*###################################################
#     サイドバー
###################################################*/

.region-sidebar-second h2.block-title {
  font-size: 18px;
}

/* 以下サイドバーの個別設定 */

.region-sidebar-second .well.cosplay {
  background-position: right top;
  background-image:url(../img/cosplay_bg.jpg);
  background-size: cover;
  color: #fff;
}

.region-sidebar-second .well.cosplay .inner {
  border: 1px #fff solid;
}

.region-sidebar-second .well.video {
  background-position: center center;
  background-color: #000;
  background-image:url(../img/video_bg.jpg);
  background-size: 50%;
  background-repeat: no-repeat;
  color: #fff;
  text-decoration: none;
}

/*###################################################
#     画像
###################################################*/

body img {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-border-top: 4px;
  -moz-border-top: 4px;
  border-top: 4px;
  -webkit-border-bottom: 4px;
  -moz-border-bottom: 4px;
  border-bottom: 4px;
}

body .view-schedule img {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-border-top: 4px;
  -moz-border-top: 4px;
  border-top: 4px;
  -webkit-border-bottom: 4px;
  -moz-border-bottom: 4px;
  border-bottom: 4px;
}

/*###################################################
#     コンテンツトップ content top　（ページタイトルのデフォルト設定）
###################################################*/

body:not(.path-frontpage) #content-top {
    background-size: cover;
    background-position: right top;
    background-image:url(../img/title_bg.jpg);
    }

#content-top .container {
  line-height: 1.2em;
  color: #fff;
  font-size: 1.3em;
  text-align: left;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  text-shadow: -1px 0px 3px #383337,0px 1px 3px #383337,0px 1px 3px #383337,1px 0px 3px #383337;
}

#content-top .container h1 {
  font-size: 32px;
}

/*###################################################
#
#   個別のページ設定
#
###################################################*/

/*###################################################
#     フロントページ Front Page
###################################################*/

.path-frontpage #content-top {
  background-color: #ffffff;
  background-position: top right;
  text-shadow: -1px 0px 5px #383337,0px 1px 5px #383337,0px 1px 5px #383337,1px 0px 5px #383337;
}

.path-frontpage #content-top .container {
  text-align: left;
}

/*###################################################
#     スケジュール編集
###################################################*/

.page-node-type-pickup-user .field--label,
.page-node-type-schedule .field--label {
  font-weight: bold;
  font-size: 12px;
  color: #666;
  border-top: 1px dotted #666;
}

/*###################################################
#     スタッフ紹介（個別）
###################################################*/

.path-user #content-top.nodeid-,
.path-profile #content-top.nodeid- {
  background: none;
  border-top: #967184 solid 1px;
}

.path-user #content-top.nodeid- .container,
.path-profile #content-top.nodeid- .container {
  line-height: 1.2em;
  text-align: left;
  color:#666;
  text-shadow: none;
}

.path-profile #content-top.nodeid- .container h1{
  font-family: sans-serif;
}

h1 .name-title {
  font-size: 60%;
}

body .user-photo img {
  border-radius: 25px;
}

@media screen and (max-width: 800px) {
  body.path-profile .user-photo img {
    border-radius: 0;
  }
}

.user-profile-text {
  font-size: 18px;
}

.user-block,
.user-block a {
  color: #555;
  text-align: center;
}

body .user-block img,
body .view-schedule img {
  border-radius: 25px;
}

/*###################################################
#     スタッフ紹介（一覧）
###################################################*/

.path-stuff-list #content-top.nodeid- .container {
  text-align: left;
}

.view-stuff-list span.field-content {
  text-align: center;
}

.view-stuff-list .view-content .views-row p {
  font-size: 14px;
  font-weight: normal;
  color: #555;
}

.view-stuff-list .view-content .views-row p span{
  color: #666;
  font-size: 80%;
  font-weight: normal;
}

.view-stuff-list .view-content .views-row p span.old{
  text-decoration: line-through;
}

.user-block .recommend
 {
  color: #666;
  font-size: 13px;
}

.view-stuff-list .recommend
 {
  color: #666;
}

/* Schedule view small tag size */

body .view-id-schedule small {
  font-size: 0.65em;
}

/* Sidebar Custom Block Margin */

/* Remove padding from pickup block card body */

/* Remove underlines from all links */

body a, body a:hover, body a:focus, body a:active {
  text-decoration: none;
}

/* stuff-list2 styling */

.path-stuff-list a {
  color: #555;
}

body.path-stuff-list img {
  border-radius: 25px;
}

html.js .path-stuff-list .col-6,
html.js .path-profile .user-photo {
  opacity: 0;
  transform: translateY(20px);
}

.path-stuff-list .col-6.animate-in,
.path-profile .user-photo.animate-in {
  animation: fadeInUpStuffList 0.5s ease forwards;
}

@keyframes fadeInUpStuffList {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.path-stuff-list .recommend {
  color: #666;
  font-size: 13px;
}

/* User data styling (global defaults, may be overridden) */

.user-data {
  text-align: center;
}

.user-data p {
  font-size: 1.4rem;
}

.user-data .name-title {
  font-size: 60%;
}

.path-stuff-list .user-data {
  color: #555;
}

.path-stuff-list .user-data p {
  font-size: 1rem;
}

.path-stuff-list .user-data .name-title {
  font-size: 80%;
}

/*###################################################
#     求人情報
###################################################*/

body:not(.path-frontpage) #content-top.nodeid-4 {
  background-image:url(../img/recruit2.jpg);
}

body:not(.path-frontpage) #content-top.nodeid-4 .container {
  text-align: left;
  text-shadow: -1px 0px 3px #333,0px 1px 3px #333,0px 1px 3px #333,1px 0px 3px #333;
}

/*###################################################
#     店内風景
###################################################*/

body:not(.path-frontpage) #content-top.nodeid-2 {
  background-position: right center;
  background-image:url(../img/img_sample_04.jpg);
}

body:not(.path-frontpage) #content-top.nodeid-2 .container {
  text-align: left;
}

/* Mobile full-width blocks */

/* /system page table padding */

/* node page content wrapper padding (covers /system, /room, /access, /recruit) */

/* profile page text content padding */

/* /room & /access page mobile full-width images and iframes */

@media (max-width: 991px) {
  body article[data-history-node-id="2"] .node__content img,
    body article[data-history-node-id="3"] .node__content img,
    body article[data-history-node-id="3"] .node__content iframe {
      border-radius: 0;
    }
    
    body main .card,
    body main .block-views,
    body main .block-block-content:not(#block-pureheart-tokyo6-liaojinzhuyishixiang-b5):not(#block-pureheart-tokyo6-jinzhishixiang-b5),
    body main .campaign-box {
      border-radius: 0;
      border-left: 0;
      border-right: 0;
    }
    body main .card img,
    body main .block-views img,
    body main .block-block-content img,
    body main .campaign-box img {
      border-radius: 0;
    }
    body main .region-sidebar-first .user-block img,
    body main .region-sidebar-second .user-block img,
    body main .view-schedule img {
      border-radius: 25px;
    }
    
    /* /profile page mobile layout: photo at top, h1 below it */
    body.path-profile #content-top.nodeid- {
      border-top: none;
    }
    body.path-profile .user-photo img {
      object-fit: cover;
      border-radius: 25px;
    }
    
    /* Make header elements white on the theme color background */
    body .toggler-line {
      background-color: #fff;
    }
    
    /* Full screen animated overlay */
    #navbarSupportedContent {
      background-color: rgba(255, 255, 255, 0.95);
      border-top: 1px solid rgba(238, 238, 238, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    
    #navbarSupportedContent.show,
    #navbarSupportedContent.collapsing.is-opening {
      opacity: 1;
      visibility: visible;
    }
    
    #navbarSupportedContent.collapsing {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, visibility 0.4s ease !important;
    }
    
    /* Enlarge menu text */
    #navbarSupportedContent .nav-link {
      font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    body.path-stuff-list img {
      border-radius: 25px;
    }
  #telnumber {
          text-align: center;
      }
      #telnumber > span {
          line-height: 1.2;
      }
      #telnumber span.bi-earphone {
          font-size: 14px;
          line-height: 1.2;
      }
      #telnumber a {
          font-size: 34px;
      }
      .region-footer #telnumber a {
          font-size: 34px;
      }
}

@media (max-width: 800px) {
  body .pricelist table th,
    body .pricelist table td {
      font-size: inherit;
    }
}

@media (min-width: 801px) {
  body .pricelist table th,
    body .pricelist table td {
      font-size: 36px;
      line-height: 1.5;
      vertical-align: middle;
    }
}

/* Add padding to text content on /user pages (excluding the profile picture) for mobile */

@media screen and (max-width: 800px) {
  
  /* Center profile picture on mobile */
  
  /* Profile mobile overrides for .personal-info */
  
  /* Mobile overrides for schedule (勤務管理) content type */
  body.page-node-type-schedule #content-top h1,
  body.page-node-type-schedule #content-top h1.page-header {
    color: #000;
    text-shadow: none;
  }
  
  body.page-node-type-schedule #content-top {
    background-image: none;
    background-color: transparent;
  }
  
  body .view-schedule-list .list-group-item {
    border-radius: 0;
  }
  
  /* Prevent content from hiding behind fixed navbar */
  
  /* Make navbar transparent and smart on mobile */

  body #navbar.navbar {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
  }
  
  body #navbar.navbar.nav-up {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Remove block (card) styling for edit link views blocks to show only the button */

body .block-block-content:has(.list-group-item) {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* .slideview */

.carousel-item img { object-fit: cover; border-radius: 25px; }

/* ====== Restored Missing Fixes ====== */

/* 1. Access Map Button */

body .access-map.btn {
  background-color: #4a1538;
  border-color: #4a1538;
  color: #fff;
  border-radius: 25px;
  font-size: 1.2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.access-map.btn:hover {
  background-color: #3e132f;
  border-color: #3e132f;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* 2. Schedule Edit Button */

body .schedule-edit {
  background: rgba(104, 29, 78, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 25px;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 8px 32px 0 rgba(104, 29, 78, 0.2);
  transition: all 0.3s ease;
}

body .schedule-edit:hover {
  background-color: #681d4e;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(104, 29, 78, 0.4);
}

/* 3. System Page Table on Mobile */

@media (max-width: 800px) {
  body article[data-history-node-id="1"] table {
    table-layout: fixed;
  }
  body article[data-history-node-id="1"] table td.service-name {
    white-space: normal;
    word-wrap: break-word;
    word-break: auto-phrase;
  }
}

/* 4. Room (2) and Recruit (4) Contents Top */

body #content-top.nodeid-2,
body #content-top.nodeid-4 {
  background-size: cover;
  background-position: top right;
}

.spacer {
  font-size: 60%;
}

/* User Photo Swipe Slider (Responsive) */

.user-photo-swipe {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body .user-photo-swipe img {
  border-radius: 25px;
  scroll-snap-align: center;
  object-fit: cover;
}