@charset "utf-8";

/* ======================= Base / Reset ======================= */
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  /* 固定ヘッダー分 */
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* スムーススクロール／固定ヘッダー分のオフセット */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 100px;
}

/* スティッキーフッター */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  /* 固定ヘッダー分 */
}

main {
  flex: 1;
}




/* ======================= Header ======================= */

/* ==== 固定ヘッダーを“可変にしない”ためのロック ==== */
.well-header {
  height: 80px;
  /* 既定と同じ高さを強制 */
  min-height: 80px;
  max-height: 80px;
  overflow: hidden;
  /* はみ出したときも高さを増やさない */
}

/* 内側のラッパーも同じ高さで固定 */
.well-header__inner {
  height: 80px;
}

/* ナビが折り返して高さを押し上げないようにする */
.well-header__nav ul {
  flex-wrap: nowrap;
  /* 折り返し禁止 */
}

/* テキストの折り返し防止（長い文言があっても1行のまま） */
.well-header__nav a {
  white-space: nowrap;
}

/* ロゴ画像で高さが膨らまないように再確認（既存と同じだが明示） */
.well-header__logo img {
  max-height: 46px;
  height: 46px;
  width: auto;
  display: block;
}



.well-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #74206F;
  color: #fff;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.well-header__inner {
  max-width: 1470px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.well-header__logo img {
  height: 46px;
  width: auto;
  display: block;
}

.well-header__nav ul {
  display: flex;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.well-header__nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
  transition: opacity .2s ease;
}

.well-header__nav a:hover {
  opacity: .8;
}

/* ハンバーガー */
.well-header__toggle {
  display: none;
}

