@charset "UTF-8";

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --color-bg:       #ffffff;
  --color-bg-50:    #f9f8f4;
  --color-bg-100:   #f1eee5;
  --color-bg-200:   #e7e4dc;
  --color-text:     #4b3d34;
  --color-blue-400: #a7c3c9;
  --color-blue-500: #8aadb4;
  --color-white:    #ffffff;

  --font-en:        'Bellefair', serif;
  --font-serif-jp:  'Noto Serif JP', serif;
  --font-sans-jp:   'Noto Sans JP', sans-serif;
  --font-script:    'Mrs Saint Delafield', cursive;

  --header-height:  64px;
  --max-width:      1440px;
  --content-width:  1248px;
}

/* =============================================
   UTILITY
   ============================================= */
.u-br-sp { display: none; }
@media (max-width: 767px) {
  .u-br-sp { display: inline; }
}

/* =============================================
   RESET / BASE
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dt, dd,
figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

@media (hover: hover) {
  a:hover { opacity: 0.7; }
}

input, button, textarea, select {
  font: inherit;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  outline: none;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (max-width: 1298px) {
  html { font-size: 1.2326656394vw; }
}

@media (max-width: 767px) {
  html { font-size: 4.2666666667vw; }
}

body {
  font-family: var(--font-sans-jp);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg-50);
  overflow-x: hidden;
}

/* =============================================
   HEADER
   ============================================= */
.p-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-bg-50);
  border-bottom: 0.5px solid var(--color-text);
  overflow: hidden;
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  /* max-width: var(--max-width); */
  margin: 0 auto;
  padding-left: 32px;
}

.p-header__logo {
  flex-shrink: 1;
  min-width: 0;
}

.p-header__logo-link {
  display: block;
}

.p-header__logo-img {
  height: 40px;
  width: auto;
}

.p-header__logo-text {
  font-family: var(--font-en);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.p-header__cta {
  flex-shrink: 0;
  margin-left: auto;
}

.p-header__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  padding: 0 32px;
  background-color: var(--color-blue-500);
  color: var(--color-white);
  font-family: var(--font-serif-jp);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.3s, opacity 0.3s;
}

.p-header__cta-btn:hover {
  opacity: 0.85;
}

.p-header__cta-img {
  margin-right: 8px;
}

@media (max-width: 767px) {
  :root {
    --header-height: 56px;
  }

  .p-header__inner {
    padding-left: 0;
    padding-right: 0;
  }

  .p-header__logo-img {
    height: 28px;
  }

  .p-header__cta {
    display: none;
  }
}

/* =============================================
   FV / HERO
   ============================================= */
.p-fv {
  position: relative;
  width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #8fa8a8; /* fallback color */
  /*
    TODO: 実際の画像ファイルを assets/images/top/fv.jpg に配置後、
    以下のコメントを解除してください：
    background-image: url('../images/top/fv.jpg');
    background-size: cover;
    background-position: center;
  */

  /* 暫定：Figma一時URL（7日間有効） */
  background-image: url('../images/fv_pc.webp');
  background-size: cover;
  background-position: center;
}

.p-fv::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.p-fv__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  color: var(--color-white);
  text-align: center;
}

.p-fv__heading {
  font-family: var(--font-en);
  font-size: 4.5rem; /* 72px */
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.p-fv__subtext {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  font-size: 1.75rem; /* 28px */
  letter-spacing: 0.08em;
  line-height: 1.8;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .p-fv {
    height: auto;
    min-height: calc(100svh - var(--header-height));
  }
}

@media (max-width: 767px) {
  .p-fv {
    padding: 64px 24px;
  }

  .p-fv__content {
    gap: 28px;
  }

  .p-fv__heading {
    font-size: 32px;
  }

  .p-fv__subtext {
    font-size: 15px;
    white-space: normal;
  }
}

/* =============================================
   CONCEPT
   ============================================= */
.p-concept {
  background-color: var(--color-bg-50);
  padding: 128px 0;
}

.p-concept__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.p-concept__lead {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--color-text);
}

