/*アドレス斜体打消し*/
.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-red {
  background-color: #ff4500;
}

.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-red::before {
  background: linear-gradient(45deg, #333, rgb(255, 105, 180));

}

.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);
}

/*ボタンの↓貼り付け*/
.button-arrangement {
  position: relative;
}

.button-arrangement .swell-block-button {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*お届けまでの△マーク位置調整*/
.square-mark-box {
  position: relative;
}

.square-mark {
  position: absolute;
  top: 100px;
  right: -25px;
}

@media screen and (max-width: 599px) {
  .square-mark {
    display: none;
  }
}

/*カラムblockのborder打消し*/
.is-style-clmn-border>.swell-block-columns__inner>.swell-block-column.no-border {
  border: none;
}

.service-photo img {
  border-radius: 50%;
}

/* リッチカラムの装飾（対象カラムに .has-deco を付けて使う） */
.has-deco {
  position: relative;
  overflow: hidden
}

.has-deco::before {
  content: "";
  position: absolute;
  top: -40px;
  /* 調整：扇がどれだけはみ出すか */
  right: -40px;
  width: 100px;
  height: 100px;

  /* 扇形にするクリップ */
  clip-path: circle(100% at 100% 0);
  /* → 右上を中心に円を切り出す
     ＝ 扇形になる
  */

  z-index: -1;
  /* 背面にまわす。必要なら数値調整 */
}

/* --- 色バリエーション --- */

/* 水色 */
.deco-blue::before {
  background: #2ca6d9;
}

/* 赤系 */
.deco-red::before {
  background: #e4585d;
}

/* 緑系 */
.deco-green::before {
  background: #44b37f;
}

/* 黄系 */
.deco-yellow::before {
  background: #f4c542;
}

.btn-first {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  padding: 8px 24px;
  /* ボタンの大きさ調整 */
  border-radius: 9999px;
  /* カプセル形 */
  text-align: center;
  font-weight: 600;
}

.btn-first-blue {
  background-color: #e3f0ff;
  /* 薄い水色 */
  color: #1e6fff;
  /* 文字の青色 */
}

.btn-first-black {
  background-color: #F2F3F4;
  /* 薄い灰色 */
  color: #3B3F45;
  /* 文字の黒 */
}

.btn-first-orange {
  background-color: #FFEFD6;
  /* 薄い赤 */
  color: #F06A00;
  /* 文字のオレンジ */
}

.font-orange.has-swl-deep-04-color {
  color: #F06A00 !important;
}

.is-style-clmn-border>.swell-block-columns__inner>.swell-block-column.border-orange {
  border: 4px solid #F06A00;
}

/*アクセス部分*/
.access-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  color: #333;
}

.access-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

/* 左側のボタン */
.access-line-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  padding: 8px 8px;
  border-radius: 8px;
  border: 1px solid #27b8a3;
  background: #f5fffd;
  color: #27b8a3;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  box-sizing: border-box;
  font-size: 15px;
}

.access-text {
  font-weight: 500;
}

/* 「徒歩10分」を強調 */
.access-walk {
  font-weight: 700;
  color: #27b8a3;
}

.white-plate {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
}

@media (max-width: 599px) {
  :root {
    --swl-pad_container: 8px;
    /* ← 好きな値に調整（デフォルト16px） */
  }
}

.contact-plate {
  border-radius: 8px;
  border: 1px solid #ff0000;
  background-color: #fff;

}

.info-plate .p-postList.-type-card,
.p-postList.-type-thumb {
  gap: 0;

}

/*プロフィール*/
.profile-box {
  position: relative;
  border-radius: 20px;
  background-color: #f5fffa;
  overflow: hidden;
}

.profile-box .wp-block-media-text__content {
  padding: 2rem;
}


.profile-txt {
  position: absolute;
  top: 10px;
  left: 10px;
}

.profile-txt p:nth-of-type(2) {
  margin-top: -15px !important;
}



/*fvグラスプレート*/
.glass-box {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 32px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  /* ほんのり影 */
}

@media screen and (max-width: 599px) {
  .glass-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  /*ブログパーツSP時位置調整*/
  .p-mainVisual__textLayer {
    top: 70px;
  }


}