.well-header__btn {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.well-header__btnbar {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .25s, opacity .25s, top .25s;
}

.well-header__btnbar:nth-child(1) {
  top: 11px;
}

.well-header__btnbar:nth-child(2) {
  top: 19px;
}

.well-header__btnbar:nth-child(3) {
  top: 27px;
}

/* フォーカス可視化 */
.well-header a:focus-visible,
.well-header__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ======================= Hero ======================= */
.well-hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.well-hero__img {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  animation-fill-mode: both;
  will-change: opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.img-1 {
  background-image: url("../img/well_woman.png");
  animation: fadeA 12s ease-in-out infinite both;
}

.img-2 {
  background-image: url("../img/well_man.png");
  animation: fadeB 12s ease-in-out infinite both;
}

@keyframes fadeA {

  0%,
  46% {
    opacity: 1
  }

  50%,
  96% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@keyframes fadeB {

  0%,
  46% {
    opacity: 0
  }

  50%,
  96% {
    opacity: 1
  }

  100% {
    opacity: 0
  }
}

.well-hero__overlay {
  position: absolute;
  top: 0;
  left: -100px;
  width: calc(100% + 100px);
  height: 100%;
  background: url("../img/purple.png") center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
}

.well-hero__text {
  position: absolute;
  left: 60px;
  top: 60px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  font-size: 36px;
}

/* ======================= Section common ======================= */
.section {
  padding: 60px 20px;
}

.section-lead {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #004086;
}

.viewmore {
  text-align: right;
  margin-top: 1em;
}

.viewmore img {
  width: 260px;
  height: auto;
}

/* ======================= Curves / Mens Curves ======================= */
/* ===== カーブスボタン中央寄せ ===== */
.curves-btn-wrap {
  text-align: center;
  /* ← 中央揃え */
  margin-top: 16px;
  /* 適宜余白調整 */
}


.curves-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  padding-top: 110px;
  padding-bottom: 130px;
  max-width: 1470px;
  margin: 0 auto;
}

.curves-item {
  flex: 1 1 460px;
  max-width: 710px;
}

/* Mens Curves */
.menscurves__open {
  font-size: 27px;
  line-height: 1.6;
  color: #000;
  margin: 0 0 6px;
  text-align: center;
}

.menscurves__date {
  color: #d70000;
  font-weight: 700;
  font-size: 45px;
}

.menscurves__logo {
  max-width: 650px;
  height: auto;
  margin: 10px auto 20px;
  display: block;
}

.menscurves__video {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

.menscurves__btn {
  width: 710px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #243b8b;
  color: #fff;
  font-weight: 600;
  font-size: 33px;
  padding: 12px 26px;
  border-radius: 40px;
  text-decoration: none;
  transition: opacity .3s;
  line-height: 1.4;
}

.menscurves__btn:hover {
  opacity: .85;
}

.facility-btn_pink_top,
.facility-btn_pink {
  display: inline-block;
  padding: 12px 28px;
  background: #E4007F;
  color: #fff;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  text-align: center;
  transition: transform .08s ease, box-shadow .08s ease, opacity .2s ease;
}

.facility-btn_pink_top {
  width: 360px;
}

.facility-btn_pink {
  width: 200px;
}

.facility-btn_pink_top:hover,
.facility-btn_pink:hover {
  transform: translateY(1px);
  opacity: .95;
}

/* ====== ボタン（＞ webサイトへ） ====== */
.facility_bot-action {
  text-align: left;
}

/* Curves Announce */
.curves-announce__wrap {
  text-align: center !important;
}

.curves-announce__headline {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 6px;
  text-align: center;
}

.curves-announce__sub {
  margin: 0 0 18px;
  font-size: 25px;
  color: #000;
  text-align: center;
}

.curves-announce__sub_2 {
  margin-top: 5px;
  margin-right: 0px;
  margin-bottom: 18px;
  margin-left: 0px;
  font-size: 27px;
  color: #000;
  text-align: center;
}

.curves-announce__logo {
  max-width: 650px;
  height: auto;
  margin: 37px auto 39px;
  display: block;
}

.curves-announce__video {
  position: relative;
  display: block;
  width: 100%;
  max-width: 710px;
  margin: 0 auto 28px;
  background: #cfcfcf;
  border-radius: 8px;
  aspect-ratio: 16/9;
}

.curves-announce__video::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 52px;
  background: #ff0000;
  border-radius: 8px;
  clip-path: polygon(30% 20%, 80% 50%, 30% 80%);
}

.curves__btn {
  width: 710px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7d2c86;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  padding: 12px 26px;
  border-radius: 40px;
  text-decoration: none;
  transition: opacity .3s;
  line-height: 1.4;
}

.curves__btn:hover {
  opacity: .85;
}

/* YouTube共通ラッパー */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 710px;
  aspect-ratio: 16/9;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 8px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Mens Curves 動画の比率固定 */
.menscurves__video {
  position: relative;
  width: 100%;
  max-width: 710px;
  aspect-ratio: 16/9;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.menscurves__video iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
}


/* ======================= Contents / Rinen ======================= */
.contents-section {
  padding: 48px 20px 32px;
  background: #fff;
  color: #000;
  width: 1100px;
  /* ← 幅を固定 */
  max-width: 1100px;
  min-width: 1100px;
  margin: 0 auto;
  /* 中央寄せ */
}

.contents-wrap {
  width: 1100px;
  /* ← 内側のラッパーも同じ幅で固定 */
  max-width: 1100px;
  min-width: 1100px;
  margin: 0 auto;
}




.rinen-heading {
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  color: #6E0F72;
  margin-bottom: 70px;
  position: relative;
}

.rinen-heading::after {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  max-width: 1470px;
  background: #7F2B86;
  margin: 14px auto 0;
}

.rinen-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 70px;
}



/* ======================= ロゴスグループ（固定＆中央配置） ======================= */
.section.recruit {
  width: 1100px;
  /* 固定幅 */
  max-width: 1100px;
  min-width: 1100px;
  margin: 0 auto;
  /* 中央寄せ */
  background: #fff;
  text-align: center;
  padding: 48px 20px;
  /* 余白は維持 */
}

.section.recruit .inner {
  width: 100%;
  display: flex;
  justify-content: center;
  /* 中央寄せ */
  align-items: center;
  flex-direction: column;
}

.section.recruit .org-chart {
  display: block;
  width: 1000px;
  /* 固定幅（画像サイズに合わせて調整可） */
  max-width: 1000px;
  margin: 0 auto;
}

.section.recruit .org-chart img {
  width: 1000px;
  /* 固定サイズで可変禁止 */
  height: auto;
  display: block;
  margin: 0 auto;
}



/* ======================= Tables (会社概要) ======================= */
table.type,
table.type2 {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.7;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

table.type th,
table.type td,
table.type2 th,
table.type2 td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: middle;
  /* ← centerは無効値なので修正 */
  border-bottom: 1px solid #ddd;
}

table.type th.pink_box,
table.type2 th.pink_box {
  background: #e4007f;
  color: #fff;
  font-weight: bold;
}

/* 既存の見出し矢印（type / type2） */
table.type,
table.type2 {
  border-collapse: separate;
  border-spacing: 0px 15px;
}

table.type th,
table.type td,
table.type2 th,
table.type2 td {
  background-color: #efefef;
  padding: 20px 30px;
}

table.type th {
  vertical-align: middle;
  text-align: left;
  width: 300px;
  overflow: visible;
  position: relative;
  color: #fff;
  font-weight: normal;
}

table.type2 th {
  vertical-align: middle;
  text-align: left;
  width: 430px !important;
  overflow: visible;
  position: relative;
  color: #fff;
  font-weight: normal;
}

table.type th:after,
table.type2 th:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-left-color: #33bfdb;
  border-width: 10px;
  margin-top: -10px;
}

