@charset "UTF-8";
/* ============================================== */
/* === スタイルシート === */
/* ============================================== */
/* === ベース (基本設定) === */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
}

@font-face {
  font-family: "Genshin";
  src: url("../../assets/fonts/genshin.woff2") format("woff2"), url("../../assets/fonts/genshin.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: "Genshin", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #202124;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#booking-app {
  flex: 1;
}

a {
  color: #F15477;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}
@media (hover: hover) {
  a:hover {
    opacity: 0.7;
    text-decoration: underline;
  }
}

img {
  vertical-align: bottom;
}

.u-hidden {
  display: none !important;
}

/* === 固有機能 === */
/* =========================================
   Calendar Component (高さ揃え・完全版)
   ========================================= */
#calendar-wrapper {
  background: #fff;
  margin-top: 10px;
  /* 上部の店舗名と日付範囲 */
}
#calendar-wrapper .calendar-shop-header {
  text-align: center;
  margin: 20px 0;
}
#calendar-wrapper .calendar-shop-header .shop-name {
  display: inline-block;
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #F15477;
  padding: 0 10px 5px;
  margin-bottom: 5px;
}
#calendar-wrapper .calendar-shop-header .date-range {
  font-size: 0.9rem;
  color: #666;
}
#calendar-wrapper {
  /* ナビゲーション */
}
#calendar-wrapper .calendar-nav-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
#calendar-wrapper .calendar-nav-wrap .btn-nav {
  background: #fff;
  border: 1px solid #ccc;
  color: #666;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 0.9rem;
}
#calendar-wrapper .calendar-nav-wrap .btn-nav.next {
  margin-left: auto;
}
#calendar-wrapper .calendar-nav-wrap .btn-nav:hover {
  background: #f9f9f9;
}

/* 下部の凡例 */
.calendar-legend {
  display: flex;
  margin-top: 20px;
  border: 1px solid #ccc;
  background: #e6e6e6;
  font-weight: bold;
  text-align: center;
}
.calendar-legend .legend-ok {
  flex: 1;
  background: #F15477;
  color: #fff;
  padding: 15px 0;
}
.calendar-legend .legend-ng {
  flex: 1;
  color: #666;
  padding: 15px 0;
}

.p-members .c-header-member {
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #f0d5dd;
}
.p-members .c-header-member__logo {
  height: 28px;
  display: inline-block;
}
.p-members .mainbox-calendar {
  max-width: 1240px;
  margin: 2rem auto;
  padding: 0 15px;
}
.p-members .user-info-card {
  display: none;
  background: #fff;
  border: 2px solid #f0d5dd;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(241, 84, 119, 0.05);
}
.p-members .user-info-card__header {
  text-align: center;
  margin-bottom: 1rem;
}
.p-members .user-info-card__header .label {
  font-size: 0.9rem;
  color: #5F6368;
}
.p-members .user-info-card__header .shop-name {
  color: #F15477;
  margin: 0.2rem 0;
  font-size: 1.4rem;
}
.p-members .user-info-card__header .menu-name {
  font-weight: bold;
  color: #202124;
  font-size: 1.1rem;
}
.p-members .user-info-card__details {
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-top: 1px dashed #f0d5dd;
  padding-top: 1rem;
  margin-top: 1rem;
}
.p-members .user-info-card__details .detail-item {
  text-align: center;
}
.p-members .user-info-card__details .detail-item .label {
  font-size: 0.8rem;
  color: #5F6368;
}
.p-members .user-info-card__details .detail-item .value {
  font-weight: bold;
  font-size: 1.1rem;
  color: #202124;
}
.p-members .user-info-card__notice {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fdf2f6;
  border-radius: 8px;
}
.p-members .user-info-card__notice .title {
  margin: 0;
  font-size: 0.9rem;
  color: #F15477;
  font-weight: bold;
}
.p-members .user-info-card__notice .text {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #202124;
  line-height: 1.5;
}
.p-members #calendar-wrapper {
  padding: 1rem 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(241, 84, 119, 0.05);
  min-height: 400px;
}
.p-members .btn-back-wrap {
  text-align: center;
  margin-top: 3rem;
}

.c-accordion-item {
  margin-bottom: 10px;
}

.c-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  border-bottom: 1px solid #D21577;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  transition: all 0.3s ease;
}
.c-accordion-header.is-open {
  background-color: #D21577;
  color: #fff;
  border-bottom-color: transparent;
}
.c-accordion-header .area-name {
  flex: 1;
  text-align: left;
}
.c-accordion-header .shop-count {
  text-align: right;
  font-size: 0.95rem;
}
.c-accordion-header .shop-count .toggle-mark {
  display: inline-block;
  width: 1em;
  text-align: center;
  margin-left: 5px;
  font-weight: normal;
}

