/* ===============================
   共通設定・調整
=============================== */

/* サブタイトル非表示 */
.c-pageTitle__subTitle {
  display: none;
}
/*メインビジュアル下の隙間調整*/
.top #content {
	padding-top: 0em!important;
}

/*モバイル時メニューに位置調整*/
.p-spMenu__body {
	padding-top: 35px;
}

/* ===============================
   レスポンシブ対応
=============================== */

@media (max-width: 480px) {
  .p-mainVisual__slideTitle {
    font-size: 24px;
  }
  .p-mainVisual__slideText {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .floating-banners {
    display: none;
  }
	.p-fixBtnWrap {
		bottom: 6rem;
	}

  .mobile-top-icons {
    position: fixed !important;
    bottom: 15px ;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100%;
    max-width: 800px;
    padding: 0 2px;
    gap: 0.5%;
    z-index: 102;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
		transition: bottom 0.3s ease, opacity 0.6s ease;
		opacity: 0;
  }

  .mobile-top-icons.is-visible {
    pointer-events: auto;
    opacity: 1;
  }

  .mobile-top-icons a {
    flex: 1 1 48%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-top-icons img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
  }

.mobile-top-icons.is-visible.is-lifted {
  bottom: 90px;
}

  .c-spnav .sub-menu {
    display: none;
  }
  .c-spnav .menu-item.open > .sub-menu {
    display: block;
  }
  .c-spnav .menu-item {
    position: relative;
  }
  .c-spnav .menu-item-has-children > a {
    display: block;
    padding-right: 40px;
    position: relative;
  }
  .c-spnav .menu-item .toggle-submenu {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    background: rgba(0, 0, 0, 0.02);
  }
  .c-spnav .menu-item .toggle-submenu.toggled {
    top: 0;
    transform: none;
  }
  .c-spnav .toggle-submenu::after {
    content: "＋";
  }
  .c-spnav .menu-item.open .toggle-submenu::after {
    content: "−";
  }
}

@media (max-width: 959px) {
  body {
    padding-top: 60px;
  }
  .custom-mobile-header a[aria-label="ホーム"] img {
    max-height: 50px;
    width: auto;
  }
  .l-header, .l-header__inner,
  .floating-banners {
    display: none !important;
  }

  .custom-mobile-header {
    display: block !important;
  }
}

@media (min-width: 960px) {
  .custom-mobile-header,
  .mobile-top-icons {
    display: none !important;
  }
  .l-header,
  .l-header__inner {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* .floating-banners は表示を JS に任せる場合は以下のように変更 */
  .floating-banners {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .floating-banners {
    display: flex !important;
  }
	.mobile-top-icons{
		display: none;
	}
}

@media (max-width: 1024px) {
  .custom-mobile-header .header-inner {
    max-width: 800px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
  }

  .custom-mobile-header .header-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .custom-mobile-header .header-icon-link img {
    width: auto;
    max-height: 35px;
  }

  .c-iconBtn {
    height: 100%;
    display: flex;
    align-items: center;
  }
}


/* ===============================
   フロートバナー系
=============================== */
.floating-banners {
  position: fixed;
  right: 20px;
  bottom: 40%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.floating-banners.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.float-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgb(55, 127, 191,0.8);
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, opacity 0.3s;
}

.float-banner:hover {
  opacity: 0.9;
}

.float-banner .icon img {
  width: 30px;
  height: auto;
}

.float-banner .text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-banner .label {
  font-size: 16px;
}
.mail {
	padding: 19.25px 20px;
}

.float-banner .tel-number {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.float-banner.line {
  background-color: #39d07b;
}

.float-banner.campaign {
  background-color: rgb(55, 127, 191,0.8);
}

.float-banner.access {
  background-color: #39d07b;
}

.tap-hint {
  display: none;
  font-size: 8px;
  color: #fff;
  margin: 2px 0;
}

.floating-banners-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: none;
}

.floating-banners.is-dimmed {
  opacity: 0.2;
  pointer-events: none;
}

/* ===============================
   キャンペーンボックス
=============================== */
.campaign-box {
  width: 100%;
  margin: 0 auto 0.5em;
  padding: 2em 1em;
  background: #fffdf7;
  border: 2px solid #ffe57f;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
  line-height: 1.6;
}

.campaign-header .tag {
  font-size: 2.8rem;
  color: #d32f2f;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.campaign-header .deadline {
  font-size: 1.5em;
  font-weight: bold;
  color: #1565c0;
}

.campaign-header .note {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 1.5em;
}

.campaign-content .step {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 0.3em;
}

.detail {
  font-size: 0.95em;
  color: #777;
  margin-bottom: 1em;
  line-height: 1.6;
}

.detail .group {
  white-space: nowrap;
}

@media screen and (max-width: 480px) {
  .detail {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .detail .group {
    white-space: normal;
  }
}

.price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1em 0;
}

.price-block {
  margin: 1.5em auto;
  text-align: center;
}

.price-label {
  font-size: 1.3em;
  font-weight: bold;
  color: #e53935;
  margin-bottom: 0.2em;
}

.price-value {
  font-size: 2.4em;
  font-weight: bold;
  color: #e53935;
  line-height: 1.2;
}

.price-value .yen {
  font-size: 1em;
}

.original-price {
  font-size: 1.2em;
  color: #444;
  margin-bottom: 0.3em;
}

.price-value .tax {
  font-size: 0.5em;
  opacity: 0.85;
  margin-left: 0.3em;
}

.campaign-content .limit {
  font-size: 0.85em;
  color: #999;
  margin-top: 0.5em;
}

.campaign-status .remain {
  margin-top: 1.5em;
  font-size: 1.3em;
  font-weight: bold;
  color: #0288d1;
}

.campaign-status .number {
  font-size: 1.5em;
}

@media screen and (max-width: 959px) {
  .campaign-text {
    margin-top: 0.5em !important;
  }
}

@media screen and (max-width: 768px) {
  .campaign-header .tag {
    font-size: 2.5rem;
  }
}

/* ===============================
   補足クラス調整
=============================== */
.custom-mobile-header .l-header__menuBtn,
.custom-mobile-header .l-header__customBtn {
  order: initial !important;
}

.custom-mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  height: 60px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.supervisor-box{
 margin-top:40px;
}

.supervisor-photo{
 max-width: 300px;
}
