/* コンテナ共通padding */

@media (min-width: 769px) {
  .container {
    padding: 0 3.889vw;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 6.4vw;
  }
}

/* トップページ */
@media (min-width: 769px) {
  .page-home .hero-section {
    margin-bottom: 12.778vw;
    position: relative;
  }

  .page-home .hero-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 1.25vw;
  }

  .page-home .hero-left {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
  }

  .page-home .hero-copy-block {
    padding-left: 3.889vw;
  }

  .page-home .hero-copy {
    font-size: 3.333vw;
    line-height: 1.46;
    margin-bottom: 1.389vw;
    font-weight: 400;
  }

  .page-home .hero-subcopy {
    font-size: 0.833vw;
    color: #c9c9c9;
    line-height: 1.75;
  }

  .page-home .hero-scroll-text {
    color: #232323;
    font-size: 1.25vw;
    font-weight: 400;
    position: absolute;
    bottom: 2.431vw;
    left: 3.889vw;
  }

  .page-home .hero-slider-indicator {
    position: absolute;
    right: 0;
    bottom: 2.431vw;
    font-size: 0.903vw;
    color: #232323;
    border-bottom: solid 1px #232323;
  }

  .page-home .hero-slider-indicator .progress-bar {
    position: relative;
    width: 100%;
    height: 4px;
    margin-top: 5px;
  }

  .page-home .hero-slider-indicator .progress-bar .progress {
    position: absolute;
    left: 0;
    top: 2px;
    height: 100%;
    width: 0%;
    background: #232323;
  }

  /* アニメーション用クラス */
  .page-home .hero-slider-indicator .progress-bar .progress.animating {
    animation: lineProgress 4.25s linear forwards; /* 5秒に変更 */
  }

  @keyframes lineProgress {
    0% {
      left: 0%;
      width: 0%;
      opacity: 1;
    }
    95% {
      left: 0%;
      width: 100%;
      opacity: 1;
    }
    100% {
      left: 100%;
      width: 0%;
      opacity: 0;
    }
  }

  /* 数字スクロール用 */
  .current-num {
    display: inline-block;
    overflow: hidden;
    height: 1em;
    vertical-align: text-bottom;
    padding-bottom: 1.181vw;
  }

  .current-num span {
    display: block;
    transition: transform 0.5s ease;
  }

  .hero-slider-indicator .current-num.animate span {
    transform: translateY(-100%);
  }

  .page-home .hero-right {
    position: relative;
    width: 57.847vw;
  }

  .page-home .hero-right .hero-slider-indicator {
    display: none;
  }

  .page-home .hero-slider .slide {
    position: relative;
  }

  .page-home .hero-left .news-overlay {
    display: none;
  }

  .page-home .news-overlay {
    position: absolute;
    bottom: 2.5vw;
    right: 0.903vw;
    width: 18.75vw;
    background: #fefefe;
    box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.13);

    font-size: 0.833vw;
  }

  .page-home .news-overlay a {
    color: #232323;
    text-decoration: none;
    font-size: 0.833vw;
    font-weight: 400;
    padding: 0.833vw;
    display: block;
    transition: opacity 1s ease;
  }

  .page-home .news-overlay a:hover {
    opacity: 0.5; /* ← 半透明 */
  }

  .page-home .news-date {
    font-size: 0.694vw;
    margin-bottom: 0.347vw;
  }

  .page-home .news-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
  }

  .page-home .section-shape {
    position: absolute;
    top: 14.375vw;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: soft-light;
    transform: translate3d(0, 0, 0);
  }

  .page-home .section-shape svg {
    width: 100%;
    height: auto;
    display: block;
  }

  .page-home .section-shape .shape-overlay {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 45.694vw;
  }

  .page-home .section-shape .shape-base {
    position: absolute;
    top: 34.028vw;
    left: -2.083vw;
    width: 69.028vw;
  }
}

@media (max-width: 768px) {
  .page-home .hero-section {
    margin-bottom: 23.467vw;
    position: relative;
  }

  .page-home .hero-inner {
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
    width: 100%;
    gap: 12vw;
  }

  .page-home .hero-left {
    position: relative;
    display: block;
  }

  .page-home .hero-left .hero-slider-indicator {
    display: none;
  }

  .page-home .hero-copy-block {
    padding-left: 6.4vw;
    margin-top: 8vw;
    margin-bottom: 9.6vw;
  }

  .page-home .hero-copy {
    font-size: 8.533vw;
    line-height: 1.5;
    margin-bottom: 2.667vw;
    font-weight: 400;
  }

  .page-home .hero-subcopy {
    font-size: 2.667vw;
    color: #c9c9c9;
    line-height: 1.5;
  }

  .page-home .hero-scroll-text {
    font-size: 3.467vw;
    text-align: right;
    padding: 0 6.4vw;
    margin-bottom: 6.4vw;
  }

  .page-home .hero-slider-indicator {
    position: absolute;
    right: 6.4vw;
    bottom: -10.4vw;
    font-size: 2.933vw;
    color: #232323;
    border-bottom: solid 1px #232323;
  }

  .page-home .hero-slider-indicator .progress-bar {
    position: relative;
    width: 100%;
    height: 1.067vw;
    margin-top: 1.333vw;
  }

  .page-home .hero-slider-indicator .progress-bar .progress {
    position: absolute;
    left: 0;
    top: 0.533vw;
    height: 100%;
    width: 0%;
    background: #232323;
  }

  /* アニメーション用クラス */
  .page-home .hero-slider-indicator .progress-bar .progress.animating {
    animation: lineProgress 4.25s linear forwards; /* 5秒に変更 */
  }

  @keyframes lineProgress {
    0% {
      left: 0%;
      width: 0%;
      opacity: 1;
    }
    95% {
      left: 0%;
      width: 100%;
      opacity: 1;
    }
    100% {
      left: 100%;
      width: 0%;
      opacity: 0;
    }
  }

  /* 数字スクロール用 */
  .current-num {
    display: inline-block;
    overflow: hidden;
    height: 1em;
    vertical-align: text-bottom;
    padding-bottom: 3.733vw;
  }

  .current-num span {
    display: block;
    transition: transform 0.5s ease;
  }

  .hero-slider-indicator .current-num.animate span {
    transform: translateY(-100%);
  }

  .page-home .hero-right {
    position: relative;
    width: 93.6vw;
    margin-left: 6.4vw;
  }

  .page-home .hero-slider .slide {
    position: relative;
  }

  .page-home .hero-right .news-overlay {
    display: none;
  }

  .page-home .section-shape {
    position: absolute;
    top: 29.333vw;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: soft-light;
    transform: translate3d(0, 0, 0);
  }

  .page-home .section-shape svg {
    width: 100%;
    height: auto;
    display: block;
  }

  .page-home .section-shape .shape-overlay {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 65.867vw;
  }

  .page-home .section-shape .shape-base {
    position: absolute;
    top: 49.067vw;
    left: -46.933vw;
    width: 100.8vw;
  }

  .page-home .news-overlay {
    position: static;
    width: 87.2vw;
    background: #fefefe;
    box-shadow: 0px 0px 2.933vw rgba(0, 0, 0, 0.13);
    margin: 0 6.4vw;
  }

  .page-home .news-overlay a {
    color: #232323;
    text-decoration: none;
    font-weight: 400;
    padding: 2.133vw 3.2vw;
    display: block;
  }

  .page-home .news-date {
    font-size: 2.667vw;
    margin-bottom: 1.6vw;
  }

  .page-home .news-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    font-size: 3.2vw;
  }
}

@media (min-width: 769px) {
  .page-home .about-section {
    margin-bottom: 10.208vw;
    position: relative;
    z-index: 1;
  }

  .page-home .about-inner {
    display: flex;
    justify-content: space-between;
    gap: 5.556vw;
    padding: 0 3.889vw;
    height: 36.111vw;
  }

  .page-home .about-left,
  .page-home .about-center,
  .page-home .about-right {
    position: relative;
  }

  .page-home .about-left {
    width: 29.167vw;
  }

  .page-home .about-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22.361vw;
  }

  .page-home .about-right {
    width: 18.75vw;
  }

  .page-home .about-left h2 {
    font-weight: 400;
    font-size: 1.25vw;
    color: #232323;
    position: absolute;
    top: 30%;
    left: 0;
    transform: translateY(-50%);
  }

  .page-home .about-left-text {
    position: absolute;
    bottom: 0;
    font-weight: 400;
    font-size: 1.111vw;
    line-height: 2;
    color: #232323;
  }

  .page-home .about-left .about-right-btn {
    display: none;
  }

  .page-home .about-center img {
    margin-bottom: 2.222vw;
  }

  .page-home .about-center-sub {
    font-size: 0.833vw;
    line-height: 1.75;
    color: #c9c9c9;
  }

  .page-home .about-right-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 3vw;
    line-height: 1.5;
    color: #232323;
    font-feature-settings: "vert" on;
  }

  .page-home .about-right h2 {
    display: none;
  }

  .page-home .about-right-btn {
    position: absolute;
    bottom: 0;
    right: 0;
  }
}

@media (max-width: 768px) {
  .page-home .about-section {
    margin-bottom: 21.333vw;
    position: relative;
    z-index: 1;
  }

  .page-home .about-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 8vw;
  }

  .page-home .about-left,
  .page-home .about-center,
  .page-home .about-right {
    position: relative;
  }

  .page-home .about-left {
  }

  .page-home .about-center {
    width: 66.667vw;
    margin: 0 auto;
  }

  .page-home .about-right {
  }

  .page-home .about-left h2 {
    display: none;
  }

  .page-home .about-left-text {
    font-weight: 400;
    font-size: 4.267vw;
    line-height: 1.75;
    margin-bottom: 6.4vw;
  }

  .page-home .about-center img {
    margin-bottom: 4.267vw;
  }

  .page-home .about-center-sub {
    font-size: 2.667vw;
    line-height: 1.5;
    color: #c9c9c9;
  }

  .page-home .about-right-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 7.467vw;
    line-height: 1.8;
    font-feature-settings: "vert" on;
    width: 38.667vw;
    margin: 0 auto;
  }

  .page-home .about-right .about-right-btn {
    display: none;
  }

  .page-home .about-right .about-right-btn {
    position: absolute;
    bottom: 4.167vw;
    right: 0;
  }

  .page-home .about-right h2 {
    font-size: 3.733vw;
  }

  .page-home .about-left .about-right-btn {
    margin: 0 auto;
    width: 30.93vw;
  }
}

@media (min-width: 769px) {
  .page-home .service-section {
    margin-bottom: 5.556vw;
  }

  .page-home .service-header {
    margin-bottom: 2.222vw;
  }

  .page-home .service-header h2 {
    font-size: 3.611vw;
    line-height: 1.42;
    margin-bottom: 0.694vw;
    color: #232323;
  }

  .page-home .service-sub {
    font-size: 0.833vw;
    color: #c9c9c9;
    line-height: 1.58;
    margin-bottom: 2.778vw;
  }

  .page-home .service-columns {
    display: flex;
    justify-content: space-between;
    gap: 6.806vw;
  }

  .page-home .service-left {
    width: 47.222vw;
  }

  .page-home .service-right {
    width: 38.194vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .service-left img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.694vw;
  }

  .page-home .service-right h3 {
    font-size: 1.25vw;
    margin-bottom: 0.639vw;
    color: #232323;
  }

  .page-home .service-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .page-home .service-list li {
    display: flex;
    justify-content: flex-start;
    gap: 1.25vw;
    align-items: center;
    color: #232323;
    font-size: 1.111vw;
    padding: 1.806vw 0;
    position: relative;
    border-bottom: solid 1px #696969;
  }

  .page-home .service-list li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .page-home .service-list li br {
    display: none;
  }

  .page-home .service-list li span {
    font-size: 0.903vw;
  }

  .page-home .service-btn {
    display: flex;
    justify-content: flex-end;
    margin-top: 80px;
  }
}