.c-accordion-body {
  padding: 20px 0;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.btn-shop {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.btn-shop:hover {
  background: #D21577;
  border-color: #D21577;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  color: #fff;
}
.btn-shop.is-selected {
  background-color: #D21577;
  color: #fff;
  border-color: #D21577;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: none;
  font-weight: bold;
}

.p-confirmation {
  background: #fdfdfd;
}

.success-box {
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.success-icon {
  font-size: 5rem;
  color: #f15477;
  margin-bottom: 1rem;
}

.c-table-yoyaku {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.c-table-yoyaku th,
.c-table-yoyaku td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.c-table-yoyaku th {
  width: 40%;
  background: #fffafb;
  color: #333;
  font-weight: normal;
}

.c-table-yoyaku td {
  font-weight: bold;
  color: #222;
}

.debug-panel {
  background: #fff3cd;
  color: #856404;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #ffeeba;
  text-align: left;
  overflow: auto;
}

.debug-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: #fff;
}

.debug-table th {
  width: 30%;
  background: #fdf5f6;
  padding: 10px;
  border: 1px solid #f15477;
}

.debug-table td {
  padding: 10px;
  border: 1px solid #f15477;
  white-space: pre-wrap;
  font-family: monospace;
}

.p-reservation-complete {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #202124;
}
.p-reservation-complete__title {
  color: #F15477;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}
@media screen and (max-width: 768px) {
  .p-reservation-complete__title {
    font-size: 1.3rem;
  }
}
.p-reservation-complete__intro {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #5F6368;
}
.p-reservation-complete .c-questionnaire-box {
  background: #fff;
  border: 1px solid #F15477;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(241, 84, 119, 0.08);
}
.p-reservation-complete .c-questionnaire-box__title {
  background-color: #FEE9E5;
  color: #F15477;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 1.2rem;
  margin: 0;
  text-align: center;
  border-bottom: 2px dotted #F15477;
}
.p-reservation-complete .c-questionnaire-box__body {
  padding: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}
.p-reservation-complete .c-questionnaire-box__body p {
  margin-bottom: 1rem;
}
.p-reservation-complete .c-questionnaire-box__body p:last-child {
  margin-bottom: 0;
}
.p-reservation-complete .c-questionnaire-box__body .u-highlight {
  color: #F15477;
  font-weight: bold;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
.p-reservation-complete .c-questionnaire-box__body .u-small {
  font-size: 0.85rem;
  color: #5F6368;
  padding-top: 1rem;
  border-top: 1px dashed #f0d5dd;
}
.p-reservation-complete .c-google-calendar-entry {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  background-color: #fdf2f6;
  border-radius: 16px;
  text-align: center;
}
.p-reservation-complete .c-google-calendar-entry__lead {
  font-weight: bold;
  margin-bottom: 1.2rem;
  color: #202124;
}
.p-reservation-complete .c-google-calendar-entry__note {
  font-size: 0.8rem;
  color: #5F6368;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.p-reservation-complete .c-google-calendar-entry__note .material-icons {
  font-size: 1rem;
  color: #3481e9;
}
.p-reservation-complete .c-button-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #3481e9;
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(52, 129, 233, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 320px;
}
.p-reservation-complete .c-button-calendar:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(52, 129, 233, 0.2);
}
.p-reservation-complete .c-button-calendar .material-icons {
  font-size: 1.4rem;
}

/* --- 共通・見出し --- */
h1.page-title {
  background: #F15477;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.cancel-page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  /* --- STEP 1: 検索エリア --- */
}
.cancel-page-wrapper .tomo_caution {
  border: dashed 2px #F15477;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: #FEE9E5;
}
.cancel-page-wrapper .tomo_caution .caution-title {
  font-weight: bold;
  color: #F15477;
  margin-bottom: 5px;
}
.cancel-page-wrapper .tomo_caution .caution-text {
  font-size: 0.9em;
  margin-bottom: 10px;
}
.cancel-page-wrapper .tomo_caution .caution-text:last-child {
  margin-bottom: 0;
}
.cancel-page-wrapper .form-group {
  margin-bottom: 15px;
}
.cancel-page-wrapper .form-group.mb-large {
  margin-bottom: 25px;
}
.cancel-page-wrapper .form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.cancel-page-wrapper .form-group .form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.cancel-page-wrapper {
  /* --- STEP 2: 確認・アンケートエリア --- */
}
.cancel-page-wrapper .confirm-section .confirm-title {
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.cancel-page-wrapper .confirm-section .confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.cancel-page-wrapper .confirm-section .confirm-table th, .cancel-page-wrapper .confirm-section .confirm-table td {
  padding: 10px;
  border: 1px solid #ccc;
}
.cancel-page-wrapper .confirm-section .confirm-table th {
  background: #f9f9f9;
  width: 30%;
  text-align: left;
}
.cancel-page-wrapper .confirm-section .confirm-table .font-bold {
  font-weight: bold;
}
.cancel-page-wrapper .confirm-section .questionnaire_box {
  border: 2px solid #F15477;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.cancel-page-wrapper .confirm-section .questionnaire_box .q-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}
.cancel-page-wrapper .confirm-section .questionnaire_box .reason-options {
  line-height: 2;
}
.cancel-page-wrapper .confirm-section .questionnaire_box .reason-options label {
  display: block;
  cursor: pointer;
  padding: 5px 0;
}
.cancel-page-wrapper .confirm-section .questionnaire_box .reason-options label input[type=radio] {
  margin-right: 8px;
}
.cancel-page-wrapper {
  /* --- STEP 3: 完了エリア --- */
}
.cancel-page-wrapper .complete-section {
  text-align: center;
  padding: 40px 0;
}
.cancel-page-wrapper .complete-section .complete-title {
  color: #e43a6e;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.cancel-page-wrapper .complete-section .complete-text {
  margin-bottom: 30px;
  line-height: 1.6;
}
.cancel-page-wrapper {
  /* --- キャンセル画面固有のボタンレイアウト --- */
}
.cancel-page-wrapper .action-buttons {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.cancel-page-wrapper .btn-dark {
  background: #F15477;
  color: #fff;
  padding: 15px 40px;
  border: none;
  font-size: 1.1em;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s;
}
.cancel-page-wrapper .btn-dark:hover {
  opacity: 0.8;
}

.tomo-page-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.tomo-page-wrapper .page-title {
  background: #F15477;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 2rem;
  border-radius: 4px;
  font-size: 1.3rem;
}
.tomo-page-wrapper .info-box {
  background: #FEE9E5;
  border: 1px solid #F15477;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.tomo-page-wrapper .info-box__title {
  color: #e43a6e;
  font-weight: bold;
  margin-bottom: 10px;
}
.tomo-page-wrapper .info-box__text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.tomo-page-wrapper .info-box__text .highlight {
  color: #e43a6e;
  font-weight: bold;
}
.tomo-page-wrapper .confirm-info-box {
  background: #fff;
  border: 1px solid #e1e8ed;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.tomo-page-wrapper .confirm-info-box .confirm-title {
  border-bottom: 2px solid #F15477;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: #202124;
}
.tomo-page-wrapper .confirm-info-box .confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
}
.tomo-page-wrapper .confirm-info-box .confirm-table th, .tomo-page-wrapper .confirm-info-box .confirm-table td {
  padding: 15px;
  border: 1px solid #e1e8ed;
}
.tomo-page-wrapper .confirm-info-box .confirm-table th {
  background: #f9f9f9;
  width: 35%;
  text-align: left;
  color: #5F6368;
}
.tomo-page-wrapper .confirm-info-box .confirm-table td {
  color: #202124;
}
.tomo-page-wrapper .confirm-info-box .confirm-table td.is-bold {
  font-weight: bold;
}
.tomo-page-wrapper .confirm-info-box .confirm-table td.is-highlight {
  color: #F15477;
  font-weight: bold;
}
.tomo-page-wrapper .action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 2rem;
}
.tomo-page-wrapper .action-buttons .btn-submit {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  font-size: 1.2rem;
  box-shadow: 0 4px 6px rgba(241, 84, 119, 0.2);
}
.tomo-page-wrapper .action-buttons .btn-return {
  white-space: nowrap;
  width: 100%;
  max-width: 300px;
  padding: 15px;
}

.color-teikei {
  background-color: #191970 !important;
}

.salon-page-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 20px;
}
.salon-page-wrapper .page-title {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 2rem;
  border-radius: 4px;
}
.salon-page-wrapper .info-box {
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.partnership-selector-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.partnership-selector-container .selectdiv {
  flex: 1;
  min-width: 0;
}
.partnership-selector-container select {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
  cursor: pointer;
}
@media (max-width: 480px) {
  .partnership-selector-container select {
    font-size: 0.85rem;
    padding: 8px;
  }
}
.partnership-selector-container select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.shop-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.shop-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.shop-card:hover {
  border-color: #F15477;
  background: #FEE9E5;
}
.shop-card.is-selected {
  border-color: #F15477;
  background: #FEE9E5;
  box-shadow: 0 0 10px rgba(241, 84, 119, 0.1);
}
.shop-card.is-selected::after {
  content: "選択中";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #F15477;
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: bold;
}
.shop-card__type {
  color: #F15477;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}
.shop-card__name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #202124;
  margin-bottom: 5px;
  line-height: 1.4;
}
.shop-card__address {
  font-size: 0.85rem;
  color: #5F6368;
  line-height: 1.4;
}

/* ==========================================
🌐 お友だち紹介 LINE経由ページ (Portal)
========================================== */
.p-line-tomo {
  background-color: #FEE9E5;
  color: #202124;
}
.p-line-tomo .portal-header {
  background: #fff;
  text-align: center;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.p-line-tomo .portal-header img {
  margin: 0 auto;
}
.p-line-tomo .portal-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}
.p-line-tomo {
  /* 📢 お知らせボックス */
}
.p-line-tomo .portal-notice {
  background: #fff;
  border: 2px dashed #F15477;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(241, 84, 119, 0.15);
}
.p-line-tomo .portal-notice p {
  margin: 0;
  font-size: 0.95rem;
}
.p-line-tomo .portal-notice .highlight {
  color: #e43a6e;
  font-weight: bold;
}
.p-line-tomo {
  /* ✨ メニュータイトル */
}
.p-line-tomo .portal-title {
  text-align: center;
  color: #F15477;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 40px 0 20px;
  position: relative;
}
.p-line-tomo .portal-title::before, .p-line-tomo .portal-title::after {
  content: "✧";
  color: #D21577;
  margin: 0 10px;
}
.p-line-tomo {
  /* 💳 メニューカード（Gridレイアウト） */
}
.p-line-tomo .portal-menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 40px;
}
.p-line-tomo .portal-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(241, 84, 119, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.p-line-tomo .portal-card:hover, .p-line-tomo .portal-card:active {
  transform: translateY(-3px);
  border-color: #F15477;
  box-shadow: 0 12px 25px rgba(241, 84, 119, 0.25);
}
.p-line-tomo .portal-card__img {
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 480px) {
  .p-line-tomo .portal-card__img {
    width: 120px;
  }
}
.p-line-tomo .portal-card__img--bg-pink {
  background-color: #F15477;
  padding: 10px;
  border-radius: 8px;
}
.p-line-tomo .portal-card__img--bg-dark {
  background-color: #333;
  padding: 10px;
  border-radius: 8px;
}
.p-line-tomo .portal-card__content {
  flex: 1;
  padding-left: 15px;
  text-align: right;
}
.p-line-tomo .portal-card__title {
  color: #202124;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 5px;
}
.p-line-tomo .portal-card__badge {
  display: inline-block;
  background: #F15477;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
}
.p-line-tomo .portal-card {
  /* 汎用ダークトーンバッジ（メンズメニュー用など） */
}
.p-line-tomo .portal-card--dark .portal-card__badge {
  background: #333;
}
.p-line-tomo .portal-card--dark:hover, .p-line-tomo .portal-card--dark:active {
  border-color: #ccc;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.p-line-tomo {
  /* 📜 プライバシーポリシーのアコーディオン */
}
.p-line-tomo .portal-accordion {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(241, 84, 119, 0.15);
  overflow: hidden;
  margin-bottom: 40px;
}
.p-line-tomo .portal-accordion__label {
  display: block;
  padding: 20px;
  text-align: center;
  color: #F15477;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.p-line-tomo .portal-accordion__label:hover {
  opacity: 0.8;
  background: rgba(241, 84, 119, 0.05);
}
.p-line-tomo .portal-accordion__label::after {
  content: "▼";
  font-size: 0.8rem;
  margin-left: 10px;
}
.p-line-tomo .portal-accordion__input {
  display: none;
}
.p-line-tomo .portal-accordion__input:checked + .portal-accordion__content {
  max-height: 2000px;
  padding: 20px;
}
.p-line-tomo .portal-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease;
  font-size: 0.85rem;
  color: #5F6368;
  background: #fafafa;
}
.p-line-tomo .portal-footer {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 0.8rem;
}

/* ==========================================
   🏰 ログイン画面固有スタイル (login.php)
========================================== */
.p-login .c-header {
  justify-content: center;
}
.p-login .c-header__department {
  margin-left: 0;
}
.p-login .c-header__department img {
  width: 100%;
  max-width: 320px;
  margin: 10px auto;
}
.p-login .c-modal__header {
  background: #F15477;
  /* ブランドピンク */
  color: #fff;
  padding: 15px 20px;
  border-bottom: none;
}
.p-login .c-modal__header h3 {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
}
.p-login .c-modal__header .c-modal__close {
  color: #fff;
  opacity: 1;
  font-size: 1.8rem;
}
.p-login .c-modal__header .c-modal__body hr {
  border: none;
  border-top: 1px dashed #333;
  margin: 1rem 0;
}
.p-login {
  /* 2. 本文エリアのスタイル */
}
.p-login .p-popup-notice {
  padding: 10px 0;
}
.p-login .p-popup-notice__section {
  margin-bottom: 2.5rem;
}
.p-login .p-popup-notice__title-solid {
  background: #D21577;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 12px 15px;
  margin-bottom: 15px;
  line-height: 1.4;
}
.p-login .p-popup-notice__title-line {
  color: #D21577;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 12px 0;
  margin-bottom: 15px;
  border-top: 1px solid #D21577;
  border-bottom: 1px solid #D21577;
}
.p-login .p-popup-notice__subtitle-line {
  color: #333;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 0;
  margin: 1.5rem 0 10px 0;
  border-top: 1px solid #D21577;
  border-bottom: 1px solid #D21577;
}
.p-login .p-popup-notice__content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  padding: 0 10px;
  /* 本文の左右に少し余白 */
}
.p-login .p-popup-notice__content p {
  margin-bottom: 0;
}
.p-login .p-popup-notice {
  /* ユーティリティ */
}
.p-login .p-popup-notice .u-text-danger {
  color: #D21577;
}
.p-login .p-popup-notice {
  /* または #e43a6e */
}
.p-login .p-popup-notice .u-font-bold {
  font-weight: bold;
}
.p-login .p-popup-notice .u-text-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.p-login .p-popup-notice .u-mb-4 {
  margin-bottom: 1rem !important;
}

/* ==========================================
   🏰 ログイン画面固有スタイル (login.php)
========================================== */
.p-login-info {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 15px;
  /* 白いカードの共通設定 */
}
.p-login-info .info-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  /* 見出し（ピンク文字 ＋ 点線アンダーライン） */
}
.p-login-info .info-card__title {
  color: #D21577;
  font-size: 1.1rem;
  font-weight: bold;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 15px;
}
.p-login-info .info-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.p-login-info .info-card p:last-child {
  margin-bottom: 0;
}
.p-login-info .info-card a {
  color: #191970;
  text-decoration: underline;
}
.p-login-info img {
  display: inline-block;
}
.p-login-info {
  /* --------------------------------------
       💻 PC用陣形（768px以上）
    -------------------------------------- */
}
@media (min-width: 768px) {
  .p-login-info .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .p-login-info .info-grid .info-card {
    margin-bottom: 0;
    /* Grid内のマージン相殺 */
  }
  .p-login-info .u-hidden-pc {
    display: none !important;
  }
}
.p-login-info {
  /* --------------------------------------
       📱 スマホ用陣形（767px以下）
    -------------------------------------- */
}
@media (max-width: 767px) {
  .p-login-info .u-hidden-sp {
    display: none !important;
  }
  .p-login-info {
    /* アコーディオンのスタイル */
  }
  .p-login-info .info-accordion {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }
  .p-login-info .info-accordion__summary {
    padding: 1.2rem;
    font-weight: bold;
    color: #D21577;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted transparent;
  }
  .p-login-info .info-accordion[open] .p-login-info .info-accordion__summary {
    border-bottom-color: #ccc;
  }
  .p-login-info .info-accordion {
    /* アコーディオンの中身をスマホ用のカード風にする */
  }
  .p-login-info .info-accordion__content {
    padding: 1rem;
    background: #fcfcfc;
  }
  .p-login-info .info-accordion__content .info-card {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
  }
  .p-login-info .info-accordion__content .info-card:last-child {
    margin-bottom: 0;
  }
}

/* ==========================================
   🏰 マイページ固有スタイル (_mypage.scss)
========================================== */
.p-mypage__block {
  margin-bottom: 4rem;
}
.p-mypage__table-wrap {
  overflow-x: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}
.p-mypage__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.p-mypage__table th, .p-mypage__table td {
  border: 1px solid #f0d5dd;
  padding: 12px 8px;
  white-space: nowrap;
}
.p-mypage__table th {
  background: #fdf2f6;
  color: #D21577;
}
.p-mypage__table td {
  text-align: center;
}
.p-mypage__table .text-left {
  text-align: left;
}
.p-mypage__table .font-bold {
  font-weight: bold;
}
.p-mypage__table .is-stopped {
  color: crimson;
  background: #fffafb;
}
.p-mypage__option-select {
  margin-top: 8px;
}
.p-mypage__option-select select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #D21577;
  background: #fff;
  color: #D21577;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
}
.p-mypage__stop-msg {
  color: crimson;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background: #fff0f0;
  border-radius: 8px;
}
.p-mypage__btn-area {
  text-align: center;
  margin-top: 25px;
}
.p-mypage__btn {
  padding: 15px 40px;
  border-radius: 50px;
  cursor: pointer;
  background: #D21577;
  color: #fff;
  border: none;
  font-size: 1.15rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(241, 84, 119, 0.3);
  width: 100%;
  max-width: 400px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s ease, transform 0.1s;
}
.p-mypage__btn:hover {
  opacity: 0.8;
}
.p-mypage__btn:active {
  transform: scale(0.98);
}
.p-mypage__btn-standalone {
  width: 250px;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  color: #D21577;
  border: 2px solid #f0d5dd;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.p-mypage__btn-standalone:hover {
  background: #fdf2f6;
  border-color: #D21577;
}
.p-mypage__loading {
  text-align: center;
  padding: 3rem 0;
  color: #D21577;
}
.p-mypage__loading::after {
  content: "データ取得中...";
  font-weight: bold;
}

/* === 部品 === */
.c-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}
.c-modal__content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 450px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: modalFadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.c-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: #fff;
  background: #F15477;
}
.c-modal__header--error {
  background: #e43a6e;
}
.c-modal__header--special {
  background: #d4af37;
}
.c-modal__header h3 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.c-modal__close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.c-modal__body {
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  max-height: 80vh;
  overflow-y: auto;
}
.c-modal__body ul {
  margin: 0;
  padding-left: 20px;
  color: #e43a6e;
}
.c-modal__body ul li {
  margin-bottom: 8px;
}
.c-modal__footer {
  padding: 0 20px 20px;
  text-align: center;
}
.c-modal__footer .btn-primary {
  background: #F15477;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.c-modal__footer .btn-primary:hover {
  opacity: 0.8;
}
.c-modal__content {
  max-width: 700px;
}
.c-modal__content--shop-detail .c-modal__body {
  padding: 0;
}
.c-modal__shop-scroll-area {
  max-height: 75vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 20px;
}
.c-modal__shop-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}
.c-modal__shop-info {
  flex: 1;
  min-width: 250px;
}
.c-modal__shop-info dl {
  margin: 0;
}
.c-modal__shop-info dl dt {
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  margin-top: 15px;
}
.c-modal__shop-info dl dt:first-child {
  margin-top: 0;
}
.c-modal__shop-info dl dd {
  margin: 8px 0 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.c-modal__shop-visuals {
  flex: 1;
  min-width: 250px;
  text-align: center;
}
.c-modal__shop-visuals .interior-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 15px;
  background: #f5f5f5;
}
.c-modal__shop-visuals .interior-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s;
}
.c-modal__shop-visuals .interior-wrap img:hover {
  transform: scale(1.05);
}
.c-modal__shop-visuals .map-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f5f5;
}
.c-modal__shop-visuals .map-wrap iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.c-modal__shop-visuals .btn-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #3b82f6;
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.c-modal__shop-visuals .btn-tel:hover {
  opacity: 0.8;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* テーブル本体 */
.timetable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  table-layout: fixed;
  border-radius: 0.4rem;
  /* 🚀 基準となる1マスの高さを極限まで小さくする！（押しつぶしの魔法） */
}
.timetable tbody tr {
  height: 20px;
  /* PC用 */
}
@media (max-width: 768px) {
  .timetable tbody tr {
    height: 12px;
    /* スマホ用：極限まで薄く！ */
  }
}
.timetable th,
.timetable td {
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
  padding: 0;
}
.timetable {
  /* 月の行・日付の行（先ほどと同じなので省略せずにそのまま残してください） */
}
.timetable thead .month-row {
  background: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 10px 0;
  height: auto;
}
.timetable thead .day-row {
  background: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 8px 0;
  height: auto;
}
.timetable thead .day-row.sat {
  background: #d8f3fa;
}
.timetable thead .day-row.sun {
  background: #fde2eb;
}
.timetable thead .day-row .week {
  font-weight: normal;
}
.timetable {
  /* OKセル */
}
.timetable .cell-ok {
  background: #fff;
}
.timetable .cell-ok .btn-slot.ok {
  width: 100%;
  height: 100%;
  /* 🚀 ボタン自体にはタップしやすい高さを死守する！ */
  min-height: 80px;
}
@media (max-width: 768px) {
  .timetable .cell-ok .btn-slot.ok {
    min-height: 50px;
    /* スマホでも指で押しやすい高さを確保 */
  }
}
.timetable .cell-ok .btn-slot.ok {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  color: #F15477;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 0;
  line-height: 1.2;
}
.timetable .cell-ok .btn-slot.ok .time-text {
  font-size: 0.85rem;
}
.timetable .cell-ok .btn-slot.ok .mark {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}
.timetable .cell-ok .btn-slot.ok:hover {
  background: #fdf0f4;
}
.timetable .cell-ok .btn-slot.ng {
  font-size: x-small;
}
.timetable {
  /* NGセル */
}
.timetable .cell-ng {
  background: #e6e6e6;
  color: #999;
  font-size: 1.1rem;
}

