@charset "UTF-8";

/* ----------------------------------------------------------------------------
 * Import modules
 * ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&family=Poppins:wght@400;500&display=swap');

/* ----------------------------------------------------------------------------
 * Layer
 * ------------------------------------------------------------------------- */
@layer reset, base, layout, components, projects, utilities;

/* ----------------------------------------------------------------------------
 * Reset
 * ------------------------------------------------------------------------- */
@layer reset {
  *,
  *::before,
  *::after {
    -webkit-appearance: unset;
    appearance: unset;
    border: none;
    border-spacing: 0;
    box-sizing: border-box;
    font-family: unset;
    font-size: unset;
    font-weight: unset;
    line-height: 1.3;
    list-style-type: none;
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    outline: none;
    padding: 0;
    text-align: unset;
    text-decoration: none;
  }
}

/* ----------------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------------- */
/* ------------------------------------
 * Global styles
 * --------------------------------- */
@layer base {
  :root {
    --header-height: calc(86 / var(--rem-to-px) * 1rem);
    --rem-to-px: 16;
    --clamp-ratio-min: 0.86;
    --clamp-ratio-max: 1.16;
    --ease-custom: cubic-bezier(0.4, 0.15, 0, 1);

    /* Color */
    --color-white: #ffffff;
    --color-base: #f1f1f1;
    --color-gray-50: #e5e5e5;
    --color-gray-100: #dadada;
    --color-gray-200: #c4c4c4;
    --color-gray-300: #aeaeae;
    --color-gray-400: #979797;
    --color-gray-500: #808080;
    --color-gray-600: #6a6a6a;
    --color-gray-700: #535353;
    --color-gray-800: #3d3d3d;
    --color-gray-900: #272727;
    --color-black: #111111;
    --color-negative: #ff4500;
    --color-gradient-silver-light: #535353, #979797, #272727;
    --color-gradient-silver-dark: #111111, #535353, #000000;
    --color-gradient-gold: #d8c261, #8b6600;

    /* Text */
    --font-size-init: calc(100vw * 16 / 1366);
    --font-size-25: 10px;
    --font-size-50: calc(12 / var(--rem-to-px) * 1rem);
    --font-size-50: calc(12 / var(--rem-to-px) * 1rem);
    --font-size-100: calc(14 / var(--rem-to-px) * 1rem);
    --font-size-200: calc(16 / var(--rem-to-px) * 1rem);
    --font-size-300: calc(18 / var(--rem-to-px) * 1rem);
    --font-size-400: calc(21 / var(--rem-to-px) * 1rem);
    --font-size-500: calc(24 / var(--rem-to-px) * 1rem);
    --font-size-600: calc(28 / var(--rem-to-px) * 1rem);
    --font-size-700: calc(32 / var(--rem-to-px) * 1rem);
    --font-size-800: calc(36 / var(--rem-to-px) * 1rem);
    --font-size-900: calc(42 / var(--rem-to-px) * 1rem);
    --font-size-1000: calc(48 / var(--rem-to-px) * 1rem);
    --font-weight-regular: 400;
    --font-weight-medium: 500;
  }

  @media (max-width: 767px) {
    :root {
      --header-height: calc(36 / var(--rem-to-px) * 1rem);
      --font-size-init: calc(100vw * 16 / 375);
    }
  }

  *::selection {
    background: rgba(0, 0, 0, 0.075);
  }

  html {
    font-size: var(--font-size-init);
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-family: 'Poppins', 'Noto Sans JP', system-ui;
    background: var(--color-base);
    color: var(--color-black);
    font-style: normal;
    font-size: calc(14 / var(--rem-to-px) * 1rem);
    font-weight: var(--font-weight-medium);
    font-feature-settings: 'palt';
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.05em;
    overscroll-behavior-y: none;
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    word-break: break-all;
  }

  picture {
    display: block;
  }

  img {
    display: flex;
    object-fit: cover;
    height: auto;
    width: 100%;
  }

  svg {
    display: block;
    height: auto;
    width: 100%;
  }

  video {
    display: block;
  }

  p {
    line-height: 2;
    text-align: justify;
  }

  a {
    color: inherit;
  }

  a:not([class]) {
    transition: opacity 0.5s var(--ease-custom);
    text-decoration: underline;
  }

  @media (hover: hover) and (pointer: fine) {
    a:not([class]):hover {
      opacity: 0.5;
    }
  }

  strong {
    color: var(--color-main);
    font-weight: 500;
  }

  button {
    background: none;
    color: inherit;
    cursor: pointer;
  }

  table {
    border-collapse: collapse;
  }

  th {
    text-align: left;
  }

  td {
    text-align: justify;
  }

  :is(input, textarea)::placeholder {
    color: var(--color-gray-300);
  }

  select {
    background: none;
    color: inherit;
  }

  summary::marker,
  summary::-webkit-details-marker {
    display: none;
  }
}

/* ------------------------------------
 * Keyframes
 * --------------------------------- */
@keyframes scroll_text {
  from {
    transform: translateX(0);
  }

  to {
    /* $length: 3; */
    /* transform: translateX(#{0 - math.div(100, $length) + '%'}); */
    transform: translateX(calc((0 - 100 / 3) * 1%));
  }
}

/* ----------------------------------------------------------------------------
 * Layout
 * ------------------------------------------------------------------------- */
/* ------------------------------------
 * Header
 * --------------------------------- */
