@charset "UTF-8";

/* 基本変数定義 */
:root {
  --color-primary: #4a3d72;
  --color-secondary: #301852;
  --color-accent: #8a7fb0;
  --color-gray: #666666;
  --color-white: #ffffff;
  --color-background: #f7f7f7;

  --font-base: "游ゴシック体 Pr6N M", sans-serif;
  --font-bold: "游ゴシック体 Pr6N B", sans-serif;

  --transition-base: 0.3s ease;
  --animation-duration: 0.8s;
}

html {
  font-size: 62.5%;
}

/*========================================================================
  全体のセクション間隔を均等に調整
========================================================================*/
section {
  padding: 10rem 0;
}

@media screen and (max-width: 767px) {
  section {
    padding: 7rem 0;
  }
}

/*========================================================================
  メインビジュアル
========================================================================*/
.main-visual {
  position: relative;
  margin-top: 10rem;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

/* スライダー基本設定 */
.main-visual .slider {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 50rem;
  overflow: hidden;
  will-change: transform;
}

.main-visual .slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s linear;
  transform: scale(1.05);
  z-index: 1;
  backface-visibility: hidden;
}

.main-visual .slider-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.main-visual .slider-item img {
  /* width: calc(100% - 7.5vw); */
  width: 100%;
  height: 100%;
  object-fit: cover;
  float: right;
  border-radius: 1.2rem 0 0 1.2rem;
  transform: translateZ(0);
}

/* スライド内コンテンツ */
.main-visual .slider-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: var(--color-white);
  z-index: 3;
  width: 40%;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s,
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
  transform: translateY(2rem);
}

.main-visual .slider-item.active .slider-content {
  opacity: 1;
  transform: translateY(-50%);
}

.main-visual .slider-title {
  font-size: 4.2rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-family: var(--font-bold);
  text-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.3);
  text-align: left;
}

.main-visual .slider-subtitle {
  font-size: 2.4rem;
  line-height: 1.5;
  font-family: var(--font-base);
  text-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  text-align: left;
}

/* オーバーレイ */
.main-visual .slider-overlay {
  position: absolute;
  top: 0;
  right: 0;
  /* width: calc(100% - 7.5vw); */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
  border-radius: 1.2rem 0 0 1.2rem;
  z-index: 2;
}

/* プログレスバー */
.slider-progress {
  position: absolute;
  bottom: 3rem;
  right: 10%;
  z-index: 5;
  width: 10rem;
  height: 0.4rem;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 0.2rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--color-accent);
  transition: width 0.1s linear;
  transform: translateZ(0);
}

/* インジケーター */
.slider-dots {
  position: absolute;
  bottom: 3rem;
  left: 10%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.slider-dot {
  position: relative;
  width: 4rem;
  height: 0.4rem;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.2rem;
  border: none;
  padding: 0;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
  background-color: var(--color-primary);
  width: 7rem;
}

/* レスポンシブ：MV */
@media screen and (max-width: 767px) {
  .main-visual {
    margin-top: 6.8rem;
  }

  .main-visual .slider {
    height: 60vh;
    min-height: 40rem;
  }

  .main-visual .slider-content {
    left: 5%;
    width: 75%;
  }

  .main-visual .slider-item img {
    width: 100%;
    border-radius: 0;
  }

  .main-visual .slider-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }

  .main-visual .slider-subtitle {
    font-size: 1.6rem;
  }

  .main-visual .slider-overlay {
    width: 100%;
    border-radius: 0;
  }

  .slider-dots {
    left: 2rem;
    bottom: 2rem;
  }

  .slider-dot {
    width: 2.4rem;
  }

  .slider-dot.active {
    width: 4rem;
  }

  .slider-progress {
    right: 2rem;
    width: 7rem;
    bottom: 2rem;
  }
}

/*========================================================================
施工事例の見出し
========================================================================*/
.works .paint-heading {
  text-align: center;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--animation-duration) ease,
    transform var(--animation-duration) ease;
}

.works .paint-heading.is-active {
  opacity: 1;
  transform: translateY(0);
}

.works .paint-heading__subtitle {
  display: inline-block;
  color: var(--color-primary);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-family: var(--font-bold);
  position: relative;
  padding: 0 4rem;
}

.works .paint-heading__subtitle::before,
.works .paint-heading__subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 3rem;
  height: 2rem;
  background: var(--color-primary);
}

.works .paint-heading__subtitle::before {
  left: 0;
}

.works .paint-heading__subtitle::after {
  right: 0;
}

.works .paint-heading__title {
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-family: var(--font-bold);
  position: relative;
  display: inline-block;
  padding-bottom: 2rem;
}