/* ============================================== */
/* === 汎用ボタン (Buttons) === */
/* ============================================== */
.btn-primary {
  display: inline-block;
  width: 100%;
  background-color: #F15477;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.btn-primary:hover {
  opacity: 0.8;
}
.btn-primary.btn-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
}
.btn-primary.btn-progress::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.btn-primary.btn-progress:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background-color: transparent;
  color: #AAA;
  border: 1px solid #AAA;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-back::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.btn-back:hover {
  background-color: #AAA;
  color: #fff;
}
.btn-back:hover::before {
  transform: translateX(-3px) rotate(-45deg);
}
.btn-back--large {
  display: flex;
  width: 100%;
  max-width: 480px;
  margin: 2rem auto;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
}
.btn-back--large::before {
  width: 10px;
  height: 10px;
  border-width: 3px;
}

/* ============================================== */
/* === フォーム関連 (Forms) === */
/* ============================================== */
.c-ninzu-switch {
  margin-bottom: 2rem;
}
.c-ninzu-switch .ninzu-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  max-width: 400px;
  margin: 0;
}
.c-ninzu-switch .btn-ninzu {
  flex: 1;
  padding: 1rem;
  background-color: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.c-ninzu-switch .btn-ninzu.is-active {
  background-color: #F15477;
  border-color: #F15477;
  color: #fff;
}

.error-msg {
  color: #e43a6e;
  font-size: 0.85rem;
  margin-top: 5px;
  font-weight: bold;
}

.warning-box {
  background-color: #fffafb;
  border: 1px solid #e43a6e;
  color: #e43a6e;
  padding: 1rem;
  margin-top: 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.c-panel {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.c-panel__item {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.c-panel__item + .c-panel__item {
  margin-top: 0.5rem;
}
.c-panel__item strong {
  color: #333;
}
.c-panel__value {
  color: #F15477;
  font-weight: bold;
  margin-left: 0.5rem;
}

.c-bmi-calc {
  background-color: #eaf4ff;
  padding: 1.5rem;
  border-radius: 6px;
  margin-top: 10px;
}
.c-bmi-calc__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.c-bmi-calc__row input {
  max-width: 80px;
}
.c-bmi-calc__note {
  color: #e43a6e;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  font-weight: bold;
}

.c-confirm-box__scroll {
  height: 120px;
  overflow-y: scroll;
  border: 1px solid #ddd;
  padding: 12px;
  margin-bottom: 15px;
  background: #fff;
  font-size: 0.9rem;
}
.c-confirm-box__label {
  display: block;
  text-align: center;
  padding: 1.25rem;
  background: #f9f9f9;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.c-confirm-box__label:hover {
  background: #f0f0f0;
}

/* ============================================== */
/* === フォームレイアウト・区切り線 === */
/* ============================================== */
.c-form-group {
  padding: 1.5rem 0;
  border-bottom: 1px dotted #ccc;
}
.c-form-group:last-child {
  border-bottom: none;
}
.c-form-group__label {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}
.c-form-group__note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

/* ============================================== */
/* === ブロック型ラジオボタン (魔改造版) === */
/* ============================================== */
.c-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.c-radio-btn {
  position: relative;
}
.c-radio-btn input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.c-radio-btn label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  background: #fff;
  transition: all 0.2s ease;
}
.c-radio-btn label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #ccc;
  border-radius: 50%;
  margin-right: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
  transition: all 0.2s ease;
}
.c-radio-btn input[type=radio]:checked + label {
  border-color: #F15477;
  color: #333;
  font-weight: bold;
}
.c-radio-btn input[type=radio]:checked + label::before {
  border-color: #F15477;
  background: #F15477;
}
.c-radio-btn--danger input[type=radio]:checked + label {
  background-color: #F15477;
  color: #fff;
  border-color: #F15477;
}
.c-radio-btn--danger input[type=radio]:checked + label::before {
  border-color: #fff;
  background: #fff;
  box-shadow: inset 0 0 0 3px #F15477;
}

.c-warning-box {
  border: 1px solid #e43a6e;
  color: #333;
  padding: 1.2rem;
  margin-top: -1px;
  border-radius: 0 4px 4px 4px;
  font-size: 0.85rem;
  line-height: 1.6;
  background: #fff;
}
.c-warning-box .u-text-red {
  color: #e43a6e;
  font-weight: bold;
}

/* ============================================== */
/* === BMI計算ツール (diet専用) === */
/* ============================================== */
.c-bmi-calc {
  background-color: #f5f8fa;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e1e8ed;
  margin-top: 10px;
}
.c-bmi-calc__inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
  margin-bottom: 15px;
}
.c-bmi-calc__field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}
.c-bmi-calc__field .input-with-unit {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}
.c-bmi-calc__field .input-with-unit input {
  border: none;
  padding: 10px;
  width: 80px;
  text-align: right;
  font-size: 1.1rem;
}
.c-bmi-calc__field .input-with-unit input:focus {
  outline: none;
}
.c-bmi-calc__field .input-with-unit .unit {
  padding: 0 10px;
  color: #666;
  background: #f9f9f9;
  border-left: 1px solid #ccc;
  height: 100%;
  display: flex;
  align-items: center;
}
.c-bmi-calc__action .btn-calc {
  background-color: #51bbde;
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
  height: 44px;
}
.c-bmi-calc__action .btn-calc:hover {
  opacity: 0.8;
}
.c-bmi-calc__result {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px dashed #ccc;
}
.c-bmi-calc__result label {
  font-weight: bold;
  font-size: 1.1rem;
}
.c-bmi-calc__result input {
  background: #eef1f4;
  border: 1px solid #d1d8dd;
  padding: 10px;
  width: 100px;
  border-radius: 4px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #F15477;
  text-align: center;
}
.c-bmi-calc__note {
  color: #e43a6e;
  font-size: 0.85rem;
  margin-top: 1rem;
  line-height: 1.4;
}

