/*アドレス斜体打消し*/
.tdc-address {
  font-style: normal;
}

/*topページのフッター上余白*/
.l-content {
  margin-bottom: 0 !important;
}
/*topページのフッター上余白フッター直前にコンテンツがある場合*/
.w-beforeFooter {
  margin-top: 0 !important;
}

/*サービス下ボタンCSS*/
.paint-background {
  background: linear-gradient(135deg, #fff 60%, #eee 100%);
  background-blend-mode: multiply;
  padding: 2rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.custom-button-area {
  padding-top: 1rem;

}

.custom-button {
  display: block;
  /* 親要素の幅いっぱいに広げる */
  width: 100%;
  /* 親要素の幅いっぱいに広げる */
  padding: 15px 20px;
  background-color: #4169e1;
  /* 黒背景 */
  color: #fff;
  /* 白文字 */
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  overflow: hidden;
  /* ホバーアニメーションではみ出る部分を隠す */
  position: relative;
  z-index: 1;
  /* ホバー要素より前面に */
  transition: color 0.4s ease-in-out;
  /* 文字色の変化を滑らかに */
}

.custom-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #333, rgb(106, 141, 175));
  /* グラデーションの背景 */
  transform: translateX(-100%);
  /* 左に隠しておく */
  transition: transform 0.4s ease-in-out;
  /* 変形を滑らかに */
  z-index: -1;
  /* ボタンの下に配置 */
}

.custom-button:hover {
  color: #fff;
  /* ホバー時の文字色（変化なしでも良いが見やすさのため記載） */
}

.custom-button:hover::before {
  transform: translateX(0);
  /* 左からスライドして表示 */
}

#introduction .cap_box_ttl {
  padding: 1.5rem;
}

.line-box {
  position: relative;
}

.profile-box-img {
  position: relative;
  z-index: 3;
}

.profile-box1,
.profile-box2,
.profile-box3,
.profile-box4,
.profile-box5,
.profile-box6,
.profile-box7 {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
  transition: box-shadow 0.4s, transform 0.5s;
}

/*アーカイブサブタイトル消し*/
.c-pageTitle__subTitle {
  display: none;
}

/*セクションアニメーション*/
/* フェードイン：シンプルに */
.info-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* フリップ：上からペロン */
.info-flip {
  opacity: 0;
  transform: perspective(800px) rotateX(-90deg);
  transform-origin: top center;
  transition: opacity 0.6s ease, transform 0.6s ease;
  backface-visibility: hidden;
}

.info-flip.in-view {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg);
}