@media (max-width: 768px) {
  .page-home .service-section {
    margin-bottom: 21.333vw;
  }

  .page-home .service-header {
    margin-bottom: 6.4vw;
  }

  .page-home .service-header h2 {
    font-size: 8.533vw;
    line-height: 1.5;
    margin-bottom: 2.667vw;
  }

  .page-home .service-sub {
    font-size: 2.667vw;
    color: #c9c9c9;
    line-height: 1.5;
  }

  .page-home .service-columns {
    display: block;
  }

  .page-home .service-left {
    width: 100%;
  }

  .page-home .service-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .service-left img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 6.4vw;
  }

  .page-home .service-right h3 {
    font-size: 3.733vw;
    color: #232323;
    margin-bottom: 1.333vw;
  }

  .page-home .service-list {
    list-style: none;
    margin-bottom: 6.4vw;
  }

  .page-home .service-btn {
    margin: 0 auto;

    width: 30.93vw;
  }

  .page-home .service-list li {
    display: flex;
    justify-content: flex-start;
    gap: 2.667vw;
    align-items: baseline;
    color: #232323;
    font-size: 3.733vw;
    padding: 4.267vw 11.733vw 4.267vw 0;
    position: relative;
    border-bottom: solid 1px #696969;
  }

  .page-home .service-list li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .page-home .service-list li span {
    font-size: 3.2vw;
  }
}

@media (min-width: 769px) {
  .page-home .value-flow-section {
    background: #b8b8b8;
    border-radius: 0 0.556vw 0.556vw 0;
    margin-right: 1.25vw;
    padding: 5.556vw 10.694vw 11.806vw;
    position: relative;
    overflow: hidden;
  }

  .page-home .value-flow-section .bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 94.097vw;
    height: auto;
    color: #c2c2c2;
  }

  .page-home .value-flow-section .value-flow-inner {
    position: relative;
  }

  .page-home .value-section {
    margin-bottom: 6.944vw;
  }

  .page-home .value-header {
    margin-bottom: 4.444vw;
  }

  .page-home .value-header h2 {
    font-size: 3.75vw;
    line-height: 1.37;
    margin-bottom: 0.694vw;
    color: #ffffff;
  }

  .page-home .value-sub {
    font-size: 0.833vw;
    line-height: 1.58;
    color: #e5e5e5;
  }

  .page-home .value-columns {
    display: flex;
    justify-content: space-between;
    gap: 2.292vw;
  }

  .page-home .value-left,
  .page-home .value-right {
    flex: 1;
  }

  .page-home .value-item {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 1.667vw;
  }

  .page-home .value-img-column {
    display: flex;
    justify-content: space-around;
    gap: 0.694vw;
    margin-bottom: 1.667vw;
  }

  .page-home .value-img-column .value-img {
    position: relative;
    overflow: hidden;
    width: 34.722vw;
    border-radius: 0.556vw;
  }

  .page-home .value-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.3s ease;
  }

  .page-home .value-item a:hover .value-img-column .value-img img {
    transform: scale(1.035);
  }

  .page-home .value-img-column .vertical-text {
    font-size: 1.25vw;
    color: #ffffff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.4;
    letter-spacing: 0.08em;
  }

  .page-home .value-text {
    width: 34.722vw;
  }

  .page-home .value-text .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.111vw;
  }

  .page-home .vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 0.972vw;
  }

  .page-home .value-text h3 {
    font-size: 1.944vw;
    line-height: 1;
    color: #ffffff;
    position: relative;
  }

  .page-home .value-desc {
    font-size: 0.972vw;
    line-height: 1.71;
    color: #ffffff;
  }

  .page-home .flow-content .section-header {
    margin-bottom: 3.333vw;
  }

  .page-home .flow-content .section-header h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2.5vw;
  }

 .page-home .flow-content .section-header h3 {
    text-align: center;
    color: #ffffff;
    font-size: 1.5vw;
  }

 .page-home .flow2 .section-header h3 {
    margin-top: 100px;
  }

  .page-home .flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 4.167vw 2.639vw;
    position: relative;
  }

  .page-home .flow-item {
    position: relative;
    padding: 2.292vw 0 0 2.083vw;
  }

  .page-home .flow-item h4 {
    margin-bottom: 0.694vw;
    background: #fff;
    padding: 0.556vw;
    font-size: 1.389vw;
    line-height: 1;
    color: #828282;
    width: fit-content;
  }

  .page-home .flow-item p {
    font-size: 0.972vw;
    line-height: 1.71;
    color: #ffffff;
  }

  .page-home .flow-item .num-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 4.167vw;
    height: 10.764vw;
  }

  .page-home .flow-item .num-line .line {
    width: 4.167vw;
    height: 10.764vw;
    position: absolute;
    top: 0;
    left: 0;
  }

  /* 縦線 */
  .page-home .flow-item .num-line .line::before {
    content: "";
    position: absolute;
    left: 0.069vw;
    top: 2.083vw;
    width: 0.069vw;
    height: 9.722vw;
    background-color: white;
  }

  /* 斜め線 */
  .page-home .flow-item .num-line .line::after {
    content: "";
    position: absolute;
    top: 2.083vw;
    left: 0.069vw;
    width: 4.792vw;
    height: 0.069vw;
    border-top: 1px solid #fff;
    transform: rotate(-33deg);
    transform-origin: top left;
  }

  .page-home .flow-item .num-line .num {
    position: absolute;
    left: 0;
    top: -1.667vw;
    font-size: 1.667vw;
    color: #ffffff;
  }

  .page-home .flow-item::after {
    content: "";
    position: absolute;
    top: 52%;
    right: -1.389vw;
    transform: translateY(-50%);
    width: 0.625vw;
    height: 1.111vw;
    background: url(../img/common/arrow_white.svg) no-repeat center;
    background-size: contain;
  }

  /* 2列目（5〜7）は左向きに配置 */
  .page-home .flow-item:nth-child(n + 5)::after {
    right: auto;
    left: -1.875vw;
  }

  /* 1列目4つ目は矢印非表示 */
  .page-home .flow-item:nth-child(4)::after {
    content: none;
  }

  .page-home .flow-images {
    position: relative;
    margin-top: -7.639vw;
    margin-bottom: 8.611vw;
    height: 45.208vw;
  }

  .page-home .flow-images .flow-image01 {
    position: absolute;
    top: 0;
    right: 0;
    width: 64.653vw;
    height: 40.278vw;
    border-radius: 0.556vw 0 0 0.556vw;
  }

  .page-home .flow-images .flow-image02 {
    width: 13.611vw;
    height: 18.125vw;
    position: absolute;
    top: 27.083vw;
    left: 10.625vw;
    border-radius: 0.556vw;
  }

  .page-home .value-flow-section .section-name {
    position: absolute;
    font-weight: 300;
    font-size: 13.056vw;
    color: #cfcfcf;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    width: fit-content;
    height: auto;
    line-height: 1;
  }

  .page-home .value-flow-section .section-name.value {
    top: -0.069vw;
    left: -1.389vw;
  }

  .page-home .value-flow-section .section-name.flow {
    bottom: -3.889vw;
    right: -12.986vw;
  }
}

@media (max-width: 768px) {
  .page-home .value-flow-section {
    background: #b8b8b8;
    border-radius: 0 2.133vw 2.133vw 0;
    margin-right: 4.267vw;
    padding: 12.8vw 4.533vw 36.8vw 6.4vw;
    position: relative;
    overflow: hidden;
  }

  .page-home .value-flow-section .bg-shape {
    position: absolute;
    top: -13.333vw;
    left: 0;
    width: 186.667vw;
    height: auto;
    color: #c2c2c2;
  }

  .page-home .value-flow-section .value-flow-inner {
    position: relative;
  }

  .page-home .value-section {
    margin-bottom: 21.333vw;
  }

  .page-home .value-header {
    width: 67.2vw;
    margin: 0 auto 32px;
  }

  .page-home .value-header h2 {
    font-size: 8.533vw;
    line-height: 1.37;
    margin-bottom: 2.667vw;
    color: #ffffff;
  }

  .page-home .value-sub {
    font-size: 2.667vw;
    line-height: 1.5;
    color: #e5e5e5;
  }

  .page-home .value-sub br {
    display: none;
  }

  .page-home .value-columns {
    display: flex;
    flex-direction: column;
    gap: 8.533vw;
    width: 74.4vw;
    margin: 0 6.4vw 0 8.533vw;
  }

  .page-home .value-item {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 1.667vw;
  }

  .page-home .value-item img {
    width: 67.2vw;
    border-radius: 2.133vw;
  }

  .page-home .value-img-column {
    display: flex;
    justify-content: space-around;
    width: 67.2vw;
    border-radius: 2.133vw;
    gap: 3.733vw;
    margin-bottom: 6.4vw;
  }

  .page-home .value-img-column .vertical-text {
    font-size: 3.467vw;
    color: #ffffff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
  }

  .page-home .value-text {
    width: 100%;
  }

  .page-home .vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 0.972vw;
  }

  .page-home .value-text .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3.733vw;
  }

  .page-home .value-text h3 {
    font-size: 5.867vw;
    line-height: 1;
    color: #ffffff;
  }

  .page-home .value-desc {
    font-size: 3.467vw;
    line-height: 1.71;
    color: #ffffff;
  }

  .page-home .flow-content .section-header {
    margin-bottom: 14.933vw;
  }

  .page-home .flow-content .section-header h2 {
    text-align: center;
    color: #ffffff;
    font-size: 7.467vw;
  }
  
   .page-home .flow-content .section-header h3 {
    text-align: center;
    color: #ffffff;
    font-size: 5.5vw;
  }

 .page-home .flow2 .section-header h3 {
    margin-top: 100px;
  }

  .page-home .flow-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 21.333vw 4.267vw;
    position: relative;
  }

  .page-home .flow-item {
    position: relative;
    padding: 3.2vw 0 0 4vw;
  }

  .page-home .flow-item h4 {
    margin-bottom: 2.667vw;
    background: #fff;
    padding: 2.133vw;
    font-size: 4.267vw;
    line-height: 1;
    color: #828282;
    width: fit-content;
  }

  .page-home .flow-item p {
    font-size: 3.467vw;
    line-height: 1.75;
    color: #ffffff;
  }

  .page-home .flow-item .num-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 15.467vw;
    height: 40vw;
  }

  .page-home .flow-item .num-line .line {
    width: 15.467vw;
    height: 40vw;
    position: absolute;
    top: 0;
    left: 0;
  }

  /* 縦線 */
  .page-home .flow-item .num-line .line::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 2.133vw;
    width: 0.267vw;
    height: 42.4vw;
    background-color: white;
  }

  /* 斜め線 */
  .page-home .flow-item .num-line .line::after {
    content: "";
    position: absolute;
    top: 2.133vw;
    left: 0;
    width: 16vw;
    height: 0.267vw;
    border-top: 1px solid #fff;
    transform: rotate(-33deg);
    transform-origin: top left;
  }

  .page-home .flow-item .num-line .num {
    position: absolute;
    left: 0;
    top: -11.467vw;
    font-size: 5.867vw;
    color: #ffffff;
  }

  .page-home .flow-item::after {
    content: "";
    position: absolute;
    top: 52%;
    right: -1.389vw;
    transform: translateY(-50%);
    width: 0.625vw;
    height: 1.111vw;
    background: url(../img/common/arrow_white.svg) no-repeat center;
    background-size: contain;
  }

  /* 2列目（5〜7）は左向きに配置 */
  .page-home .flow-item:nth-child(n + 5)::after {
    right: auto;
    left: -1.875vw;
  }

  /* 1列目4つ目は矢印非表示 */
  .page-home .flow-item:nth-child(4)::after {
    content: none;
  }

  .page-home .flow-images {
    position: relative;
    margin-top: -23.733vw;
    margin-bottom: 12.8vw;
    height: 79.2vw;
  }

  .page-home .flow-images .flow-image01 {
    position: absolute;
    top: 0;
    right: 0;
    width: 72.533vw;
    height: 45.333vw;
    border-radius: 2.133vw 0 0 2.133vw;
  }

  .page-home .flow-images .flow-image02 {
    width: 20.533vw;
    height: 27.2vw;
    position: absolute;
    top: 51.733vw;
    left: 6.933vw;
    border-radius: 2.133vw;
  }

  .page-home .value-flow-section .section-name {
    position: absolute;
    font-weight: 300;
    font-size: 19.8vw;
    color: #cfcfcf;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    width: fit-content;
    height: auto;
    line-height: 1;
  }

  .page-home .value-flow-section .section-name.value {
    top: 0;
    left: -2.667vw;
  }

  .page-home .value-flow-section .section-name.flow {
    bottom: 2.667vw;
    right: -8vw;
  }
}

