:root{
  --u-white: #ffffff;
  --u-gray:  #f3f3f3;
  --u-purple:#f2e9ff;

  --u-content-w: 860px;
  --u-border: #444;
  --u-rowline: #666;
}

/* 背景 */
.u-hero{
  background-image: url('../../img/user_top.jpg');
  height: clamp(260px, 67.5vw, 360px);
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.u-section{ padding: 80px 0 44px; }
.u-section--cancel { padding-bottom: 124px; }
/* .u-section--white{ background: var(--u-white); } */
/* .u-section--gray{  background: var(--u-gray);  } */

.u-heroInner{
  height: 100%;
  padding: 42px 0;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-sizing:border-box;
}
.u-heroTitle{
  margin:0;
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.15;
  color: #222;
  text-align: center;
}
.u-heroLead{ margin:0; color: #333; font-size: 12px; line-height: 1.7; }

.u-section--heroTitle{
  padding: 80px 0 0;
}

.u-section--heroTitle + .u-section{
  padding-top: 80px;
}

.u-centerTitle{
  margin:0;
  text-align:center;
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
}

/* 表・文章・下部ブロックの共通幅 */
.u-content{ max-width: var(--u-content-w); margin: 18px auto 0; }

/* H2→表は、写真→H1 / H1→H2 の約半分 */
.u-section--heroTitle + .u-section .u-content{
  margin-top: 40px;
}

/* 表 */
.u-tableCard{
  border: 1px solid var(--u-border);
  border-radius: 0;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.u-tableCard:hover{
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}
.u-row{
  display:grid;
  grid-template-columns: 280px 1fr;
  min-height: 54px;
}
.u-row + .u-row{ border-top: 1px solid var(--u-rowline); }
.u-th{
  background: #ececec;
  padding: 14px 16px;
  font-size: 14px;
  color: #111;
  display:flex;
  align-items:center;
  border-right: 1px solid var(--u-rowline);
}
.u-td{
  background: var(--page-bg);
  padding: 14px 16px;
  font-size: 14px;
  color: #333;
  display:flex;
  align-items:center;
}
.u-note{ margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* 基本情報セクション専用（添付デザイン） */
.u-content--basicInfo{
  max-width: 100%;
  display:grid;
  grid-template-columns: minmax(520px, 1.25fr) minmax(280px, 1fr);
  gap: 28px;
  align-items:start;
}

.u-tableCard--basicInfo{
  border: none;
  box-shadow: none;
  background: transparent;
}

.u-tableCard--basicInfo:hover{
  transform:none;
  box-shadow:none;
}

.u-content--basicInfo .u-row{
  grid-template-columns: 45% 55%;
  min-height: 84px;
}

.u-content--basicInfo .u-row + .u-row{
  border-top: 4px solid #f4efe8;
}

.u-content--basicInfo .u-th,
.u-content--basicInfo .u-td{
  justify-content:center;
  text-align:center;
  border-right: 4px solid #f4efe8;
  font-weight: 500;
  line-height: 1.35;
}

.u-content--basicInfo .u-th{
  background: #e6d4cb;
  color: #707070;
  font-size: clamp(18px, 1.6vw, 30px);
}

.u-content--basicInfo .u-td{
  background: #F7D4C9;
  color: #111;
  font-size: clamp(18px, 1.6vw, 30px);
}

.u-content--basicInfo .u-row > *:last-child{
  border-right: none;
}

.u-note--basicInfo{
  margin-top: 0;
  color: #555;
  font-size: clamp(18px, 1.5vw, 28px);
  line-height: 1.45;
  padding-top: 12px;
  padding-left: 8px;
}

@media (min-width: 821px){
  .u-content--basicInfo{
    max-width: calc(100% - 160px);
    gap: 18px;
  }

  .u-note--basicInfo{
    padding-top: 24px;
    padding-left: 12px;
    padding-right: 20px;
    line-height: 1.55;
  }
}

@media (max-width: 820px){
  :root{ --u-content-w: 520px; }
  #users main .container{ padding-inline: 36px; }
  .u-section{ padding-top: 44px; }
  .u-section--heroTitle{ padding-top: 44px; }
  .u-section--heroTitle + .u-section{ padding-top: 44px; }
  .u-section--heroTitle + .u-section .u-content{ margin-top: 22px; }
  .u-heroTitle{ font-size: clamp(28px, 9vw, 38px); font-weight: 700; }
  .u-heroTitle,
  .u-centerTitle{ padding-inline: 24px; }
  .u-row{ grid-template-columns: 1fr; }
  .u-th{ border-right: none; border-bottom: 1px solid var(--u-rowline); font-weight: 700; }
  .u-centerTitle{ font-size: clamp(22px, 7vw, 30px); font-weight: 700; }

  .u-content--basicInfo{
    display:block;
    max-width: var(--u-content-w);
  }

  .u-tableCard--basicInfo{
    width: 100%;
  }

  .u-content--basicInfo .u-row{
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .u-content--basicInfo .u-th,
  .u-content--basicInfo .u-td{
    border-right: none;
    padding: 7px 5px;
  }

  .u-content--basicInfo .u-th{
    border-bottom: 2px solid #f4efe8;
    font-size: clamp(10px, 2.8vw, 13px);
  }

  .u-content--basicInfo .u-td{
    border-bottom: none;
    font-size: clamp(12px, 3.6vw, 16px);
  }

  .u-content--basicInfo .u-note--basicInfo{
    margin-top: 18px;
    font-size: clamp(12px, 3.4vw, 18px);
    line-height: 1.6;
  }
}

  /* シッティング料金セクション専用 */
  .u-content--pricing{
    margin-top: 18px;
    max-width: 100%;
  }

  @media (min-width: 821px){
    .u-content--pricing{
      max-width: calc(100% - 160px);
    }
  }

  .u-tableCard--pricing{
    border: none;
    box-shadow: none;
    background: transparent;
    margin-top: 40px;
  }

  .u-tableCard--pricing:hover{
    transform: none;
    box-shadow: none;
  }

  .u-content--pricing .u-row{
    grid-template-columns: 38% 62%;
    min-height: 92px;
  }

  .u-content--pricing .u-row + .u-row{
    border-top: 6px solid #f4efe8;
  }

  .u-content--pricing .u-th,
  .u-content--pricing .u-td{
    justify-content: center;
    text-align: center;
    border-right: 6px solid #f4efe8;
    font-weight: 500;
    line-height: 1.35;
    padding: 10px 14px;
  }

  .u-content--pricing .u-th{
    background: #e6d4cb;
    color: #707070;
    font-size: clamp(18px, 1.6vw, 30px);
  }

  .u-content--pricing .u-td{
    background: #F7D4C9;
    color: #111;
    font-size: clamp(18px, 1.6vw, 30px);
  }

  .u-content--pricing .u-row > *:last-child{
    border-right: none;
  }

  .u-content--pricing .u-row--head{
    min-height: 74px;
  }

  .u-content--pricing .u-row--head .u-th,
  .u-content--pricing .u-row--head .u-td{
    background: #eec3b6;
    color: #6f6f6f;
    font-size: clamp(18px, 1.6vw, 30px);
  }

  .u-content--pricing .u-td small{
    display: block;
    margin-top: 8px;
    font-size: clamp(12px, 1.05vw, 18px);
    line-height: 1.45;
  }

  .u-content--pricing .u-row--traffic .u-td{
    flex-direction: column;
  }

  .u-content--pricing .u-priceMain{
    display: block;
    white-space: nowrap;
    line-height: 1.1;
  }

  .u-note--pricing{
    margin-top: 26px;
    color: #5f5f5f;
    font-size: clamp(18px, 1.5vw, 28px);
    line-height: 1.45;
    padding-left: 6px;
  }

  @media (max-width: 820px){
    .u-content--pricing{
      max-width: var(--u-content-w);
    }

    .u-content--pricing .u-row,
    .u-content--pricing .u-row--head{
      grid-template-columns: 34% 66%;
      min-height: 0;
    }

    .u-content--pricing .u-row + .u-row{
      border-top-width: 4px;
    }

    .u-content--pricing .u-th,
    .u-content--pricing .u-td{
      border-right-width: 4px;
      border-bottom: none;
      padding: 9px 6px;
      white-space: nowrap;
    }

    .u-content--pricing .u-th{
      font-size: clamp(10px, 2.8vw, 13px);
    }

    .u-content--pricing .u-td{
      font-size: clamp(12px, 2vw, 16px);
      line-height: 1.35;
      letter-spacing: -0.01em;
    }

    .u-content--pricing .u-row--head .u-th,
    .u-content--pricing .u-row--head .u-td{
      font-size: clamp(10px, 2.8vw, 13px);
    }

    .u-content--pricing .u-td small{
      margin-top: 5px;
      font-size: clamp(7px, 1.95vw, 10px);
      line-height: 1.45;
      white-space: nowrap;
    }

    .u-content--pricing .u-row--traffic .u-td,
    .u-content--pricing .u-row--traffic .u-td small{
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .u-content--pricing .u-priceMain{
      font-size: inherit;
    }

    .u-note--pricing{
      margin-top: 14px;
      font-size: clamp(12px, 3.5vw, 18px);
      line-height: 1.55;
      padding-left: 0;
    }
  }

/* ★フロー：箱をもっと大きく（横幅・高さ感） */
.u-flowBox{
  margin: 18px auto 0;
  width: 100%;
  max-width: calc(100% - 160px);
  background: var(--page-bg);
  border-radius: 0;
  padding: 34px 20px;
}

.u-flow{
  display:grid;
  gap: 22px;
  --u-flow-c1: #eedbd4;
  --u-flow-c2: #ebd3cb;
  --u-flow-c3: #e8cbc3;
  --u-flow-c4: #e3afb5;
  --u-flow-c5: #d99ea5;
}

.u-step{
  width: min(270px, 100%);
  min-width: 0;
  display:flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align:left;
}
.u-stepNo{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--u-flow-c1);
  color:#444;
  display:grid;
  place-items:center;
  margin: 0;
  font-weight: 800;
  font-size: 18px;
}

.u-stepNo--1{ background: var(--u-flow-c1); }
.u-stepNo--2{ background: var(--u-flow-c2); }
.u-stepNo--3{ background: var(--u-flow-c3); }
.u-stepNo--4{ background: var(--u-flow-c4); }
.u-stepNo--5{ background: var(--u-flow-c5); }
.u-stepTitle{
  font-size: 18px;
  margin: 0 0 0 10px;
  line-height: 1.2;
  text-align: left;
}
.u-stepText{
  flex: 0 0 100%;
  margin-top: 8px;
  max-width: 210px;
  padding-left: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 12px;
  color: #6f6f6f;
  line-height: 1.65;
}

.u-flowRow{
  display:grid;
  justify-items:center;
  gap: 20px;
}

.u-flowRow .u-step{
  transform: translateX(-10px);
}

.u-flowRow--top{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.u-flowRow--top .u-step:nth-child(1){
  transform: translateX(-24px);
}

.u-flowRow--top .u-step:nth-child(3){
  transform: translateX(4px);
}

.u-flowRow--bottom{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 821px){
  #users .u-step{
    align-content: flex-start;
  }

  #users .u-stepTitle{
    display: inline-block;
    width: auto;
    margin-left: 10px;
    text-align: left;
  }

  #users .u-stepText{
    display: block;
    width: 100%;
    flex: 0 0 100%;
    margin-top: 10px;
    text-align: left;
  }
}

.u-flowTrack{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.u-trackItem{
  position: relative;
  height: 58px;
  background: var(--u-flow-c1);
  display:grid;
  place-items:center;
  font-size: 34px;
  color: #555;
  /* font-weight: 700; */
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 18px 50%);
}

.u-trackItem:nth-child(1){ background: var(--u-flow-c1); }
.u-trackItem:nth-child(2){ background: var(--u-flow-c2); }
.u-trackItem:nth-child(3){ background: var(--u-flow-c3); }
.u-trackItem:nth-child(4){ background: var(--u-flow-c4); }
.u-trackItem:nth-child(5){ background: var(--u-flow-c5); }

.u-trackItem:first-child{
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
}

.u-trackItem span{
  display:grid;
  place-items:center;
  width: 38px;
  height: 38px;
  font-size: 30px;
  line-height: 1;
  transform: translateX(-6px);
}

.u-trackItem.is-active{
  background: var(--u-flow-c4);
}

@media (max-width: 820px){
  .u-flowBox{ padding: 18px 10px; width: 100%; max-width: var(--u-content-w); }
  #users .u-flow{ gap: clamp(12px, 2.6vw, 18px); }
  #users .u-flowRow{ align-items: start; }
  #users .u-flowRow--top{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(8px, 2vw, 14px);
  }
  #users .u-flowRow .u-step{ transform: translateX(-6px); }
  #users .u-flowRow--top .u-step:nth-child(1){ transform: translateX(-12px); }
  #users .u-flowRow--top .u-step:nth-child(3){ transform: translateX(2px); }
  #users .u-flowRow--bottom{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(10px, 2.2vw, 16px);
    max-width: 100%;
  }
  #users .u-flowTrack{
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: clamp(5px, 1.5vw, 10px);
  }
  #users .u-step{
    width: min(200px, 100%);
    min-width: 0;
    align-content: flex-start;
  }
  #users .u-stepNo{
    width: clamp(28px, 8.2vw, 34px);
    height: clamp(28px, 8.2vw, 34px);
    font-size: clamp(10px, 2.8vw, 13px);
  }
  #users .u-stepTitle{ font-size: clamp(12px, 2.8vw, 16px); margin-left: 7px; text-align: left; }
  #users .u-stepText{
    margin-top: 5px;
    max-width: 150px;
    min-height: calc(1.5em * 3);
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    font-size: clamp(10px, 2.3vw, 12px);
    line-height: 1.5;
    word-break: break-word;
  }
  #users .u-trackItem{
    height: clamp(30px, 8.5vw, 46px);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 12px 50%);
  }
  #users .u-trackItem:first-child{
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  }
  #users .u-trackItem span{
    width: clamp(14px, 4.2vw, 19px);
    height: clamp(14px, 4.2vw, 19px);
    font-size: clamp(9px, 2.2vw, 11px);
    transform: translateX(0);
  }
}