@layer layout {
  .header {
    align-items: center;
    background: var(--color-white);
    display: flex;
    justify-content: space-between;
    padding-right: calc(20 / var(--rem-to-px) * 1rem);
    padding-left: calc(30 / var(--rem-to-px) * 1rem);
    position: fixed;
    top: 0;
    left: 0;
    height: var(--header-height);
    width: 100vw;
    z-index: 99;
  }

  .header__logo {
    align-items: center;
    display: flex;
    gap: calc(15 / var(--rem-to-px) * 1rem);
  }

  .header__logo-image svg {
    aspect-ratio: 1 / 1;
    width: calc(64 / var(--rem-to-px) * 1rem);
  }

  .header__logo-text {
    border-bottom: 1px solid var(--color-gray-200);
    display: block;
    padding-bottom: calc(3 / var(--rem-to-px) * 1rem);
  }

  .header__cta {
    --icon-size: calc(24 / var(--rem-to-px) * 1rem);
    --arrow-size: calc(12 / var(--rem-to-px) * 1rem);
    --arrow-tip-width: calc(36 / var(--rem-to-px) * 1rem);
    align-items: center;
    background: linear-gradient(90deg, var(--color-gradient-silver-dark));
    border-radius: 8px;
    color: var(--color-white);
    display: grid;
    gap: calc(10 / var(--rem-to-px) * 1rem);
    grid-template-columns: var(--icon-size) auto;
    padding-right: calc(var(--arrow-tip-width) + calc(20 / var(--rem-to-px) * 1rem));
    padding-left: calc(20 / var(--rem-to-px) * 1rem);
    position: relative;
    transition: filter 0.3s var(--ease-custom);
    height: calc(68 / var(--rem-to-px) * 1rem);
  }

  .header__cta::before {
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_header_cta_download.svg') no-repeat center
      center / contain;
    content: '';
    height: var(--icon-size);
    width: var(--icon-size);
  }

  .header__cta::after {
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_header_cta_arrow.svg') no-repeat center
        center / var(--arrow-size),
      rgba(255, 255, 255, 0.2);
    border-radius: 0 8px 8px 0;
    content: '';
    position: absolute;
    right: 0;
    height: 100%;
    width: var(--arrow-tip-width);
  }

  .header__cta-label {
    aspect-ratio: 1 / 1;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/bg_header_cta_label.svg') no-repeat center
      center / contain;
    display: grid;
    font-size: var(--font-size-50);
    place-items: center;
    position: absolute;
    top: calc(-10 / var(--rem-to-px) * 1rem);
    left: calc(-12 / var(--rem-to-px) * 1rem);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    width: calc(40 / var(--rem-to-px) * 1rem);
  }

  .header__cta-title-small {
    display: block;
    font-size: var(--font-size-50);
  }

  .header__cta-title-large {
    display: block;
    font-size: var(--font-size-200);
    padding-top: 5px;
  }

  @media (hover: hover) and (pointer: fine) {
    .header__cta:hover {
      filter: brightness(1.15);
    }
  }

  @media (max-width: 767px) {
    .header {
      justify-content: center;
      padding-right: 3vw;
      padding-left: 3vw;
      position: static;
      height: var(--header-height);
    }

    .header__logo {
      gap: calc(10 / var(--rem-to-px) * 1rem);
    }

    .header__logo-image svg {
      width: calc(28 / var(--rem-to-px) * 1rem);
    }

    .header__logo-text {
      font-size: var(--font-size-50);
      padding-bottom: 0;
    }

    .header__cta {
      --icon-size: calc(28 / var(--rem-to-px) * 1rem);
      --shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      background: linear-gradient(90deg, var(--color-gradient-gold));
      border-radius: 0;
      gap: calc(12 / var(--rem-to-px) * 1rem);
      justify-content: center;
      padding: 0 3vw;
      position: fixed;
      bottom: 0;
      left: 0;
      transition: opacity 0.3s var(--ease-custom), translate 0.3s var(--ease-custom);
      height: calc(68 / var(--rem-to-px) * 1rem);
      width: 100vw;
      z-index: 999;
    }

    .header__cta:is(.-hidden) {
      opacity: 0;
      translate: 0 100%;
    }

    .header__cta::before {
      filter: drop-shadow(var(--shadow));
    }

    .header__cta::after {
      display: none;
    }

    .header__cta-label {
      display: none;
    }

    .header__cta-inner {
      text-shadow: var(--shadow);
    }

    .header__cta-title-small {
      font-size: var(--font-size-50);
    }

    .header__cta-title-large {
      font-size: var(--font-size-200);
      padding-top: calc(3 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Main
 * --------------------------------- */
@layer layout {
  .main {
    padding-top: var(--header-height);
  }

  @media (max-width: 767px) {
    .main {
      padding-top: 0;
    }
  }
}

/* ------------------------------------
 * Footer
 * --------------------------------- */
@layer layout {
  .footer {
    background: var(--color-gray-900);
    padding: calc(30 / var(--rem-to-px) * 1rem) 0;
  }

  .footer__copyright {
    color: var(--color-gray-500);
    display: block;
    line-height: 1.5;
    text-align: center;
  }

  @media (max-width: 767px) {
    .footer {
      padding: calc(10 / var(--rem-to-px) * 1rem) 0;
    }

    .footer__copyright {
      font-size: var(--font-size-50);
    }
  }
}

/* ----------------------------------------------------------------------------
 * Components
 * ------------------------------------------------------------------------- */
/* ------------------------------------
 * Heading
 * --------------------------------- */
@layer components {
  .heading {
    --layer-text-size: calc(128 / var(--rem-to-px) * 1rem);
    --layer-text-line-height: 0.75;
    display: grid;
    place-items: center;
    position: relative;
    height: calc(var(--layer-text-size) * var(--layer-text-line-height));
  }

  .heading::before {
    content: attr(data-layer-text);
    font-size: var(--layer-text-size);
    line-height: var(--layer-text-line-height);
    position: absolute;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .heading:is(.-light)::before {
    color: var(--color-white);
  }

  .heading:is(.-dark)::before {
    color: rgba(255, 255, 255, 0.05);
  }

  .heading:is(.-base)::before {
    color: var(--color-base);
  }

  .heading__text {
    --gradient-start: #535353;
    --gradient-end: #3d3d3d;
    background: linear-gradient(90deg, var(--gradient-start), #979797, var(--gradient-end));
    color: var(--color-white);
    font-size: var(--font-size-400);
    line-height: 1.5;
    padding: calc(5 / var(--rem-to-px) * 1rem);
    position: absolute;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    width: max-content;
  }

  .heading__text::before,
  .heading__text::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: calc(12 / var(--rem-to-px) * 1rem);
  }

  .heading__text::before {
    background: var(--gradient-start);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    right: calc(100% - 0.5px);
  }

  .heading__text::after {
    background: var(--gradient-end);
    clip-path: polygon(0 0, 0 100%, 100% 0);
    left: calc(100% - 0.5px);
  }

  .heading__text small {
    font-size: var(--font-size-100);
  }

  @media (max-width: 767px) {
    .heading {
      --layer-text-size: calc(84 / var(--rem-to-px) * 1rem);
    }

    .heading::before {
      display: grid;
      justify-content: center;
      letter-spacing: -0.05em;
      overflow: hidden;
      max-width: 100vw;
    }

    .heading__text {
      font-size: var(--font-size-200);
      line-height: 1.3;
    }

    .heading__text small {
      font-size: var(--font-size-50);
    }
  }
}

/* ----------------------------------------------------------------------------
 * Projects
 * ------------------------------------------------------------------------- */
/* ------------------------------------
 * KV
 * --------------------------------- */
@layer projects {
  .kv {
    aspect-ratio: 1366 / 648;
    position: relative;
    width: 100vw;
  }

  .kv::before {
    background: linear-gradient(90deg, #000, #000, rgba(0, 0, 0, 0));
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
  }

  .kv__catch {
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    left: 3vw;
    bottom: 0;
    height: max-content;
  }

  .kv__catch img {
    height: calc(420 / var(--rem-to-px) * 1rem);
    width: auto;
  }

  .kv__note {
    color: var(--color-gray-500);
    font-size: var(--font-size-25);
    position: absolute;
    left: calc(15 / var(--rem-to-px) * 1rem);
    bottom: calc(15 / var(--rem-to-px) * 1rem);
    z-index: 1;
  }

  .kv__background {
    background: #383838; /* 1pxの謎の線が入るのを回避 */
    margin-left: auto;
    overflow: hidden;
    position: relative;
    height: 100%;
    width: calc(100% - 20vw);
    z-index: -1;
  }

  .kv__video {
    aspect-ratio: 16 / 9;
    height: 100%;
  }

  @media (max-width: 767px) {
    .kv {
      --video-aspect-ratio-x: 16;
      --video-aspect-ratio-y: 9;
      --background: var(--color-gray-900);
      aspect-ratio: unset;
      display: grid;
    }

    .kv::before {
      display: none;
    }

    .kv__catch {
      background: var(--background);
      inset: 0;
      order: 2;
      position: relative;
      padding: 0 3vw calc(15 / var(--rem-to-px) * 1rem);
      width: 100%;
    }

    .kv__catch::before {
      background: var(--background);
      clip-path: polygon(100% 0, 0 100%, 100% 100%);
      content: '';
      position: absolute;
      bottom: calc(100% - 0.5px);
      left: 0;
      height: calc(20 / var(--rem-to-px) * 1rem);
      width: 100%;
    }

    .kv__catch img {
      margin-top: calc(-25 / var(--rem-to-px) * 1rem);
      position: relative;
      height: auto;
      width: 100%;
      z-index: 1;
    }

    .kv__note {
      color: var(--color-gray-300);
      right: calc(8 / var(--rem-to-px) * 1rem);
      bottom: calc(8 / var(--rem-to-px) * 1rem);
      left: unset;
    }

    .kv__background {
      aspect-ratio: var(--video-aspect-ratio-x) / var(--video-aspect-ratio-y);
      width: 100%;
    }
  }
}

/* ------------------------------------
 * CV
 * --------------------------------- */
@layer projects {
  .cv {
    background: var(--color-gray-900);
    padding: calc(60 / var(--rem-to-px) * 1rem) 10vw;
    position: relative;
    z-index: 1;
  }

  .kv + .cv {
    background: #383838;
  }

  .voices + .cv {
    background: var(--color-gray-300);
  }

  .studios + .cv {
    background: #363636;
  }

  .cv::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 50%;
    width: 100%;
    z-index: -1;
  }

  .voices + .cv::after {
    background: #0a2448;
  }

  body:is(.-independence) .voices + .cv::after {
    background: var(--color-gray-900);
  }

  .studios + .cv::after {
    background: var(--color-base);
  }

  .cv__inner {
    align-items: center;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/dist/webp/bg_cv.webp') no-repeat center center /
      cover;
    border-radius: 20px;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.3);
    display: grid;
    gap: calc(40 / var(--rem-to-px) * 1rem);
    grid-template-columns: 1fr 1fr;
    padding: calc(80 / var(--rem-to-px) * 1rem) calc(60 / var(--rem-to-px) * 1rem);
    position: relative;
    z-index: 1;
  }

  .cv__label {
    --gradient-start: #d8c261;
    --gradient-end: #8b6600;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: var(--color-white);
    display: block;
    font-size: var(--font-size-300);
    line-height: 1.5;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: calc(5 / var(--rem-to-px) * 1rem);
    position: relative;
    width: max-content;
  }

  .cv__label::before,
  .cv__label::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: calc(12 / var(--rem-to-px) * 1rem);
  }

  .cv__label::before {
    background: var(--gradient-start);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    right: calc(100% - 0.5px);
  }

  .cv__label::after {
    background: var(--gradient-end);
    clip-path: polygon(0 0, 0 100%, 100% 0);
    left: calc(100% - 0.5px);
  }

  .cv__heading {
    padding-top: calc(18 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(30 / var(--rem-to-px) * 1rem);
  }

  .cv__heading-line {
    color: var(--color-white);
    display: block;
    font-size: var(--font-size-800);
    margin: 0 auto;
    position: relative;
    width: max-content;
  }

  .cv__heading-line + .cv__heading-line {
    padding-top: calc(15 / var(--rem-to-px) * 1rem);
  }

  .cv__heading-line::after {
    content: '';
    background: rgba(255, 255, 255, 0.2);
    position: absolute;
    left: 0;
    bottom: 0.1em;
    height: calc(12 / var(--rem-to-px) * 1rem);
    width: 100%;
  }

  .cv__cta {
    --icon-size: calc(32 / var(--rem-to-px) * 1rem);
    --arrow-size: calc(18 / var(--rem-to-px) * 1rem);
    --arrow-tip-width: calc(48 / var(--rem-to-px) * 1rem);
    align-items: center;
    background: linear-gradient(90deg, var(--color-gradient-silver-light));
    border-radius: 10px;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: grid;
    gap: calc(15 / var(--rem-to-px) * 1rem);
    grid-template-columns: var(--icon-size) 1fr;
    margin: 0 auto;
    padding-right: calc(var(--arrow-tip-width) + calc(15 / var(--rem-to-px) * 1rem));
    padding-left: calc(20 / var(--rem-to-px) * 1rem);
    position: relative;
    transition: filter 0.3s var(--ease-custom);
    height: calc(100 / var(--rem-to-px) * 1rem);
    width: max-content;
  }

  .cv__cta::before {
    aspect-ratio: 1 / 1;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_cv_cta_download.svg') no-repeat center
      center / contain;
    content: '';
    width: var(--icon-size);
  }

  .cv__cta::after {
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_cv_cta_arrow.svg') no-repeat center center /
        var(--arrow-size),
      rgba(255, 255, 255, 0.2);
    border-radius: 0 10px 10px 0;
    content: '';
    position: absolute;
    right: 0;
    height: 100%;
    width: var(--arrow-tip-width);
  }

  .cv__cta-label {
    aspect-ratio: 1 / 1;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/bg_cv_cta_label.svg') no-repeat center center /
      contain;
    display: grid;
    font-size: var(--font-size-200);
    place-items: center;
    position: absolute;
    top: calc(-20 / var(--rem-to-px) * 1rem);
    left: calc(-20 / var(--rem-to-px) * 1rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    width: calc(56 / var(--rem-to-px) * 1rem);
  }

  .cv__cta-title-small {
    display: block;
    font-size: var(--font-size-200);
  }

  .cv__cta-title-large {
    display: block;
    font-size: var(--font-size-500);
    padding-top: 5px;
  }

  @media (hover: hover) and (pointer: fine) {
    .cv__cta:hover {
      filter: brightness(1.15);
    }
  }

  .cv__image {
    display: grid;
    place-items: center;
    position: relative;
    height: 100%;
  }

  .cv__image-item {
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.1));
    position: absolute;
    height: 100%;
    width: auto;
  }

  .cv__image-item:nth-of-type(1) {
    filter: brightness(0.7);
  }

  .cv__image-item:nth-of-type(2) {
    rotate: 5deg;
    transform-origin: center;
  }

  .cv__marquee {
    margin: auto;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: max-content;
  }

  .cv__marquee-wrap {
    animation: scroll_text 60s linear infinite;
    display: flex;
    gap: 2em;
    width: max-content;
  }

  .cv__marquee-text {
    color: transparent;
    display: block;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    font-size: calc(300 / var(--rem-to-px) * 1rem);
    font-weight: var(--font-weight-regular);
    text-transform: uppercase;
    white-space: nowrap;
  }

  @media (max-width: 767px) {
    .cv {
      padding: calc(15 / var(--rem-to-px) * 1rem) 3vw;
    }

    .kv + .cv {
      padding: 0;
    }

    .cv__inner {
      border-radius: 10px;
      grid-template-columns: 1fr;
      padding: calc(20 / var(--rem-to-px) * 1rem);
    }

    .kv + .cv .cv__inner {
      border-radius: 0;
      padding: calc(30 / var(--rem-to-px) * 1rem) calc(20 / var(--rem-to-px) * 1rem);
    }

    .cv__contents {
      order: 2;
    }

    .cv__label {
      font-size: var(--font-size-50);
      padding: calc(3 / var(--rem-to-px) * 1rem) calc(5 / var(--rem-to-px) * 1rem);
    }

    .cv__label::before,
    .cv__label::after {
      width: calc(6 / var(--rem-to-px) * 1rem);
    }

    .cv__head {
      padding-bottom: calc(15 / var(--rem-to-px) * 1rem);
    }

    .kv + .cv .cv__head {
      display: none;
    }

    .cv__heading {
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
      padding-bottom: 0;
    }

    .cv__heading-line {
      font-size: var(--font-size-400);
    }

    .cv__heading-line::after {
      height: calc(10 / var(--rem-to-px) * 1rem);
    }

    .cv__heading-line + .cv__heading-line {
      padding-top: calc(8 / var(--rem-to-px) * 1rem);
    }

    .cv__cta {
      --height: 64;
      --icon-size: calc(28 / var(--rem-to-px) * 1rem);
      --arrow-size: calc(12 / var(--rem-to-px) * 1rem);
      --arrow-tip-width: calc(32 / var(--rem-to-px) * 1rem);
      border-radius: 5px;
      gap: calc(10 / var(--rem-to-px) * 1rem);
      height: calc(var(--height) / var(--rem-to-px) * 1rem);
      width: auto;
    }

    .kv + .cv .cv__cta {
      --height: 72;
    }

    .cv__cta::after {
      border-radius: 0 5px 5px 0;
    }

    .cv__cta-label {
      font-size: var(--font-size-100);
      width: calc(48 / var(--rem-to-px) * 1rem);
    }

    .cv__cta-title-small {
      font-size: var(--font-size-100);
    }

    .cv__cta-title-large {
      font-size: var(--font-size-300);
    }

    .cv__image {
      aspect-ratio: 2 / 1;
      margin: calc(20 / var(--rem-to-px) * 1rem) 0;
    }

    .cv__marquee-text {
      font-size: calc(120 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Fee
 * --------------------------------- */
@layer projects {
  .fee {
    --background: #383838;
    background: var(--background);
    position: relative;
  }

  .fee:is(.-stage1, .-stage2) {
    padding-bottom: calc(30 / var(--rem-to-px) * 1rem);
  }

  .fee::after {
    background: var(--background);
    clip-path: polygon(0 0, 0 100%, 100% 0);
    content: '';
    position: absolute;
    top: calc(100% - 0.5px);
    height: calc(120 / var(--rem-to-px) * 1rem);
    width: 100%;
  }

  .fee__inner {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .fee__heading svg {
    margin: 0 auto;
    height: calc(100 / var(--rem-to-px) * 1rem);
    width: auto;
  }

  .fee__img__sp {
    display: none;
  }

  .fee__lead {
    align-items: baseline;
    color: var(--color-white);
    display: flex;
    justify-content: center;
    gap: 0.3em;
    padding-top: calc(35 / var(--rem-to-px) * 1rem);
  }

  .fee__lead-line {
    font-size: var(--font-size-500);
  }

  .fee__lead-line:is(.-strong) {
    font-size: var(--font-size-700);
    position: relative;
    z-index: 1;
  }

  .fee__lead-line:is(.-strong)::after {
    content: '';
    background: linear-gradient(90deg, #9a883d, #916f10);
    position: absolute;
    bottom: 0.1em;
    left: 0;
    height: calc(12 / var(--rem-to-px) * 1rem);
    width: 100%;
    z-index: -1;
  }

  .fee__banner {
    margin: 0 auto;
    padding-bottom: calc(40 / var(--rem-to-px) * 1rem);
    width: 70%;
  }

  .fee__banner img {
    border-radius: 10px;
    box-sizing: content-box;
    outline: 10px solid var(--color-gray-700);
    position: relative;
    z-index: 1;
  }

  @media (max-width: 767px) {
    .fee {
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(10 / var(--rem-to-px) * 1rem);
    }

    .fee:is(.-stage1, .-stage2) {
      padding-bottom: calc(15 / var(--rem-to-px) * 1rem);
    }

    .fee::after {
      height: calc(30 / var(--rem-to-px) * 1rem);
    }

    .fee__inner {
      padding-right: 3vw;
      padding-left: 3vw;
    }

    .fee__img__pc {
      display: none;
    }

    .fee__img__sp {
      display: block;
    }

    .fee__lead {
      display: block;
      padding-top: calc(15 / var(--rem-to-px) * 1rem);
    }

    .fee__lead-line {
      display: block;
      font-size: var(--font-size-300);
      margin: 0 auto;
      width: max-content;
    }

    .fee__lead-line:is(.-strong) {
      font-size: var(--font-size-600);
    }

    .fee__lead-line:is(.-strong)::after {
      height: calc(8 / var(--rem-to-px) * 1rem);
    }

    .fee__lead-line + .fee__lead-line {
      padding-top: calc(8 / var(--rem-to-px) * 1rem);
    }

    .fee__lead-line + .fee__lead-line:is(.-strong) {
      padding-top: calc(5 / var(--rem-to-px) * 1rem);
    }

    .fee__banner {
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(20 / var(--rem-to-px) * 1rem);
      width: 100%;
    }

    .fee__banner img {
      border-radius: 5px;
      outline-width: 3px;
    }
  }
}

/* ------------------------------------
 * About
 * --------------------------------- */
@layer projects {
  .about__wrap {
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/dist/webp/bg_about.webp') no-repeat center center /
      cover;
    padding-top: calc(140 / var(--rem-to-px) * 1rem);
  }

  .about__inner {
    padding: 0 5vw calc(100 / var(--rem-to-px) * 1rem);
  }

  .about__message {
    padding-top: calc(40 / var(--rem-to-px) * 1rem);
  }

  .about__message-line {
    color: var(--color-base);
    font-size: var(--font-size-500);
    line-height: 1.7;
    text-align: center;
  }

  .about__message-line + .about__message-line {
    padding-top: calc(25 / var(--rem-to-px) * 1rem);
  }

  .about__marquee {
    overflow: hidden;
    width: 100vw;
  }

  .about__marquee-images {
    display: flex;
  }

  .about__marquee-wrap {
    animation: scroll_text 60s linear infinite;
    display: flex;
    width: max-content;
  }

  .about__marquee-item {
    aspect-ratio: 1.618 / 1;
    width: calc(400 / var(--rem-to-px) * 1rem);
  }

  @media (max-width: 767px) {
    .about__wrap {
      padding-top: calc(60 / var(--rem-to-px) * 1rem);
    }

    .about__inner {
      padding: 0 3vw calc(30 / var(--rem-to-px) * 1rem);
    }

    .about__message {
      padding-top: calc(30 / var(--rem-to-px) * 1rem);
    }

    .about__message-line {
      font-size: var(--font-size-200);
      line-height: 2;
    }

    .about__message-line + .about__message-line {
      padding-top: calc(15 / var(--rem-to-px) * 1rem);
    }

    .about__marquee-item {
      width: calc(180 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Reasons
 * --------------------------------- */
@layer projects {
  .reasons {
    padding-top: calc(80 / var(--rem-to-px) * 1rem);
  }

  .reasons__main {
    display: grid;
    gap: calc(60 / var(--rem-to-px) * 1rem);
    padding-top: calc(80 / var(--rem-to-px) * 1rem);
  }

  .reasons__item {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .reasons__item-contents {
    padding: 0 calc(60 / var(--rem-to-px) * 1rem);
  }

  :is(.reasons__item:nth-child(even)) .reasons__item-image {
    order: 2;
  }

  .reasons__item-label {
    background: linear-gradient(90deg, var(--color-gradient-silver-dark));
    border-radius: 3px;
    color: var(--color-white);
    display: grid;
    font-size: var(--font-size-300);
    font-weight: var(--font-weight-regular);
    line-height: 2.1;
    padding: 0 calc(15 / var(--rem-to-px) * 1rem);
    place-items: center;
    text-transform: uppercase;
    height: calc(36 / var(--rem-to-px) * 1rem);
    width: max-content;
  }

  .reasons__item-heading {
    font-size: var(--font-size-600);
    line-height: 1.5;
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
  }

  .reasons__item-description {
    font-size: var(--font-size-200);
    padding-top: calc(15 / var(--rem-to-px) * 1rem);
  }

  .reasons__item-description strong {
    color: #ac8312;
    background: linear-gradient(transparent 60%, #ebe4d1 60%);
  }

  .reasons__item-note {
    color: var(--color-gray-500);
    display: block;
    font-size: var(--font-size-50);
    padding-top: calc(20 / var(--rem-to-px) * 1rem);
  }

  .reasons__marquee {
    overflow: hidden;
    width: 100vw;
    height: calc(280 / var(--rem-to-px) * 1rem);
  }

  .reasons__marquee-wrap {
    align-items: center;
    animation: scroll_text 60s linear infinite;
    display: flex;
    gap: 2em;
    height: 100%;
    width: max-content;
  }

  .reasons__marquee-text {
    color: transparent;
    display: block;
    -webkit-text-stroke: 2px var(--color-white);
    font-size: calc(180 / var(--rem-to-px) * 1rem);
    font-weight: var(--font-weight-regular);
    text-transform: uppercase;
    white-space: nowrap;
  }

  @media (max-width: 767px) {
    .reasons {
      padding-top: calc(30 / var(--rem-to-px) * 1rem);
    }

    .reasons__main {
      gap: calc(30 / var(--rem-to-px) * 1rem);
      padding-top: calc(30 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(20 / var(--rem-to-px) * 1rem);
    }

    .reasons__item {
      grid-template-columns: 1fr;
    }

    .reasons__item-image {
      width: calc(100% - 5vw);
    }

    :is(.reasons__item:nth-child(even)) .reasons__item-image {
      margin-left: auto;
      order: unset;
    }

    .reasons__item-contents {
      padding: calc(20 / var(--rem-to-px) * 1rem) 3vw 0;
    }

    .reasons__item-label {
      font-size: var(--font-size-100);
      line-height: 1;
      margin: 0 auto;
      padding: 0 calc(12 / var(--rem-to-px) * 1rem);
      height: calc(28 / var(--rem-to-px) * 1rem);
    }

    .reasons__item-heading {
      font-size: var(--font-size-500);
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
      text-align: center;
    }

    .reasons__item-description {
      font-size: var(--font-size-100);
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
    }

    .reasons__item-note {
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
    }

    .reasons__marquee {
      height: calc(100 / var(--rem-to-px) * 1rem);
    }

    .reasons__marquee-text {
      font-size: calc(120 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Voices
 * --------------------------------- */
@layer projects {
  .voices {
    --gradient-start: #e5e5e5;
    background: linear-gradient(180deg, var(--gradient-start), #aeaeae);
    padding-top: calc(40 / var(--rem-to-px) * 1rem);
    position: relative;
  }

  .voices::before {
    background: var(--gradient-start);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    content: '';
    position: absolute;
    bottom: calc(100% - 0.5px);
    height: calc(120 / var(--rem-to-px) * 1rem);
    width: 100%;
    z-index: -1;
  }

  .voices__inner {
    padding-right: 10vw;
    padding-left: 10vw;
  }

  .voices__main {
    display: grid;
    gap: calc(40 / var(--rem-to-px) * 1rem);
    grid-template-columns: repeat(2, 1fr);
    padding-top: calc(60 / var(--rem-to-px) * 1rem);
  }

  .voices__item {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
  }

  .voices__item-cover {
    position: relative;
  }

  .voices__item-cover::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50%;
    width: 100%;
  }

  .voices__item-cover img {
    border-radius: 10px 10px 0 0;
    aspect-ratio: 526 / 240;
  }

  .voices__item-contents {
    display: flex;
    flex-direction: column;
    padding: calc(80 / var(--rem-to-px) * 1rem) calc(40 / var(--rem-to-px) * 1rem) calc(30 / var(--rem-to-px) * 1rem);
    position: relative;
    height: 100%;
  }

  body:is(.-independence) .voices__item-contents {
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
  }

  body:not(.-independence) .voices__item-contents::before {
    aspect-ratio: 1 / 1;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_voices_item_quote.svg') no-repeat center
      center / contain;
    content: '';
    position: absolute;
    top: calc(20 / var(--rem-to-px) * 1rem);
    left: calc(30 / var(--rem-to-px) * 1rem);
    width: calc(56 / var(--rem-to-px) * 1rem);
  }

  .voices__item-heading {
    font-size: var(--font-size-400);
    line-height: 1.5;
  }

  .voices__item-message {
    color: var(--color-gray-800);
    padding-top: calc(10 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(15 / var(--rem-to-px) * 1rem);
  }

  .voices__item-message strong {
    color: #ac8312;
    background: linear-gradient(transparent 60%, #ebe4d1 60%);
  }

  .voices__item-detail {
    --avatar-size: calc(64 / var(--rem-to-px) * 1rem);
    align-items: center;
    border-top: 2px solid var(--color-base);
    display: grid;
    gap: calc(10 / var(--rem-to-px) * 1rem);
    grid-template-columns: var(--avatar-size) 1fr;
    margin-top: auto;
    padding-top: calc(15 / var(--rem-to-px) * 1rem);
  }

  .voices__item-avatar {
    aspect-ratio: 1 / 1;
    width: 100%;
  }

  .voices__item-avatar img {
    border-radius: 100%;
  }

  .voices__item-detail-heading {
    color: var(--color-gray-800);
    font-size: var(--font-size-200);
    line-height: 1.5;
  }

  .voices__item-detail-description {
    color: var(--color-gray-500);
    display: block;
    font-size: var(--font-size-50);
    line-height: 1.5;
    padding-top: calc(5 / var(--rem-to-px) * 1rem);
  }

  @media (max-width: 767px) {
    .voices::before {
      height: calc(30 / var(--rem-to-px) * 1rem);
    }

    .voices__inner {
      padding-right: 3vw;
      padding-left: 3vw;
    }

    .voices__main {
      gap: calc(15 / var(--rem-to-px) * 1rem);
      grid-template-columns: 1fr;
      padding-top: calc(30 / var(--rem-to-px) * 1rem);
    }

    .voices__item-contents {
      padding: calc(60 / var(--rem-to-px) * 1rem) calc(20 / var(--rem-to-px) * 1rem) calc(15 / var(--rem-to-px) * 1rem);
    }

    body:is(.-independence) .voices__item-contents {
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
    }

    body:not(.-independence) .voices__item-contents::before {
      top: calc(15 / var(--rem-to-px) * 1rem);
      left: calc(15 / var(--rem-to-px) * 1rem);
      width: calc(42 / var(--rem-to-px) * 1rem);
    }

    .voices__item-heading {
      font-size: var(--font-size-300);
      line-height: 1.7;
    }

    .voices__item-message {
      padding-top: calc(5 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(10 / var(--rem-to-px) * 1rem);
    }

    .voices__item-detail {
      --avatar-size: calc(56 / var(--rem-to-px) * 1rem);
      padding-top: calc(12 / var(--rem-to-px) * 1rem);
    }

    .voices__item-detail-heading {
      font-size: var(--font-size-100);
    }

    .voices__item-detail-description {
      padding-top: calc(3 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Trouble
 * --------------------------------- */
@layer projects {
  .trouble {
    --background: #0a2448;
    background: var(--background);
    padding-bottom: calc(60 / var(--rem-to-px) * 1rem);
    position: relative;
  }

  .trouble::after {
    background: var(--background);
    content: '';
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    position: absolute;
    top: calc(100% - 0.5px);
    left: 0;
    height: calc(60 / var(--rem-to-px) * 1rem);
    width: 100%;
  }

  .about + .trouble {
    padding-top: calc(60 / var(--rem-to-px) * 1rem);
  }

  .trouble__inner {
    padding-right: 10vw;
    padding-left: 10vw;
  }

  .trouble__heading {
    color: var(--color-white);
  }

  .trouble__heading-small {
    background: #233d62;
    border-radius: 5px;
    display: block;
    font-size: var(--font-size-500);
    line-height: 1.5;
    margin: 0 auto;
    padding: calc(10 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem) calc(5 / var(--rem-to-px) * 1rem);
    position: relative;
    width: max-content;
  }

  .trouble__heading-small::after {
    --fukidashi-width: 24;
    aspect-ratio: 24 / 10;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/img_trouble_heading_fukidashi.svg') no-repeat
      center center / contain;
    content: '';
    margin: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: calc(var(--fukidashi-width) / var(--rem-to-px) * 1rem);
  }

  .trouble__heading-large {
    font-size: var(--font-size-1000);
    margin: 0 auto;
    padding-top: calc(20 / var(--rem-to-px) * 1rem);
    position: relative;
    width: max-content;
    z-index: 1;
  }

  .trouble__heading-large::before {
    background: #233d62;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: calc(20 / var(--rem-to-px) * 1rem);
    width: 100%;
    z-index: -1;
  }

  .trouble__main {
    padding-top: calc(60 / var(--rem-to-px) * 1rem);
  }

  @media (max-width: 767px) {
    .trouble {
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
      padding-bottom: 0;
    }

    .trouble::after {
      height: calc(30 / var(--rem-to-px) * 1rem);
    }

    .about + .trouble {
      padding-top: calc(30 / var(--rem-to-px) * 1rem);
    }

    .trouble__inner {
      padding: 0;
    }

    .trouble__main {
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
    }

    .trouble__heading-small {
      font-size: var(--font-size-100);
      padding: calc(4 / var(--rem-to-px) * 1rem) calc(6 / var(--rem-to-px) * 1rem) calc(3 / var(--rem-to-px) * 1rem);
    }

    .trouble__heading-small::after {
      --fukidashi-width: 12;
    }

    .trouble__heading-large {
      font-size: var(--font-size-500);
      padding-top: calc(8 / var(--rem-to-px) * 1rem);
    }

    .trouble__heading-large::before {
      bottom: 0.1em;
      height: calc(12 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Solution
 * --------------------------------- */
@layer projects {
  .solution {
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/dist/webp/bg_solution.webp') no-repeat center bottom /
      cover;
    padding-top: calc(100 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(80 / var(--rem-to-px) * 1rem);
  }

  .solution__inner {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .solution__heading svg {
    margin: 0 auto;
    height: calc(120 / var(--rem-to-px) * 1rem);
    width: auto;
  }

  .solution__main {
    display: grid;
    gap: calc(30 / var(--rem-to-px) * 1rem);
    grid-template-columns: repeat(3, 1fr);
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
  }

  .solution__item {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.05);
  }

  .solution__item-image {
    padding: calc(10 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem) 0;
  }

  .solution__item-image img {
    aspect-ratio: 370 / 180;
    border-radius: 5px;
  }

  .solution__item-contents {
    padding: calc(20 / var(--rem-to-px) * 1rem) calc(20 / var(--rem-to-px) * 1rem) calc(25 / var(--rem-to-px) * 1rem);
  }

  .solution__item-heading-small {
    background: linear-gradient(90deg, var(--color-gradient-silver-light));
    border-radius: 3px;
    color: var(--color-white);
    display: block;
    line-height: 1.5;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: calc(7 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem) calc(4 / var(--rem-to-px) * 1rem);
    position: relative;
    width: max-content;
  }

  .solution__item-heading-small::after {
    --fukidashi-width: 16;
    aspect-ratio: 16 / 6;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/img_solution_item_heading_fukidashi.svg')
      no-repeat center center / contain;
    content: '';
    margin: auto;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: calc(var(--fukidashi-width) / var(--rem-to-px) * 1rem);
  }

  .solution__item-heading-large {
    font-size: var(--font-size-500);
    text-align: center;
  }

  .solution__item-heading-small + .solution__item-heading-large {
    padding-top: calc(15 / var(--rem-to-px) * 1rem);
  }

  .solution__item-heading sup {
    font-size: 65%;
  }

  .solution__item-description {
    line-height: 2;
    padding-top: calc(10 / var(--rem-to-px) * 1rem);
  }

  .solution__item-description strong {
    color: #ac8312;
    background: linear-gradient(transparent 60%, #ebe4d1 60%);
  }

  .solution__item-note {
    color: var(--color-gray-500);
    display: block;
    font-size: var(--font-size-50);
    line-height: 1.7;
    padding-top: calc(10 / var(--rem-to-px) * 1rem);
  }

  .solution__bottom {
    align-items: center;
    display: grid;
    gap: calc(60 / var(--rem-to-px) * 1rem);
    grid-template-columns: 1fr 1fr;
    padding-top: calc(40 / var(--rem-to-px) * 1rem);
  }

  @media (max-width: 767px) {
    .solution {
      padding-top: calc(50 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(50 / var(--rem-to-px) * 1rem);
    }

    .solution__inner {
      padding-right: 3vw;
      padding-left: 3vw;
    }

    .solution__heading svg {
      height: calc(80 / var(--rem-to-px) * 1rem);
    }

    body:is(.-independence) .solution__heading svg {
      height: calc(120 / var(--rem-to-px) * 1rem);
    }

    .solution__main {
      gap: calc(15 / var(--rem-to-px) * 1rem);
      grid-template-columns: 1fr;
      padding-top: calc(25 / var(--rem-to-px) * 1rem);
    }

    .solution__item-contents {
      padding: calc(15 / var(--rem-to-px) * 1rem) calc(15 / var(--rem-to-px) * 1rem) calc(15 / var(--rem-to-px) * 1rem);
    }

    .solution__item-heading-small {
      font-size: var(--font-size-50);
      padding: calc(5 / var(--rem-to-px) * 1rem) calc(8 / var(--rem-to-px) * 1rem) calc(3 / var(--rem-to-px) * 1rem);
    }

    .solution__item-heading-small::after {
      --fukidashi-width: 12;
    }

    .solution__item-heading-large {
      font-size: var(--font-size-400);
    }

    .solution__item-heading-small + .solution__item-heading-large {
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
    }

    .solution__item-description {
      padding-top: calc(8 / var(--rem-to-px) * 1rem);
    }

    .solution__bottom {
      gap: calc(20 / var(--rem-to-px) * 1rem);
      grid-template-columns: 1fr;
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
    }

    .solution__item-note {
      font-size: var(--font-size-25);
      padding-top: calc(5 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Case
 * --------------------------------- */
@layer projects {
  .case {
    --background: var(--color-gray-900);
    background: var(--background);
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(100 / var(--rem-to-px) * 1rem);
    position: relative;
  }

  body:is(.-independence) .case {
    padding-top: calc(20 / var(--rem-to-px) * 1rem);
  }

  .case::before {
    background: var(--background);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    content: '';
    position: absolute;
    bottom: calc(100% - 0.5px);
    height: calc(80 / var(--rem-to-px) * 1rem);
    width: 100%;
  }

  .case__inner {
    padding-right: 10vw;
    padding-left: 10vw;
  }

  .case__main {
    display: grid;
    gap: calc(40 / var(--rem-to-px) * 1rem);
    grid-template-columns: 1fr 1fr;
    padding-top: calc(60 / var(--rem-to-px) * 1rem);
    position: relative;
    z-index: 1;
  }

  .case__item {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
  }

  .case__item-comment {
    background: linear-gradient(90deg, var(--color-gradient-gold));
    border-radius: 3px;
    color: var(--color-white);
    display: block;
    font-size: var(--font-size-300);
    margin: auto;
    padding: calc(8 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem) calc(5 / var(--rem-to-px) * 1rem);
    position: absolute;
    top: calc(-20 / var(--rem-to-px) * 1rem);
    right: 0;
    left: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    width: max-content;
  }

  .case__item-comment::after {
    --fukidashi-width: 20;
    aspect-ratio: 20 / 8;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/img_case_item_comment_fukidashi.svg') no-repeat
      center center / contain;
    content: '';
    margin: auto;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: calc(var(--fukidashi-width) / var(--rem-to-px) * 1rem);
  }

  .case__item-head {
    padding: calc(40 / var(--rem-to-px) * 1rem) calc(30 / var(--rem-to-px) * 1rem) calc(30 / var(--rem-to-px) * 1rem);
  }

  .case__item-head-inner {
    display: grid;
    grid-template-columns: 30% 1fr;
    height: calc(42 / var(--rem-to-px) * 1rem);
  }

  .case__item-label {
    align-items: center;
    background: var(--color-gray-900);
    border-radius: 5px 0 0 5px;
    color: var(--color-white);
    display: grid;
    font-size: var(--font-size-300);
    font-weight: var(--font-weight-regular);
    padding: 0 calc(15 / var(--rem-to-px) * 1rem);
    text-align: center;
    text-transform: uppercase;
  }

  .case__item-heading {
    align-items: center;
    border: 2px solid var(--color-gray-900);
    border-radius: 0 5px 5px 0;
    display: grid;
    font-size: var(--font-size-400);
    padding: 0 calc(15 / var(--rem-to-px) * 1rem);
  }

  .case__item-image {
    position: relative;
  }

  .case__item-image::before,
  .case__item-image::after {
    background: var(--color-white);
    content: '';
    position: absolute;
    left: 0;
    height: calc(30 / var(--rem-to-px) * 1rem);
    width: 100%;
  }

  .case__item-image::before {
    clip-path: polygon(0 0, 0 100%, 100% 0);
    top: -0.5px;
  }

  .case__item-image::after {
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    bottom: -0.5px;
  }

  .case__item-image img {
    aspect-ratio: 1.618 / 1;
  }

  .case__item-price {
    padding-top: calc(10 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(35 / var(--rem-to-px) * 1rem);
  }

  .case__item-price-inner {
    align-items: baseline;
    display: flex;
    margin: 0 auto;
    position: relative;
    width: max-content;
    z-index: 1;
  }

  .case__item-price-inner::before {
    background: linear-gradient(90deg, #dadada, #f1f1f1, #c4c4c4);
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: calc(15 / var(--rem-to-px) * 1rem);
    width: 100%;
    z-index: -1;
  }

  .case__item-price-line {
    font-size: var(--font-size-700);
  }

  .case__item-price-line:is(.-strong) {
    line-height: 1;
    letter-spacing: -0.075em;
    font-size: calc(64 / var(--rem-to-px) * 1rem);
    font-weight: var(--font-weight-regular);
    position: relative;
    top: 0.075em;
  }

  @media (max-width: 767px) {
    .case {
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(50 / var(--rem-to-px) * 1rem);
    }

    body:is(.-independence) .case {
      padding-top: calc(15 / var(--rem-to-px) * 1rem);
    }

    .case::before {
      height: calc(30 / var(--rem-to-px) * 1rem);
    }

    .case__inner {
      padding-right: 3vw;
      padding-left: 3vw;
    }

    .case__main {
      gap: calc(30 / var(--rem-to-px) * 1rem);
      grid-template-columns: 1fr;
      padding-top: calc(50 / var(--rem-to-px) * 1rem);
    }

    .case__item-comment {
      font-size: var(--font-size-200);
      padding: calc(5 / var(--rem-to-px) * 1rem) calc(8 / var(--rem-to-px) * 1rem) calc(4 / var(--rem-to-px) * 1rem);
    }

    .case__item-comment::after {
      --fukidashi-width: 16;
    }

    .case__item-head {
      padding: calc(20 / var(--rem-to-px) * 1rem) calc(15 / var(--rem-to-px) * 1rem) calc(15 / var(--rem-to-px) * 1rem);
    }

    .case__item-head-inner {
      height: calc(36 / var(--rem-to-px) * 1rem);
    }

    .case__item-label {
      font-size: var(--font-size-200);
      padding: 0 calc(10px / var(--rem-to-px) * 1rem);
    }

    .case__item-heading {
      font-size: var(--font-size-300);
      padding: 0 calc(10 / var(--rem-to-px) * 1rem);
    }

    .case__item-image::before,
    .case__item-image::after {
      height: calc(15 / var(--rem-to-px) * 1rem);
    }

    .case__item-price {
      padding-top: calc(5 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(20 / var(--rem-to-px) * 1rem);
    }

    .case__item-price-inner::before {
      bottom: 0.15em;
      height: calc(10 / var(--rem-to-px) * 1rem);
    }

    .case__item-price-line {
      font-size: var(--font-size-500);
    }

    .case__item-price-line:is(.-strong) {
      font-size: var(--font-size-1000);
    }
  }
}

/* ------------------------------------
 * Studios
 * --------------------------------- */
@layer projects {
  .studios {
    --background: #363636;
    background: var(--background);
    padding-top: calc(20 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(20 / var(--rem-to-px) * 1rem);
    position: relative;
  }

  .studios::before {
    background: var(--background);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    content: '';
    position: absolute;
    bottom: calc(100% - 0.5px);
    height: calc(120 / var(--rem-to-px) * 1rem);
    width: 100%;
  }

  .studios__inner {
    padding-right: 10vw;
    padding-left: 10vw;
  }

  .studios__main {
    padding-top: calc(45 / var(--rem-to-px) * 1rem);
  }

  .studios__lead {
    color: var(--color-white);
    display: block;
    font-size: var(--font-size-800);
    margin: 0 auto;
    position: relative;
    width: max-content;
    z-index: 1;
  }

  .studios__lead::after {
    content: '';
    background: linear-gradient(90deg, #9a883d, #916f10);
    position: absolute;
    bottom: 0.05em;
    left: 0;
    height: calc(12 / var(--rem-to-px) * 1rem);
    width: 100%;
    z-index: -1;
  }

  .studios__map {
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
  }

  .studios__map img {
    aspect-ratio: 1092 / 600;
    border-radius: 20px;
  }

  .studios__note {
    color: var(--color-gray-300);
    display: block;
    padding-top: calc(12 / var(--rem-to-px) * 1rem);
    text-align: center;
  }

  @media (max-width: 767px) {
    .studios {
      padding-bottom: calc(10 / var(--rem-to-px) * 1rem);
    }

    .studios::before {
      height: calc(30 / var(--rem-to-px) * 1rem);
    }

    .studios__inner {
      padding-left: 3vw;
      padding-right: 3vw;
    }

    .studios__main {
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
    }

    .studios__lead {
      font-size: var(--font-size-500);
    }

    .studios__lead::after {
      bottom: 0.1em;
      height: calc(8 / var(--rem-to-px) * 1rem);
    }

    .studios__map {
      margin: 0 calc(50% - 50vw);
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
      width: 100vw;
    }

    .studios__map img {
      border-radius: 0;
    }

    .studios__note {
      font-size: var(--font-size-50);
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Comparison
 * --------------------------------- */
@layer projects {
  .comparison {
    padding-top: calc(20 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(180 / var(--rem-to-px) * 1rem);
  }

  .comparison__inner {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .comparison__main {
    padding-top: calc(60 / var(--rem-to-px) * 1rem);
  }

  .comparison__main-inner {
    --table-body-head-width: 10%;
    --table-body-data-length: 4;
    --table-body-data-width: (100% - var(--table-body-head-width)) / var(--table-body-data-length);
    position: relative;
  }

  .comparison__table {
    border: 1px solid var(--color-gray-100);
    border-radius: 10px;
    display: block;
    overflow: hidden;
  }

  .comparison__table :is(thead, tbody) {
    display: block;
  }

  .comparison__table-row {
    display: grid;
    grid-template-columns: var(--table-body-head-width) repeat(var(--table-body-data-length), 1fr);
  }

  .comparison__table-body .comparison__table-row {
    border-top: 1px solid var(--color-gray-100);
  }

  .comparison__table-row-head,
  .comparison__table-row-data {
    display: grid;
    place-items: center;
  }

  .comparison__table-head .comparison__table-row-head {
    background: var(--color-gray-500);
    color: var(--color-base);
    font-size: var(--font-size-200);
    padding: calc(10 / var(--rem-to-px) * 1rem);
  }

  .comparison__table-head .comparison__table-row-head + .comparison__table-row-head {
    border-left: 1px solid var(--color-gray-100);
  }

  .comparison__table-head .comparison__table-row-head:first-child,
  .comparison__table-body .comparison__table-row-head {
    background: var(--color-gray-50);
  }

  .comparison__table-row-head:is(.-tpg) {
    background: linear-gradient(90deg, var(--color-gradient-silver-dark));
  }

  .comparison__table-row-head:is(.-tpg) svg {
    aspect-ratio: 1 / 1;
    width: calc(68 / var(--rem-to-px) * 1rem);
  }

  .comparison__table-row-data {
    background: var(--color-white);
    line-height: 1.7;
    padding: calc(18 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem);
    text-align: center;
  }

  .comparison__table-row-data:is(.-tpg) {
    background: #f7f7f7;
  }

  .comparison__table-row-data + .comparison__table-row-data {
    border-left: 1px solid var(--color-gray-100);
  }

  .comparison__table-row-data > span {
    line-height: inherit;
  }

  .comparison__table-row-data strong {
    color: #ac8312;
    background: linear-gradient(transparent 60%, #ebe4d1 60%);
    font-size: var(--font-size-200);
  }

  .comparison__caption {
    background: linear-gradient(90deg, var(--color-gradient-gold));
    border-radius: 3px;
    color: var(--color-white);
    font-size: var(--font-size-200);
    line-height: 1.5;
    padding: calc(5 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem);
    position: absolute;
    top: calc(100% + calc(15 / var(--rem-to-px) * 1rem));
    left: calc(var(--table-body-head-width) + var(--table-body-data-width) / 2);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    translate: -50% 0;
  }

  .comparison__caption::after {
    --fukidashi-width: 24;
    aspect-ratio: 24 / 10;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/img_comparison_caption_fukidashi.svg') no-repeat
      center center / contain;
    content: '';
    margin: auto;
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    width: calc(var(--fukidashi-width) / var(--rem-to-px) * 1rem);
  }

  @media (max-width: 767px) {
    .comparison {
      padding-bottom: calc(40 / var(--rem-to-px) * 1rem);
    }

    .comparison__inner {
      padding: 0;
    }

    .comparison__main {
      padding-top: calc(30 / var(--rem-to-px) * 1rem);
    }

    .comparison__main-inner {
      --table-body-head-width: calc(120 / var(--rem-to-px) * 1rem);
      --table-body-data-width: calc(180 / var(--rem-to-px) * 1rem);
      overflow-x: scroll;
      padding-right: 3vw;
      padding-left: 3vw;
    }

    .comparison__main-inner::-webkit-scrollbar {
      display: none;
    }

    .comparison__table {
      width: max-content;
    }

    .comparison__table-row {
      grid-template-columns: var(--table-body-head-width) repeat(
          var(--table-body-data-length),
          var(--table-body-data-width)
        );
    }

    .comparison__table-head .comparison__table-row-head {
      font-size: var(--font-size-100);
    }

    .comparison__table-row-head:is(.-tpg) svg {
      width: calc(42 / var(--rem-to-px) * 1rem);
    }

    .comparison__table-row-head,
    .comparison__table-row-data {
      font-size: var(--font-size-50);
    }

    .comparison__table-row-data {
      padding: calc(10 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem);
    }

    .comparison__table-row-data strong {
      font-size: var(--font-size-100);
    }

    .comparison__caption {
      display: block;
      font-size: var(--font-size-100);
      margin-top: calc(10 / var(--rem-to-px) * 1rem);
      position: relative;
      top: unset;
      width: max-content;
    }

    .comparison__caption::after {
      --fukidashi-width: 16;
    }
  }
}

/* ------------------------------------
 * Flow
 * --------------------------------- */
@layer projects {
  .flow {
    --background: var(--color-gray-50);
    background: var(--background);
    padding-top: calc(20 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(150 / var(--rem-to-px) * 1rem);
    position: relative;
  }

  .flow::before {
    background: var(--background);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    content: '';
    position: absolute;
    bottom: calc(100% - 0.5px);
    height: calc(120 / var(--rem-to-px) * 1rem);
    width: 100%;
    z-index: -1;
  }

  .flow__inner {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .flow__main {
    padding-top: calc(60 / var(--rem-to-px) * 1rem);
  }

  .flow__main-inner {
    display: grid;
    gap: calc(20 / var(--rem-to-px) * 1rem);
    grid-template-columns: repeat(6, 1fr);
    position: relative;
    z-index: 1;
  }

  .flow__main-inner::before {
    background: var(--color-gray-200);
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
    height: calc(12 / var(--rem-to-px) * 1rem);
    width: 100%;
    z-index: -1;
  }

  .flow__item {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.05);
    padding: calc(10 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem) calc(25 / var(--rem-to-px) * 1rem);
  }

  .flow__item-label {
    background: linear-gradient(90deg, var(--color-gradient-silver-dark));
    border-radius: 3px;
    color: var(--color-white);
    display: block;
    font-size: var(--font-size-200);
    font-weight: var(--font-weight-regular);
    padding: calc(5 / var(--rem-to-px) * 1rem) 0;
    text-align: center;
    text-transform: uppercase;
  }

  .flow__item-title {
    display: block;
    font-size: var(--font-size-500);
    padding-top: calc(20 / var(--rem-to-px) * 1rem);
    text-align: center;
  }

  .flow__bottom {
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
  }

  .flow__bottom svg {
    margin: 0 auto;
    height: calc(84 / var(--rem-to-px) * 1rem);
    width: auto;
  }

  @media (max-width: 767px) {
    .flow {
      padding-bottom: calc(60 / var(--rem-to-px) * 1rem);
    }

    .flow::before {
      height: calc(30 / var(--rem-to-px) * 1rem);
    }

    .flow__inner {
      padding-right: 3vw;
      padding-left: 3vw;
    }

    .flow__main {
      padding-top: calc(30 / var(--rem-to-px) * 1rem);
    }

    .flow__main-inner {
      gap: calc(15 / var(--rem-to-px) * 1rem) calc(8 / var(--rem-to-px) * 1rem);
      grid-template-columns: repeat(2, 1fr);
    }

    .flow__main-inner::before {
      display: none;
    }

    .flow__item {
      border-radius: 8px;
      padding-bottom: calc(15 / var(--rem-to-px) * 1rem);
    }

    .flow__item-label {
      font-size: var(--font-size-100);
      padding: calc(4 / var(--rem-to-px) * 1rem) 0 calc(2 / var(--rem-to-px) * 1rem);
    }

    .flow__item-title {
      font-size: var(--font-size-300);
      padding-top: calc(15 / var(--rem-to-px) * 1rem);
    }

    .flow__bottom {
      padding-top: calc(15 / var(--rem-to-px) * 1rem);
    }

    .flow__bottom svg {
      height: calc(42 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * FAQ
 * --------------------------------- */
@layer projects {
  .faq {
    --background: var(--color-gray-900);
    background: var(--background);
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(60 / var(--rem-to-px) * 1rem);
    position: relative;
  }

  .faq::before,
  .faq::after {
    background: var(--background);
    content: '';
    position: absolute;
    height: calc(120 / var(--rem-to-px) * 1rem);
    width: 100%;
  }

  .faq::before {
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    bottom: calc(100% - 0.5px);
  }

  .faq::after {
    clip-path: polygon(0 0, 0 100%, 100% 0);
    top: calc(100% - 0.5px);
    z-index: 1;
  }

  .faq__inner {
    padding-right: 10vw;
    padding-left: 10vw;
  }

  .faq__main {
    display: grid;
    gap: calc(20 / var(--rem-to-px) * 1rem);
    padding-top: calc(60 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(40 / var(--rem-to-px) * 1rem);
  }

  .faq__item {
    --icon-size: calc(64 / var(--rem-to-px) * 1rem);
    --toggle-size: calc(40 / var(--rem-to-px) * 1rem);
    background: var(--color-white);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
  }

  .faq__item-question {
    align-items: center;
    cursor: pointer;
    display: grid;
    font-size: var(--font-size-500);
    gap: calc(20 / var(--rem-to-px) * 1rem);
    grid-template-columns: var(--icon-size) 1fr var(--toggle-size);
    padding-top: calc(20 / var(--rem-to-px) * 1rem);
    padding-right: calc(30 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(20 / var(--rem-to-px) * 1rem);
    padding-left: calc(20 / var(--rem-to-px) * 1rem);
  }

  .faq__item-answer {
    align-items: flex-start;
    background: var(--color-base);
    border-radius: 0 0 10px 10px;
    display: grid;
    font-size: var(--font-size-200);
    gap: calc(20 / var(--rem-to-px) * 1rem);
    grid-template-columns: var(--icon-size) 1fr;
    padding: calc(20 / var(--rem-to-px) * 1rem);
  }

  .faq__item-question::before,
  .faq__item-answer::before {
    aspect-ratio: 1 / 1;
    content: '';
    width: var(--icon-size);
  }

  .faq__item-question::before {
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_faq_item_question_label.svg') no-repeat
      center center / contain;
  }

  .faq__item-answer::before {
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_faq_item_answer_label.svg') no-repeat
      center center / contain;
  }

  .faq__item-question::after {
    aspect-ratio: 1 / 1;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_faq_item_question_toggle_open.svg')
      no-repeat center center / contain;
    content: '';
    rotate: -90deg;
    transform-origin: center;
    transition: background-image 0.3s var(--ease-custom), rotate 0.3s var(--ease-custom);
    width: var(--toggle-size);
  }

  :is([open]) .faq__item-question::after {
    background-image: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_faq_item_question_toggle_close.svg');
    rotate: 0deg;
  }

  .faq__points {
    align-items: center;
    background: var(--color-gray-800);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 30% 1fr;
    padding: calc(40 / var(--rem-to-px) * 1rem) calc(60 / var(--rem-to-px) * 1rem);
    position: relative;
  }

  .faq__points-heading-line {
    color: var(--color-white);
    display: block;
    font-size: var(--font-size-500);
    padding-bottom: calc(8 / var(--rem-to-px) * 1rem);
    position: relative;
    width: max-content;
  }

  .faq__points-heading-line + .faq__points-heading-line {
    padding-top: calc(15 / var(--rem-to-px) * 1rem);
  }

  .faq__points-heading-line::after {
    background: var(--color-gray-500);
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: calc(2 / var(--rem-to-px) * 1rem);
    width: 100%;
  }

  .faq__points-badge {
    position: absolute;
    top: calc(-20 / var(--rem-to-px) * 1rem);
    right: calc(-20 / var(--rem-to-px) * 1rem);
  }

  .faq__points-badge svg {
    aspect-ratio: 1 / 1;
    width: calc(100 / var(--rem-to-px) * 1rem);
  }

  .faq__points-main {
    display: grid;
    gap: calc(15 / var(--rem-to-px) * 1rem);
    grid-template-columns: repeat(3, 1fr);
  }

  .faq__point-item {
    --icon-size: calc(46 / var(--rem-to-px) * 1rem);
    background: var(--color-gray-700);
    border-radius: 5px;
    color: var(--color-white);
    display: grid;
    font-size: var(--font-size-300);
    gap: calc(5 / var(--rem-to-px) * 1rem);
    line-height: 1.5;
    padding: calc(15 / var(--rem-to-px) * 1rem) calc(20 / var(--rem-to-px) * 1rem) calc(20 / var(--rem-to-px) * 1rem);
    place-items: center;
    text-align: center;
  }

  .faq__point-item::before {
    aspect-ratio: 1 / 1;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_faq_point_item_fukidashi.svg') no-repeat
      center center / contain;
    content: '';
    width: var(--icon-size);
  }

  @media (min-width: 768px) {
    .faq__item-answer:is(.-items-center) {
      align-items: center;
    }
  }

  @media (max-width: 767px) {
    .faq {
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(30 / var(--rem-to-px) * 1rem);
    }

    .faq__inner {
      overflow: hidden;
      padding-right: 3vw;
      padding-left: 3vw;
    }

    .faq::before,
    .faq::after {
      height: calc(30 / var(--rem-to-px) * 1rem);
    }

    .faq__main {
      gap: calc(15 / var(--rem-to-px) * 1rem);
      padding-top: calc(30 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(30 / var(--rem-to-px) * 1rem);
    }

    .faq__item {
      --icon-size: calc(42 / var(--rem-to-px) * 1rem);
      --toggle-size: calc(30 / var(--rem-to-px) * 1rem);
      border-radius: 8px;
    }

    .faq__item-question {
      font-size: var(--font-size-200);
      gap: calc(10 / var(--rem-to-px) * 1rem);
      padding: calc(10 / var(--rem-to-px) * 1rem);
    }

    .faq__item-answer {
      font-size: var(--font-size-100);
      gap: calc(10 / var(--rem-to-px) * 1rem);
      line-height: 1.7;
      padding: calc(10 / var(--rem-to-px) * 1rem);
      padding-right: calc(15 / var(--rem-to-px) * 1rem);
    }

    .faq__points {
      gap: calc(15 / var(--rem-to-px) * 1rem);
      grid-template-columns: 1fr;
      padding: calc(20 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem);
    }

    .faq__points-main {
      grid-template-columns: 1fr;
    }

    .faq__points-heading {
      display: grid;
      gap: calc(10 / var(--rem-to-px) * 1rem) 0;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, 1fr);
    }

    .faq__points-heading-line {
      font-size: var(--font-size-400);
      padding-bottom: calc(3 / var(--rem-to-px) * 1rem);
    }

    .faq__points-heading-line:nth-child(1) {
      grid-area: 1 / 1 / 2 / 3;
      margin: 0 auto;
    }

    .faq__points-heading-line:nth-child(2) {
      grid-area: 2 / 1 / 3 / 2;
      margin-left: auto;
    }

    .faq__points-heading-line:nth-child(3) {
      grid-area: 2 / 2 / 3 / 3;
    }

    .faq__points-heading-line + .faq__points-heading-line {
      padding-top: 0;
    }

    .faq__points-main {
      gap: calc(8 / var(--rem-to-px) * 1rem);
    }

    .faq__point-item {
      place-items: unset; /* Reset */

      --icon-size: calc(36 / var(--rem-to-px) * 1rem);
      align-items: center;
      display: grid;
      font-size: var(--font-size-200);
      grid-template-columns: var(--icon-size) 1fr;
      justify-content: flex-start;
      padding: calc(15 / var(--rem-to-px) * 1rem);
      text-align: left;
    }

    .faq__points-badge {
      top: calc(-25 / var(--rem-to-px) * 1rem);
      right: calc(-12 / var(--rem-to-px) * 1rem);
    }

    .faq__points-badge svg {
      width: calc(80 / var(--rem-to-px) * 1rem);
    }
  }
}

/* ------------------------------------
 * Contact
 * --------------------------------- */
@layer projects {
  .contact {
    background: var(--color-gray-800);
    padding-top: calc(80 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(100 / var(--rem-to-px) * 1rem);
    position: relative;
  }

  .contact__wrap {
    padding-right: 10vw;
    padding-left: 10vw;
  }

  .contact__inner {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.05);
    padding: calc(80 / var(--rem-to-px) * 1rem);
    position: relative;
    z-index: 2;
  }

  .contact__heading {
    background: linear-gradient(90deg, var(--color-gradient-gold));
    border-radius: 8px;
    color: var(--color-white);
    font-size: var(--font-size-600);
    line-height: 1.5;
    margin: auto;
    padding: calc(12 / var(--rem-to-px) * 1rem) calc(20 / var(--rem-to-px) * 1rem) calc(8 / var(--rem-to-px) * 1rem);
    position: absolute;
    top: calc(-60 / var(--rem-to-px) * 1rem);
    right: 0;
    left: 0;
    text-align: center;
    text-shadow: 3px 3px 9px rgba(0, 0, 0, 0.3);
    width: max-content;
  }

  .contact__heading::after {
    --fukidashi-width: 32;
    aspect-ratio: 32 / 12;
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/img_contact_heading_fukidashi.svg') no-repeat
      center center / contain;
    content: '';
    margin: auto;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: calc(var(--fukidashi-width) / var(--rem-to-px) * 1rem);
  }

  .contact__note {
    display: block;
    font-size: var(--font-size-300);
    line-height: 1.7;
    text-align: center;
    padding-bottom: calc(40 / var(--rem-to-px) * 1rem);
  }

  .contact__form {
    border-top: 3px solid var(--color-base);
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
  }

  .contact__marquee {
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
  }

  .contact__marquee-wrap {
    align-items: center;
    animation: scroll_text 60s linear infinite;
    display: flex;
    gap: 2em;
    width: max-content;
  }

  .contact__marquee-text {
    color: #454545;
    display: block;
    font-size: calc(180 / var(--rem-to-px) * 1rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .contact__caption {
    color: var(--color-gray-500);
    display: block;
    font-size: var(--font-size-50);
    line-height: 1.7;
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
    text-align: center;
  }

  @media (max-width: 767px) {
    .contact {
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(30 / var(--rem-to-px) * 1rem);
    }

    .contact__wrap {
      padding-right: 3vw;
      padding-left: 3vw;
    }

    .contact__heading {
      border-radius: 5px;
      font-size: var(--font-size-200);
      padding: calc(7 / var(--rem-to-px) * 1rem) calc(10 / var(--rem-to-px) * 1rem) calc(5 / var(--rem-to-px) * 1rem);
      top: calc(-20 / var(--rem-to-px) * 1rem);
    }

    .contact__heading::after {
      --fukidashi-width: 18;
    }

    .contact__inner {
      padding: calc(50 / var(--rem-to-px) * 1rem) calc(15 / var(--rem-to-px) * 1rem) calc(15 / var(--rem-to-px) * 1rem);
    }

    .contact__note {
      font-size: var(--font-size-200);
      line-height: 1.5;
      padding-bottom: calc(15 / var(--rem-to-px) * 1rem);
    }

    .contact__form {
      padding-top: calc(20 / var(--rem-to-px) * 1rem);
    }

    .contact__caption {
      padding-top: calc(10 / var(--rem-to-px) * 1rem);
    }

    .contact__marquee-text {
      font-size: calc(80 / var(--rem-to-px) * 1rem);
      line-height: 1;
    }
  }
}

/* ------------------------------------
 * Contact form
 * --------------------------------- */
@layer projects {
  /**
   * Group
   */
  .contact-form__group {
    display: grid;
  }

  .contact-form__group:is(.-col2) {
    gap: calc(20 / var(--rem-to-px) * 1rem);
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form__group + .contact-form__group {
    padding-top: calc(30 / var(--rem-to-px) * 1rem);
  }

  @media (max-width: 767px) {
    .contact-form__group:is(.-col2) {
      gap: calc(15 / var(--rem-to-px) * 1rem);
      grid-template-columns: 1fr;
    }

    .contact-form__group + .contact-form__group {
      padding-top: calc(15 / var(--rem-to-px) * 1rem);
    }
  }

  /**
   * Item
   */
  .contact-form__item {
    position: relative;
  }

  /**
   * Label
   */
  .contact-form__label {
    align-items: center;
    display: flex;
    font-size: var(--font-size-200);
    gap: calc(10 / var(--rem-to-px) * 1rem);
    padding-bottom: calc(15 / var(--rem-to-px) * 1rem);
    position: relative;
    transition: color 0.3s var(--ease-custom);
  }

  .contact-form__label::after {
    border-radius: 100px;
    display: grid;
    font-size: var(--font-size-50);
    place-items: center;
    height: calc(18 / var(--rem-to-px) * 1rem);
    width: calc(40 / var(--rem-to-px) * 1rem);
  }

  .contact-form__label:is(:not(.-required))::after {
    background: var(--color-gray-50);
    color: var(--color-gray-500);
    content: '任意';
  }

  .contact-form__label:is(.-required)::after {
    background: var(--color-negative);
    color: var(--color-white);
    content: '必須';
  }

  :is(.contact-form__item:focus-within) .contact-form__label {
    color: var(--color-black);
  }

  @media (max-width: 767px) {
    .contact-form__label {
      font-size: var(--font-size-100);
      gap: calc(5 / var(--rem-to-px) * 1rem);
      padding-bottom: calc(10 / var(--rem-to-px) * 1rem);
    }
  }

  /**
   * Textfield
   */
  .contact-form__textfield {
    background: transparent;
    border: 1px solid var(--color-gray-100);
    border-radius: 5px;
    display: block;
    font-size: var(--font-size-200);
    padding: calc(20 / var(--rem-to-px) * 1rem);
    transition: border 0.3s var(--ease-custom);
    width: 100%;
  }

  .contact-form__textfield:focus {
    border-color: var(--color-gray-500);
  }

  @media (hover: hover) and (pointer: fine) {
    .contact-form__textfield:not(:focus):hover {
      border-color: var(--color-gray-300);
    }
  }

  @media (max-width: 767px) {
    .contact-form__textfield {
      font-size: var(--font-size-100);
      padding: calc(18 / var(--rem-to-px) * 1rem);
    }
  }

  /**
   * Radio, Checkbox
   */
  :is(.contact-form__radio, .contact-form__checkbox) {
    --icon-size: calc(28 / var(--rem-to-px) * 1rem);
    --padding-x: calc(20 / var(--rem-to-px) * 1rem);
    display: grid;
    gap: calc(20 / var(--rem-to-px) * 1rem);
    grid-template-columns: repeat(3, 1fr);
  }

  :is(.contact-form__radio, .contact-form__checkbox) :is([type='radio'], [type='checkbox']) {
    display: none;
  }

  :is(.contact-form__radio, .contact-form__checkbox) .wpcf7-list-item-label {
    align-items: center;
    border: 1px solid var(--color-gray-100);
    border-radius: 5px;
    cursor: pointer;
    display: grid;
    font-size: var(--font-size-200);
    gap: calc(10 / var(--rem-to-px) * 1rem);
    grid-template-columns: var(--icon-size) 1fr;
    padding: 0 var(--padding-x);
    position: relative;
    transition: border 0.3s var(--ease-custom);
    height: calc(68 / var(--rem-to-px) * 1rem);
  }

  :is(.contact-form__radio, .contact-form__checkbox) .wpcf7-list-item-label::before {
    background: var(--color-base);
    content: '';
    height: var(--icon-size);
    width: var(--icon-size);
  }

  :is(.contact-form__radio) .wpcf7-list-item-label::before {
    border-radius: 100%;
  }

  :is(.contact-form__checkbox) .wpcf7-list-item-label::before {
    border-radius: 3px;
  }

  :is(.contact-form__radio, .contact-form__checkbox) .wpcf7-list-item-label::after {
    content: '';
    opacity: 0;
    position: absolute;
    left: calc(var(--padding-x) + (var(--icon-size) - var(--bullet-size)) / 2);
    scale: 0 0;
    transform-origin: center;
    transition: opacity 0.15s var(--ease-custom), scale 0.15s var(--ease-custom);
    height: var(--bullet-size);
    width: var(--bullet-size);
  }

  :is(.contact-form__radio) .wpcf7-list-item-label::after {
    --bullet-size: calc(16 / var(--rem-to-px) * 1rem);
    background: var(--color-gray-800);
    border-radius: 100%;
  }

  :is(.contact-form__checkbox) .wpcf7-list-item-label::after {
    --bullet-size: calc(28 / var(--rem-to-px) * 1rem);
    background: url('/wp2/wp-content/themes/tpg2/assets/img/fc-2024/src/icon_contact_form_checkbox_bullet.svg')
      no-repeat center center / contain;
  }

  :is([type='radio'], [type='checkbox']):checked + .wpcf7-list-item-label {
    border: 1px solid var(--color-gray-500);
  }

  :is([type='radio'], [type='checkbox']):checked + .wpcf7-list-item-label::after {
    opacity: 1;
    scale: 1 1;
  }

  @media (hover: hover) and (pointer: fine) {
    :is(.contact-form__radio, .contact-form__checkbox)
      :is([type='radio'], [type='checkbox']):not(:checked)
      + .wpcf7-list-item-label:hover {
      border-color: var(--color-gray-300);
    }
  }

  @media (max-width: 767px) {
    :is(.contact-form__radio, .contact-form__checkbox) {
      --padding-x: calc(10 / var(--rem-to-px) * 1rem);
      gap: calc(8 / var(--rem-to-px) * 1rem);
      grid-template-columns: repeat(2, 1fr);
    }

    :is(.contact-form__radio, .contact-form__checkbox) .wpcf7-list-item-label {
      font-size: var(--font-size-100);
      height: calc(56 / var(--rem-to-px) * 1rem);
    }
  }

  /**
   * Submit
   */
  .contact-form__submit {
    padding-top: calc(40 / var(--rem-to-px) * 1rem);
  }

  .contact-form__submit-button {
    background: linear-gradient(90deg, var(--color-gradient-silver-dark));
    border-radius: 5px;
    color: var(--color-white);
    font-size: var(--font-size-500);
    line-height: 1.5;
    padding: calc(30 / var(--rem-to-px) * 1rem) 0;
    position: relative;
    text-align: center;
    text-shadow: 3px 3px 9px rgba(0, 0, 0, 0.3);
    transition: filter 0.3s var(--ease-custom);
  }

  @media (hover: hover) and (pointer: fine) {
    .contact-form__submit-button:hover {
      filter: brightness(1.3);
    }
  }

  .contact-form__submit-button [type='submit'] {
    cursor: pointer;
    opacity: 0;
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
  }

  @media (max-width: 767px) {
    .contact-form__submit {
      padding-top: calc(15 / var(--rem-to-px) * 1rem);
    }

    .contact-form__submit-button {
      font-size: var(--font-size-300);
      padding: calc(15 / var(--rem-to-px) * 1rem) 0;
    }
  }
}

/* ----------------------------------------------------------------------------
 * Utilities
 * ------------------------------------------------------------------------- */
/* ------------------------------------
 * Hidden
 * --------------------------------- */
@layer utilities {
  @media (min-width: 1081px) {
    .pc-hidden {
      display: none !important;
    }
  }

  @media (max-width: 1080px) and (min-width: 768px) {
    .tab-hidden {
      display: none !important;
    }
  }

  @media (max-width: 767px) {
    .sp-hidden {
      display: none !important;
    }
  }
}

/* ------------------------------------
 * Google reCAPTCHA
 * --------------------------------- */
@layer utilities {
  .grecaptcha-badge {
    visibility: hidden;
  }
}

/* ------------------------------------
 * Overwrite Contact Form 7
 * --------------------------------- */
@layer utilities {
  .wpcf7-list-item {
    margin: 0 !important;
  }

  .wpcf7 form .wpcf7-response-output {
    margin: calc(40 / var(--rem-to-px) * 1rem) 0 0 !important;
    padding: calc(20 / var(--rem-to-px) * 1rem) !important;
    text-align: center;
  }

  .wpcf7 .wpcf7-spinner {
    background-color: var(--color-gray-300) !important;
    inset: 0;
    margin: auto !important;
    position: absolute !important;
    z-index: 999;
  }

  .wpcf7-form-control-wrap {
    position: static;
  }

  .wpcf7-not-valid-tip {
    color: var(--color-negative) !important;
    font-size: var(--font-size-50) !important;
    padding-top: calc(10 / var(--rem-to-px) * 1rem);
  }

  @media (max-width: 767px) {
    .wpcf7 form .wpcf7-response-output {
      margin: calc(15 / var(--rem-to-px) * 1rem) 0 0 !important;
    }
  }
}