@media (min-width: 769px) {
  .page-home .work-section {
    position: relative;
    margin-bottom: 9.375vw;
    background: #fff;
  }

  .page-home .work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.222vw;
  }

  .page-home .work-small-title {
    font-weight: 400;
    font-size: 1.25vw;
    line-height: 1.1;
    color: #232323;
    margin-bottom: 0.694vw;
  }

  .page-home .work-title {
    font-size: 3.611vw;
    line-height: 1.42;
    color: #232323;
    margin-bottom: 0.972vw;
  }

  .page-home .work-sub {
    font-size: 0.833vw;
    line-height: 1.58;
    color: #c9c9c9;
  }

  /* 画像スライド */
  .page-home .work-slider {
    position: relative;
    overflow: hidden;
    margin-top: 2.778vw;
    padding-left: 3.889vw;
  }

  .page-home .work-slider .splide__slide {
    position: relative;
    width: 29.236vw !important;
    margin-right: -6.944vw; /* 右端はみ出し */
  }

  .page-home .work-slider .splide__slide a {
    position: relative;
    border-radius: 0.556vw;
  }

  .page-home .work-slider .splide__slide .slide-img {
    position: relative;
    overflow: hidden;
    display: block;
  }

  .page-home .work-slider .splide__slide img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.3s ease;
    border-radius: 0.556vw;
  }

  .page-home .work-slider .splide__slide a:hover .slide-img img {
    transform: scale(1.035);
  }

  .page-home .slide-info {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    width: 100%;
    height: 8.958vw;
    padding: 4.653vw 5.139vw 0.972vw 0.972vw;
    z-index: 1;
  }

  .page-home .slide-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      #000000 41.55%
    );
    mix-blend-mode: multiply;
    transform: translate3d(0, 0, 0);
    opacity: 0.35; /* 背景だけを薄く */
    z-index: -1; /* テキストの背面に */
  }

  .page-home .slide-info .arrow-btn {
    position: absolute;
    right: 1.111vw;
    bottom: 1.111vw;
  }

  .page-home .slide-title {
    font-size: 1.389vw;
    line-height: 1;
    margin-bottom: 0.694vw;
  }

  .page-home .slide-title span {
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-home .slide-desc {
    font-size: 0.972vw;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-home .slide-arrow {
    position: absolute;
    right: 1.389vw;
    bottom: 1.389vw;
    font-size: 1.5rem;
    color: #fff;
  }

  .page-home .work-button.bottom {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-home .work-section {
    margin-bottom: 21.333vw;
  }

  .page-home .work-header {
    display: block;
    margin-bottom: 8.533vw;
  }

  .page-home .work-header .work-button {
    display: none;
  }

  .page-home .work-small-title {
    font-size: 3.733vw;
    line-height: 1.1;
    margin-bottom: 2.667vw;
  }

  .page-home .work-title {
    font-size: 8.533vw;
    line-height: 1.5;
    margin-bottom: 2.667vw;
  }

  .page-home .work-sub {
    font-size: 2.667vw;
    line-height: 1.58;
    color: #c9c9c9;
  }

  /* 画像スライド */
  .page-home .work-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 8.533vw;
    padding-left: 6.4vw;
  }

  .page-home .work-slider .splide__slide {
    position: relative;
    width: 68.267vw !important;
  }

  .page-home .work-slider .splide__slide a {
    position: relative;
  }

  .page-home .work-slider .splide__slide img {
    display: block;
    border-radius: 2.133vw;
  }

  .page-home .slide-info {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    width: 68.267vw;
    height: 37.333vw;
    padding: 17.067vw 3.2vw 3.2vw;
    z-index: 1;
  }

  .page-home .slide-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      #000000 41.55%
    );
    mix-blend-mode: multiply;
    transform: translate3d(0, 0, 0);
    opacity: 0.35; /* 背景だけを薄く */
    z-index: -1; /* テキストの背面に */
    border-radius: 0 0 2.133vw 2.133vw;
    width: 68.267vw;
  }

  .page-home .slide-title {
    font-size: 4vw;
    line-height: 1;
    margin-bottom: 2.667vw;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    width: 62.933vw;
  }

  .page-home .slide-desc {
    font-size: 3.467vw;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    width: 48vw;
    letter-spacing: 0.04em;
  }

  .page-home .slide-info .arrow-btn {
    position: absolute;
    right: 3.2vw;
    bottom: 3.2vw;
    width: 11.733vw;
  }

  .page-home .slide-arrow {
    position: absolute;
    right: 3.2vw;
    bottom: 3.2vw;
    color: #fff;
  }

  .page-home .work-button {
    width: 30.93vw;
    margin: 0 auto;
  }
}

@media (min-width: 769px) {
  .page-home .media-section {
    background: #767676;
    border-radius: 0.556vw 0 0 0.556vw;
    margin-left: 1.25vw;
    margin-bottom: 6.111vw;
    padding: 6.25vw 3.889vw;
    position: relative;
    overflow: hidden;
  }

  .page-home .media-section .bg-shape {
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
    width: 97.708vw;
    height: auto;
  }

  .page-home .media-section .bg-shape svg {
    position: absolute;
    top: 3.472vw;
    left: -6.25vw;
    width: 101.181vw;
    height: auto;
  }

  .page-home .media-columns {
    display: flex;
    justify-content: space-between;
    gap: 4.861vw;
    position: relative;
  }

  /* 左カラム縦書き */
  .page-home .media-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 23.889vw;
    gap: 1.875vw;
  }

  .page-home .media-left .media-title {
    display: flex;
    flex-direction: column; /* 縦方向に並べる */
    align-items: flex-start; /* 先頭を揃える */
    writing-mode: vertical-rl; /* 全体を縦書きに */
  }

  .page-home .media-small-title {
    font-size: 1.25vw;
    color: #ffffff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 3.5;
  }

  .page-home .media-heading {
    font-size: 3.75vw;
    line-height: 1.22;
    font-feature-settings: "vert" on;
    color: #ffffff;
    text-indent: -0.2em;
  }

  .page-home .media-desc .media-sub {
    font-size: 0.833vw;
    line-height: 1.58;
    letter-spacing: 0.09em;
    color: #c9c9c9;
  }

  /* 右カラム記事 */
  .page-home .media-right {
    width: 60.764vw;
    display: flex;
    flex-direction: column;
    gap: 5vw;
    position: relative;
  }

  .page-home .media-item {
    position: relative;
    background: #fff;
    border-radius: 0.556vw;
  }

  .page-home .media-item a {
    display: block;
    padding: 1.111vw 1.111vw 1.111vw 1.667vw;
  }

  .page-home .media-label {
    position: absolute;
    top: -3.75vw;
    left: -2.222vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #232323;
    color: #fff;
    width: 6.667vw;
    height: 11.389vw;
    clip-path: polygon(0 36%, 100% 0, 100% 64%, 0 100%);
  }

  .page-home .media-label span {
    font-size: 0.903vw;
    line-height: 1.62;
    color: #ffffff;
  }

  /* 内部コンテンツ 2カラム */
  .page-home .media-content {
    display: flex;
    justify-content: space-between;
    background: #fff;
    gap: 1.736vw;
  }

  .page-home .media-content-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 28.125vw;
  }

  .page-home .media-number {
    font-size: 0.903vw;
    margin-bottom: 1.389vw;
  }

  .page-home .media-item .media-title {
    font-size: 1.667vw;
    line-height: 1.5;
    margin-bottom: 1.389vw;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .page-home .media-item .media-desc {
    font-size: 0.972vw;
    line-height: 1.7;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .page-home .media-content-right {
    width: 28.125vw;
  }

  .page-home .media-section .section-name {
    position: absolute;
    left: -0.972vw;
    bottom: 2.778vw;
    font-weight: 300;
    font-size: 13.056vw;
    color: #828282;
  }

  .page-home .media-content-right .media-number {
    display: none;
  }

  /* マスク用のラッパー */
  .media-content-right .media-img {
    position: relative;
    overflow: hidden; /* はみ出しカット */
  }

  /* 画像アニメーション */
  .media-content-right .media-img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.3s ease;
  }

  .media-item a:hover .media-content-right .media-img img {
    transform: scale(1.035);
  }
}

@media (max-width: 768px) {
  .page-home .media-section {
    background: #767676;
    border-radius: 2.133vw 0 0 2.133vw;
    margin-left: 4.267vw;
    margin-bottom: 21.333vw;
    padding: 12.8vw 6.4vw 25.333vw;
    position: relative;
    overflow: hidden;
  }

  .page-home .media-section .bg-shape {
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
    width: 97.708vw;
    height: auto;
  }

  .page-home .media-section .bg-shape svg {
    position: absolute;
    top: -2.528vw;
    left: -7.25vw;
    width: 208vw;
    height: auto;
  }

  .page-home .media-columns {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    gap: 10.667vw;
  }

  /* 左カラム縦書き */
  .page-home .media-left {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 100%;
    gap: 3.733vw;
  }

  .page-home .media-left .media-title {
    display: flex;
    flex-direction: column; /* 縦方向に並べる */
    align-items: flex-start; /* 先頭を揃える */
    writing-mode: vertical-rl; /* 全体を縦書きに */
  }

  .page-home .media-small-title {
    font-size: 3.733vw;
    color: #ffffff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.8;
  }

  .page-home .media-heading {
    font-size: 7.467vw;
    line-height: 1.22;
    font-feature-settings: "vert" on;
    color: #ffffff;
    text-indent: -0.2em;
  }

  .page-home .media-desc .media-sub {
    font-size: 2.667vw;
    line-height: 1.5;
    color: #c9c9c9;
  }

  /* 右カラム記事 */
  .page-home .media-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16vw;
    position: relative;
  }

  .page-home .media-item {
    position: relative;
    padding: 5.333vw 4.267vw;
    background: #fff;
    border-radius: 2.133vw;
  }

  .page-home .media-label {
    position: absolute;
    top: -10.667vw;
    left: 2.133vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #232323;
    color: #fff;
    width: 21.333vw;
    height: 36.533vw;
    clip-path: polygon(0 36%, 100% 0, 100% 64%, 0 100%);
  }

  .page-home .media-label span {
    font-size: 2.667vw;
    line-height: 1.62;
    color: #ffffff;
  }

  /* 内部コンテンツ 2カラム */
  .page-home .media-content {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    background: #fff;
    gap: 4.267vw;
  }

  .page-home .media-content-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
  }

  .page-home .media-content-left .media-number {
    display: none;
  }

  .page-home .media-item .media-title {
    font-size: 4.8vw;
    line-height: 1.5;
    margin-bottom: 2.667vw;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .page-home .media-item .media-desc {
    font-size: 3.467vw;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .page-home .media-content-right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 13.867vw;
  }

  .page-home .media-content-right .media-number {
    font-size: 3.2vw;
    margin-bottom: 3.733vw;
  }

  .page-home .media-content-right img {
    width: 52vw;
    height: auto;
  }

  .page-home .media-section .section-name {
    position: absolute;
    left: -1.333vw;
    bottom: 2.133vw;
    font-weight: 300;
    font-size: 20.8vw;
    line-height: 1;
    color: #828282;
  }
}