table.type th.pink_box:after,
table.type2 th.pink_box:after {
  border-left-color: #e4007f;
}

/* 店舗紹介テーブルの中心寄せ（PCのみwidth:auto） */
.content-wrap {
  max-width: 1470px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================= Curves 店舗カード ======================= */
.logo-row {
  max-width: 1200px;
  margin: 30px auto 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.logo-row img {
  max-width: 40%;
  height: auto;
  display: block;
}

.curves-grid1 {
  text-align: center;
  margin-bottom: 30px;
}

.curves-card_1.first-card {
  display: inline-block;
  margin: 0 auto;
}

.curves-grid2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0 auto 30px;
  text-align: center;
}

.curves-grid-left {
  max-width: 1420px;
  margin: 0 auto 200px;
  display: flex;
  justify-content: flex-start;
}

.curves-card {
  width: 695px;
  border: 4px solid #802077;
  background: #fff;
  padding: 15px;
}

.curves-card_1 {
  width: 695px;
  border: 4px solid #06418e;
  background: #fff;
  padding: 15px;
}

.curves-card.first-card {
  border: 2px solid #1e2679;
}

.curves-card-title {
  margin: 0 0 15px;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #802077;
}

.curves-card-title_1 {
  margin: 0 0 15px;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #06418e;
}

.curves-map {
  margin: 0 0 15px;
}

.curves-map img {
  width: 100%;
  display: block;
}

.curves-btn,
.curves-btn_1 {
  display: inline-block;
  padding: 10px 60px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  color: #fff;
  transition: background .3s ease;
  width: 500px;
  text-align: center;
  font-size: 20px;
}

.curves-btn {
  background: #802077;
}

.curves-btn_1 {
  background: #06418e;
}

.curves-btn:hover {
  background: #a43aa0;
}

.curves-btn_1:hover {
  background: #0a5bd1;
}

/* ======================= Footer ======================= */
.well-footer {
  --well-purple: #74206F;
  --well-text: #fff;
  background: var(--well-purple);
  color: var(--well-text);
  margin: 0;
}

.well-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  text-align: center;
}

.well-footer__logo img {
  width: min(320px, 45vw);
  height: auto;
  display: inline-block;
  margin-bottom: 28px;
}

.well-footer__info {
  font-size: 22px;
  line-height: 1.9;
  margin-bottom: 50px;
}

.well-footer__company {
  font-weight: 700;
  margin-bottom: 6px;
}

.well-footer__copy {
  letter-spacing: .06em;
  opacity: .9;
}

/* フッター内telリンクだけ白 */
.well-footer a[href^="tel:"] {
  color: #fff !important;
  text-decoration: underline;
}

.well-footer a[href^="tel:"]:hover {
  opacity: .85;
  text-decoration: underline;
}

/* ======================= Back to Top ======================= */
.pagetop {
  position: fixed;
  right: 60px;
  bottom: 60px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

.pagetop.show {
  opacity: 1;
  visibility: visible;
}

.pagetop img {
  display: block;
  cursor: pointer;
}

/* ======================= Misc ======================= */
/* 電話リンク：デフォルトは黒（フッターで上書き） */
a[href^="tel:"] {
  color: #000;
  text-decoration: underline;
}

a[href^="tel:"]:hover {
  opacity: .8;
  text-decoration: underline;
}

/* リクルートセクションの中央寄せ */
.section.recruit {
  max-width: 1470px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 20px;
  background: #fff;
}

/* ---- brタグ　PCでは非表示 ---- */
.sp-only {
  display: none;
}