@charset "UTF-8";

/*
Theme Name: Yuime Design Official Site
Version: 1.0
Author: Yuime Design
*/

@layer reset, tokens, base, layout, components, utilities;

@layer reset {

  *,
  ::before,
  ::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
  }

  html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  body {
    margin: 0;
  }

  main {
    display: block;
  }

  p,
  table,
  blockquote,
  address,
  pre,
  iframe,
  form,
  figure,
  dl {
    margin: 0;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
  }

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

  dt {
    font-weight: 700;
  }

  dd {
    margin-left: 0;
  }

  hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border-top-width: 1px;
    margin: 0;
    clear: both;
    color: inherit;
  }

  pre {
    font-family: monospace, monospace;
    font-size: inherit;
  }

  address {
    font-style: inherit;
  }

  a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
  }

  abbr[title] {
    text-decoration: underline dotted;
  }

  b,
  strong {
    font-weight: bolder;
  }

  code,
  kbd,
  samp {
    font-family: monospace, monospace;
    font-size: inherit;
  }

  small {
    font-size: 80%;
  }

  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sub {
    bottom: -0.25em;
  }

  sup {
    top: -0.5em;
  }

  svg,
  img,
  embed,
  object,
  iframe {
    vertical-align: bottom;
  }

  button,
  input,
  optgroup,
  select,
  textarea {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
  }

  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    cursor: pointer;
  }

  button:disabled,
  [type="button"]:disabled,
  [type="reset"]:disabled,
  [type="submit"]:disabled {
    cursor: default;
  }

  :-moz-focusring {
    outline: auto;
  }

  select:disabled {
    opacity: inherit;
  }

  option {
    padding: 0;
  }

  fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
  }

  legend {
    padding: 0;
  }

  progress {
    vertical-align: baseline;
  }

  textarea {
    overflow: auto;
  }

  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }

  [type="search"] {
    outline-offset: -2px;
  }

  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
  }

  [type="number"] {
    -moz-appearance: textfield;
  }

  label[for] {
    cursor: pointer;
  }

  details {
    display: block;
  }

  summary {
    display: list-item;
    list-style: none;
    /* Chrome, Safari用 */
  }

  summary::-webkit-details-marker {
    display: none;
    /* 古いブラウザ用 */
  }

  [contenteditable]:focus {
    outline: auto;
  }

  table {
    border-color: inherit;
    border-collapse: collapse;
  }

  caption {
    text-align: left;
  }

  td,
  th {
    vertical-align: top;
    padding: 0;
  }

  th {
    text-align: left;
    font-weight: 700;
  }
}


@layer tokens {
  :root {
    --liquid-htmlroot: calc(100vw / 375);

    /* colorPalette */
    --color-red: #D14D41;
    --color-dullred: #986363;
    --color-pink: #FFF5F3;
    --color-black: #323232;
    --color-gray: #666;
    --color-success: #28a745;

    /* スペーシング */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;

    /* タイポグラフィ */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-family-title: "Marcellus", serif;
    --font-family-ja: "Shippori Mincho", serif;
    --font-family-en: "Cormorant", serif;

    /* ボーダー・エフェクト */
    --border-radius-base: 0.375rem;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition-fast: 150ms ease;

  }

  @media (min-width: 769px) {
    :root {
      --liquid-htmlroot: calc(100vw / 1440);
    }
  }

}