.p-concept__lead-main {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  font-size: 1.75rem; /* 28px */
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.p-concept__lead-sub {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  font-size: 1.75rem; /* 28px */
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.p-concept__body {
  max-width: 719px;
  color: var(--color-text);
  font-family: var(--font-serif-jp);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.03em;
  line-height: 2.2;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

/* =============================================
   MARQUEE
   ============================================= */
.p-marquee {
  overflow: hidden;
  padding: 24px 0 0;
  background-color: var(--color-bg-50);
}

.p-marquee__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 150s linear infinite;
  width: max-content;
}

.p-marquee__item {
  font-family: var(--font-en);
  font-size: 6rem; /* 96px */
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-bg-200);
  padding: 0 24px;
  line-height: 1.4;
}

.p-marquee__sep {
  color: var(--color-bg-200);
  font-size: 2rem;
  padding: 0 8px;
  flex-shrink: 0;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .p-marquee__sep-img {
    height: 40px;
    width: auto;
  }
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   NEUROBEAUTY
   ============================================= */
.p-neurobeauty {
  display: flex;
  min-height: 420px;
  position: relative;
  margin-top: -2rem;
}

.p-neurobeauty__text-col {
  width: 50%;
  background-color: var(--color-bg-100);
  padding: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.p-neurobeauty__heading {
  font-family: var(--font-en);
  font-size: 2.25rem; /* 36px */
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--color-text);
}

.p-neurobeauty__body {
  font-family: var(--font-sans-jp);
  font-weight: 300;
  font-size: 0.875rem; /* 14px */
  letter-spacing: 0.03em;
  line-height: 2;
  color: var(--color-text);
}

.p-neurobeauty__image-col {
  width: 50%;
  position: relative;
  overflow: hidden;
  min-height: 420px;

  background-image: url('../images/neuro_img.jpg');
  background-size: cover;
  background-position: center;
  /*
    TODO: 実際の画像ファイルを assets/images/top/neurobeauty.jpg に配置後、
    上記のURLを以下に差し替えてください：
    background-image: url('../images/top/neurobeauty.jpg');
  */
}

.p-neurobeauty__image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   DOCTOR
   ============================================= */
.p-doctor {
  background-color: var(--color-bg-50);
  padding: 128px 96px;
}

.p-doctor__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.p-doctor__content {
  width: 824px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.p-doctor__top {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
}

.p-doctor__en-title {
  font-family: var(--font-en);
  font-size: 4rem; /* 64px */
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.8;
  color: var(--color-blue-400);
  text-transform: uppercase;
}

.p-doctor__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-doctor__name {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
}

.p-doctor__name-label {
  font-size: 1.25rem; /* 20px */
}

.p-doctor__name-ja {
  font-size: 1.75rem; /* 28px */
  letter-spacing: 0.08em;
}

.p-doctor__name-slash {
  font-size: 1.75rem; /* 28px */
}

.p-doctor__name-en {
  font-family: var(--font-en);
  font-size: 1.75rem; /* 28px */
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.p-doctor__specialty {
  display: block;
  font-size: 1rem; /* 16px */
  margin-bottom: 8px;
}

.p-doctor__text-cols {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.p-doctor__text {
  /* width: 400px; */
  width: 100%;
  font-family: var(--font-sans-jp);
  font-weight: 300;
  font-size: 0.875rem; /* 14px */
  letter-spacing: 0.03em;
  line-height: 2;
  color: var(--color-text);
  flex-shrink: 0;
}

.p-doctor__signature {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.p-doctor__signature-text {
  font-family: var(--font-script);
  font-size: 2rem; /* 32px */
  font-style: normal;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  white-space: nowrap;
}

/* =============================================
   FOOTER
   ============================================= */
.p-footer {
  background-color: var(--color-blue-400);
  padding-top: 96px;
  overflow: hidden;
  position: relative;
}

.p-footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 0 96px;
  display: flex;
  flex-direction: column;
  gap: 62px;
}

.p-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

/* Footer Logo */
.p-footer__logo {
  flex-shrink: 0;
}

.p-footer__logo-link {
  display: block;
}

.p-footer__logo-img {
  height: 72px;
  width: auto;
}

.p-footer__logo-text-fallback {
  font-family: var(--font-en);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--color-white);
}

/* Footer Info */
.p-footer__info {
  flex-shrink: 0;
}

.p-footer__info-list {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0 24px;
  color: var(--color-white);
  font-family: var(--font-sans-jp);
  font-weight: 400;
  font-size: 0.875rem; /* 14px */
  letter-spacing: 0.04em;
  width: 440px;
}

.p-footer__info-item {
  display: contents;
}

.p-footer__info-label {
  line-height: 2.2;
  align-self: start;
  padding-top: 0;
}

.p-footer__info-text {
  line-height: 1.8;
  align-self: start;
  padding: 0.3em 0 0;
}

.p-footer__info-text a {
  color: var(--color-white);
}

/* Footer Map */
.p-footer__map {
  flex: 1;
  width: 424px;
  height: 239px;
  overflow: hidden;
}

.p-footer__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer bottom */
.p-footer__bottom {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 0 0;
  width: 100%;
}

.p-footer__copyright {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  font-size: 0.75rem; /* 12px */
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-align: center;
  line-height: 1.8;
  padding-bottom: 0;
}

/* Footer large decorative text */
.p-footer__large-text {
  color: var(--color-bg-200);
  display: block;
  font-family: var(--font-en);
  font-size: clamp(3rem, 14.7vw, 17rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: -0.2em;
  min-width: 100%;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  white-space: nowrap;
  width: max-content;
}

.p-sp-fixed-cta {
  display: none;
}
/* =============================================
   RESPONSIVE — SP (max 767px)
   ============================================= */
@media (max-width: 1250px) {
  .p-footer__top {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
  }

  .p-footer__info-list {
    align-self: center;
    width: 100%;
  }

  .p-footer__map {
    width: 100%;
    padding: 0 10rem;
  }
}

@media (max-width: 767px) {

  :root {
    --header-height: 56px;
  }

  /* Header */
  .p-header__inner {
    padding-left: 20px;
  }

  .p-header__logo-img {
    height: 28px;
  }

  .p-header__cta-btn {
    height: var(--header-height);
    padding: 0 20px;
    font-size: 0.8125rem;
  }

  /* FV */
  .p-fv {
    height: 560px;
  }

  .p-fv__content {
    gap: 32px;
    padding: 0 24px;
  }

  .p-fv__heading {
    font-size: 2.5rem;
    white-space: nowrap;
  }

  .p-fv__subtext {
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }

  /* Concept */
  .p-concept {
    padding: 80px 0;
  }

  .p-concept__inner {
    padding: 0 24px;
    gap: 40px;
  }

  .p-concept__lead-main,
  .p-concept__lead-sub {
    font-size: 1.125rem;
  }

  .p-concept__body {
    font-size: 0.875rem;
    text-align: center;
  }

  /* Marquee */
  .p-marquee {
    margin-top: -32px;
  }

  .p-marquee__item {
    font-size: 3rem;
  }

  /* NeuroBeauty */
  .p-neurobeauty {
    flex-direction: column;
    margin-top: -1rem;
  }

  .p-neurobeauty__text-col {
    width: 100%;
    padding: 56px 24px;
  }

  .p-neurobeauty__image-col {
    background-image: url('../images/neuro_img_sp.jpg');
    width: 100%;
    min-height: 390px;
  }

  /* Doctor */
  .p-doctor {
    padding: 80px 24px;
  }

  .p-doctor__content {
    width: 100%;
  }

  .p-doctor__top {
    gap: 40px;
  }

  .p-doctor__en-title {
    font-size: 2.5rem;
  }

  .p-doctor__name-ja,
  .p-doctor__name-slash,
  .p-doctor__name-en {
    font-size: 1.375rem; /* 18px */
  }

  .p-doctor__text-cols {
    flex-direction: column;
    gap: 16px;
  }

  .p-doctor__text {
    width: 100%;
  }

  .p-doctor__specialty {
    display: block;
    font-size: 0.875rem; /* 14px */
  }

  .p-doctor__name-label {
    display: block;
    font-size: 0.875rem; /* 14px */
  }

  /* Footer */
  .p-footer {
    padding-top: 56px;
  }

  .p-footer__inner {
    padding: 0 24px 32px;
    gap: 40px;
  }

  .p-footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .p-footer__info-list {
    width: 100%;
  }

  .p-footer__map {
    height: 239px;
    padding: 0;
    width: 358px;
  }

  .p-footer__map iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .p-footer__large-text {
    margin-bottom: 56px;
  }

  /* SP Fixed CTA */
  .p-sp-fixed-cta {
    display: flex;
  }
/* =============================================
   SP Fixed CTA Bar
   ============================================= */
.p-sp-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.p-sp-fixed-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  background-color: var(--color-blue-500);
  color: var(--color-white);
  font-family: var(--font-serif-jp);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  gap: 8px;
  transition: opacity 0.3s;
}

.p-sp-fixed-cta__btn:hover {
  opacity: 0.85;
}
}

/* =============================================
   REGENERATIVE MEDICINE
   ============================================= */
.p-regenerative {
  background-color: var(--color-bg-100);
  padding: 64px 0;
}

.p-regenerative__inner {
  margin: 0 auto;
  max-width: var(--content-width);
  padding: 0 24px;
  text-align: center;
}

.p-regenerative__title {
  color: var(--color-text);
  font-family: var(--font-serif-jp);
  font-size: max(1.125rem, 14px);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.p-regenerative__text {
  color: var(--color-text);
  font-family: var(--font-sans-jp);
  font-size: max(0.875rem, 12px);
  letter-spacing: 0.05em;
  line-height: 2;
}

@media (max-width: 767px) {
  .p-regenerative {
    padding: 48px 0;
  }

  .p-regenerative__inner {
    padding: 0 20px;
    text-align: left;
  }

  .p-regenerative__title {
    font-size: max(0.9375rem, 13px);
  }

  .p-regenerative__text {
    font-size: max(0.75rem, 11px);
  }
}