.fv-button.is-style-btn_line a {
  border: 2px solid;
}

.fv-button {
  --the-padding: calc(.75em - 2px) 1.5em;
}

.fv-one-point img {
  vertical-align: -5px;
  /* 数値は微調整 */
}

/*fvスクロール*/
.scroll-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /* 左右センタリング */
  top: -100px;
  /* 好きな位置に調整 */
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  animation: float 2.0s ease-in-out infinite;
  /* ふわふわ */
}

@media screen and (max-width: 599px) {
  .scroll-indicator {
    top: -60px;
  }
}

.scroll-text {
  display: block;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #0f766e;
  margin-bottom: 6px;
  font-weight: 600;
}

.scroll-line {
  display: block;
  width: 2px;
  height: 40px;
  margin: 0 auto;
  background-color: #0f766e;
  animation: scrollAnim 1.4s ease-in-out infinite;
  /* 縦棒の伸び縮み */
}

@media screen and (max-width: 599px) {
  .scroll-line {
    height: 20px;
  }
}

/* 縦棒の伸び縮み */
@keyframes scrollAnim {
  0% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }
}

/* 全体ふわふわ上下 */
@keyframes float {
  0% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -12px);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

.post_content hr.section-line {
  border-bottom: 4px solid #0f766e !important;
  max-width: 50px !important;
}

.concept-photo {
  position: relative;
  overflow: visible;
}

.concept-photo img {
  border-radius: 20px;
}

.concept-box {
  position: relative;
  z-index: 1;
  /* 必須 */
}

.concept-box::before {
  content: "";
  position: absolute;
  top: 12px;
  /* ← 好きなズレ量に調整してOK */
  right: 12px;
  /* ← 右下にズラしたいので + 値 */
  width: 100%;
  height: 100%;
  border: 2px solid #b4f0e7;
  /* 薄い水色ライン */
  border-radius: 20px;
  /* 画像と同じ角丸に揃える */
  z-index: -1;
  /* 背面へ */
  box-sizing: border-box;
  transition: all 0.35s ease-out;
  /* ← ふわっと動く */
}
/* ホバー時の動き（少し浮く感じ） */
.concept-box:hover::before {
  top: 6px;   /* 上方向へ少し戻す */
  right: 6px;  /* 左方向へ少し戻す */
  opacity: 1;
}

.concept-photo .wp-block-cover__inner-container {
  position: absolute;
  width: 130px;
  bottom: -40px;
  right: -25px;
  border-radius: 50%;
  background-color: #fff;
  display: inline-block;
  /* transformを効かせるため */
  animation: slow-rotate 20s linear infinite;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}

@media screen and (max-width: 599px) {
  .concept-photo .wp-block-cover__inner-container {
    right: 0;
  }
}

/* 1119px以下のときだけ画像を差し替える */
@media (max-width: 1119px) {
  .concept-photo {
    background-image: url('http://renewal.kobe-walking.com/wp-content/uploads/2025/12/concept-photo-sp.webp'); /* ←SP用画像 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
  }

  /* 元のカバー画像 <img> は見た目だけ消す */
  .concept-photo > img.wp-block-cover__image-background {
    opacity: 0;
    pointer-events: none;
  }
}



@keyframes slow-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*spフォント調整*/
@media screen and (max-width: 599px) {
  .font20 {
    font-size: 20px !important;
  }

  .font22 {
    font-size: 22px !important;
  }

  .font17 {
    font-size: 17px !important;
  }

  .font12 {
    font-size: 12px !important;
    --the-fz: 12px;
  }

  .font9 {
    font-size: 9px !important;
  }
}

/*足跡*/
#trail-container {
  position: fixed;
  inset: 0;
  /* top/right/bottom/left: 0; と同じ */
  pointer-events: none;
  /* 足跡がクリック邪魔しないように */
  z-index: 9999;
  /* 最前面に出す（必要なら微調整） */
}

.trail {
  position: absolute;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* 軌跡用のフェードアウト */
.fadeout {
  animation: fadeout 1s ease-in-out forwards;
}

@keyframes fadeout {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* バースト（パーン！）演出用 */
.burst {
  animation: burstAnim 0.6s ease-out forwards;
}

@keyframes burstAnim {
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.5);
  }
}