/* 男性の目元治療ページ（page/menu/mens-eye.php）とトップの導線。Sass を経由しない手書き（case.css と同じ扱い） */
:root {
  --mens-navy: #1f2f46;
  --mens-gray: #5b6470;
  --mens-line: #c9ced6;
  --mens-bg: #eef0f3;
}

/* 共通部品の色をネイビー・グレーに */
.p-mens-eye .c-tit1,
.p-mens-eye .c-tit3 {
  background: none;
  color: var(--mens-navy);
  line-height: 1.4;
  position: relative;
}
.p-mens-eye .c-tit1 {
  padding-bottom: 28px;
}
.p-mens-eye .c-tit3 {
  padding-bottom: 22px;
}
.p-mens-eye .c-tit1::after,
.p-mens-eye .c-tit3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--mens-navy);
  transform: translateX(-50%);
}
.p-mens-eye .c-btn1 {
  border-color: var(--mens-navy);
  color: var(--mens-navy);
}
.p-mens-eye .c-btn1::after {
  background: var(--mens-navy);
  -webkit-mask: url(../img/arrow_link.svg) no-repeat center / contain;
  mask: url(../img/arrow_link.svg) no-repeat center / contain;
}
.p-mens-eye .c-btn1:hover {
  background: #fff;
  color: var(--mens-navy);
  opacity: 0.7;
}
.p-mens-eye .c-btn1:hover::after {
  background: var(--mens-navy);
}
.p-mens-eye .p-treatment-index__box {
  border-color: var(--mens-navy);
}
.p-mens-eye .p-treatment-index__box h2 {
  color: var(--mens-navy);
}
.p-mens-eye .p-treatment-index__list a,
.p-mens-eye .p-treatment-index__list .mark {
  color: var(--mens-navy);
}
.p-mens-eye .p-treatment-faq dt {
  color: var(--mens-navy);
}
.p-mens-eye .p-treatment-faq .p-treatment-detail__qa {
  border-color: var(--mens-line);
}
.p-mens-eye .p-treatment-price__block {
  background: var(--mens-bg);
}
.p-mens-eye .c-btn2 {
  background: var(--mens-navy);
  border-color: var(--mens-navy);
  color: #fff;
}
.p-mens-eye .c-btn2:hover {
  background: var(--mens-navy);
  color: #fff;
  opacity: 0.7;
}

/* MV */
.p-mens-eye .p-treatment-mv {
  background: linear-gradient(135deg, #2a3b54 0%, var(--mens-navy) 45%, #0c1522 100%);
  color: #fff;
}
.p-mens-eye .p-treatment-mv__txt__catch {
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1.35;
}
.p-mens-eye__subcatch {
  font-size: 1.7rem;
  line-height: 1.7;
  margin: 16px 0 0;
}
.p-mens-eye .p-treatment-mv__txt h1 {
  color: #fff;
  font-size: 2.4rem;
  line-height: 1.4;
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.p-mens-eye .p-treatment-mv__txt h1 .txt-ss {
  font-size: 70%;
}
.p-mens-eye .p-treatment-mv__img img {
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 115%;
}

/* セクション */
.p-mens-eye .p-treatment-feature p {
  margin-bottom: 1em;
}
.p-mens-eye__sec {
  padding: 70px 0;
}
.p-mens-eye__sec--gray {
  background: var(--mens-bg);
}
.p-mens-eye__sec > .l-inner > p {
  margin: 0 auto 1em;
}
.p-mens-eye .p-treatment-case,
.p-mens-eye .p-treatment-price,
.p-mens-eye .p-treatment-faq {
  padding-top: 70px;
  padding-bottom: 70px;
}
/* 白背景が続くブロックは上の余白を詰める */
.p-mens-eye #change,
.p-mens-eye #price,
.p-mens-eye #downtime,
.p-mens-eye #faq,
.p-mens-eye #risk {
  padding-top: 40px;
}
.p-mens-eye__note {
  text-align: center;
  color: var(--mens-gray);
  font-size: 1.5rem;
  margin: 0 0 24px;
}
.p-mens-eye .p-treatment-price .p-mens-eye__note {
  margin-bottom: 8px;
}
.p-mens-eye #downtime .p-mens-eye__note {
  margin: 16px auto 0;
}
.p-mens-eye__scroll {
  display: none;
}