@media (min-width: 769px) {
  .page-home .contact-section {
    margin-bottom: 5.556vw;
  }

  .page-home .contact-small-title {
    font-weight: 400;
    font-size: 1.25vw;
    line-height: 1.1;
    color: #232323;
    margin-bottom: 0.694vw;
  }

  .page-home .contact-title {
    font-size: 3.611vw;
    line-height: 1.42;
    color: #232323;
    margin-bottom: 2.083vw;
  }

  .page-home .contact-boxes {
    display: flex;
    justify-content: space-between;
    border-radius: 0.833vw;
    background: url(../img/index/contact_bg.jpg) no-repeat center/cover;
    position: relative;
  }

  .page-home .contact-boxes::before,
  .page-home .contact-boxes::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0.069vw;
    background: #fff;
    z-index: 2;
  }

  .page-home .contact-boxes::before {
    left: 50.00%;
  }

  .page-home .contact-boxes::after {
    left: 50.00%;
  }

  .page-home .contact-box {
    position: relative;
    width: 46.833vw;
    height: 27.778vw;
    overflow: hidden;
  }

  /* 左カラム → 左上・左下のみ丸める */
  .page-home .contact-box-left {
    border-radius: 0.556vw 0 0 0.556vw;
  }

  /* 中央カラム → 角丸なし */
  .page-home .contact-box-center {
    border-radius: 0;
  }

  /* 右カラム → 右上・右下のみ丸める */
  .page-home .contact-box-right {
    border-radius: 0 0.556vw 0.556vw 0;
  }

  .page-home .contact-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #808080; /* ベースカラー */
    mix-blend-mode: multiply; /* 乗算モード */
    transform: translate3d(0, 0, 0);
    opacity: 0; /* 初期は透明 */
    transition: opacity 1s ease;
    z-index: 1;
  }

  .page-home .contact-box:hover::before {
    opacity: 1;
  }

  .page-home .contact-box a {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    padding: 2.778vw 2.222vw;
    text-decoration: none;
    color: inherit;
  }

  .page-home .contact-box a {
    text-align: center;
  }

  .page-home .contact-box .contact-inner {
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.9;
    border-radius: 0.278vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .page-home .contact-box .arrow-btn {
    position: absolute;
    right: 3.333vw;
    bottom: 3.889vw;
  }

  .page-home .contact-box .contact-text {
    display: block;
    font-size: 1.667vw;
    line-height: 1.5;
    color: #232323;
  }
}

@media (max-width: 768px) {
  .page-home .contact-section {
    margin-bottom: 21.333vw;
  }

  .page-home .contact-section .contact-header {
    margin-bottom: 8.533vw;
  }

  .page-home .contact-small-title {
    font-size: 3.733vw;
    line-height: 1.1;
    margin-bottom: 2.667vw;
  }

  .page-home .contact-title {
    font-size: 8.533vw;
    line-height: 1.1;
  }

  .page-home .contact-boxes {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 13.067vw;
    padding: 6.4vw;
    border-radius: 2.133vw;
    background: url(../img/index/contact_bg.jpg) no-repeat center / cover;
    position: relative;
  }

  .page-home .contact-boxes::before,
  .page-home .contact-boxes::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.267vw;
    background: #fff;
  }

  .page-home .contact-boxes::before {
    top: 55.467vw;
    left: 0;
  }

  .page-home .contact-boxes::after {
    top: 111.2vw;
    left: 0;
  }

  .page-home .contact-box {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42.667vw;
    color: #232323;
    text-decoration: none;
    text-align: center;
    line-height: 1.5;
    background-position: center;
    transition: all 0.3s;
    background: #ffffff;
    opacity: 0.9;
    border-radius: 1.067vw;
  }

  .page-home .contact-box .contact-text {
    display: block;
    font-size: 4.8vw;
    line-height: 1.5;
  }

  .page-home .contact-box .arrow-btn {
    position: absolute;
    right: 3.2vw;
    bottom: 3.2vw;
  }
}

@media (min-width: 769px) {
  .page-home .company-section {
    padding: 5.556vw 0;
    background: #fff;
  }

  /* 上段2カラム */
  .page-home .company-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.222vw;
    margin-bottom: 2.778vw;
  }

  .page-home .company-left {
    width: 29.236vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-home .company-small-title {
    font-weight: 400;
    font-size: 1.25vw;
    line-height: 1.1;
    color: #232323;
    margin-bottom: 0.694vw;
  }

  .page-home .company-title {
    font-size: 3.611vw;
    line-height: 1.42;
    color: #232323;
    margin-bottom: 2.083vw;
  }

  .page-home .company-description {
    font-size: 1.042vw;
    line-height: 1.87;
    letter-spacing: 0.1em;
    color: #232323;
  }

  .page-home .company-left .company-description {
    font-size: 1.042vw;
    line-height: 1.87;
    letter-spacing: 0.1em;
    color: #232323;
    display: block;
  }

  .page-home .company-right .company-description {
    display: none;
  }

  .page-home .company-right {
    width: 60.764vw;
  }

  .page-home .company-right img {
    width: 100%;
    border-radius: 0.556vw;
  }

  /* 下段2カラム */
  .page-home .company-details {
    display: flex;
    justify-content: space-between;
    gap: 18.056vw;
    margin-bottom: 2.778vw;
  }

  .page-home .company-details:last-child {
    margin-bottom: 0;
  }

  .page-home .company-details .company-small-title {
    font-size: 0.833vw;
    margin-bottom: 2.778vw;
  }

  .page-home .company-detail-left,
  .page-home .company-detail-right {
    width: 45vw;
  }

  .page-home .company-detail-left h3 {
    font-size: 1.944vw;
    line-height: 1;
    color: #232323;
    margin-bottom: 2.222vw;
  }

  /* dl dt/dd 横並び＋下線 */
  .page-home .company-info .info-row {
    display: flex;
    justify-content: flex-start;
    gap: 2.083vw;
    border-bottom: 1px solid #696969;
    padding: 1.111vw 0;
  }

  .page-home .company-info dt {
    width: 4.861vw;
    font-size: 1.042vw;
    line-height: 1.8;
    color: #232323;
  }
  
  
  .page-home .com2 .company-info dt {
    width: 9.861vw;
  }

  .page-home .company-info dd {
    font-size: 1.042vw;
    line-height: 1.8;
    color: #232323;
  }

  .page-home .company-detail-right iframe {
    border: 0;
    width: 100%;
    height: 25vw;
  }
}

@media (max-width: 768px) {
  .page-home .company-section {
  }

  /* 上段2カラム */
  .page-home .company-intro {
    display: block;
    margin-bottom: 8.533vw;
  }

  .page-home .company-left {
    width: 100%;
    margin-bottom: 8.533vw;
  }

  .page-home .company-small-title {
    font-weight: 400;
    font-size: 3.733vw;
    line-height: 1.1;
    margin-bottom: 2.667vw;
  }

  .page-home .company-title {
    font-size: 8.533vw;
    line-height: 1.1;
  }

  .page-home .company-left .company-description {
    display: none;
  }

  .page-home .company-right {
    width: 100%;
  }

  .page-home .company-right img {
    width: 100%;
    border-radius: 2.133vw;
    margin-bottom: 6.4vw;
  }

  .page-home .company-right .company-description {
    font-size: 3.467vw;
    line-height: 1.8;
    display: block;
  }

  /* 下段2カラム */
  .page-home .company-details {
    display: block;
    margin-bottom: 12.8vw;
  }

  .page-home .company-details:last-child {
    margin-bottom: 0;
  }

  .page-home .company-details .company-small-title {
    font-size: 3.733vw;
    margin-bottom: 2.667vw;
  }

  .page-home .company-detail-left,
  .page-home .company-detail-right {
    width: 100%;
  }

  .page-home .company-detail-left h3 {
    margin-bottom: 8.533vw;
    font-size: 8.533vw;
    line-height: 1.1;
  }

  .page-home .company-info {
    margin-bottom: 7.467vw;
  }

  .page-home .company-info .info-row {
    display: flex;
    justify-content: flex-start;
    gap: 4.8vw;
    border-bottom: 1px solid #696969;
    padding: 4.267vw 0;
  }

  .page-home .com2 .company-info .info-row {
    display: block;
  }

  .page-home .company-info dt {
    width: 16vw;
    font-size: 3.467vw;
    line-height: 1.8;
  }
  
  .page-home .com2 .company-info dt {
    font-weight: bold;
    width: 100%;
  }


  .page-home .company-info dd {
    font-size: 3.467vw;
    line-height: 1.8;
  }

  .page-home .company-detail-right iframe {
    border: 0;
    width: 100%;
    height: 48.267vw;
  }
}

/* 下層ページ共通 ページヘッダー */
@media (min-width: 769px) {
  .page-lower .page-title {
    margin: 5.139vw 3.889vw 4.444vw;
    padding-bottom: 1.542vw;
    position: relative;
  }

  .page-lower .page-title .title {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    writing-mode: vertical-rl;
    width: 100%;
    right: 0;
    padding-right: 3.958vw;
  }

  .page-lower .page-title .title .small-title {
    font-size: 1.25vw;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 3.5;
  }

  .page-lower .page-title .title h1.vertical-text {
    font-size: 3.333vw;
    line-height: 1.6;
  }

  .page-lower .page-title .page-desc {
    position: absolute;
    bottom: 0;
  }

  .page-lower .page-title .page-desc p {
    color: #c9c9c9;
    line-height: 1.75;
    font-size: 0.833vw;
  }

  .page-lower .page-title .indent-minus {
    text-indent: -0.6em;
  }
}

@media (max-width: 768px) {
  .page-lower .page-title {
    margin: 5.139vw 3.889vw 6.4vw 6.4vw;
    position: relative;
    height: 61.333vw;
  }

  .page-lower .page-title .title {
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    writing-mode: vertical-rl;
    width: 100%;
    margin-bottom: 5.333vw;
  }

  .page-lower .page-title .title .small-title {
    font-size: 3.733vw;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 3.5;
  }

  .page-lower .page-title .title h1.vertical-text {
    font-size: 7.467vw;
    line-height: 1.6;
  }

  .page-lower .page-title .page-desc {
    position: absolute;
    bottom: 0;
  }

  .page-lower .page-title .page-desc p {
    color: #c9c9c9;
    line-height: 1.75;
    font-size: 2.667vw;
  }

  .page-lower .page-title .indent-minus {
    text-indent: -0.6em;
  }
}