/* ============================================== */
/* === flexレイアウト === */
/* ============================================== */
.flex-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .flex-inputs {
    flex-direction: row;
  }
}
.flex-inputs > div {
  flex: 1;
}
.flex-inputs.align-center {
  align-items: center;
}

.c-underage-box__alert {
  background-color: #fffafb;
  border: 2px solid #e43a6e;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-align: left;
}
.c-underage-box__alert .title {
  color: #e43a6e;
  font-weight: bold;
  margin: 0 0 10px 0;
}
.c-underage-box__alert .text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.c-underage-box__label {
  display: block;
  text-align: center;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.c-underage-box__label:hover {
  background: #f0f0f0;
}

.c-step-wrapper {
  background-color: #FEE9E5;
  padding: 15px 10px;
  text-align: center;
  flex: 0 0 100%;
}
.c-step-wrapper p {
  margin-bottom: 1rem;
  color: #F15477;
  font-weight: bold;
}

.c-step-title {
  color: #F15477;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.c-step-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}
.c-step-bar .step-item {
  flex: 1;
  position: relative;
  box-sizing: border-box;
  background-color: #fff;
  color: #F15477;
  border: 1px solid #F15477;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.4;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.1));
}
.c-step-bar .step-item::before, .c-step-bar .step-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 2;
}
.c-step-bar .step-item::before {
  top: -1px;
  bottom: -1px;
  right: -16px;
  border-width: 30px 0 30px 16px;
  border-color: transparent transparent transparent #F15477;
  z-index: 1;
}
.c-step-bar .step-item::after {
  top: 0;
  bottom: 0;
  right: -15px;
  border-width: 29px 0 29px 15px;
  border-color: transparent transparent transparent #fff;
}
.c-step-bar .step-item.is-active {
  background-color: #F15477;
  color: #fff;
}
.c-step-bar .step-item.is-active::after {
  border-color: transparent transparent transparent #F15477;
}
@media (max-width: 768px) {
  .c-step-bar .step-item {
    height: 46px;
    font-size: 0.75rem;
    gap: 15px;
  }
  .c-step-bar .step-item::before {
    top: -1px;
    bottom: -1px;
    right: -13px;
    border-width: 24px 0 24px 13px;
  }
  .c-step-bar .step-item::after {
    top: 0;
    bottom: 0;
    right: -12px;
    border-width: 23px 0 23px 12px;
  }
  .c-step-bar .step-item.is-active::after {
    border-color: transparent transparent transparent #F15477;
  }
}

/* HTML: <div class="loader"></div> */
.loader {
  --d:22px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  color: #F15477;
  box-shadow: calc(1 * var(--d)) calc(0 * var(--d)) 0 0, calc(0.707 * var(--d)) calc(0.707 * var(--d)) 0 1px, calc(0 * var(--d)) calc(1 * var(--d)) 0 2px, calc(-0.707 * var(--d)) calc(0.707 * var(--d)) 0 3px, calc(-1 * var(--d)) calc(0 * var(--d)) 0 4px, calc(-0.707 * var(--d)) calc(-0.707 * var(--d)) 0 5px, calc(0 * var(--d)) calc(-1 * var(--d)) 0 6px;
  animation: l27 1s infinite steps(8);
  margin: 30px auto;
}

@keyframes l27 {
  100% {
    transform: rotate(1turn);
  }
}
.diamond-loader {
  width: 48px;
  height: 48px;
  background-color: #1a1a1a; /* ベースの黒（真っ黒より少し浮かせると見栄えが良いです） */
  transform: rotate(45deg); /* 四角形を傾けてひし形にする */
  position: relative;
  overflow: hidden;
  margin: 50px auto; /* 画面中央に表示するための余白 */
  /* ひし形を4つに区切る対角線（十字の線） */
}
.diamond-loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* 2pxの黒い線を十字に引く */
  background: linear-gradient(to right, transparent calc(50% - 1px), #1a1a1a calc(50% - 1px), #000 calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(to bottom, transparent calc(50% - 1px), #1a1a1a calc(50% - 1px), #000 calc(50% + 1px), transparent calc(50% + 1px));
  z-index: 2;
}
.diamond-loader {
  /* 回転する1区画（グラデーション） */
}
.diamond-loader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%; /* 全体の右上（1/4）のエリアに配置 */
  width: 50%;
  height: 50%;
  /* 黒に馴染むグラデーション（白グレーから透明へ） */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  transform-origin: bottom left; /* 回転の軸を要素の左下（＝全体の中心）に設定 */
  animation: diamond-spin 1.5s steps(4) infinite;
  z-index: 1;
}

