@charset "UTF-8";
/* CSS Document */
/* ============================================
   CSS変数
   ============================================ */ :root {
  /* カラー */
  --color-text: #343434;
  --color-text-white: #ffffff;
  --color-text-gray: #808080;
  --color-bg: #ffffff;
  --color-toggle-bg: #e0e0e0;
  --color-toggle-icon: #808080;
  /* フォントサイズ */
  --font-size-hero-title: 120px;
  --font-size-hero-subtitle: 16px;
  --font-size-section-title: 48px;
  --font-size-section-text: 16px;
  --font-size-copyright: 12px;
  /* 余白 */
  --spacing-container: 20px;
  --spacing-section-gap: 20px;
  --spacing-section-inner: 40px;
  --spacing-section-inner-small: 30px;
  --spacing-main-top: 80px;
  --spacing-main-bottom: 40px;
  --spacing-footer: 40px;
  /* 角丸 */
  --radius-section: 10px;
  --radius-toggle: 15px;
  /* レイアウト */
  --max-width: 1280px;
  --breakpoint-sp: 768px;
}
/* ============================================
   ベース設定
   ============================================ */
html {
  height: 100%;
  overflow: hidden;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 共通アクセント */
.c-accent {
  color: #E67B00;
}
/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: var(--spacing-container);
}
.header__toggle {
  width: 50px;
  height: 30px;
  background-color: var(--color-toggle-bg);
  border-radius: var(--radius-toggle);
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
}
.header__toggle-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--color-toggle-icon);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}


/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 20px 28px;
}

.p-service-tryon-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.p-service-tryon-header__logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.p-service-tryon-header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.p-service-tryon-header__nav-link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
}
.p-service-tryon-header__nav-link:hover {
  text-decoration: underline;
}

/* ============================================
   Main
   ============================================ */
.p-top-main {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 4% 0 40px;
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-section-gap);
  flex: 1;
  max-height: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: flex-start;
}
/* ============================================
   セクション共通スタイル
   ============================================ */
.p-top-hero, .p-top-about, .p-top-news, .p-top-service, .p-top-company, .p-top-contact {
  position: relative;
  border-radius: var(--radius-section);
  overflow: hidden;
}
/* セクション内動画 */
.hero__video, .about__video, .news__video, .service__video, .company__video, .contact__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
/* セクションタイトル共通 */
.about__title, .news__title, .service__title, .company__title, .contact__title {
  position: absolute;
  bottom: var(--spacing-container);
  right: var(--spacing-container);
  font-size: var(--font-size-section-title);
  font-weight: 700;
  color: var(--color-text-white);
  text-transform: none;
  letter-spacing: 0.05em;
  z-index: 10;
  line-height: 1;
}
/* ============================================
   Hero Section
   ============================================ */
.p-top-hero {
  width: 50%;
  min-height: 100%;
}
.hero__title {
  position: absolute;
  bottom: var(--spacing-section-inner);
  left: var(--spacing-section-inner);
  font-size: var(--font-size-hero-title);
  font-weight: 700;
  color: var(--color-text-white);
  text-transform: none;
  letter-spacing: 0.05em;
  z-index: 10;
  line-height: 1;
  margin: 0;
}
.hero__subtitle {
  position: absolute;
  bottom: var(--spacing-container);
  left: var(--spacing-section-inner);
  font-size: var(--font-size-hero-subtitle);
  color: rgba(255, 255, 255, 0.7);
  z-index: 10;
  margin: 0;
}
/* ============================================
   About Section
   ============================================ */
.p-top-about {
  aspect-ratio: 1 / 1;
  height: 50%;
}
.about__text {
  position: absolute;
  top: var(--spacing-section-inner-small);
  left: var(--spacing-section-inner-small);
  font-size: var(--font-size-section-text);
  color: var(--color-text-white);
  line-height: 1.8;
  z-index: 10;
  max-width: 80%;
  margin: 0;
}
/* ============================================
   News Section
   ============================================ */
.p-top-news {
  aspect-ratio: 1 / 1;
}
/* ============================================
   Service Section
   ============================================ */
.p-top-service {
  aspect-ratio: 1 / 1;
}
/* ============================================
   Company Section
   ============================================ */
.p-top-company {
  aspect-ratio: 1 / 1;
}
/* ============================================
   Contact Section
   ============================================ */
.p-top-contact {
  aspect-ratio: 1 / 1;
}
/* ============================================
   right
   ============================================ */
.p-top-right {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-between;
}
.p-top-right-wrap {
  height: 55%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.p-top-content {
  width: 49%;
  height: 49%;
}
.p-top-about__text-en {
  margin: 0 auto 10px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.55);
}
.p-top-about__text-jp {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.55);
}
/* ============================================
   Footer
   ============================================ */
.footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}
.footer__copyright {
  font-size: var(--font-size-copyright);
  color: var(--color-text-gray);
  line-height: 1.5;
  margin: 0;
}
/* ============================================
   スマートフォン対応（768px以下）
   ============================================ */
@media (max-width: 768px) {
  html {
    height: auto;
    overflow: visible;
  }
  body {
    height: auto;
    overflow: visible;
    display: block;
  }
  :root {
    /* フォントサイズ */
    --font-size-hero-title: 80px;
    --font-size-hero-subtitle: 14px;
    --font-size-section-title: 36px;
    --font-size-section-text: 14px;
    --font-size-copyright: 11px;
    /* 余白 */
    --spacing-container: 15px;
    --spacing-section-gap: 15px;
    --spacing-section-inner: 20px;
    --spacing-section-inner-small: 20px;
    --spacing-main-top: 60px;
    --spacing-main-bottom: 30px;
    --spacing-footer: 30px;
    /* 角丸 */
    --radius-section: 15px;
  }
  /* Header */
  .header__toggle {
    width: 45px;
    height: 28px;
  }
  .header__toggle-icon {
    width: 22px;
    height: 22px;
  }
  /* SP Hamburger Menu */
  .header__toggle {
    display: none;
  }
  .sp-menu__toggle {
    position: fixed;
    bottom: 14px;
    right: 14px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #E67B00;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .sp-menu__toggle.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .sp-menu__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 16px;
    transform: translate(-50%, -50%);
  }
  .sp-menu__icon::before, .sp-menu__icon::after, .sp-menu__icon {
    content: "";
  }
  .sp-menu__icon::before, .sp-menu__icon::after {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
  }
  .sp-menu__icon::before {
    top: 0;
  }
  .sp-menu__icon::after {
    top: 14px;
  }
  .sp-menu__toggle .sp-menu__icon {
    background: transparent;
  }
  .sp-menu__toggle .sp-menu__icon span {
    display: none;
  }
  /* 真ん中の線 */
  .sp-menu__toggle .sp-menu__icon {
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-size: 24px 2px;
    background-position: 0 7px;
  }
  /* open: 三本線 → × */
  .sp-menu__toggle.is-open .sp-menu__icon {
    background-image: none;
  }
  .sp-menu__toggle.is-open .sp-menu__icon::before {
    top: 7px;
    transform: rotate(45deg);
  }
  .sp-menu__toggle.is-open .sp-menu__icon::after {
    top: 7px;
    transform: rotate(-45deg);
  }
  .sp-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  body.is-sp-menu-open .sp-menu {
    opacity: 1;
    pointer-events: auto;
  }
  body.is-sp-menu-open {
    overflow: hidden;
  }
  .sp-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
  }
  .sp-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(86vw, 340px);
    height: 100%;
    background: #ffffff;
    padding: 84px 20px 24px;
    box-sizing: border-box;
    transform: translateX(12px);
    transition: transform 0.2s ease;
  }
  body.is-sp-menu-open .sp-menu__panel {
    transform: translateX(0);
  }
  .sp-menu__nav {
    display: grid;
    gap: 14px;
  }
  .sp-menu__link {
    display: block;
    padding: 12px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.85);
  }
  .sp-menu__link:hover {
    background: rgba(0, 0, 0, 0.04);
  }
  /* Main */
  .p-top-main {
    grid-template-columns: 1fr;
    height: auto;
    flex-direction: column;
    padding: 60px 20px 0;
  }
  /* Hero Section */
  .p-top-hero {
    grid-row: auto;
    aspect-ratio: 1 / 1.2;
    min-height: 90vh;
    width: 100%;
  }
  /* About Section */
  .about__text {
    max-width: 85%;
    line-height: 1.7;
  }
  .p-top-about__text-en {
    margin: 0 auto 10px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.55);
  }
  .p-top-about__text-jp {
    font-size: 12px;
    line-height: 1.68;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: rgba(0, 0, 0, 0.55);
  }
  /* セクション共通 */
  .p-top-news, .p-top-service, .p-top-company, .p-top-contact {
    min-height: 250px;
  }
  .p-top-right {
    width: 100%;
    margin-bottom: 80px;
  }
  .p-top-right-wrap {
    display: block;
    width: 100%;
    flex-direction: column;
  }
  .p-top-content {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
  }
  .p-top-about {
    margin-top: 60px;
    margin-bottom: 60px;
    height: inherit;
    aspect-ratio: inherit;
  }
}
@media (min-width: 768px) {
  .sp-menu {
    display: none;
  }
}