/* 実績紹介_一覧ページ */
@media (min-width: 769px) {
  .post-type-archive-works .works-filter {
    padding: 0 3.889vw 3.889vw;
  }

  .post-type-archive-works .works-filter ul {
    display: flex;
    gap: 1.806vw;
  }

  .post-type-archive-works .works-filter ul li.active {
    border-bottom: solid 0.139vw #232323;
  }

  .post-type-archive-works .works-filter ul li a {
    font-size: 0.972vw;
  }

  .post-type-archive-works .works-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.222vw;
    padding: 0 3.889vw;
    margin-bottom: 8.333vw;
  }

  .post-type-archive-works .works-list .works-item {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 1.667vw;
    width: 29.236vw;
  }

  .post-type-archive-works .works-list .works-img {
    position: relative;
    overflow: hidden;
    width: 29.236vw;
    height: 22.222vw;
    border-radius: 0.556vw;
    margin-bottom: 1.667vw;
  }

  .post-type-archive-works .works-list .works-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.3s ease;
  }

  .post-type-archive-works .works-list .works-item a:hover img {
    transform: scale(1.035);
  }

  .post-type-archive-works
    .works-list
    .works-item
    a:hover
    .works-img-column
    .works-img
    img {
    transform: scale(1.035);
  }

  .post-type-archive-works .works-list .works-text {
    display: flex;
    gap: 3.75vw;
    align-items: end;
  }

  .post-type-archive-works .works-list .works-text .title {
    width: 22.153vw;
  }

  .post-type-archive-works .works-list .works-text h3 {
    font-size: 1.389vw;
    margin-bottom: 0.694vw;
  }

  .post-type-archive-works .works-list .works-text h3 span {
    line-height: 1.7 !important;
  }

  .post-type-archive-works .works-list .works-text .works-desc {
    font-size: 0.972vw;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) {
  .post-type-archive-works .works-filter {
    padding: 0 6.133vw 12.8vw;
  }

  .post-type-archive-works .works-filter ul {
    display: flex;
    gap: 5.867vw;
    flex-wrap: wrap;
  }

  .post-type-archive-works .works-filter ul li {
    white-space: nowrap;
  }

  .post-type-archive-works .works-filter ul li.active {
    border-bottom: solid 0.533vw #232323;
  }

  .post-type-archive-works .works-filter ul li a {
    font-size: 3.733vw;
  }

  .post-type-archive-works .works-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8.533vw;
    padding: 0 6.4vw;
    margin-bottom: 12.8vw;
  }

  .post-type-archive-works .works-list .works-item {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 1.667vw;
  }

  .post-type-archive-works .works-list .works-img {
    position: relative;
    overflow: hidden;
    width: 87.2vw;
    height: 66.133vw;
    border-radius: 2.133vw;
    margin-bottom: 6.4vw;
  }

  .post-type-archive-works .works-list .works-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .post-type-archive-works
    .works-list
    .works-item
    a:hover
    .works-img-column
    .works-img
    img {
    transform: scale(1.035);
  }

  .post-type-archive-works .works-list .works-text {
    display: flex;
    gap: 3.75vw;
    align-items: end;
    width: 87.2vw;
  }

  .post-type-archive-works .works-list .works-text .title {
    width: 71.2vw;
  }

  .post-type-archive-works .works-list .works-text h3 {
    font-size: 4.267vw;
    margin-bottom: 2.667vw;
  }

  .post-type-archive-works .works-list .works-text h3 span {
    line-height: 1.7 !important;
  }

  .post-type-archive-works .works-list .works-text .works-desc {
    font-size: 3.467vw;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 記事投稿_詳細ページ */
@media (min-width: 769px) {
  .single-post main {
    width: 78.611vw;
    margin: 8.75vw auto 5.556vw;
  }

  /* 記事タイトル周り */
  .entry-header {
    width: 60.556vw;
    margin: 0 auto 2.569vw;
  }

  .entry-header h1.entry-title {
    font-size: 2.778vw;
    line-height: 1.6;
  }

  /* 見出し */
  .entry-content h2.wp-block-heading {
    font-size: 1.944vw;
    line-height: 1.7;
    width: 60.556vw;
    margin: 0 auto 2.222vw;
  }

  .entry-content h3.wp-block-heading {
    font-size: 1.667vw;
    line-height: 1.5;
    width: 60.556vw;
    margin: 0 auto 2.222vw;
  }

  /* 本文テキスト */
  .entry-content p {
    font-size: 1.111vw;
    line-height: 2;
    width: 60.556vw;
    margin: 0 auto 5vw;
  }

  .entry-content p.has-small-font-size {
    font-size: 0.972vw !important;
  }

  /* リスト */
  .entry-content ul.wp-block-list {
    padding-left: calc(0.694vw + 1rem);
    list-style: none;
    width: 60.556vw;
    margin: 0 auto 5vw;
  }

  .entry-content ul.wp-block-list li {
    font-size: 1.111vw;
    line-height: 2;
    position: relative;
  }

  .entry-content ul.wp-block-list li a {
    text-decoration: underline;
  }

  /* 丸マーカー */
  .entry-content ul.wp-block-list li::before {
    content: "";
    position: absolute;
    left: -1.389vw;
    top: 50%;
    transform: translateY(-50%);
    width: 0.694vw;
    height: 0.694vw;
    background: #232323;
    border-radius: 50%;
    display: block;
  }

  /* 画像ブロック */
  .entry-content .wp-block-image,
  .entry-content .column-images {
    margin-bottom: 3.889vw;
  }

  .entry-content .column-images .wp-block-image {
    margin-bottom: 0;
  }

  .entry-content .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    border-radius: 0.556vw;
  }

  /* column-overview 全体 */
  .entry-content .wp-block-columns.column-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 5.556vw; /* 外側カラム間の余白 */
    width: 60.694vw; /* 全体幅 */
    margin: 0 auto 5vw; /* 中央寄せ＋下マージン */
    box-sizing: border-box;
  }

  /* 外側カラム */
  .entry-content .wp-block-columns.column-overview > .wp-block-column {
    flex: 0 0 25.833vw; /* 幅固定 */
    box-sizing: border-box;
  }

  /* 外側カラム内のすべての要素 */
  .entry-content .wp-block-columns.column-overview > .wp-block-column * {
    box-sizing: border-box;
  }

  /* 外側カラム内最後の要素の下マージンを消す */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    *:last-child {
    margin-bottom: 0;
  }

  /* ネストされたカラム */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns {
    display: flex;
    gap: 2.569vw; /* ネストカラム間の余白 */
    justify-content: flex-start;
    flex-wrap: nowrap; /* 左右並べて折り返さない */
  }

  /* 左カラム（タイトル） */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column:first-child {
    flex: 0 0 auto;
    width: 5em;
    box-sizing: border-box;
  }

  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column:first-child
    p {
    white-space: normal; /* 折り返し許可 */
    overflow-wrap: break-word;
    word-break: break-word;
    margin-bottom: 0;
  }

  /* 右カラム（詳細など） */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column:last-child {
    flex: 1; /* 残り幅に広がる */
    box-sizing: border-box;
  }

  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column:last-child
    p {
    white-space: normal; /* 折り返す */
    overflow-wrap: break-word;
    word-break: break-word;
    margin-bottom: 0;
  }

  /* ネスト内の p 共通スタイル */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column
    p {
    width: 100% !important; /* 親カラム幅に収める */
    margin-bottom: 0;
    font-size: 0.972vw;
    line-height: 1.7;
  }

  /* 画像・テキスト混合カラム */
  .entry-content .wp-block-columns.column-align-left,
  .entry-content .wp-block-columns.column-align-right {
    display: flex;
    gap: 5.556vw;
    margin-bottom: 5vw;
  }

  .entry-content .wp-block-columns.column-align-left {
    padding-right: 8.958vw;
  }

  .entry-content .wp-block-columns.column-align-right {
    padding-left: 8.958vw;
  }

  .entry-content .wp-block-columns.column-align-left > .wp-block-column *,
  .entry-content .wp-block-columns.column-align-right > .wp-block-column * {
    width: 100%;
    box-sizing: border-box;
  }

  .entry-content
    .wp-block-columns.column-align-left
    > .wp-block-column
    *:last-child,
  .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column
    *:last-child {
    margin-bottom: 0;
  }

  /* column-align-left */
  .entry-content .wp-block-columns.column-align-left {
    justify-content: flex-start; /* 左寄せ */
  }

  .entry-content
    .wp-block-columns.column-align-left
    > .wp-block-column:first-child {
    flex: 0 0 34.792vw; /* 左カラム固定幅 */
  }

  .entry-content
    .wp-block-columns.column-align-left
    > .wp-block-column:last-child {
    flex: 0 0 29.236vw; /* 右カラム固定幅 */
  }

  .entry-content
    .wp-block-columns.column-align-left
    > .wp-block-column:first-child
    img {
    width: 34.792vw;
    height: auto;
    display: block;
  }

  /* column-align-right */
  .entry-content .wp-block-columns.column-align-right {
    justify-content: flex-end; /* 右寄せ */
  }

  .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column:first-child {
    flex: 0 0 29.236vw; /* 左カラム固定幅 */
  }

  .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column:last-child {
    flex: 0 0 34.792vw; /* 右カラム固定幅 */
  }

  .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column:last-child
    img {
    width: 34.792vw;
    height: auto;
    display: block;
  }

  /* Backボタン */
  .back-button {
    text-align: center;
  }

  .back-button a.btn-black {
    width: 8.056vw;
  }
}