/* 3番目以降で tokens を使用 */
@layer base {

  *,
  *::before,
  *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  html {
    font-size: var(--liquid-htmlroot);
    height: 100%;
    scroll-behavior: smooth;
  }

  body {
    color: #323232;
    font-family: var(--font-family-ja);
    font-size: 16rem;
    font-weight: 400;
    line-height: 2.2;
    letter-spacing: 0.04em;
    min-width: 320px;
    width: 100%;
    overflow-x: hidden;
  }

  body.is-navOpen {
    height: 100%;
    overflow: hidden;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
    border: none;
    display: block;
  }

  a {
    text-decoration: none;
  }

  @media (min-width: 769px) {
    a:hover {
      text-decoration: none;
    }
  }

  main {
    width: 100%;
  }

  .fadeUpTrigger {
    opacity: 0;
  }

  .fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
    opacity: 0;
  }

  @keyframes fadeUpAnime {
    from {
      opacity: 0;
      transform: translateY(100px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@layer layout {
  .header {
    padding: 13rem 14rem;
    width: 100%;
    height: 50rem;
    background-color: #fff;
    box-shadow: 0 2rem 10rem rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 100;
  }

  @media (min-width: 769px) {
    .header {
      padding: 16rem 30rem;
      height: 80rem;
      background-color: #fff;
      box-shadow: 0 2rem 10rem rgba(0, 0, 0, 0.1);
      position: fixed;
      top: 0;
      z-index: 100;
    }
  }

  section.aboutus {
    padding: 80rem 16rem;
    width: 100%;
    display: block;
    background: #fff;
    transition: background 0.8s ease;
  }

  @media (min-width: 769px) {
    section.aboutus {
      padding: 175rem 124rem;
    }
  }

  section.aboutus.darktheme {
    background: #333231;
  }

  section.service,
  section.works,
  .product-information {
    width: 100%;
    display: block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow-x: hidden;
  }

  section.service {
    background-image: url(./images/bg_service-sp.webp);
  }

  @media (min-width: 769px) {
    section.service {
      padding-bottom: 140rem;
      background-image: url(./images/bg_service-pc.webp);
    }
  }

  section.works {
    background-image: url(./images/bg_service-sp.webp);
  }

  @media (min-width: 769px) {
    section.works {
      padding-bottom: 140rem;
      background-image: url(./images/bg_service-pc.webp);
    }
  }

  .product-information {
    background-image: url(./images/bg_works_flow-sp.webp);
  }

  @media (min-width: 769px) {
    .product-information {
      padding-bottom: 140rem;
      background-image: url(./images/bg_works_flow-pc.webp);
    }
  }

  .message {
    width: 100%;
    display: block;
    background-color: #444;
  }

  .faq {
    width: 100%;
    display: block;
    background-color: white;
  }

  .portfolio {
    margin-top: 50rem;
    padding: 48rem 16rem 120rem;
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .portfolio {
      margin-top: 80rem;
      padding: 120rem 220rem 160rem;
    }
  }

  .error-404 {
    margin-top: 50rem;
    padding: 80rem 0;
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .error-404 {
      margin-top: 90rem;
      padding: 144rem 0;
      width: 100%;
      display: block;
    }
  }

  footer {
    padding: 40rem 16rem 22rem;
    width: 100%;
    display: block;
    background-color: rgba(254, 238, 238, 0.68);
  }

  @media (min-width: 769px) {
    footer {
      padding: 60rem 114rem 22rem;
    }
  }
}

@layer components {
  .header .header__container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .header h1 {
    width: 180rem;
    height: 100%;
    display: block;
    position: relative;
    z-index: 999;
  }

  @media (min-width: 769px) {
    .header h1 {
      width: 300rem;
    }
  }

  .header h1 a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .header h1 a img {
    width: 20rem;
    aspect-ratio: 1 / 1;
    display: block;
  }

  @media (min-width: 769px) {
    .header h1 a img {
      width: 40rem;
    }
  }

  .header h1 a span {
    margin-left: 12rem;
    font-size: 24rem;
    line-height: 1;
    letter-spacing: 0;
    color: var(--color-red);
    font-family: var(--font-family-title);
  }

  @media (min-width: 769px) {
    .header h1 a span {
      margin-left: 16rem;
      font-size: 40rem;
    }
  }

  .header__menu .header__menu-list {
    width: 100vw;
    height: 100dvh;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
  }

  @media (min-width: 769px) {
    .header__menu .header__menu-list {
      width: 700rem;
      height: auto;
      opacity: 1;
      pointer-events: visible;
      position: static;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }

  .header__menu:has(.is-open) .header__menu-list {
    display: block;
    background-image: url(./images/bg_nav_texture.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    pointer-events: visible;
    transition: all 0.3s ease;
  }

  .header__menu:has(.is-open) nav {
    margin: 0 auto;
    padding: 80rem 0 0;
    width: 327rem;
    display: block;
  }

  @media (min-width: 769px) {
    .header__menu nav {
      margin: 0;
      padding: 0;
      width: 440rem;
    }
  }

  .header__menu nav .header__nav-items {
    padding: 0 0 40rem 120rem;
    width: 100%;
    display: block;
    border-bottom: solid 1rem #666;
  }

  @media (min-width: 769px) {
    .header__menu nav .header__nav-items {
      padding: 0;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: none;
    }
  }

  .header__menu nav .header__nav-items li {
    margin-top: 24rem;
    width: 100%;
  }

  @media (min-width: 769px) {
    .header__menu nav .header__nav-items li {
      margin-top: 0;
      width: auto;
    }
  }

  .header__menu nav .header__nav-items li a {
    width: 100%;
    height: 100%;
    display: block;
    font-size: 16rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    letter-spacing: 0.04em;
    font-family: var(--font-family-en);
    color: var(--color-black);
    transition: color 0.3s ease;
  }

  @media (min-width: 769px) {
    .header__menu nav .header__nav-items li a:hover {
      color: var(--color-red);
    }
  }

  .header__menu .header__link-item {
    margin: 40px auto;
    width: 327rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32rem;
  }

  @media (min-width: 769px) {
    .header__menu .header__link-item {
      margin: 0;
      padding-left: 0;
      width: 200rem;
      justify-content: space-between;
      align-items: center;
      gap: 0;
    }
  }

  .header__menu .header__link-item a.header-button__cta {
    width: 145rem;
    height: 50rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-red);
    border: solid 1rem var(--color-red);
    border-radius: 25rem;
    color: #fff;
    transition: all 0.3s ease;
  }

  @media (min-width: 769px) {
    .header__menu .header__link-item a.header-button__cta:hover {
      background-color: #fff;
      color: var(--color-red);
    }
  }

  .header__menu .header__link-item a.header-button__cta span {
    font-size: 24rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0.04em;
    font-family: var(--font-family-en);
  }

  .header__menu button.button__hamburger-menu {
    width: 20rem;
    height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 999;
  }

  @media (min-width: 769px) {
    .header__menu button.button__hamburger-menu {
      display: none;
    }
  }

  .header__menu button.button__hamburger-menu span {
    height: 1rem;
    display: block;
    background-color: var(--color-red);
    transition: all 0.3s ease;
  }

  .header__menu button.button__hamburger-menu span:nth-child(1) {
    width: 20rem;
  }

  .header__menu button.button__hamburger-menu span:nth-child(2) {
    width: 16rem;
    opacity: 1;
  }

  .header__menu button.button__hamburger-menu span:nth-child(3) {
    width: 12rem;
  }

  .header__menu button.button__hamburger-menu.is-open span:nth-child(1) {
    width: 20rem;
    transform: rotate(45deg) translate(4rem, 4rem);
  }

  .header__menu button.button__hamburger-menu.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__menu button.button__hamburger-menu.is-open span:nth-child(3) {
    width: 20rem;
    transform: rotate(-45deg) translate(4rem, -4rem);
  }

  section.mainvisual {
    padding: 504rem 0 130rem;
    width: 100%;
    display: block;
    background-image: url(./images/img_top_kv-sp.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
  }

  @media (min-width: 769px) {
    section.mainvisual {
      padding: 261rem 0 353rem;
      background-image: url(./images/img_top_kv-pc.webp);
    }
  }

  section.mainvisual .mask {
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  section.mainvisual .kv_title {
    margin: 0 auto;
    width: 344rem;
    display: block;
    position: relative;
    z-index: 2;
  }

  @media (min-width: 769px) {
    section.mainvisual .kv_title {
      margin: 0 0 0 62rem;
      width: 512rem;
    }
  }

  section.mainvisual .kv_title h2 {
    font-size: 36rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.8;
  }

  @media (min-width: 769px) {
    section.mainvisual .kv_title h2 {
      font-size: 48rem;
    }
  }

  section.mainvisual .kv_title h2 span {
    width: fit-content;
    display: block;
    position: relative;
    z-index: 5;
  }

  @media (min-width: 769px) {
    section.mainvisual .kv_title h2 span {
      display: inline-block;
    }
  }

  section.mainvisual .kv_title h2 span::after {
    content: '';
    width: 100%;
    height: 16rem;
    display: block;
    background-image: url(./images/img_kv_underline.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 8rem;
    left: 0;
    z-index: -1;
  }

  @media (min-width: 769px) {
    section.mainvisual .kv_title h2 span::after {
      width: 102%;
    }
  }

  section.mainvisual .kv_title p {
    margin-top: 8rem;
    font-size: 20rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
    font-family: var(--font-family-en);
  }

  @media (min-width: 769px) {
    section.mainvisual .kv_title p {
      margin-top: 16rem;
      font-size: 32rem;
    }
  }

  section.mainvisual .scrolldown2 {
    position: absolute;
    bottom: 10%;
    left: 90%;
  }

  @media (min-width: 769px) {
    section.mainvisual .scrolldown2 {
      bottom: 0%;
      left: 96%;
    }
  }

  section.mainvisual .scrolldown2 span {
    position: absolute;
    left: 10rem;
    bottom: 10rem;
    font-size: 10rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    font-family: var(--font-family-en);
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }

  section.mainvisual .scrolldown2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: #323232;
    animation:
      circlemove 1.6s ease-in-out infinite,
      cirlemovehide 1.6s ease-in-out infinite;
  }

  @keyframes circlemove {
    0% {
      bottom: 45rem;
    }

    100% {
      bottom: -5rem;
    }
  }

  @keyframes cirlemovehide {
    0% {
      opacity: 0;
    }

    50% {
      opacity: 1;
    }

    80% {
      opacity: 0.9;
    }

    100% {
      opacity: 0;
    }
  }

  section.mainvisual .scrolldown2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 50rem;
    background: #323232;
  }

  /* section about us */
  .aboutus__container,
  .aboutus__container .aboutus__text {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .aboutus__container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }

  @media (min-width: 769px) {
    .aboutus__container .aboutus__text {
      width: 616rem;
    }
  }

  .aboutus__container .aboutus__text h2 {
    font-size: 32rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    font-family: var(--font-family-en);
    color: var(--color-dullred);
  }

  @media (min-width: 769px) {
    .aboutus__container .aboutus__text h2 {
      font-size: 48rem;
    }
  }

  .aboutus__container .aboutus__text strong {
    margin-top: 24rem;
    font-size: 32rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.8;
    color: var(--color-black);
    transition: color 0.8s ease;
  }

  @media (min-width: 769px) {
    .aboutus__container .aboutus__text strong {
      margin-top: 16rem;
      font-size: 48rem;
    }
  }

  section.aboutus.darktheme .aboutus__container .aboutus__text strong {
    color: #fff;
  }

  .aboutus__container .aboutus__text p {
    margin-top: 48rem;
    font-size: 16rem;
    color: var(--color-black);
    transition: color 0.8s ease;
    line-height: 2.2;
  }

  section.aboutus.darktheme .aboutus__container .aboutus__text p {
    color: #fff;
  }

  .aboutus__container picture {
    margin-top: 48rem;
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .aboutus__container picture {
      margin-top: 0;
      width: 520rem;
      display: block;
    }
  }

  /* section service */
  section.service .service__title {
    width: 100%;
    display: block;
    position: relative;
  }

  @media (min-width: 769px) {
    section.service .service__title {
      margin-top: 110rem;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      flex-direction: row-reverse;
    }
  }

  .section-title {
    width: 100%;
    padding: 80rem 16rem 32rem;
  }

  @media (min-width: 769px) {
    section.service .section-title {
      width: 680rem;
      padding: 0 0 0 120rem;
    }
  }

  .section-title h2 {
    font-size: 48rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    color: var(--color-dullred);
    font-family: var(--font-family-en);
    text-align: center;
  }

  .section-title h2 span {
    margin-top: 8rem;
    display: block;
    font-size: 14rem;
    color: var(--color-black);
    font-family: var(--font-family-ja);
  }

  .section-title p {
    margin-top: 32rem;
    font-size: 16rem;
  }

  @media (min-width: 769px) {
    .section-title p {
      margin-top: 56rem;
    }
  }

  img.section-title__image {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    img.section-title__image {
      width: 600rem;
    }
  }

  p.scroll-text {
    display: none;
  }

  @media (min-width: 769px) {
    section.service p.scroll-text {
      display: block;
      font-size: 112rem;
      font-weight: var(--font-weight-semibold);
      line-height: 1;
      letter-spacing: 0;
      color: rgba(136, 136, 136, 0.16);
      position: absolute;
      bottom: -45rem;
      left: 20rem;
    }
  }

  p.scroll-text span {
    display: inline-block;
  }

  section.service ul.service__list {
    margin: 48rem auto 0;
    width: 343rem;
    display: flex;
    flex-direction: column;
    gap: 24rem 0;
  }

  @media (min-width: 769px) {
    section.service ul.service__list {
      margin: 124rem auto 0;
      width: 1240rem;
      gap: 100rem 0;
    }
  }

  section.service ul.service__list li.service__item {
    padding: 40rem 8rem;
    width: 100%;
    display: block;
    background-color: #fff;
  }

  @media (min-width: 769px) {
    section.service ul.service__list li.service__item {
      padding: 50rem 82rem;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }

  @media (min-width: 769px) {
    section.service ul.service__list li.service__item:nth-child(even) {
      flex-direction: row-reverse;
    }
  }

  section.service ul.service__list li.service__item .service__desc {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    section.service ul.service__list li.service__item .service__desc {
      width: 416rem;
    }
  }

  section.service ul.service__list li.service__item .service__desc h3 {
    font-size: 20rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
  }

  @media (min-width: 769px) {
    section.service ul.service__list li.service__item .service__desc h3 {
      font-size: 32rem;
    }
  }

  section.service ul.service__list li.service__item .service__desc p {
    margin-top: 24rem;
    font-size: 16rem;
    font-weight: var(--font-weight-regular);
    line-height: 2.2;
  }

  @media (min-width: 769px) {
    section.service ul.service__list li.service__item .service__desc p {
      margin-top: 44rem;
    }
  }

  section.service ul.service__list li.service__item img {
    margin-top: 16rem;
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    section.service ul.service__list li.service__item img {
      margin-top: 0;
      width: 580rem;
    }
  }

  /* section works */
  section.works {
    position: relative;
  }

  section.works .works__title {
    width: 100%;
    display: block;
    position: relative;
  }

  @media (min-width: 769px) {
    section.works .works__title {
      display: flex;
      align-items: center;
    }
  }

  @media (min-width: 769px) {
    section.works .works__title .section-title {
      padding: 80rem 120rem 134rem 140rem;
      background-color: white;
    }
  }

  section.works .works__title p.scroll-text-works {
    display: none;
  }

  @media (min-width: 769px) {
    section.works .works__title p.scroll-text-works {
      display: block !important;
      font-size: 112rem;
      font-weight: var(--font-weight-semibold);
      line-height: 1;
      letter-spacing: 0;
      color: rgba(136, 136, 136, 0.16);
      position: absolute;
      bottom: -45rem;
      left: 20rem;
    }
  }

  section.works .works__portfolio {
    margin: 48rem auto 0;
    width: 328rem;
  }

  @media (min-width: 769px) {
    section.works .works__portfolio {
      margin: 0 auto 0;
      padding-top: 200rem;
      width: 1180rem;
    }
  }

  section.works .works__portfolio ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 32rem 18rem;
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul {
      gap: 80rem 30rem;
    }
  }

  section.works .works__portfolio ul li {
    width: 155rem;
    display: block;
    background-color: #fff;
    box-shadow: 0 5rem 10rem rgba(0, 0, 0, 0.1);
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul li {
      width: 373rem;
      border-radius: 2rem;
      overflow: hidden;
    }
  }

  section.works .works__portfolio ul li a {
    width: 100%;
    height: 100%;
    display: block;
  }

  section.works .works__portfolio ul li a figure {
    width: 100%;
    aspect-ratio: 155 / 83;
    display: block;
    overflow: hidden;
  }

  section.works .works__portfolio ul li a figure img {
    width: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.0);
    opacity: 1;
    transition: all 0.3s ease;
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul li a:hover figure img {
      transform: scale(1.1);
      opacity: 0.8;
    }
  }

  section.works .works__portfolio ul li a ul.category-list {
    display: none;
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul li a ul.category-list {
      padding: 0 24rem;
      display: flex;
      justify-content: flex-start;
      gap: 8rem 16rem;
      flex-wrap: wrap;
    }
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul li a ul.category-list li {
      padding: 8rem 12rem;
      width: fit-content;
      display: flex;
      justify-content: center;
      align-items: center;
      border: solid 1rem var(--color-red);
      border-radius: 50rem;
      box-shadow: none;
    }
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul li a ul.category-list li span {
      font-size: 10rem;
      font-weight: var(--font-weight-bold);
      line-height: 1;
      letter-spacing: 0.04em;
      color: var(--color-red);
    }
  }

  section.works .works__portfolio ul li a .card__text {
    padding: 16rem 8rem;
    width: 100%;
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul li a .card__text {
      padding: 12rem 24rem 40rem;
      color: var(--color-black);
      transition: color 0.3s ease;
    }
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul li a:hover .card__text {
      color: var(--color-red);
    }
  }

  section.works .works__portfolio ul li a .card__text h3 {
    font-size: 16rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
  }

  @media (min-width: 769px) {
    section.works .works__portfolio ul li a .card__text h3 {
      font-size: 20rem;
    }
  }

  section.works .works__portfolio ul li a .card__text p.client__name {
    margin-top: 8rem;
    font-size: 14rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
  }

  /* price section */
  section.price {
    margin-top: 40rem;
    padding: 0 16rem;
    width: 100%;
    display: block;
    position: relative;
  }

  @media (min-width: 769px) {
    section.price {
      margin-top: 0;
      padding: 0 130rem;
    }
  }

  section.price .section-title {
    margin: 0 auto;
    width: 120rem;
    text-align: center;
  }

  @media (min-width: 769px) {
    section.price .section-title {
      width: auto;
    }
  }

  section.price ul.price__list {
    margin-top: 32rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24rem 0;
  }

  @media (min-width: 769px) {
    section.price ul.price__list {
      margin-top: 80rem;
      flex-direction: row;
      justify-content: space-between;
    }
  }

  section.price ul.price__list li.price__list--item {
    padding: 48rem 16rem;
    display: flex;
    flex-direction: column;
    gap: 32rem 0;
    background-color: #fafafa;
    border: solid 2rem #bfbfbf;
    border-radius: 10rem;
  }

  @media (min-width: 769px) {
    section.price ul.price__list li.price__list--item {
      padding: 80rem 32rem;
      width: 372rem;
    }
  }

  section.price ul.price__list li.price__list--item:nth-child(even) {
    background-color: #FFF5F3;
    border: solid 2rem #D14D41;
  }

  section.price ul.price__list li.price__list--item h3 {
    font-size: 24rem;
    font-weight: var(--font-weight-regular);
    line-height: 1;
    letter-spacing: 0.04em;
    text-align: center;
  }

  section.price ul.price__list li.price__list--item p {
    font-size: 36rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.04em;
    font-family: var(--font-family-en);
    color: var(--color-red);
    text-align: center;
  }

  section.price ul.price__list li.price__list--item .description__list {
    display: flex;
    flex-direction: column;
  }

  section.price ul.price__list li.price__list--item .description__list li {
    font-size: 14rem;
    font-weight: var(--font-weight-regular);
    line-height: 2;
    letter-spacing: 0.04em;
  }

  section.price ul.price__list li.price__list--item .description__list li::before {
    content: "・";
    color: var(--color-red);
    display: inline-block;
  }

  /* workflow section */
  section.workflow {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    section.workflow {
      margin: 80rem auto;
      width: 1180rem;
    }
  }

  section.workflow .section-title {
    text-align: center;
  }

  section.workflow .section__container {
    padding: 0 16rem 60rem;
    width: 100%;
  }

  @media (min-width: 769px) {
    section.workflow .section__container {
      padding: 0;
      width: 1180rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }

  section.workflow .section__container .section__list {
    margin-top: 32rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40rem 0;
    position: relative;
  }

  @media (min-width: 769px) {
    section.workflow .section__container .section__list {
      width: 740rem;
      gap: 32rem 0;
    }
  }

  section.workflow .section__container .section__list::before {
    content: '';
    width: 1.4rem;
    height: 555rem;
    display: block;
    background-color: var(--color-red);
    opacity: 0.8;
    position: absolute;
    top: 30rem;
    left: 20rem;
  }

  @media (min-width: 769px) {
    section.workflow .section__container .section__list::before {
      width: 2rem;
      height: 460rem;
      left: 28rem;
    }
  }

  section.workflow .section__container .section__list li.section__item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  section.workflow .section__container .section__list li.section__item span {
    width: 40rem;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20rem;
    line-height: 1;
    letter-spacing: 0;
    color: white;
    background-color: var(--color-red);
    border-radius: 50%;
    position: relative;
    z-index: 10;
  }

  @media (min-width: 769px) {
    section.workflow .section__container .section__list li.section__item span {
      width: 60rem;
      font-size: 24rem;
    }
  }

  section.workflow .section__container .section__list dl {
    width: 260rem;
    display: block;
  }

  @media (min-width: 769px) {
    section.workflow .section__container .section__list dl {
      width: 650rem;
      display: block;
    }
  }

  section.workflow .section__container .section__list dl dt {
    font-size: 20rem;
    font-weight: var(--font-weight-medium);
    line-height: 1;
    letter-spacing: 0.04em;
  }

  section.workflow .section__container .section__list dl dd {
    margin-top: 12rem;
    font-size: 14rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  @media (min-width: 769px) {
    section.workflow .section__container .section__list dl dd {
      margin-top: 16rem;
    }
  }

  section.workflow .section__container img {
    margin-top: 32rem;
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    section.workflow .section__container img {
      margin-top: 0;
      width: 400rem;
    }
  }

  /* message section */
  section.message {
    padding: 0 24rem 80rem;
    display: block;
  }

  @media (min-width: 769px) {
    section.message {
      padding: 80rem 220rem 120rem;
    }
  }

  @media (min-width: 769px) {
    section.message .section-title {
      padding: 0 0 80rem;
    }
  }

  section.message .section-title h2,
  section.message .section-title h2 span {
    color: var(--color-pink);
    text-align: left;
  }

  section.message .section-title p {
    margin-top: 24rem;
    font-size: 16rem;
    font-weight: var(--font-weight-regular);
    line-height: 2.2;
    letter-spacing: 0.04em;
    color: white;
  }

  section.message .message__container {
    width: 100%;
  }

  @media (min-width: 769px) {
    section.message .message__container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-direction: row-reverse;
    }
  }

  section.message .message__container img {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    section.message .message__container img {
      width: 300rem;
    }
  }

  section.message .message__container .message__content {
    margin-top: 16rem;
    width: 100%;
  }

  @media (min-width: 769px) {
    section.message .message__container .message__content {
      margin-top: 0;
      width: 640rem;
    }
  }

  section.message .message__container .message__content p {
    font-size: 16rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0.04em;
    color: white;
  }

  section.message .message__container .message__content h3 {
    margin-top: 12rem;
    font-size: 24rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    letter-spacing: 0.04em;
    color: white;
    font-family: var(--font-family-ja);
  }

  section.message .message__container .message__content h3 span {
    font-size: 14rem;
    font-family: var(--font-family-en);
  }

  section.message .message__container .message__content .message__desc {
    margin-top: 24rem;
  }

  @media (min-width: 769px) {
    section.message .message__container .message__content .message__desc {
      margin-top: 32rem;
    }
  }

  section.message .message__container .message__content .message__desc p {
    margin-top: 16rem;
    font-size: 16rem;
    font-weight: var(--font-weight-regular);
    line-height: 2.2;
    letter-spacing: 0.04em;
    color: white;
  }

  section.message .message__container .message__content .message__desc p:first-of-type {
    margin-top: 0;
  }

  /* FAQ section */
  section.faq {
    padding: 0 16rem;
  }

  @media (min-width: 769px) {
    section.faq {
      padding: 80rem 16rem;
    }
  }

  section.faq .section-title {
    text-align: center;
  }

  section.faq .faq-list {
    margin: 16rem auto 0;
    padding: 0 16rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24rem 0;
  }

  @media (min-width: 769px) {
    section.faq .faq-list {
      margin: 100rem auto 0;
      padding: 0 265rem;
      gap: 30rem 0;
    }
  }

  section.faq .faq-list li.faq-item {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    section.faq .faq-list li.faq-item {
      cursor: pointer;
    }
  }

  section.faq .faq-list li.faq-item details {
    width: 100%;
    padding-bottom: 16rem;
    border-bottom: solid 1rem #dfdfdf;
  }

  section.faq .faq-list li.faq-item details .faq-question,
  section.faq .faq-list li.faq-item details .faq-answer {
    width: 100%;
    position: relative;
  }

  section.faq .faq-list li.faq-item details .faq-answer {
    margin-top: 8rem;
  }

  section.faq .faq-list li.faq-item details .faq-question::before {
    content: "Q.";
    display: inline-block;
    font-size: 16rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.8;
    letter-spacing: 0;
    font-family: var(--font-family-en);
    color: var(--color-red);
    position: absolute;
    top: 0;
    left: 0;
  }

  section.faq .faq-list li.faq-item details .faq-question span {
    margin-left: 20rem;
    width: 260rem;
    display: inline-block;
    font-size: 16rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.8;
    letter-spacing: 0;
    color: var(--color-black);
    vertical-align: top;
  }

  @media (min-width: 769px) {
    section.faq .faq-list li.faq-item details .faq-question span {
      width: auto;
    }
  }

  section.faq .faq-list li.faq-item details .faq-question span::before {
    content: '';
    margin-left: 20rem;
    width: 15rem;
    height: 1rem;
    display: inline-block;
    background-color: var(--color-red);
    position: absolute;
    top: 14rem;
    right: 0;
  }

  section.faq .faq-list li.faq-item details .faq-question span::after {
    content: '';
    margin-left: 20rem;
    width: 15rem;
    height: 1rem;
    display: inline-block;
    background-color: var(--color-red);
    position: absolute;
    top: 14rem;
    right: 0;
    transform: rotate(90deg);
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  section.faq .faq-list li.faq-item details[open] .faq-question span::after {
    opacity: 0;
  }

  section.faq .faq-list li.faq-item details .faq-answer::before {
    content: "A.";
    display: inline-block;
    font-size: 14rem;
    font-weight: var(--font-weight-semibold);
    line-height: 2.2;
    letter-spacing: 0;
    font-family: var(--font-family-en);
    color: #666;
    position: absolute;
    top: 0;
    left: 0;
  }

  section.faq .faq-list li.faq-item details .faq-answer p {
    margin-left: 20rem;
    width: 260rem;
    display: inline-block;
    font-size: 14rem;
    font-weight: var(--font-weight-regular);
    line-height: 2.2;
    letter-spacing: 0;
    color: #666;
  }

  @media (min-width: 769px) {
    section.faq .faq-list li.faq-item details .faq-answer p {
      width: auto;
    }
  }

  /* section contact */
  section.contact {
    padding: 0 0 80rem;
  }

  section.contact.confirm {
    padding: 120rem 0 80rem;
  }

  section.contact .section-title {
    text-align: center;
  }

  .contact__form {
    width: 100%;
  }

  @media (min-width: 769px) {
    .contact__form {
      margin: 0 auto;
      width: 1180rem;
    }
  }

  div.wpcf7 {
    padding: 0 16rem;
    width: 100%;
    background-color: #fff;
    border-radius: 16rem;
  }

  @media (min-width: 769px) {
    div.wpcf7 {
      padding: 32rem 140rem;
    }
  }

  div.wpcf7 form.wpcf7-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16rem 0;
  }

  @media (min-width: 769px) {
    div.wpcf7 form.wpcf7-form {
      gap: 32rem 0;
    }
  }

  div.wpcf7 form.wpcf7-form p {
    width: 100%;
  }

  div.wpcf7 form.wpcf7-form p label {
    font-size: 16rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }

  /* div.wpcf7 form.wpcf7-form p label.c-form__confirm--text {
    margin-top: 18rem;
    padding-left: 16rem;
    height: 82rem;
    display: flex;
    flex-direction: column;
    font-size: 14rem;
    line-height: 1.6;
    color: #999;
  }

  @media (min-width: 769px) {
    div.wpcf7 form.wpcf7-form p label.c-form__confirm--text {
      margin-top: 0;
    }
  }

  div.wpcf7 form.wpcf7-form p label.c-form__confirm--text span {
    display: block;
    color: #333;
    line-height: 1.8;
    transform: translateX(-16rem);
  } */

  div.wpcf7 form.wpcf7-form p label span.required-mark::after {
    content: "*";
    margin-left: 4rem;
    color: var(--color-red);
    display: inline-block;
  }

  div.wpcf7 form.wpcf7-form p label span.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
  }

  div.wpcf7 form.wpcf7-form p label span.wpcf7-form-control-wrap select.wpcf7-form-control {
    margin: 8rem 0 0;
    padding: 8rem 16rem;
    width: 100%;
    display: block;
    font-size: 14rem;
    border: solid 2rem #d1d1d1;
    border-radius: 5rem;
    appearance: none;
    -webkit-appearance: none;
    background: white url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 12L2 6h12z" fill="%23666"/></svg>') no-repeat right 12px center;
    background-size: 16px;
  }

  div.wpcf7 form.wpcf7-form p label span.wpcf7-form-control-wrap input.wpcf7-text,
  div.wpcf7 form.wpcf7-form p label span.wpcf7-form-control-wrap textarea.wpcf7-textarea {
    margin-top: 8rem;
    padding: 10rem 16rem;
    width: 100%;
    display: block;
    background-color: #f3f3f3;
    border-radius: 5rem;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  div.wpcf7 form.wpcf7-form p label span.wpcf7-form-control-wrap select option,
  div.wpcf7 form.wpcf7-form p label span.wpcf7-form-control-wrap input,
  div.wpcf7 form.wpcf7-form p label span.wpcf7-form-control-wrap textarea {
    font-size: 14rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
    color: #333;
  }

  div.wpcf7 form.wpcf7-form .form-submit .wpcf7-acceptance .wpcf7-list-item,
  div.wpcf7 form.wpcf7-form .form-confirm .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0 !important;
    user-select: none;
  }

  div.wpcf7 form.wpcf7-form .form-submit .wpcf7-acceptance .wpcf7-list-item::before,
  div.wpcf7 form.wpcf7-form .form-confirm .wpcf7-acceptance .wpcf7-list-item::before {
    content: "";
    position: absolute;
    left: 6rem;
    top: 4rem;
    width: 6rem;
    height: 12rem;
    border: solid var(--color-red);
    border-width: 0 3rem 3rem 0;
    transform: rotate(45deg);
    opacity: 1;
    pointer-events: none;
  }

  div.wpcf7 form.wpcf7-form .form-submit .wpcf7-acceptance .wpcf7-list-item label,
  div.wpcf7 form.wpcf7-form .form-confirm .wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: center;
  }

  div.wpcf7 form.wpcf7-form .form-submit .wpcf7-acceptance .wpcf7-list-item label input,
  div.wpcf7 form.wpcf7-form .form-confirm .wpcf7-acceptance .wpcf7-list-item label input {
    margin-right: 16rem;
    width: 15rem;
    aspect-ratio: 1/1;
    display: inline-block;
    background-color: #fff;
    border: solid 1rem #999;
    border-radius: 2rem;
  }

  div.wpcf7 form.wpcf7-form .form-submit .wpcf7-acceptance .wpcf7-list-item label span.wpcf7-list-item-label,
  div.wpcf7 form.wpcf7-form .form-confirm .wpcf7-acceptance .wpcf7-list-item label span.wpcf7-list-item-label {
    font-size: 14rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    color: #333;
    display: flex;
  }

  div.wpcf7 form.wpcf7-form .form-submit .wpcf7-acceptance .wpcf7-list-item label span.wpcf7-list-item-label button,
  div.wpcf7 form.wpcf7-form .form-confirm .wpcf7-acceptance .wpcf7-list-item label span.wpcf7-list-item-label button {
    margin-right: 4rem;
    font-size: 14rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    color: rgba(209, 77, 65, 0.8);
    display: inline-block;
  }

  div.wpcf7 form.wpcf7-form .form-submit .wpcf7-acceptance .wpcf7-list-item label span.wpcf7-list-item-label a,
  div.wpcf7 form.wpcf7-form .form-confirm .wpcf7-acceptance .wpcf7-list-item label span.wpcf7-list-item-label a {
    color: var(--color-red);
    display: inline-block;
    border-bottom: dotted 1rem var(--color-red);
  }

  div.wpcf7 form.wpcf7-form .form-submit:has(:disabled) .form-acceptance span.wpcf7-list-item::before,
  div.wpcf7 form.wpcf7-form .form-confirm:has(:disabled) .form-acceptance span.wpcf7-list-item::before {
    opacity: 0;
  }

  div.wpcf7 form.wpcf7-form .form-submit p input.wpcf7-submit,
  div.wpcf7 form.wpcf7-form .form-confirm p input.wpcf7-submit {
    font-size: 14rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.05em;
    display: inline-block;
  }

  div.wpcf7 form.wpcf7-form .form-submit p:has(.wpcf7-submit),
  div.wpcf7 form.wpcf7-form .form-confirm p:has(.wpcf7-submit) {
    margin: 24rem auto 0;
    width: 184rem;
    height: 54rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: var(--color-red);
    border: solid 2rem var(--color-red);
    border-radius: 27rem;
    transition: all 0.3s ease;
  }

  @media (min-width: 769px) {

    div.wpcf7 form.wpcf7-form .form-submit p:has(.wpcf7-submit),
    div.wpcf7 form.wpcf7-form .form-confirm p:has(.wpcf7-submit) {
      margin-top: 76rem;
    }
  }

  @media (min-width: 769px) {

    div.wpcf7 form.wpcf7-form .form-submit p:has(.wpcf7-submit):hover,
    div.wpcf7 form.wpcf7-form .form-confirm p:has(.wpcf7-submit):hover {
      color: var(--color-red);
      background-color: white;
    }
  }

  div.wpcf7 form.wpcf7-form .form-submit span.wpcf7-spinner,
  div.wpcf7 form.wpcf7-form .form-confirm span.wpcf7-spinner {
    position: absolute !important;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  div.wpcf7 form.wpcf7-form .form-submit .form-acceptance span.required-mark::after,
  div.wpcf7 form.wpcf7-form .form-confirm .form-acceptance span.required-mark::after {
    content: "*";
    margin-left: 4rem;
    color: var(--color-red);
    display: inline-block;
  }

  .wpcf7 form.sent .wpcf7-response-output {
    border-color: transparent;
  }

  @media (min-width: 769px) {
    .wpcf7 form.sent .wpcf7-response-output {
      text-align: center;
    }
  }

  section.confirm div.form-prev input.wpcf7-previous {
    margin: 0 auto;
    font-size: 14rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.05em;
    display: block;
    color: var(--color-red);
    cursor: pointer;
  }

  section.confirm form.wpcf7-form p label span.input-text {
    color: gray;
    display: inline-block;
    margin-left: 16rem;
  }


  /* Privacy Policy */
  .c-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    padding: 100rem 20rem 20rem;
    box-sizing: border-box;
  }

  .c-modal-overlay.is-open {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .c-modal {
    padding: 60rem 20rem 40rem;
    max-width: 800rem;
    width: 100%;
    max-height: calc(100vh - 40rem);
    background-color: #fff;
    border-radius: 8rem;
    position: relative;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  @media (min-width: 769px) {
    .c-modal {
      padding: 80rem 60rem 60rem;
      max-height: calc(100vh - 160rem);
    }
  }

  .c-modal__close {
    width: 40rem;
    height: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32rem;
    font-weight: 300;
    line-height: 1;
    color: #fff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 20rem;
    right: 20rem;
    z-index: 1001;
    transition: opacity 0.3s ease;
  }

  @media (min-width: 769px) {
    .c-modal__close {
      width: 50rem;
      height: 50rem;
      font-size: 40rem;
      top: 30rem;
      right: 30rem;
    }

    .c-modal__close:hover {
      opacity: 0.7;
    }
  }

  .c-privacy-policy {
    width: 100%;
  }

  .c-privacy-policy__container {
    width: 100%;
    color: #323232;
  }

  .c-privacy-policy__container h3 {
    font-size: 24rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 24rem;
  }

  @media (min-width: 769px) {
    .c-privacy-policy__container h3 {
      font-size: 32rem;
      margin-bottom: 32rem;
    }
  }

  .c-privacy-policy__container > p {
    font-size: 14rem;
    font-weight: var(--font-weight-regular);
    line-height: 2;
    letter-spacing: 0.04em;
    margin-bottom: 24rem;
  }

  @media (min-width: 769px) {
    .c-privacy-policy__container > p {
      font-size: 16rem;
      margin-bottom: 32rem;
    }
  }

  .c-privacy-policy__container ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24rem 0;
  }

  .c-privacy-policy__container ul li {
    width: 100%;
  }

  .c-privacy-policy__container ul li dl dt {
    font-size: 16rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.8;
    letter-spacing: 0.04em;
    margin-bottom: 8rem;
  }

  @media (min-width: 769px) {
    .c-privacy-policy__container ul li dl dt {
      font-size: 18rem;
      margin-bottom: 12rem;
    }
  }

  .c-privacy-policy__container ul li dl dd {
    font-size: 14rem;
    font-weight: var(--font-weight-regular);
    line-height: 2;
    letter-spacing: 0.04em;
  }

  @media (min-width: 769px) {
    .c-privacy-policy__container ul li dl dd {
      font-size: 16rem;
    }
  }

  .c-privacy-policy__container ul li dl dd p {
    margin-top: 12rem;
    font-size: 14rem;
    line-height: 2;
  }

  @media (min-width: 769px) {
    .c-privacy-policy__container ul li dl dd p {
      font-size: 16rem;
    }
  }

  .c-privacy-policy__container ul li dl dd p:first-child {
    margin-top: 0;
  }

  .c-privacy-policy__container ul li dl dd ol,
  .c-privacy-policy__container ul li dl dd ul {
    margin-top: 8rem;
    padding-left: 20rem;
    display: flex;
    flex-direction: column;
    gap: 4rem 0;
  }

  .c-privacy-policy__container ul li dl dd ol li,
  .c-privacy-policy__container ul li dl dd ul li {
    font-size: 14rem;
    line-height: 1.8;
  }

  @media (min-width: 769px) {
    .c-privacy-policy__container ul li dl dd ol li,
    .c-privacy-policy__container ul li dl dd ul li {
      font-size: 16rem;
    }
  }



  /* portfolio single page */
  header.portfolio__title {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    header.portfolio__title {
      margin: 0 auto;
      width: 800rem;
    }
  }

  header.portfolio__title h2 {
    font-size: 20rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  @media (min-width: 769px) {
    header.portfolio__title h2 {
      font-size: 48rem;
    }
  }

  header.portfolio__title p {
    margin-top: 8rem;
    font-size: 14rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  @media (min-width: 769px) {
    header.portfolio__title p {
      margin-top: 16rem;
      font-size: 16rem;
    }
  }

  .portfolio__container {
    margin-top: 32rem;
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .portfolio__container {
      margin-top: 48rem;
    }
  }

  .portfolio__container .portfolio__image {
    width: 100%;
    display: block;
  }

  .portfolio__container .portfolio__image figure {
    width: 100%;
    display: block;
  }

  .portfolio__container .portfolio__image p.url {
    margin-left: 8rem;
    font-size: 14rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #0066CC;
  }

  @media (min-width: 769px) {
    .portfolio__container .portfolio__image p.url {
      margin-top: 48rem;
      margin-left: 100rem;
      font-size: 16rem;
    }
  }

  .portfolio__content {
    margin-top: 48rem;
    padding: 0 8rem;
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .portfolio__content {
      margin: 40rem auto 0;
      padding: 0;
      width: 800rem;
      display: block;
    }
  }

  .portfolio__content .portfolio__content--text p {
    font-size: 20rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    letter-spacing: 0.04em;
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .portfolio__content .portfolio__content--text p {
      margin: 0 auto;
      width: 800rem;
      font-size: 24rem;
    }
  }

  .portfolio__content .category__container {
    margin-top: 16rem;
  }

  .category__container .category__list {
    margin-top: 8rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .category__container .category__list p,
  .category__container .category__list ul {
    font-size: 16rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  .category__container .category__list ul {
    margin-left: 12rem;
  }

  .portfolio__container .portfolio__device {
    margin-top: 48rem;
    display: flex;
    flex-direction: column;
    gap: 24rem 0;
  }

  @media (min-width: 769px) {
    .portfolio__container .portfolio__device {
      margin-top: 80rem;
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
      gap: 0;
    }
  }

  .portfolio__container .portfolio__device .device__pc,
  .portfolio__container .portfolio__device .device__sp {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .portfolio__container .portfolio__device .device__pc {
      width: 576rem;
    }

    .portfolio__container .portfolio__device .device__sp {
      width: 280rem;
    }
  }

  .portfolio__container .portfolio__button {
    margin: 48rem auto 0;
    width: 145rem;
    height: 50rem;
    display: block;
  }

  .portfolio__container .portfolio__button a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-red);
    background-color: #fff;
    border: solid 1rem var(--color-red);
    border-radius: 25rem;
    transition: all 0.3s ease;
  }

  @media (min-width: 769px) {
    .portfolio__container .portfolio__button a:hover {
      color: #fff;
      background-color: var(--color-red);
    }
  }

  .portfolio__container .portfolio__button a span {
    font-size: 14rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0;
  }

  .portfolio__cta {
    margin-top: 120rem;
    padding: 48rem 8rem;
    width: 100%;
    display: block;
    background-color: var(--color-pink);
    border: solid 2rem var(--color-red);
    border-radius: 10rem;
  }

  @media (min-width: 769px) {
    .portfolio__cta {
      margin-top: 120rem;
      padding: 44rem 200rem;
      width: 100%;
      display: block;
      background-color: var(--color-pink);
      border: solid 2rem var(--color-red);
      border-radius: 10rem;
    }

  }

  .portfolio__cta .portfolio__cta--text {
    width: 100%;
  }

  .portfolio__cta .portfolio__cta--text h3 {
    font-size: 24rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .portfolio__cta .portfolio__cta--text p {
    margin-top: 24rem;
    font-size: 16rem;
    font-weight: var(--font-weight-regular);
    line-height: 2.2;
    letter-spacing: 0.04em;
  }

  .portfolio__cta a.portfolio__cta--btn {
    margin: 48rem auto 0;
    width: 145rem;
    height: 50rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: var(--color-red);
    border: solid 1rem var(--color-red);
    border-radius: 25rem;
    transition: all 0.3s ease;
  }

  @media (min-width: 769px) {
    .portfolio__cta a.portfolio__cta--btn:hover {
      color: var(--color-red);
      background-color: #fff;
    }
  }

  .portfolio__cta a.portfolio__cta--btn span {
    font-size: 14rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0;
  }

  /* 404 page */
  .error-404__container {
    width: 100%;
    display: block;
  }

  .error-404__container header h2 {
    font-size: 24rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.8;
    letter-spacing: 0.04em;
    text-align: center;
  }

  @media (min-width: 769px) {
    .error-404__container header h2 {
      font-size: 32rem;
    }
  }

  .error-404__container .error-404__desc {
    margin-top: 40rem;
    text-align: center;
  }

  @media (min-width: 769px) {
    .error-404__container .error-404__desc {
      margin-top: 48rem;
    }
  }

  .error-404__container .error-404__desc p {
    margin-top: 8rem;
    font-size: 16rem;
    font-weight: var(--font-weight-medium);
    line-height: 2.2;
    letter-spacing: 0.04em;
  }

  .error-404__container .error-404__desc p:first-of-type {
    margin-top: 0;
  }

  .error-404__container a.error-404__btn {
    margin: 48rem auto 0;
    width: 145rem;
    height: 50rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-red);
    background-color: #fff;
    border: solid 1rem var(--color-red);
    border-radius: 25rem;
    transition: all 0.3s ease;
  }

  @media (min-width: 769px) {
    .error-404__container a.error-404__btn:hover {
      color: #fff;
      background-color: var(--color-red);
    }
  }

  .error-404__container a.error-404__btn span {
    font-size: 14rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0;
  }


  /* footer */
  .footer_container {
    padding-bottom: 40rem;
    width: 100%;
    display: block;
    border-bottom: solid 1rem var(--color-black);
  }

  @media (min-width: 769px) {
    .footer_container {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }
  }

  .footer_container .footer__content {
    width: 100%;
  }

  @media (min-width: 769px) {
    .footer_container .footer__content {
      width: 500rem;
    }
  }

  .footer_container .footer__content a {
    width: fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .footer_container .footer__content a img {
    width: 40rem;
    aspect-ratio: 1 / 1;
    display: block;
  }

  .footer_container .footer__content a span {
    margin-left: 14rem;
    font-size: 24rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0;
    color: var(--color-red);
  }

  .footer_container .footer__content p {
    margin-top: 32rem;
    width: 100%;
    font-size: 13rem;
    font-weight: var(--font-weight-regular);
    line-height: 2.2;
    letter-spacing: 0.04em;
  }

  @media (min-width: 769px) {
    .footer_container .footer__content p {
      line-height: 2;
    }
  }

  .footer_container .footer__link {
    margin: 40rem auto 0;
    width: 142rem;
    display: flex;
    flex-direction: column;
    gap: 24rem 0;
  }

  @media (min-width: 769px) {
    .footer_container .footer__link {
      margin: 0;
      width: 586rem;
      flex-direction: row;
      justify-content: space-between;
      gap: 0;
    }
  }

  .footer_container .footer__link .link-item {
    width: 100%;
    display: block;
  }

  @media (min-width: 769px) {
    .footer_container .footer__link .link-item {
      width: 268rem;
    }
  }

  .footer_container .footer__link .link-item h3 {
    font-size: 24rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    letter-spacing: 0;
    font-family: var(--font-family-en);
    text-align: center;
  }

  @media (min-width: 769px) {
    .footer_container .footer__link .link-item h3 {
      text-align: left;
    }
  }

  .footer_container .footer__link .link-item ul {
    margin-top: 16rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16rem 0;
  }

  @media (min-width: 769px) {
    .footer_container .footer__link .link-item ul {
      margin-top: 18rem;
      align-items: flex-start;
      gap: 16rem 0;
    }
  }

  .footer_container .footer__link .link-item ul li {
    font-size: 16rem;
    font-weight: var(--font-weight-regular);
    line-height: 2;
    color: var(--color-black);
    transition: color 0.3s ease;
  }

  @media (min-width: 769px) {
    .footer_container .footer__link .link-item ul li:hover {
      color: var(--color-red);
    }
  }

  .footer_container .footer__link .link-item ul li a {
    display: block;
    height: 100%;
  }

  small.copyright {
    margin-top: 22rem;
    font-size: 10rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0.04em;
    display: block;
    text-align: center;
  }
}




@layer utilities {
  .br-sp {
    display: block;
  }

  @media (min-width: 769px) {
    .br-sp {
      display: none;
    }
  }

  .br-pc {
    display: none;
  }

  @media (min-width: 769px) {
    .br-pc {
      display: block;
    }
  }
}