/* キャンセルについて */
.u-miniTitle{
  text-align: center;
  font-size: clamp(20px, 2.1vw, 34px);
  margin-top: 0;
  color: #111;
  line-height: 1.25;
}

.u-miniTitleSub{
  text-align: center;
  font-size: clamp(14px, 1.2vw, 20px);
  color: #686868;
  margin: 8px 0 24px;
}

.u-content--cancel{
  max-width: calc(100% - 160px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  justify-items: center;
  color: #6e6e6e;
}

.u-cancelFeeList{
  display: grid;
  gap: 34px;
}

.u-cancelFeeItem{
  text-align: center;
}

.u-cancelFeeLead{
  font-size: clamp(18px, 1.8vw, 26px);
  color: #6a6a6a;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.u-cancelFeeValue{
  margin-top: 6px;
  font-size: clamp(15px, 1.6vw, 22px);
  color: #6a6a6a;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.u-cancelRate{
  color: #ff4b4b;
}

.u-cancelNotice{
  padding-top: 0;
  color: #6a6a6a;
  width: 50%;
  text-align: center;
}

.u-cancelNotice p{
  margin: 0;
  font-size: clamp(14px, 1.1vw, 20px);
  line-height: 1.55;
}

@media (max-width: 820px){
  .u-miniTitle{
    font-size: clamp(18px, 5vw, 24px);
  }

  .u-miniTitleSub{
    font-size: clamp(11px, 2.9vw, 14px);
    margin: 6px 0 16px;
  }

  .u-content--cancel{
    max-width: var(--u-content-w);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .u-cancelFeeList{
    gap: 14px;
  }

  .u-cancelFeeLead{
    font-size: clamp(12px, 4vw, 18px);
    letter-spacing: 0.01em;
  }

  .u-cancelFeeValue{
    margin-top: 2px;
    font-size: clamp(12px, 4vw, 18px);
    letter-spacing: 0.01em;
  }

  .u-cancelNotice{
    padding-top: 6px;
    width: 100%;
  }

  .u-cancelNotice p{
    font-size: clamp(11px, 2.9vw, 15px);
    line-height: 1.7;
  }
}

/* Contact幅を表と揃える */
.contactBox--wide{ max-width: var(--u-content-w); }

/* 戻る */
.u-back{ text-align:center; margin-top: 16px; }
.u-backLink{
  color: var(--muted);
  text-decoration:none;
  border-bottom: 1px solid rgba(0,0,0,.18);
  padding-bottom: 2px;
  font-size: 12px;
}

/* フッターロゴ */
.u-footerLogo{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  display:grid;
  place-items:center;
  margin: 0 auto 8px;
  overflow:hidden;
}
.u-footerLogo img{ width: 76%; height: 76%; object-fit: contain; display:block; }

@media (max-width: 820px){
  #users .u-content--basicInfo .u-note--basicInfo,
  #users .u-note--pricing,
  #users .u-cancelNotice p{
    font-size: clamp(10px, 2.9vw, 15px);
  }
}