@media (max-width: 768px) {
  .single-post main {
    width: 91.467vw;
    margin: 12.8vw auto;
  }

  /* 記事タイトル周り */
  .entry-header {
    width: 87.2vw;
    margin: 0 auto 4.267vw;
  }

  .entry-header h1.entry-title {
    font-size: 5.867vw;
    line-height: 1.45;
  }

  /* 見出し */
  h2.wp-block-heading {
    font-size: 4.8vw;
    line-height: 1.7;
    width: 87.2vw;
    margin: 0 auto 4.267vw;
  }

  h3.wp-block-heading {
    font-size: 4.267vw;
    line-height: 1.5;
    width: 87.2vw;
    margin: 0 auto 4.267vw;
  }

  /* 本文テキスト */
  .entry-content p {
    font-size: 3.733vw;
    line-height: 2;
    width: 87.2vw;
    margin: 0 auto 10.667vw;
  }

  .entry-content p.has-small-font-size {
    font-size: 3.467vw !important;
  }

  /* リスト */
  .entry-content ul.wp-block-list {
    padding-left: 5.694vw;
    list-style: none;
    width: 87.2vw;
    margin: 0 auto 10.667vw;
  }

  .entry-content ul.wp-block-list li {
    font-size: 3.733vw;
    line-height: 1.7;
    position: relative;
    margin-bottom: 2.133vw;
  }

  .entry-content ul.wp-block-list li a {
    text-decoration: underline;
  }

  /* 丸マーカー */
  .entry-content ul.wp-block-list li::before {
    content: "";
    position: absolute;
    left: -5.333vw;
    top: 50%;
    transform: translateY(-50%);
    width: 2.667vw;
    height: 2.667vw;
    background: #232323;
    border-radius: 50%;
    display: block;
  }

  /* 画像ブロック */
  .entry-content .wp-block-image,
  .entry-content .column-images {
    margin-bottom: 6.4vw;
  }

  .entry-content .column-images {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6.4vw 4.267vw;
  }

  .entry-content .column-images .wp-block-image {
    margin-bottom: 0;
  }

  .entry-content .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    border-radius: 2.133vw;
  }

  /* column-overview 全体 */
  .entry-content .wp-block-columns.column-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 78.667vw;
    margin: 0 auto 8.533vw;
    box-sizing: border-box;
  }

  /* 外側カラム */
  .entry-content .wp-block-columns.column-overview > .wp-block-column {
    flex: 0 0 25.833vw; /* 幅固定 */
    box-sizing: border-box;
  }

  /* 外側カラム内のすべての要素 */
  .entry-content .wp-block-columns.column-overview > .wp-block-column * {
    box-sizing: border-box;
  }

  /* ネストされたカラム */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns {
    display: flex;
    gap: 8vw;
    justify-content: flex-start;
    flex-wrap: nowrap !important;
  }

  /* 左カラム（タイトル） */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column:first-child {
    flex: 0 0 17.067vw;
    max-width: 17.067vw;
    box-sizing: border-box;
  }

  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column:first-child
    p {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    margin-bottom: 0;
  }

  /* 右カラム（詳細など） */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column:last-child {
    flex: 1;
    box-sizing: border-box;
  }

  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column:last-child
    p {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    margin-bottom: 0;
  }

  /* ネスト内の p 共通スタイル */
  .entry-content
    .wp-block-columns.column-overview
    > .wp-block-column
    .wp-block-columns
    > .wp-block-column
    p,
  .entry-content .wp-block-columns.column-overview > .wp-block-column p {
    width: auto !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    font-size: 3.467vw;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
  }

  /* 画像・テキスト混合カラム */
  .entry-content .wp-block-columns.column-align-left,
  .entry-content .wp-block-columns.column-align-right {
    display: flex;
    gap: 6.4vw;
    width: 87.2vw;
    margin: 0 auto 8.533vw;
  }

  .entry-content .wp-block-columns.column-align-left > .wp-block-column *,
  .entry-content .wp-block-columns.column-align-right > .wp-block-column * {
    width: 100%;
    box-sizing: border-box;
  }

  .entry-content
    .wp-block-columns.column-align-left
    > .wp-block-column
    *:last-child,
  .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column
    *:last-child {
    margin-bottom: 0;
  }

  /* column-align-left */
  .entry-content .wp-block-columns.column-align-left {
    justify-content: flex-start;
  }

  .entry-content
    .wp-block-columns.column-align-left
    > .wp-block-column:first-child {
    flex: 0 0 34.792vw;
  }

  .entry-content
    .wp-block-columns.column-align-left
    > .wp-block-column:last-child {
    flex: 0 0 29.236vw;
  }

  .entry-content
    .wp-block-columns.column-align-left
    > .wp-block-column:first-child
    img,
  .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column:last-child
    img {
    width: 70.4vw;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* column-align-right */
  .entry-content .wp-block-columns.column-align-right {
    flex-direction: column-reverse;
  }

  .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column:first-child {
    flex: 0 0 29.236vw;
  }

  .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column:last-child {
    flex: 0 0 34.792vw;
  }

  /* Backボタン */
  .back-button {
    text-align: center;
  }

  .back-button a.btn-black {
    width: 30.933vw;
  }
}

/* 実績紹介_詳細ページ */
@media (min-width: 769px) {
  .single-works main {
    width: 78.611vw;
    margin: 8.75vw auto 5.556vw;
  }

  .single-works .entry-header p {
    font-size: 1.25vw;
    margin-bottom: 2.222vw;
  }

  .single-works .entry-content .image-align-left,
  .single-works .entry-content .image-align-right {
    display: inline-flex;
    width: 78.611vw;
    margin-bottom: 3.889vw;
  }

  .single-works .entry-content .image-align-left {
    justify-content: flex-start;
  }

  .single-works .entry-content .image-align-right {
    justify-content: flex-end;
  }

  .single-works .entry-content .image-align-left img,
  .single-works .entry-content .image-align-right img {
    width: 45vw;
  }

  /* Backボタン */
  .single-works .back-button {
    text-align: center;
  }

  .single-works .back-button a.btn-black {
    width: 8.056vw;
  }

  .single-works .work-navigation {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 3rem 0;
  }

  .single-works .work-navigation .nav-item {
    flex: 1;
    text-align: center;
  }

  .single-works .work-navigation .nav-item.prev {
    text-align: left;
  }

  .single-works .work-navigation .nav-item.next {
    text-align: right;
  }

  .single-works .work-navigation .nav-item.index {
    text-align: center;
  }

  /* 空の nav-item は非表示でも幅は確保 */
  .single-works .work-navigation .nav-item.empty {
    visibility: hidden;
  }

  /* 矢印画像のサイズ調整 */
  .single-works .work-navigation .nav-item img {
    width: 2.222vw;
    height: auto;
  }
}

@media (max-width: 768px) {
  .single-works main {
    width: 91.467vw;
    margin: 12.8vw auto;
  }

  .single-works .entry-header p {
    font-size: 3.733vw;
    margin-bottom: 6.4vw;
  }

  .single-works .entry-content .image-align-left,
  .single-works .entry-content .image-align-right {
    display: inline-flex;
    width: 91.467vw;
    margin-bottom: 6.4vw;
  }

  .single-works .entry-content .image-align-left {
    justify-content: flex-start;
  }

  .single-works .entry-content .image-align-right {
    justify-content: flex-end;
  }

  .single-works .entry-content .image-align-left img,
  .single-works .entry-content .image-align-right img {
    width: 48vw;
  }

  /* column-align-right */
  .single-works
    .entry-content
    .wp-block-columns.column-align-right
    > .wp-block-column:last-child {
    flex: 0 0 45vw; /* 右カラム固定幅 */
  }

  /* 画像ブロック */
  .single-works .entry-content .column-images {
    display: block !important;
    width: 66.667vw;
    margin: 0 auto 12.8vw;
  }

  .single-works .entry-content .column-images .wp-block-column {
    margin-bottom: 6.4vw;
  }

  .single-works .entry-content .column-images .wp-block-column:last-child {
    margin-bottom: 0;
  }

  .single-works .work-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 12.8vw;
    width: 87.2vw;
  }

  .single-works .work-navigation .nav-item a {
    display: block;
  }

  .single-works .work-navigation .nav-item.prev {
    text-align: left;
  }

  .single-works .work-navigation .nav-item.next {
    text-align: right;
  }

  .single-works .work-navigation .nav-item.index {
    text-align: center;
  }

  /* 空の nav-item は非表示でも幅は確保 */
  .single-works .work-navigation .nav-item.empty {
    visibility: hidden;
  }

  /* 矢印画像のサイズ調整 */
  .single-works .work-navigation .nav-item img {
    width: 5.6vw;
    height: auto;
  }
}