/* 画像と本文の2カラム */
.p-mens-eye__media {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.p-mens-eye__media--rev {
  flex-direction: row-reverse;
}
.p-mens-eye__media__img {
  flex: 0 0 42%;
}
.p-mens-eye__media__img img,
.p-mens-eye__menu__img img {
  display: block;
  width: 100%;
  height: auto;
}
.p-mens-eye__media__txt p {
  margin: 0 0 1em;
}
.p-mens-eye__media__txt p:last-child {
  margin-bottom: 0;
}

/* 術式カード */
.p-mens-eye__menu__img {
  margin: 0 0 16px;
}
.p-mens-eye__menus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p-mens-eye__menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top: 3px solid var(--mens-navy);
  padding: 24px;
}
.p-mens-eye__sec:not(.p-mens-eye__sec--gray) .p-mens-eye__menu {
  background: var(--mens-bg);
}
.p-mens-eye__menu h3 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--mens-navy);
  line-height: 1.4;
  margin: 0 0 14px;
}
.p-mens-eye__menu h3 span {
  display: block;
  font-size: 1.4rem;
  color: var(--mens-gray);
  margin: 6px 0 0;
}
.p-mens-eye__menu p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 0 0 12px;
}
.p-mens-eye__more {
  margin-top: auto;
  padding: 8px 0 0;
  color: var(--mens-navy);
  font-size: 1.4rem;
  text-decoration: underline;
}
.p-mens-eye__more:hover {
  opacity: 0.7;
}

/* 料金 */
.p-mens-eye__tbl-tit {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--mens-navy);
  margin: 32px 0 4px;
}

/* ダウンタイムの表 */
.p-mens-eye__dt-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.p-mens-eye__dt {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 1.4rem;
  line-height: 1.6;
}
.p-mens-eye__dt th,
.p-mens-eye__dt td {
  border: 1px solid var(--mens-line);
  padding: 12px;
  vertical-align: middle;
  text-align: left;
  background: #fff;
}
.p-mens-eye__dt thead th {
  background: var(--mens-navy);
  color: #fff;
  font-weight: 500;
  text-align: center;
}
.p-mens-eye__dt tbody th {
  background: var(--mens-bg);
  color: var(--mens-navy);
  font-weight: 500;
  width: 17%;
}

/* リスク */
.p-mens-eye__risk th {
  width: 14em;
  white-space: nowrap;
  font-weight: 500;
  color: var(--mens-navy);
}