.works .paint-heading__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 3rem;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.works .paint-heading.is-active .paint-heading__title::after {
  opacity: 1;
}

/*========================================================================
  塗装風の縦書きタイトル
========================================================================*/
.paint-heading-vertical {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--animation-duration) ease,
    transform var(--animation-duration) ease;
}

.paint-heading-vertical.is-active {
  opacity: 1;
  transform: translateY(0);
}

.paint-heading-vertical__title {
  font-size: 4.2rem;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: bold;
  line-height: 1.3;
  margin-top: 3.9rem;
  letter-spacing: 0.05em;
  font-family: var(--font-bold);
  position: relative;
  color: var(--color-primary);
}

.paint-heading-vertical__subtitle {
  font-size: 1.8rem;
  color: var(--color-gray);
  display: block;
  line-height: 2.2;
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin-left: 2rem;
}

/* 塗料が垂れる演出 */
.paint-drips {
  position: absolute;
  top: 4rem;
  left: -2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.paint-drip {
  width: 0.6rem;
  height: 0;
  background: var(--color-primary);
  border-radius: 2rem;
  opacity: 0;
}

.paint-heading-vertical.is-active .paint-drip {
  animation: paintDrip 1.2s ease forwards;
}

.paint-drip:nth-child(2) {
  animation-delay: 0.2s;
}

.paint-drip:nth-child(3) {
  animation-delay: 0.4s;
}

/* ブラシストローク装飾 */
.brush-stroke {
  position: absolute;
  top: 2rem;
  right: -7rem;
  width: 10rem;
  height: 20rem;
  opacity: 0;
  transform: rotate(-15deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'%3E%3Cpath d='M20,10 Q40,100 20,190' stroke='%234A3D72' stroke-width='40' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center/contain;
}

.paint-heading-vertical.is-active .brush-stroke {
  animation: brushReveal 0.6s ease forwards 0.3s;
}

@keyframes paintDrip {
  0% {
    height: 0;
    opacity: 0;
  }
  50% {
    height: 1.5rem;
    opacity: 0.8;
  }
  100% {
    height: 3.5rem;
    opacity: 0.6;
  }
}

@keyframes brushReveal {
  0% {
    opacity: 0;
    transform: rotate(-15deg) scale(0.8);
  }
  100% {
    opacity: 0.2;
    transform: rotate(-15deg) scale(1);
  }
}

/*========================================================================
  2カラムタイトルボックス
========================================================================*/
.title-box {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: flex-end;
  margin-top: 0;
  margin-bottom: -8rem;
  position: relative;
  z-index: 1;
}

.title-box .image {
  margin-right: 5.9rem;
  width: calc(50% + 22rem);
}

.title-box .image img {
  width: 100%;
  object-fit: cover;
  height: 52rem;
  border-radius: 0 1.2rem 1.2rem 0;
}

/* サービス紹介のタイトルボックス調整 */
.services .title-box {
  flex-direction: row;
}

.services .title-box .image {
  margin-right: 0;
  margin-left: 5.9rem;
  order: 2;
}

.services .title-box .image img {
  border-radius: 1.2rem 0 0 1.2rem;
}

/*========================================================================
  3つの強み
========================================================================*/
.strengths {
  position: relative;
  background: var(--color-white);
}

.strengths-inner {
  max-width: 116rem;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 12rem;
}

.strengths-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.strength-item {
  width: calc(33.333% - 2rem);
  background: var(--color-background);
  border-radius: 0.8rem;
  padding: 3rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.strength-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.strength-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.strength-icon {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.strength-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-family: var(--font-bold);
}

.strength-text {
  font-size: 1.5rem;
  line-height: 1.8;
  text-align: center;
}

.strength-detail {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  padding-left: 2rem;
}

.strength-detail li {
  position: relative;
  margin-bottom: 0.5rem;
}

.strength-detail li:before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: -1.5rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--color-primary);
  border-radius: 50%;
}

/*========================================================================
  4つの事業紹介
========================================================================*/
.services {
  position: relative;
  background: var(--color-white);
}

.services-inner {
  max-width: 116rem;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 12rem;
}

.services-intro {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto 6rem;
  font-size: 1.6rem;
  line-height: 1.8;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-item {
  display: flex;
  background: var(--color-background);
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.service-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.service-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.service-content {
  flex: 1;
  padding: 4rem;
}

.service-image {
  width: 45%;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-item:hover .service-image img {
  transform: scale(1.05);
}

.service-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-family: var(--font-bold);
}

.service-text {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-link {
  text-align: right;
}

.service-link a {
  display: inline-block;
  position: relative;
  padding-right: 2rem;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-primary);
  font-family: var(--font-bold);
}

.service-link a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 0.2rem solid var(--color-primary);
  border-right: 0.2rem solid var(--color-primary);
  transform: translateY(-50%) rotate(45deg);
}

/*========================================================================
  施工事例セクション
========================================================================*/
.works {
  background: var(--color-background);
}

.works-inner {
  max-width: 116rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.works-intro {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto 6rem;
  font-size: 1.6rem;
  line-height: 1.8;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.work-item {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  background: var(--color-white);
  opacity: 0;
  transform: translateY(30px);
}

.work-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.work-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.work-image {
  height: 20rem;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.work-item:hover .work-image img {
  transform: scale(1.05);
}

.work-content {
  padding: 2rem;
}

.work-category {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.2rem;
  border-radius: 3rem;
  margin-bottom: 1rem;
}

.work-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-family: var(--font-bold);
}

.work-location {
  font-size: 1.3rem;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

.works-more {
  text-align: center;
  margin-top: 5rem;
}

.btn-more {
  display: inline-block;
  padding: 1.5rem 6rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 0.4rem;
  transition: all var(--transition-base);
  font-family: var(--font-bold);
}

.btn-more:hover {
  background: var(--color-secondary);
}

/*========================================================================
  レスポンシブ対応
========================================================================*/
@media screen and (max-width: 767px) {
  .paint-heading-vertical__title {
    font-size: 3rem;
    margin-top: 2.4rem;
  }

  .paint-heading-vertical__subtitle {
    font-size: 1.4rem;
  }

  .title-box {
    margin-bottom: -4rem;
  }

  .title-box .image {
    margin-right: 2.5rem;
  }

  .title-box .image img {
    height: 32rem;
  }
  /* レスポンシブ：強み */
  .strengths-inner {
    padding-top: 6rem;
  }

  .strengths-list {
    flex-direction: column;
  }

  .strength-item {
    width: 100%;
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
  }

  .strength-item:last-child {
    margin-bottom: 0;
  }

  .strength-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1.5rem;
  }

  .strength-icon svg {
    width: 3rem;
    height: 3rem;
  }

  .strength-title {
    font-size: 2rem;
  }

  /* レスポンシブ：サービス */
  .services-inner {
    padding-top: 6rem;
  }

  .services-intro {
    margin-bottom: 4rem;
    font-size: 1.5rem;
  }

  .service-item {
    flex-direction: column-reverse;
  }

  .service-content {
    padding: 2rem;
  }

  .service-image {
    width: 100%;
    height: 20rem;
  }

  .service-title {
    font-size: 2rem;
  }

  .service-text {
    font-size: 1.4rem;
  }

  /* レスポンシブ：施工事例 */
  .works-intro {
    margin-bottom: 4rem;
    font-size: 1.5rem;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .work-image {
    height: 15rem;
  }

  .work-content {
    padding: 1.5rem;
  }

  .work-title {
    font-size: 1.6rem;
  }

  .btn-more {
    padding: 1.2rem 4rem;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/*========================================================================
お知らせ
========================================================================*/
.news {
  background: var(--color-white);
}

.news-inner {
  max-width: 116rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.news-list {
  max-width: 80rem;
  margin: 0 auto;
}

.news-item {
  display: flex;
  padding: 2rem 0;
  border-bottom: 0.1rem solid #dddddd;
  transition: opacity var(--transition-base);
}

.news-item:first-child {
  border-top: 0.1rem solid #dddddd;
}

.news-item:hover {
  opacity: 0.65;
}

.news-date {
  width: 12rem;
  color: var(--color-gray);
  font-size: 1.5rem;
}

.news-category {
  width: 12rem;
}

.news-category span {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 3rem;
  background: var(--color-primary);
  color: var(--color-white);
}

.news-content {
  flex: 1;
}

.news-title {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: bold;
  transition: color var(--transition-base);
  font-family: var(--font-bold);
}

.news-more {
  text-align: center;
  margin-top: 5rem;
}

/* レスポンシブ：お知らせ */
@media screen and (max-width: 767px) {
  .news-item {
    flex-wrap: wrap;
    padding: 1.5rem 0;
  }

  .news-date {
    width: 10rem;
    font-size: 1.3rem;
  }

  .news-category {
    width: calc(100% - 10rem);
    text-align: right;
  }

  .news-content {
    width: 100%;
    margin-top: 1rem;
  }

  .news-title {
    font-size: 1.5rem;
  }

  .news-more {
    margin-top: 4rem;
  }
}

/*========================================================================
お問い合わせCTA
========================================================================*/
.contact-cta {
  background: url("../img/common/bg_cta.jpg") no-repeat center;
  background-size: cover;
  position: relative;
}

.contact-cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.contact-cta-inner {
  max-width: 116rem;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}

.contact-cta-title {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  font-family: var(--font-bold);
}

.contact-cta-subtitle {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 4rem;
}

.contact-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.cta-button {
  display: inline-block;
  padding: 2rem 5rem;
  min-width: 28rem;
  background: transparent;
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  border: 0.2rem solid var(--color-white);
  border-radius: 0.4rem;
  transition: all var(--transition-base);
  position: relative;
  font-family: var(--font-bold);
}

.cta-button:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.cta-button.primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.cta-button.primary:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;
}

.contact-phone {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  margin-right: 3rem;
}

.contact-phone svg {
  margin-right: 1rem;
  stroke: var(--color-white);
}

.contact-phone span {
  font-size: 2.4rem;
  font-weight: bold;
  margin-left: 1rem;
  font-family: var(--font-bold);
}

.contact-hours {
  font-size: 1.4rem;
  border-left: 0.1rem solid rgba(255, 255, 255, 0.5);
  padding-left: 3rem;
}

/* レスポンシブ：CTA */
@media screen and (max-width: 767px) {
  .contact-cta-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
  }

  .contact-cta-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }

  .contact-cta-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-button {
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    min-width: 25rem;
  }

  .contact-info {
    flex-direction: column;
    margin-top: 4rem;
  }

  .contact-phone {
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .contact-hours {
    border-left: none;
    padding-left: 0;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.5);
    padding-top: 2rem;
  }
}

/*========================================================================
  セクション見出し共通スタイル
========================================================================*/
.section-title {
  text-align: center;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--animation-duration) ease,
    transform var(--animation-duration) ease;
}

.section-title.is-active {
  opacity: 1;
  transform: translateY(0);
}

.section-title .en {
  display: block;
  color: var(--color-primary);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-family: var(--font-bold);
  position: relative;
  padding: 0 4rem;
}

.section-title .ja {
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-family: var(--font-bold);
  position: relative;
  display: inline-block;
  padding-bottom: 2rem;
}

.section-title .ja::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.6rem;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.section-title.is-active .ja::after {
  opacity: 1;
}

/* レスポンシブ */
@media screen and (max-width: 767px) {
  .section-title {
    margin-bottom: 4rem;
  }

  .section-title .en {
    font-size: 1.4rem;
  }

  .section-title .ja {
    font-size: 2.4rem;
    padding-bottom: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  /* タイトルボックスのレスポンシブ対応 */
  .title-box {
    flex-direction: column !important;
    margin-bottom: 4rem;
    position: relative;
  }

  .title-box .image {
    margin-right: 0 !important;
    margin-left: 0 !important;
    order: 1;
    width: 100%;
  }

  .title-box .image img {
    height: 25rem;
    border-radius: 0;
    margin-top: 2rem;
    width: 100%;
    object-fit: cover;
  }
  .services .title-box .image img {
    border-radius: 0;
  }

  /* 縦書きタイトルを横書きに変更 */
  .paint-heading-vertical {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
  }

  .paint-heading-vertical__title {
    writing-mode: initial;
    text-orientation: initial;
    font-size: 2.4rem;
    line-height: 1.4;
    margin-top: 0;
    position: relative;
  }

  .paint-heading-vertical__subtitle {
    writing-mode: initial;
    text-orientation: initial;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
  }

  /* スタイリッシュなペイントデザイン */
  .paint-drips {
    position: absolute;
    top: 0;
    left: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .paint-drip {
    width: 0.4rem;
    height: 0;
    background: var(--color-primary);
    border-radius: 0.2rem;
    opacity: 0;
  }

  .paint-heading-vertical.is-active .paint-drip {
    animation: paintDripMobile 1s ease forwards;
  }

  .paint-drip:nth-child(2) {
    animation-delay: 0.2s;
  }

  .paint-drip:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes paintDripMobile {
    0% {
      height: 0;
      opacity: 0;
    }
    50% {
      height: 2rem;
      opacity: 0.5;
    }
    100% {
      height: 1.5rem;
      opacity: 0.3;
    }
  }

  .brush-stroke {
    position: absolute;
    top: -2rem;
    right: 8rem;
    width: 4rem;
    height: 8rem;
    opacity: 0.2;
    transform: rotate(-15deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'%3E%3Cpath d='M20,10 Q40,100 20,190' stroke='%234A3D72' stroke-width='40' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
      no-repeat center/contain;
    z-index: -1;
  }

  @keyframes paintDrip {
    0% {
      height: 0;
      opacity: 0;
    }
    50% {
      height: 2rem;
      opacity: 0.3;
    }
    100% {
      height: 1.5rem;
      opacity: 0.2;
    }
  }
}