/* Aboutページ */
@media (min-width: 769px) {
  .page-lower .about-description {
    display: flex;
    justify-content: space-between;
    gap: 26.944vw;
    width: 78.611vw;
    margin: 0 auto 120px;
  }

  .page-lower .about-description .text {
/*     width: 30.069vw; */
    width: 34.069vw;
  }

  .page-lower .about-description .text h2 {
    font-size: 1.944vw;
    line-height: 1.7;
    margin-bottom: 2.222vw;
  }

  .page-lower .about-description .text p {
    font-size: 1.111vw;
    line-height: 2;
    margin-bottom: 1.389vw;
  }

  .page-lower .about-description .text p:last-child {
    margin-bottom: 0;
  }

  .page-lower .about-description .image {
    width: 22.361vw;
  }

  .page-lower .service {
    margin: 0 1.25vw 1.667vw;
    padding: 5.556vw 2.639vw;
    border-radius: 0.556vw;
    position: relative;
    overflow: hidden;
  }

  .page-lower .service img {
    border-radius: 0.556vw;
  }

  .page-lower .service:last-child {
    margin-bottom: 0;
  }

  .page-lower .service.bg-light {
    background: #b8b8b8;
  }

  .page-lower .service.bg-heavy {
    background: #767676;
  }

  .page-lower .service .bg-shape {
    position: absolute;
    top: 7.222vw;
    right: -1.389vw;
    width: 107.097vw;
    height: auto;
    color: #c2c2c2;
  }

  .page-lower .service.bg-heavy .bg-shape {
    position: absolute;
    top: -2.5vw;
    right: -1.389vw;
    width: 107.097vw;
    height: auto;
    color: #828282;
  }

  .page-lower .service .section-name {
    position: absolute;
    font-weight: 300;
    font-size: 13.056vw;
    color: #cfcfcf;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    width: fit-content;
    height: auto;
    line-height: 1;
    top: -0.625vw;
    right: -2.153vw;
    z-index: 0;
  }

  .page-lower .service .service-header {
    margin-bottom: 4.444vw;
  }

  .page-lower .service .service-header h2 {
    font-size: 3.75vw;
    line-height: 1.37;
    margin-bottom: 0.694vw;
    color: #ffffff;
  }

  .page-lower .service .service-header .sub {
    font-size: 0.833vw;
    line-height: 1.58;
    color: #e5e5e5;
  }

  .page-lower .service .title-section {
    margin-bottom: 8.333vw;
  }

  .page-lower .service .title-section .columns {
    display: flex;
    gap: 11.111vw;
    z-index: 1;
    position: relative;
  }

  .page-lower .service .title-section .columns .text {
    width: 36.111vw;
  }

  .page-lower .service .title-section .columns .text .small-title {
    margin-top: 0.694vw;
    margin-bottom: 2.778vw;
    font-size: 1.111vw;
    color: #fff;
  }

  .page-lower .service .title-section .columns .text h3 {
    font-size: 2.778vw;
    margin-bottom: 2.778vw;
    color: #fff;
  }

  .page-lower .service .title-section .columns .text .sub {
    line-height: 2;
    color: #fff;
    font-size: 1.111vw;
    letter-spacing: 0.15em;
  }

  .page-lower .service .title-section .columns .image {
    width: 45vw;
  }

  .page-lower .service .feature-section {
    margin-bottom: 1.389vw;
    position: relative;
  }

  .page-lower .service .feature-section .column {
    display: flex;
    gap: 5.764vw;
    justify-content: space-between;
  }

  .page-lower .service .feature-section .column .feature-left {
    display: flex;
    gap: 5.764vw;
    justify-content: space-between;
  }

  .page-lower .service .feature-section .column .feature-left h2 {
    font-size: 1.667vw;
    line-height: 2.5vw;
    color: #ffffff;
    margin-top: 1.25vw;
  }

  .page-lower .service .feature-section .column .feature-items {
    display: flex;
    gap: 2.361vw;
    margin-bottom: 3.889vw;
    align-items: flex-start;
  }

  .page-lower .service .feature-section .column .feature-items:last-child {
    margin-bottom: 0;
  }

  .page-lower .service .feature-section .column .feature-items .feature-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-areas:
      "num heading"
      "num text";
    gap: 0 2.917vw;
    align-items: baseline;
    width: 41.5vw;
    margin-top: 1.25vw;
  }

  .page-lower
    .service
    .feature-section
    .column
    .feature-items
    .feature-item
    .feature-num {
    font-weight: 500;
    font-size: 0.903vw;
    letter-spacing: 0.08em;
    color: #ffffff;
    width: 2.083vw;
  }

  .page-lower
    .service
    .feature-section
    .column
    .feature-items
    .feature-item
    .feature-heading {
    font-size: 1.667vw;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #ffffff;
    grid-area: heading;
    text-align: left;
    margin-bottom: 0.833vw;
  }

  .page-lower
    .service
    .feature-section
    .column
    .feature-items
    .feature-item
    .feature-text {
    font-size: 0.972vw;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #ffffff;
    grid-area: text;
  }

  .page-lower .service .feature-section .column .feature-right .feature-image {
    width: 29.167vw;
  }

  .page-lower .service .review-section h3 {
    font-size: 1.944vw;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 1.667vw;
  }

  .page-lower .service .review-section .review-list {
    display: flex;
    justify-content: space-between;
    gap: 2.222vw;
    align-items: flex-start;
  }

  .page-lower .service .review-section .review-list .review-item {
    background: #fff;
    padding: 2.083vw 4.167vw 2.083vw 2.5vw;
    border-radius: 0.556vw;
    position: relative;
  }

  .page-lower .service .review-section .review-list .review-item:nth-child(2) {
    margin-top: 3.889vw;
  }

  .page-lower .service .review-section .review-list .review-item:nth-child(3) {
    margin-top: 7.778vw;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-heading {
    margin-bottom: 0.694vw;
    color: #828282;
    font-size: 1.389vw;
    line-height: 1.6;
    position: relative;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-left
    .review-heading::before {
    content: "“";
    position: absolute;
    top: -1.528vw;
    left: -0.833vw;
    font-size: 2.222vw;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-left
    .review-heading::after {
    content: "”";
    position: absolute;
    top: 1.031vw;
/*     top: 2.431vw; */
    right: -0.694vw;
    font-size: 2.222vw;
  }

  .page-lower .service .review-section .review-list .review-item .review-text {
    line-height: 1.7;
    font-size: 0.972vw;
    color: #828282;
  }

  .page-lower .service .review-section .review-list .review-item .review-right {
    position: absolute;
    top: 1.111vw;
    right: 1.111vw;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-right
    .review-label {
    display: flex;
    flex-direction: column;
    align-items: center; /* 子要素を左右中央に揃える */
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-right
    .review-label
    .vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: relative;
    height: 6.25vw;
    font-size: 0.903vw;
    letter-spacing: 0.2em;
    color: #828282;
    align-items: center;
    display: flex;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-right
    .review-label
    .vertical-text::after {
    content: "";
    display: block;
    width: 1.111vw;
    height: 0.069vw;
    background: #828282;
    margin: 6px auto;
    position: absolute;
    bottom: 0;
    left: 0.069vw;
    right: 0;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-right
    .review-label
    .review-num {
    font-size: 0.903vw;
    position: absolute;
    top: 6.458vw;
    left: 0px;
    right: 0;
    margin: 0 auto;
    width: 1.389vw;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-lower .about-description {
    display: flex;
    flex-direction: column;
    gap: 8.533vw;
    padding: 0 6.4vw;
    margin-bottom: 21.333vw;
  }

  .page-lower .about-description .text h2 {
    font-size: 5.867vw;
    line-height: 1.7;
    margin-bottom: 8.533vw;
  }

  .page-lower .about-description .text p {
    font-size: 3.467vw;
    line-height: 1.7;
    margin-bottom: 6.4vw;
    letter-spacing: 0.04em;
  }

  .page-lower .about-description .text p:last-child {
    margin-bottom: 0;
  }

  .page-lower .about-description .image {
    width: 41.333vw;
    margin-left: auto;
  }

  .page-lower .service {
    margin: 0 4.267vw 6.4vw;
    padding: 12.8vw 10.667vw;
    border-radius: 2.133vw;
    position: relative;
    overflow: hidden;
  }

  .page-lower .service img {
    border-radius: 2.133vw;
  }

  .page-lower .service:last-child {
    margin-bottom: 0;
  }

  .page-lower .service.bg-light {
    background: #b8b8b8;
  }

  .page-lower .service.bg-heavy {
    background: #767676;
  }

  .page-lower .service .bg-shape {
    position: absolute;
    top: 24vw;
    right: -5.333vw;
    width: 176vw;
    height: auto;
    color: #c2c2c2;
  }

  .page-lower .service.bg-heavy .bg-shape {
    position: absolute;
    top: 15.2vw;
    left: -2.667vw;
    width: 207.097vw;
    height: auto;
    color: #828282;
  }

  .page-lower .service .section-name {
    font-weight: 300;
    font-size: 20.8vw;
    color: #cfcfcf;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1;
    position: absolute;
    z-index: 0;
  }

  .page-lower .service.bg-light .section-name {
    top: -1.067vw;
    right: -3.467vw;
  }

  .page-lower .service.bg-heavy .section-name {
    top: -13.867vw;
    right: -14.2vw;
  }

  .page-lower .service .service-header {
    margin-bottom: 8.533vw;
  }

  .page-lower .service .service-header h2 {
    font-size: 8.533vw;
    line-height: 1.5;
    margin-bottom: 1.6vw;
    color: #ffffff;
  }

  .page-lower .service .service-header .sub {
    font-size: 2.667vw;
    line-height: 1.5;
    color: #e5e5e5;
  }

  .page-lower .service .title-section {
    margin-bottom: 8.533vw;
    position: relative;
  }

  .page-lower .service .title-section .columns {
    display: flex;
    gap: 6.4vw;
    flex-direction: column-reverse;
    position: relative;
    z-index: 1;
  }

  .page-lower .service .title-section .columns .text .small-title {
    margin-bottom: 7.467vw;
    font-size: 3.2vw;
    color: #fff;
  }

  .page-lower .service .title-section .columns .text h3 {
    font-size: 6.4vw;
    margin-bottom: 4.267vw;
    color: #fff;
  }

  .page-lower .service .title-section .columns .text .sub {
    line-height: 1.75;
    color: #fff;
    font-size: 3.467vw;
    letter-spacing: 0.04em;
  }

  .page-lower .service .feature-section {
    margin-bottom: 10.667vw;
    position: relative;
  }

  .page-lower .service .feature-section .column {
    display: flex;
    flex-direction: column;
    gap: 4.267vw;
  }

  .page-lower .service .feature-section .column .feature-left {
    display: flex;
    gap: 22.133vw;
    justify-content: space-between;
  }

  .page-lower .service .feature-section .column .feature-left h2 {
    font-size: 4.8vw;
    color: #ffffff;
  }

  .page-lower .service .feature-section .column .feature-items {
    display: flex;
    flex-direction: column-reverse;
    gap: 4.267vw;
    margin-bottom: 8.533vw;
    align-items: flex-start;
  }

  .page-lower .service .feature-section .column .feature-items:last-child {
    margin-bottom: 0;
  }

  .page-lower
    .service
    .feature-section
    .column
    .feature-items
    .feature-item
    .feature-num {
    font-weight: 500;
    font-size: 3.2vw;
    color: #ffffff;
    margin-bottom: 3.2vw;
  }

  .page-lower
    .service
    .feature-section
    .column
    .feature-items
    .feature-item
    .feature-heading {
    font-size: 4.8vw;
    line-height: 1.75;
    color: #ffffff;
    margin-bottom: 4.267vw;
    letter-spacing: 0.04em;
  }

  .page-lower
    .service
    .feature-section
    .column
    .feature-items
    .feature-item
    .feature-text {
    font-size: 3.467vw;
    line-height: 1.75;
    letter-spacing: 0.04em;
    color: #ffffff;
  }

  .page-lower .service .feature-section .column .feature-right .feature-image {
    width: 57.6vw;
    margin: 0 auto;
  }

  .page-lower .service .review-section h3 {
    font-size: 5.333vw;
    color: #ffffff;
    margin-bottom: 6.4vw;
  }

  .page-lower .service .review-section .review-list {
    display: flex;
    flex-direction: column;
    gap: 4.267vw;
  }

  .page-lower .service .review-section .review-list .review-item {
    background: #fff;
    padding: 8vw 14.933vw 6.4vw 6.4vw;
    border-radius: 2.133vw;
    position: relative;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-heading {
    margin-bottom: 2.667vw;
    color: #828282;
    font-size: 4.267vw;
    line-height: 1.5;
    position: relative;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-left
    .review-heading::before {
    content: "“";
    position: absolute;
    top: -3.2vw;
    left: -3.2vw;
    font-size: 6.4vw;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-left
    .review-heading::after {
    content: "”";
    position: absolute;
/*     top: 13.867vw; */
    top: 3.367vw;
    right: 0.267vw;
    font-size: 6.4vw;
  }

  .page-lower .service .review-section .review-list .review-item .review-text {
    line-height: 1.6;
    font-size: 3.467vw;
    color: #828282;
  }

  .page-lower .service .review-section .review-list .review-item .review-right {
    position: absolute;
    top: 4.267vw;
    right: 4.267vw;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-right
    .review-label {
    display: flex;
    flex-direction: column;
    align-items: center; /* 子要素を左右中央に揃える */
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-right
    .review-label
    .vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: relative;
    height: 24vw;
    font-size: 3.467vw;
    letter-spacing: 0.2em;
    color: #828282;
    align-items: center;
    display: flex;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-right
    .review-label
    .vertical-text::after {
    content: "";
    display: block;
    width: 4.267vw;
    height: 0.267vw;
    background: #828282;
    margin: 1.6vw auto;
    position: absolute;
    bottom: 0;
    left: 0.267vw;
    right: 0;
  }

  .page-lower
    .service
    .review-section
    .review-list
    .review-item
    .review-right
    .review-label
    .review-num {
    font-size: 3.467vw;
    position: absolute;
    top: 24.8vw;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 5.333vw;
    text-align: center;
  }
}

/* 選ばれる理由ページ */
@media (min-width: 769px) {
  .page-lower .lower-main-image {
    margin: 0 3.889vw 11.111vw;
  }

  .page-lower .advantage-catch {
    margin-bottom: 8.333vw;
  }

  .page-lower .advantage-catch h2 {
    font-size: 2.778vw;
    line-height: 1.6;
  }

  .page-lower .advantage-catch h2 {
    font-size: 2.778vw;
    line-height: 1.6;
  }

  .page-lower .advantage-reason {
    margin-bottom: 8.333vw;
  }

  .page-lower .advantage-reason .two-column {
    display: flex;
    justify-content: space-between;
    gap: 5.556vw;
  }

  /* reason-item 共通 */
  .page-lower .advantage-reason .reason-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 4.514vw;
    border-bottom: solid 1px #696969;
    margin-bottom: 4.514vw;
    gap: 2.083vw;
  }

  .page-lower .advantage-reason .reason-left .reason-title {
    font-size: 1.667vw;
  }

  .page-lower .advantage-reason .reason-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 番号 */
  .page-lower .advantage-reason .reason-num {
    font-size: 0.903vw;
    flex: 0 0 2.083vw;
    width: 2.083vw;
    margin-top: 0.694vw;
  }

  /* 見出し */
  .page-lower .advantage-reason .reason-heading {
    font-size: 1.667vw;
    line-height: 1.5;
    flex: 0 0 23.264vw;
    width: 23.264vw;
    position: relative;
    top:6px;
}

  /* テキスト */
  .page-lower .advantage-reason .reason-text {
    font-size: 0.972vw;
    line-height: 2;
    width: 38.194vw;
  }
}

@media (max-width: 768px) {
  .page-lower .lower-main-image {
    margin: 0 4.267vw 8.533vw;
  }

  .page-lower .lower-main-image img.to-pc,
  .page-lower .bottom-image img.to-pc {
    display: none;
  }

  .page-lower .advantage-catch {
    margin-bottom: 12.8vw;
  }

  .page-lower .advantage-catch h2 {
    font-size: 5.867vw;
    line-height: 1.6;
  }

  .page-lower .advantage-reason {
    margin-bottom: 21.333vw;
  }

  .page-lower .advantage-reason .two-column {
    display: flex;
    flex-direction: column;
    gap: 6.4vw;
  }

  /* reason-item 共通 */
  .page-lower .advantage-reason .reason-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-areas:
      "num heading"
      "num text";
    gap: 4.267vw 8vw;
    align-items: baseline;
    padding-bottom: 6.4vw;
    border-bottom: solid 1px #696969;
    margin-bottom: 6.4vw;
  }

  .page-lower .advantage-reason .reason-left .reason-title {
    font-size: 4.8vw;
  }

  .page-lower .advantage-reason .reason-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 番号 */
  .page-lower .advantage-reason .reason-num {
    font-size: 3.2vw;
    width: 8vw;
  }

  /* 見出し */
  .page-lower .advantage-reason .reason-heading {
    grid-area: heading;
    margin: 0 0 1.067vw 0;
    text-align: left;
    font-size: 4.8vw;
    line-height: 1.5;
  }

  /* テキスト */
  .page-lower .advantage-reason .reason-text {
    font-size: 3.467vw;
    line-height: 1.75;
    grid-area: text;
  }
}

/* お問い合わせページ */
@media (min-width: 769px) {
  .page-contact .page-title {
    margin: 5.139vw 3.889vw 5.143vw;
    position: relative;
    padding-bottom: 0;
  }

  .page-contact .page-title .title {
    display: block;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100%;
    padding-right: 0;
    text-align: left;
  }

  .page-contact .page-title .title .small-title {
    font-size: 1rem;
    writing-mode: horizontal-tb;
    line-height: 1.6;
  }

  .contact-form {
    padding-left: 16.214vw;
    width: 80.857vw;
    margin: 0 auto;
  }

  .form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.714vw;
    gap: 2.286vw;
  }

  .form-row.full {
    flex: 0 0 100%;
  }

  .form-row.half {
    flex: 0 0 48%;
  }

  .form-label {
    width: 30vw;
    padding-top: 0.857vw;
  }

  .inquiry-type .form-label {
    padding-top: 0;
  }

  .form-label {
    display: flex;
    justify-content: space-between;
    font-size: 1.143vw;
  }

  .form-label .required {
    color: #fff;
    font-size: 0.929vw;
    background: #232323;
    line-height: 1;
    border-radius: 1.286vw;
    width: 3.214vw;
    text-align: center;
    padding: 0.536vw 0;
  }

  .form-field {
    width: 39.286vw;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    width: 100%;
    padding: 1.143vw 1.143vw;
    border: 1px solid #696969;
    border-radius: 0.571vw;
    font-size: 1.143vw;
  }

  .form-field textarea {
    min-height: 11.429vw;
    resize: vertical;
  }

  .wpcf7-form input:focus,
  .wpcf7-form textarea:focus {
    outline: none;
    box-shadow: none;
  }

  .form-row.submit {
    justify-content: flex-end;
    margin-top: 3.286vw;
  }

  .form-row.submit .form-field {
    flex: 0 0 35.5vw;
  }

  .form-row.submit input[type="submit"] {
    background: #232323;
    color: #fff;
    padding: 0.857vw 2.286vw;
    border: none;
    border-radius: 0.286vw;
    cursor: pointer;
  }

  .wpcf7-form .wpcf7-radio {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.714vw;
  }

  .wpcf7-form .wpcf7-list-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
  }

  .wpcf7-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    font-size: 1.111vw;
    cursor: pointer;
  }

  .wpcf7-form .wpcf7-list-item input[type="radio"] {
    appearance: none;
    width: 1.429vw;
    height: 1.429vw;
    background-color: #f0f0f0;
    border: none;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
    padding: 0;
    margin-right: 0.714vw;
  }

  .wpcf7-form .wpcf7-list-item input[type="radio"]::before {
    content: "";
    display: block;
    width: 0.857vw;
    height: 0.857vw;
    background-color: transparent;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s, width 0.2s, height 0.2s;
    padding: 0;
  }

  .wpcf7-form .wpcf7-list-item input[type="radio"]:checked::before {
    background-color: #232323;
    width: 0.857vw;
    height: 0.857vw;
  }

  .wpcf7-form button[type="submit"] {
    width: 8.286vw;
    height: 3.429vw;
    cursor: pointer;
  }

  .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1.143vw;
    font-weight: normal;
    display: block;
    margin-top: 0.571vw;
  }

  .wpcf7-response-output {
    display: none;
  }
}

@media (max-width: 768px) {

	#cont{margin-bottom: -50px;}
	
  .page-contact .page-title {
    margin: 0 0 22.667vw;
    padding: 0 6.4vw;
  }

  .page-contact .page-title .title {
    display: block;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100%;
    padding-right: 0;
    text-align: left;
  }

  .page-contact .page-title .title .small-title {
    font-size: 1rem;
    writing-mode: horizontal-tb;
    line-height: 1.6;
  }

  .contact-form {
    padding: 0 6.4vw;
  }

  .form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6.667vw;
    gap: 4.267vw;
    flex-direction: column;
  }

  .form-row.full {
    flex: 0 0 100%;
  }

  .form-row.half {
    flex: 0 0 48%;
  }

  .form-label {
    width: 100%;
  }

  .inquiry-type .form-label {
    padding-top: 0;
  }

  .form-label {
    display: flex;
    justify-content: flex-start;
    font-size: 4.267vw;
    gap: 4.267vw;
    align-items: center;
  }

  .form-label .required {
    color: #fff;
    font-size: 3.2vw;
    background: #232323;
    line-height: 1;
    border-radius: 4.8vw;
    width: 12vw;
    text-align: center;
    padding: 1.867vw 0;
  }

  .form-field {
    width: 100%;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    width: 100%;
    padding: 4.267vw 4.267vw;
    border: 1px solid #696969;
    border-radius: 2.133vw;
    font-size: 3.733vw;
  }

  .form-field textarea {
    min-height: 42.667vw;
    resize: vertical;
  }

  .wpcf7-form input:focus,
  .wpcf7-form textarea:focus {
    outline: none;
    box-shadow: none;
  }

  .form-row.submit {
    justify-content: flex-end;
    margin-top: 10.133vw;
    margin-bottom: 0;
  }

  .form-row.submit input[type="submit"] {
    background: #232323;
    color: #fff;
    padding: 3.2vw 8.533vw;
    border: none;
    border-radius: 1.067vw;
    cursor: pointer;
  }

  .wpcf7-form .wpcf7-radio {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4.267vw;
  }

  .wpcf7-form .wpcf7-list-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
  }

  .wpcf7-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    font-size: 4.267vw;
  }

  .wpcf7-form .wpcf7-list-item input[type="radio"] {
    appearance: none;
    width: 5.333vw;
    height: 5.333vw;
    background-color: #f0f0f0;
    border: none;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
    padding: 0;
    margin-right: 2.667vw;
  }

  .wpcf7-form .wpcf7-list-item input[type="radio"]::before {
    content: "";
    display: block;
    width: 3.2vw;
    height: 3.2vw;
    background-color: transparent;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s, width 0.2s, height 0.2s;
    padding: 0;
  }

  .wpcf7-form .wpcf7-list-item input[type="radio"]:checked::before {
    background-color: #232323;
    width: 3.2vw;
    height: 3.2vw;
  }

  .wpcf7-form button[type="submit"] {
    width: 30.933vw;
    height: 12.8vw;
    cursor: pointer;
    margin: 0 auto;
  }

  .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 3.733vw;
    font-weight: normal;
    display: block;
    margin-top: 2.133vw;
  }

  .wpcf7-response-output {
    display: none;
  }
}

/* ================================
   Privacy Policy Page Styles
   scope: #privacy-policy
   ================================ */

/* ベース（余白・タイポグラフィ） */
#privacy-policy {
  --pp-max: 960px;
  --pp-pad-x: clamp(16px, 4vw, 28px);
  --pp-gap: 1.25rem;
  --pp-text: #222;
  --pp-muted: #666;
  --pp-border: #e6e6e6;
  --pp-link: #0b66c3;
  --pp-bg: #fff;
  --pp-code-bg: #f7f7f7;

  color: var(--pp-text);
  background: var(--pp-bg);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
}