@keyframes diamond-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ============================================== */
/* === お知らせ・注釈ボックス (Notice) === */
/* ============================================== */
.notice {
  border: 1px solid #F15477;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #202124;
  font-size: 0.95rem;
  line-height: 1.6;
}
.notice p {
  margin: 0 0 0.5em;
}
.notice p:last-child {
  margin-bottom: 0;
}
.notice--info {
  background-color: #E8F0FE;
  border: none;
  border-left: 4px solid #E63074;
}
.notice--error {
  background-color: #FCE8E6;
  border: none;
  border-left: 4px solid #D93025;
  color: #A50E0E;
}

.c-tomo-campaign-notice {
  display: none;
}

.c-notice-box {
  background-color: #FFF;
  border: 2px solid #FEE9E5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(241, 84, 119, 0.08);
  position: relative;
  margin-bottom: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.c-notice-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(241, 84, 119, 0.15);
}
.c-notice-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F15477, #D21577, #F15477);
  background-size: 200% auto;
  animation: elegantShine 3s linear infinite;
}
.c-notice-box__header {
  display: flex;
  align-items: center;
  background-color: #fdf2f6;
  padding: 12px 20px;
  border-bottom: 1px dashed #f0d5dd;
}
.c-notice-box__icon {
  font-size: 1.5rem;
  color: #F15477;
  margin-right: 8px;
  transform-origin: top center;
  animation: softRing 2.5s ease-in-out infinite;
}
.c-notice-box__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #D21577;
  letter-spacing: 0.05em;
}
.c-notice-box__content {
  padding: 20px;
  color: #202124;
  line-height: 1.6;
  font-size: 0.95rem;
}
.c-notice-box__content a {
  color: #3481e9;
  text-decoration: underline;
  text-decoration-color: rgba(52, 129, 233, 0.3);
  transition: all 0.2s ease;
}
.c-notice-box__content a:hover {
  color: #51bbde;
  text-decoration-color: #51bbde;
}