/* 医師からのメッセージ */
.p-mens-eye__msg {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.p-mens-eye__msg__img {
  flex: 0 0 280px;
}
.p-mens-eye__msg__img img {
  width: 100%;
  height: auto;
}
.p-mens-eye__msg__txt p {
  margin: 0 0 10px;
}
.p-mens-eye__msg__name {
  text-align: right;
  margin-top: 16px;
  color: var(--mens-navy);
}
.p-mens-eye__msg__name a {
  color: var(--mens-navy);
}

/* 共通パーツのバナー：直前がグレーの帯なので、帯にかからない位置へ */
.p-mens-eye .bnr_beginner {
  margin-top: 60px;
}

/* トップの導線 */
.p-top-mens {
  max-width: 624px;
  margin: 40px auto 0;
  padding: 0 12px;
}
.p-top-mens a {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 24px 130px 24px 20px;
  background: linear-gradient(135deg, #2a3b54 0%, var(--mens-navy) 45%, #0c1522 100%);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.5;
  text-decoration: none;
}
.p-top-mens a:hover {
  opacity: 0.7;
}
.p-top-mens__label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 12px;
  background: #fff;
  color: var(--mens-navy);
  font-size: 1.5rem;
}
.p-top-mens__txt {
  display: block;
}
.p-top-mens__img {
  position: absolute;
  right: 12px;
  bottom: -18px;
  width: auto;
  max-width: none;
  height: 130px;
}

@media screen and (max-width: 767px) {
  .p-mens-eye .p-treatment-mv__txt__catch {
    font-size: 2.6rem;
  }
  .p-mens-eye__subcatch {
    font-size: 1.3rem;
    margin-top: 10px;
  }
  .p-mens-eye .p-treatment-mv__txt h1 {
    font-size: 1.8rem;
    margin-top: 14px;
    padding-top: 10px;
  }
  .p-mens-eye .p-treatment-index {
    margin-top: 10px;
  }
  .p-mens-eye #change,
  .p-mens-eye #price,
  .p-mens-eye #downtime,
  .p-mens-eye #faq,
  .p-mens-eye #risk {
    padding-top: 10px;
  }
  .p-mens-eye__media {
    display: block;
  }
  .p-mens-eye__media__img {
    margin: 0 0 20px;
  }
  .p-mens-eye__media__img img,
  .p-mens-eye__menu__img img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  /* 裏ハムラ法は下の脂肪が切れないように */
  #lower .p-mens-eye__menu:nth-child(2) .p-mens-eye__menu__img img {
    object-position: center bottom;
  }
  .p-mens-eye .bnr_beginner {
    margin-top: 44px;
  }
  .p-mens-eye__sec,
  .p-mens-eye .p-treatment-case,
  .p-mens-eye .p-treatment-price,
  .p-mens-eye .p-treatment-faq {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .p-mens-eye__menus {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .p-mens-eye__menu {
    padding: 18px 16px;
  }
  .p-mens-eye__scroll {
    display: block;
    color: var(--mens-gray);
    font-size: 1.3rem;
    text-align: right;
    margin-bottom: 6px !important;
  }
  .p-mens-eye__dt {
    width: 720px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1.3rem;
  }
  .p-mens-eye__dt th,
  .p-mens-eye__dt td {
    border-width: 0 1px 1px 0;
  }
  .p-mens-eye__dt thead th {
    border-top-width: 1px;
  }
  .p-mens-eye__dt tr > :first-child {
    border-left-width: 1px;
  }
  .p-mens-eye__dt tbody th,
  .p-mens-eye__dt thead th:first-child {
    position: sticky;
    left: 0;
    width: 104px;
  }
  .p-mens-eye__risk,
  .p-mens-eye__risk tbody,
  .p-mens-eye__risk tr,
  .p-mens-eye__risk th,
  .p-mens-eye__risk td {
    display: block;
  }
  .p-mens-eye__risk tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--mens-line);
  }
  .p-mens-eye__risk tr:first-child {
    padding-top: 0;
  }
  .p-mens-eye__risk th,
  .p-mens-eye__risk td {
    width: auto;
    padding: 0;
    border: none;
    white-space: normal;
  }
  .p-mens-eye__risk th {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }
  .p-mens-eye__risk td {
    font-size: 1.3rem;
    line-height: 1.8;
  }
  .p-mens-eye__msg {
    display: block;
  }
  .p-mens-eye__msg__img {
    max-width: 240px;
    margin: 0 auto 20px;
  }
  .p-top-mens {
    margin-top: 30px;
  }
  .p-top-mens a {
    padding: 20px 100px 20px 14px;
    font-size: 1.5rem;
  }
  .p-top-mens__label {
    font-size: 1.3rem;
  }
  .p-top-mens__img {
    right: -10px;
    bottom: -16px;
    height: 126px;
  }
}

@media screen and (max-width: 480px) {
  .p-top-mens a {
    font-size: 1.4rem;
  }
  .p-mens-eye .p-treatment-mv__txt__catch {
    font-size: 2.1rem;
  }
  .p-mens-eye__subcatch {
    font-size: 1.2rem;
  }
  .p-mens-eye .p-treatment-mv__txt h1 {
    font-size: 1.6rem;
  }
  .p-mens-eye .p-treatment-mv__txt h1 .txt-ss {
    font-size: 66%;
    letter-spacing: 0;
  }
  .p-mens-eye .p-treatment-mv__img img {
    top: -12px;
    left: -20px;
    transform: none;
    height: 110%;
  }
}