#privacy-policy .container {
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px) var(--pp-pad-x);
}

/* 上部ページタイトル（entry-title）と本文内h1の階層整理 */
#privacy-policy .entry-header {
  border-bottom: 1px solid var(--pp-border);
  margin-bottom: clamp(16px, 3vw, 24px);
  padding: 0 var(--pp-pad-x) clamp(16px, 3vw, 20px);
}
#privacy-policy .entry-title {
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.35;
  margin: 0;
}
#privacy-policy .privacy-policy > .container > h1 {
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  color: var(--pp-muted);
  font-weight: 600;
}

/* セクション見出し */
#privacy-policy h2 {
  font-size: clamp(18px, 2.4vw, 20px);
  line-height: 1.5;
  margin: 2rem 0 0.75rem;
  padding-top: 0.25rem;
  scroll-margin-top: 96px; /* 固定ヘッダーがある場合のアンカー位置補正 */
  position: relative;
}
#privacy-policy h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--pp-border);
  margin-top: 8px;
}

/* 段落・リスト */
#privacy-policy p { margin: 0 0 1rem; }
#privacy-policy ul,
#privacy-policy ol {
  margin: 0 0 1rem 1.25em;
  padding: 0;
}
#privacy-policy li { margin: 0.25rem 0; }

/* 引用・コード・表 */
#privacy-policy blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--pp-border);
  background: #fafafa;
  color: #333;
}
#privacy-policy code,
#privacy-policy pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background: var(--pp-code-bg);
  border: 1px solid var(--pp-border);
  border-radius: 6px;
}
#privacy-policy code {
  padding: 0.15em 0.4em;
}
#privacy-policy pre {
  padding: 0.9rem 1rem;
  overflow: auto;
}

/* アドレス/連絡先 */
#privacy-policy address {
  background: #fafafa;
  border: 1px solid var(--pp-border);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0.75rem 0 1.25rem;
}

/* 更新日・小要素 */
#privacy-policy .policy-updated {
  color: var(--pp-muted);
  margin-top: 2rem;
}
#privacy-policy small { font-size: 0.875em; }

/* リンク（アクセシブルなフォーカス） */
#privacy-policy a {
  color: var(--pp-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#privacy-policy a:hover { opacity: 0.9; }
#privacy-policy a:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--pp-link) 60%, #000 40%);
  outline-offset: 2px;
  border-radius: 4px;
}

/* テーブル（使う場合） */
#privacy-policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95em;
}
#privacy-policy th,
#privacy-policy td {
  border: 1px solid var(--pp-border);
  padding: 10px 12px;
  vertical-align: top;
}
#privacy-policy th {
  background: #fbfbfb;
  text-align: left;
  font-weight: 600;
}

/* ヒーロー周り等のテーマ由来余白と競合しにくい調整 */
#privacy-policy .entry-content {
  padding: 0;
}

/* ダークモード対応（任意） */
@media (prefers-color-scheme: dark) {
  #privacy-policy {
    --pp-text: #e9e9e9;
    --pp-muted: #b8b8b8;
    --pp-border: #2f2f2f;
    --pp-bg: #0f0f10;
    --pp-link: #8ab4ff;
    --pp-code-bg: #151517;
    background: var(--pp-bg);
  }
  #privacy-policy blockquote,
  #privacy-policy address {
    background: #141416;
  }
}

/* 印刷用（会社提出などを想定） */
@media print {
  #privacy-policy {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }
  #privacy-policy a {
    color: #000;
    text-decoration: none;
  }
  #privacy-policy .entry-header {
    border: none;
    padding: 0 0 8pt;
  }
  #privacy-policy h2::after { display: none; }
}