@keyframes elegantShine {
  to {
    background-position: 200% center;
  }
}
@keyframes softRing {
  0%, 100% {
    transform: rotate(0);
  }
  5%, 15% {
    transform: rotate(15deg);
  }
  10%, 20% {
    transform: rotate(-15deg);
  }
  25% {
    transform: rotate(0);
  }
}
/* === utilities === */
.u-text-primary {
  color: #F15477 !important;
}

.u-text-highlight {
  color: #F15477 !important;
  font-size: 1.1em !important;
  font-weight: bold !important;
}

.u-text-note {
  color: #5F6368 !important;
  font-size: 0.8rem !important;
}

.c-heading-line {
  margin-top: 0;
  border-bottom: 2px solid #F15477;
  padding-bottom: 0.5rem;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* === layout === */
.wrapper_1600, .wrapper_1280, .wrapper_980 {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .wrapper_1600, .wrapper_1280, .wrapper_980 {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.wrapper_980 {
  max-width: 980px;
}

.wrapper_1280 {
  max-width: 1280px;
}

.wrapper_1600 {
  max-width: 1600px;
}

/* === theme === */
.c-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.c-header__logo {
  flex: 0 0 100%;
}
.c-header__logo img {
  width: 120px;
  margin: 1rem auto;
}
.c-header__department {
  flex: 0 0 100%;
}
.c-header__department img {
  max-width: 240px;
  margin: 0 auto 1rem;
}
.c-header--member {
  background-color: #FEE9E5;
}
.c-header--member .c-header__btn {
  background-color: #F15477;
  color: #fff;
}

footer {
  width: 100%;
  bottom: 0;
  background: linear-gradient(90deg, rgb(177, 41, 87) 0%, rgb(209, 95, 133) 100%);
  color: white;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
}/*# sourceMappingURL=common.css.map */