@charset "utf-8";

/*
Theme Name: MJE整骨院
Author: hironori hashimoto
Author URI: https://seikotsuin.mje-create.com/
Description: MJE整骨院のオリジナルテンプレート
*/

html {
  font-size: 55%;
  scroll-behavior: smooth;
}

@media screen and (min-width: 960px) {
  html {
    font-size: 62.5%;
  }
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 1.6rem;
  text-rendering: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  line-height: 2.1254;
  letter-spacing: 0.22rem;
  color: #222;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
  animation: fadeIn;
  animation-duration: 0.6s;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
img {
  max-width: 100%;
  height: auto;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}
main {
  flex: 1;
  overflow-x: hidden;
  position: relative;
}
main::before {
  -webkit-transition: 0.5s;
  background-color: #fffdf6;
  bottom: 0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  transition: 0.5s;
  width: calc((100% / 12) * 3);
  z-index: -1;
}
ul {
  list-style-type: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  display: block;
  position: relative;
}

h2,
h3,
h4,
h5 {
  line-height: 1.5;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

.ps-br {
  display: none;
}

.sp-br {
  display: block;
}

@media screen and (min-width: 560px) {
  .ps-br {
    display: block;
  }

  .sp-br {
    display: none;
  }
}
@keyframes my-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade {
  opacity: 0;
  transition: opacity 1.4s, transform 0.8s;
}

.fade.scrollin {
  opacity: 1;
}

.fadein {
  opacity: 0;
  transform: translate(0, 40px);
  transition: opacity 1.4s, transform 0.8s;
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

.fadein-right {
  opacity: 0;
  -webkit-transform: translateX(80px);
  -ms-transform: translateX(80px);
  transform: translateX(80px);
}

.fadein-right.scrollin {
  opacity: 1;
  -webkit-transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    -webkit-transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    -webkit-transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    transform 1s cubic-bezier(0.23, 1, 0.32, 1),
    -webkit-transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}
@keyframes top-fade {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
  }
}
/*********************************
ヘッダー
*********************************/
#head_wrap {
  position: fixed;
  top: 0px;
  z-index: 5;
  width: 100%;
  transition: .2s;
}
.fixed{
  transition: .2s;
  background: rgba(255,255,255,0.25);
    backdrop-filter: saturate(180%) blur(20px);
}
.l-header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  padding: 10px 0px 10px 0px;
  color:#fff;
}
@media only screen and (min-width: 560px) {
  .l-header {
    padding: 0px 0px 0px 15px;
  }
}
.l-header::after{
  content:'';
  max-width: 100%;
  width:100%;
  background-color: rgba(255,255,255,0.4);
  height:1px;
  position: absolute;
  bottom:0px;
  left:0px;
}
.l-header__logo {
  flex: 0 0 60%;
  max-width: 60%;
  padding-top: 6px;
  padding-left: 16px;
}
.l-header__logo img{
  transition:.3s;
}
.l-header__logo img:first-child,
.fixed .l-header__logo img:nth-child(2){
  display: none;
}
.fixed .l-header__logo img:first-child{
  display: block;
}
@media only screen and (min-width: 560px) {
  .l-header__logo {
    flex: 0 0 23%;
    max-width: 23%;
    padding-left: 0px;
  }
}
@media only screen and (min-width: 960px) {
  .l-header__logo {
    flex: 0 0 16%;
    max-width: 16%;
  }
}

@media only screen and (min-width: 560px) {
  .l-header__list {
    display: flex;
    align-items: center;
    gap:20px;
  }

  .l-header__logo a:hover {
    opacity: 0.6;
  }
}
@media only screen and (max-width: 559px) {
  .l-header__list {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* align-items: center; */
    height: 90%;
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
    width: 100%;
  }
}
.l-header__link {
  padding: 15px 10px;
  font-weight: 500;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
}
@media only screen and (min-width: 560px) {
  .fixed .l-header__link {
    color:#333;
  }
  .l-header__link {
    position: relative;
    font-size: 1.5rem;
    padding: 30px 10px;
  }
  .l-header__link:hover {
    color: #F0D14F;
  }
  .l-header__link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    width: 100%;
    height: 4px;
    background-color: #F0D14F;
    transform: scale(0, 1);
    transform-origin: center;
    transition: transform 0.2s;
  }

  .l-header__link:hover::before {
    transform: scale(1);
  }
}
.l-conversion__button {
  background: rgb(222, 0, 41);
  background: radial-gradient(
    circle,
    rgba(222, 0, 41, 1) 0%,
    rgba(249, 221, 0, 1) 100%
  );
  animation: bggradient 20s ease infinite;
  padding: 2px;
  border-radius: 8px;
  transition: 0.3s;
}
.l-conversion__button a {
  padding: 8px 14px;
  background: #fff;
  font-size: 1.5rem;
  text-align: center;
  border-radius: 8px;
  color: #de0029;
}
@keyframes bggradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@media only screen and (min-width: 560px) {
  .l-conversion__button a {
    font-size: 1.3rem;
  }
}

.l-conversion__button a:hover {
  background: rgb(222, 0, 41);
  background: radial-gradient(
    circle,
    rgba(222, 0, 41, 1) 0%,
    rgba(249, 221, 0, 1) 100%
  );
  color: #fff;
}

.l-conversion__button a i {
  font-size: 3.2rem;
  text-align: center;
}
.menu{
	display:none;
}
@media screen and (max-width: 559px) {
  /* ハンバーガーボタンの装飾 */
  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    z-index: 9999;
    cursor: pointer;
  }
  
  .menu .bar {
    width: 28px;
    height: 3px; /* 少し太くして見やすく */
    background: #fff; /* 初期状態は白 */
    border-radius: 5px;
    transition: 0.3s ease;
  }
  
  .menu .bar1 { margin-bottom: 6px; }
  .menu .bar3 { margin-top: 6px; }
  
  .menu-text {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 4px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s ease;
  }

  /* ヘッダー固定時（スクロール後）の色変更 */
  .fixed .menu .bar { background: var(--c-main); }
  .fixed .menu-text { color: var(--c-main); }

  /* ×ボタンになった時の動き */
  .menu.toggle .bar1 {
    transform: translateY(9px) rotate(45deg);
    background: var(--c-main); /* 開いた時はオレンジ */
  }
  .menu.toggle .bar2 { opacity: 0; }
  .menu.toggle .bar3 {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--c-main);
  }
  .menu.toggle .menu-text { display: none; /* 開いた時はMENU文字を消す */ }

  /* ナビゲーションメニュー本体（すりガラス風） */
  .l-header__navigation {
    position: fixed;
    top: 0; /* -100vhから変更してフェードインさせるのが今風 */
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95); /* 清潔感のある白半透明 */
    backdrop-filter: blur(10px); /* すりガラス効果 */
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9998; /* ボタンより下 */
  }

  /* クラス付与で表示 */
  .menu.toggle + .l-header__navigation,
  .l-header__navigation.panelactive {
    opacity: 1;
    visibility: visible;
  }

  /* リストのデザイン */
  .l-header__list {
    width: 80%;
    max-width: 400px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .l-header__nav {
    width: 100%;
    border-bottom: 1px dashed var(--c-bg-orange); /* オシャレな区切り線 */
  }

  .l-header__nav:last-child {
    border-bottom: none;
  }

  .l-header__link {
    display: flex;
    align-items: center;
    padding: 1.5rem 1rem;
    color: var(--c-text) !important; /* 文字は濃い茶色や黒 */
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
  }

  /* アイコンの装飾 */
  .l-header__link i {
    color: var(--c-main); /* アイコンはオレンジ */
    font-size: 2rem;
    width: 35px; /* アイコンの幅を揃えて文字を縦に並べる */
    text-align: center;
    margin-right: 1.5rem;
  }

}
/*********************************
スライダー
*********************************/
.swiper-wrap {
  margin: 0 calc(50% - 50vw);
  max-width: 100vw;
  position: relative;
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -1;
  height: 100%;
}
.swiper-wrapper {
  transition-timing-function: linear;
}

.infinite-slider .swiper-wrapper {
    transition-timing-function: linear !important; /* 等速を強制 */
}

.infinite-slider .swiper-slide {
  width: auto !important;
}
.infinite-slider .swiper-slide img {
  width: auto;
  height: 100%;
  vertical-align: bottom;
}

@keyframes zoom-in {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}
.slide-img{
  position: relative;
}
/* スライダー画像を暖色系に寄せる設定 */
.slide-img::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  /* オレンジ系のグラデーションを被せて暖かみと視認性を両立 */
  background: linear-gradient(135deg, rgba(237, 122, 21, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
}
.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img {
  animation: zoom-in 10s linear 0s 1 normal both;
}

.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 3vw;
  font-family: serif;
  font-weight: bold;
  text-shadow: 2px 2px 8px #000;
  color: #fff;
  transform: translate(-50%, -50%);
}

.slide-img img {
  object-fit: cover;
  height: 80vh;
  width: 100vw;
}
@media only screen and (min-width: 560px) {
	.slide-img img {
		height: 100vh;
	}
}
/*********************************
タイトル
*********************************/
.p-common__headline{
  font-size:2.4rem;
  margin-bottom: 4rem;
  position: relative;
  text-align: center;
  color:#F0D14F;
}
.p-common__headline::after{
  content:'';
  background-color: #F0D14F;
  width:40px;
  height:2px;
  text-align: center;
  margin:0 auto;
  position: absolute;
  left:0px;
  right:0px;
  bottom:-20px;
}
.p-common__lead{
  margin-bottom: 3rem;
  font-size: 2rem;
  line-height: 1.8;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}
.p-description__body{
  color:#dfaf7b;
  text-align: center;
  font-size:2rem;
  margin:1rem 0px 2rem;
}
.p-common__lower-headline{
  position: relative;
  font-size:3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  color: #dfaf7b;
}
.p-common__lower-headline::after{
  content:'';
  width:40px;
  position: absolute;
  left:0px;
  right:0px;
  text-align: center;
  margin:0 auto;
  height:2px;
  background-color: #dfaf7b;
  bottom:0px;
}
/*********************************
パーツ
*********************************/
.p-common__inner {
  margin-bottom: 4rem;
}
@media only screen and (min-width: 560px) {
  .p-common__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0px;
  }
.u-center{
  align-items: center;
}
  .u-reverse {
    flex-direction: row-reverse;
    align-items: center;
  }
}
.wrap {
  max-width: 1316px;
  margin: 0 auto;
  padding: 0 16px;
}
.wrapper{
  max-width: 832px;
  margin: 0 auto;
  padding: 0 16px;
}
@keyframes gradientEffect {
  from {
    background-position: left;
  }
  to {
    background-position: right;
  }
}
.c-common__link {
  position: relative;
  margin-top: 20px;
  border: 2px solid #000;
  background: #fff;
  transition: 0.3s;
  height: 60px;
  line-height: 60px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.c-common__link i {
  font-size: 16px;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  right: 0px;
}
.c-common__link:hover {
  background-color: #d86f7c;
  color: #fff;
}
/*********************************
メインビジュアル
*********************************/
.p-top__hero {
  position: relative;
  display: flex;
  overflow: hidden;
  height: 80vh;
}
@media only screen and (min-width: 560px) {
	.p-top__hero {
		height: 100vh;
	}
}
.slideshow {
  display: flex;
  animation: loop-slide 20s infinite linear 1s both;
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.content {
  width: 100vw;
  /* height: 100vh; */
  animation-name: my-fade-in;
  animation-duration: 1.2s;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}
@media only screen and (min-width: 560px) {
  .content {
    width: 50vw;
  }
}
.p-top__block {
  position: absolute;
  left: 20px;
  top: 30%;
  animation-name: top-fade;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
  animation-delay: 1.5s;
  color: #fff;
  line-height: 1.3;
}
@media only screen and (min-width: 560px) {
  .p-top__block {
    left: 20%;
	   top: 50%;
  }
}
.p-top__headline {
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
}
@media only screen and (min-width: 560px) {
  .p-top__headline {
    font-size: 40px;
  }
}
.p-top__block p {
font-size:1.685rem;
	padding-right:20px;
	line-height:2;
}
.smooth {
  transition: 1.4s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
  animation: catch 1.4s forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

@media only screen and (min-width: 560px) {
  .smooth {
    animation-delay: 1s;
  }
}

@keyframes catch {
  0% {
    transition-property: clip-path;
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0);
    opacity: 1;
  }
}

@media only screen and (min-width: 560px) {
  .p-top__body {
    font-size: 2rem;
  }
}
.p-items__headline {
  border-bottom: 1px solid #000;
  display: inline-block;
  font-size: calc(2.225rem + 3.1125vw);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  letter-spacing: 0px;
  margin-bottom: 4rem;
}
/*********************************
メッセージ
*********************************/
section {
  padding: 0rem 0px 6rem;
}
@media only screen and (min-width: 560px) {
  section {
    padding: 0rem 0px 10rem;
  }
}
#message {
  position: relative;
}
.p-message__body {
  margin-top: 2rem;
}
.material-icons {
  display: inline-flex;
  vertical-align: middle;
}
/*********************************
プロフィール
*********************************/
.p-about__image {
  position: relative;
}
.p-about__block {
  padding:0px 20px;
  margin:4rem 0px 0rem;
}
@media only screen and (min-width: 560px) {
  .p-about__image {
    flex: 0 0 50%;
    max-width: 45%;
  }
  .p-about__block {
    flex: 0 0 50%;
    max-width: 490px;
    margin: 0 auto;
    padding:0px;
  }
}
@media only screen and (min-width: 560px) {
  .p-common__list{
    display: flex;
    justify-content: space-between;
  }
.col-3{
  width: calc(100% / 3);
}
}
.p-about__body {
  margin-top: 2rem;
  font-size: 1.6rem;
}
.p-about__list{
  background-color: #fffdf6;
  padding: 20px;
  display: inline-block;
  text-align: left;
  max-width: 530px;
  width: 100%;
  margin-bottom: 4rem;
  font-weight: bold;
  border-radius: 16px
}
.p-about__list i{
  color:#F0D14F;
  margin-right: 5px;
  font-weight: bold;
}
.p-about__name{
  font-weight: bold;
  margin-top:3rem;
  margin-bottom: 2rem;
  font-size:1.8rem;
}
.p-about__headline {
  color: #dfaf7b;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.marquee-anim{
  position: relative;
  z-index: -1;
  width: 100%;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  font-family: 'Poppins', sans-serif;
}
.marquee-inline{
  animation: animate-banner 20s linear infinite;
  color: #f7f4ed;
  font-size: 18rem;
  font-weight: bold;
  white-space: nowrap;
  display: inline-block;
  padding: 0px 0px;
  line-height: 1;
}
@keyframes animate-banner {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/*********************************
強み
*********************************/
.about{
  background-color:#f9f8f4;
  padding:80px 0px;
  position: relative;
  text-align: center;
}
.about::before{
  content:'';
  position: absolute;
  left:0px;
  height: 100px;
  top: -30px;
  background-color:#f9f8f4;
  width:100%;
}
.p-about__lead{
  font-size:2rem;
  font-weight: bold;
  margin-bottom: 20px;
}
/*********************************
事業内容
*********************************/
@media screen and (min-width: 960px) {
  #slider {
    padding: 0 10rem;
  }
}
.slick-slider {
  margin: 10rem 0 0;
}
.slick-slide .place-badge img {
  border-radius: 8px 0 0 0;
}
#thumbnail-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media screen and (min-width: 960px) {
  #thumbnail-list {
    padding: 0 10rem;
  }
}
.thumbnail-item {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 20%;
  flex: 0 0 20%;
  max-width: 20%;
}
@media screen and (min-width: 960px) {
  .thumbnail-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    max-width: 10%;
  }
}
.thumbnail-item:after {
  content: "";
  background-color: rgba(255, 255, 255, 0.6);
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: 0.3s opacity linear;
}
.thumbnail-item.thumbnail-current:after {
  opacity: 0;
}
.thumbnail-item img {
  width: 100%;
  margin: 0 auto;
  vertical-align: top;
}
.scrolldown2{
  /*描画位置※位置は適宜調整してください*/
position:absolute;
bottom:50px;
left:50%;
}

/*Scrollテキストの描写*/
.scrolldown2 span{
  /*描画位置*/
position: absolute;
left:10px;
bottom:20px;
  /*テキストの形状*/
color: #fff;
font-size: 0.7rem;
letter-spacing: 0.05em;
/*縦書き設定*/
-ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown2:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom:0;
  left:-4px;
  /*丸の形状*/
width:10px;
height:10px;
border-radius: 50%;
background:#eee;
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
animation:
  circlemove 1.6s ease-in-out infinite,
  cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
    0%{bottom:45px;}
   100%{bottom:-5px;}
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
    0%{opacity:0}
   50%{opacity:1;}
  80%{opacity:0.9;}
100%{opacity:0;}
}

/* 線の描写 */
.scrolldown2:after{
content:"";
  /*描画位置*/
position: absolute;
bottom:0;
left:0;
  /*線の形状*/
width:2px;
height: 50px;
background:#eee;
}
.p-top__icons{
  position: absolute;
  text-align: center;
  right:16px;
  bottom:20px;
}
@media screen and (min-width: 560px) {
  .p-top__icons{
    right:30px;
  bottom:30px;
  }
}
.p-top__icons a{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #49b24f;
  width:108px;
  height:108px;
  border-radius: 50%;
  color:#fff;
  font-size:1.4rem;
}
@media screen and (min-width: 560px) {
  .p-top__icons a{
    width:127px;
  height:127px;
  font-size:1.5rem;
  }
}
.p-line__image{
  font-size: 4rem;
  line-height: 1;
}
.p-line__text{
  font-size:11px;
  font-weight: bold;
}
@media screen and (min-width: 560px) {
  .p-line__text{
    font-size:13px;
  }
}
.motion-txt {
  display: inline-block;
  position: relative;
  /* overflow: hidden; */
  padding: 10px 10px 10px 0px;
}

.motion-txt::after {
  content: "";
  position: absolute;
  opacity: 1;
  left: 100vw;
  top: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  transform: translate3d(-101%, 0, 0);
}

.js-scroll.show .motion-txt::after {
  transition-property: transform, opacity;
  transition-duration: 0.8s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transform: translate3d(0, 0, 0);
}

.js-scroll.done .motion-txt::after {
  transition-property: transform;
  transition-duration: 0.8s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transform: translate3d(103%, 0, 0);
}

.motion-txt .motion-inner {
  clip-path: inset(0 100% 0 0);
  transition: 1s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
  display: block;
}

.js-scroll.done .motion-txt .motion-inner {
  clip-path: inset(0);
}

.u-curriculum__inner {
  display: flex;
  justify-content: space-between;
}
/*********************************
施術内容
*********************************/
.plan-content{
  padding-top:10rem;
}
.col-2 {
  margin-bottom: 6rem;
}
@media only screen and (min-width: 560px) {
  .col-2 {
    flex: 0 0 48%;
    max-width: 48%;
  }
}
.p-plan__body{
  text-align: center;
  margin-bottom: 4rem;
}
/*********************************
会社概要
*********************************/
.p-access__block {
  margin-bottom: 20px;
}
.p-company__block {
	margin-bottom:40px;
}
@media only screen and (min-width: 560px) {
  .p-company__block {
    flex: 0 0 40%;
    margin-bottom: 0px;
  }

  .p-access__map {
    flex: 0 0 50%;
  }
}

.p-access__table {
  text-align: left;
  width: 100%;
}

.p-access__table tr {
  display: flex;
  margin-bottom: 14px;
  border-bottom: 1px solid hsl(0deg 0% 56%);
  padding-bottom: 14px;
}

.p-access__table tr th {
  flex: 0 0 25%;
  max-width: 25%;
}

.p-access__table tr td {
  flex: 0 0 70%;
  max-width: 70%;
}
.p-access__table a {
  color: #e4b0c4;
  font-weight: bold;
}
.p-access__table a i {
  vertical-align: bottom;
}
.p-company__body {
  margin: 0rem 0px 4rem;
}

.p-about__button {
  background-color: #e4b0c4;
  padding: 50px 15px;
  color: #fff;
  text-align: center;
  font-size: 2.4rem;
}
.p-about__button:hover {
  opacity: 0.7;
}
/*********************************
お知らせ
*********************************/
.u-news__bg{
  background-image: url("/wp-content/themes/seikotsu/images/news-bg.jpg");
}
.p-works__list{
  margin-bottom: 4rem;
}
@media only screen and (min-width: 560px) {
  .p-works__list{
    flex:0 0 31.25%;
    max-width: 31.25%;
    margin-bottom: 5rem;
  }
  .p-title__block {
    flex: 0 0 35%;
    max-width: 35%;
  }
}
@media only screen and (min-width: 560px) {
  .p-block__content {
    position: relative;
  }
}
.p-blog__inner{
  padding:0px;
}
.p-blog__inner .p-common__inner {
  position: relative;
  z-index: 1;
  margin-bottom: 4.5rem;
}
@media only screen and (min-width: 560px) {
  .blog-content .p-common__inner::after,
  .p-blog__inner .p-common__inner::after {
    content: "";
    flex: 0 0 31.25%;
    max-width: 31.25%;
    display: block;
  }
}
.p-blog__image img {
  object-fit: cover;
  height: 288px;
  border-radius: 12px;
  width: 100%;
}

@media only screen and (min-width: 560px) {
  .p-blog__image img {
    height: 247px;
  }
}

.p-blog__button {
  margin-top: 2.4rem;
}

.p-link__block {
  display: inline-block;
}
.p-blog__date {
  color: #999;
  font-size: 1.2rem;
}
.p-blog__link {
  display: block;
  border-bottom: 1px solid #eee;
  position: relative;
}
.blog-image img {
  object-fit: cover;
  height: 200px;
  width: 100%;
  border-radius: 14px;
}
@media only screen and (min-width: 960px) {
  .blog-image img {
    height: 260px;
  }
}
@media only screen and (min-width: 560px) {
  .p-blog__link::before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    bottom: 0;
    height: 2px;
    margin: 0px 0;
    left: 0;
    background-color: #F0D14F;
    transition: all 0.4s ease-in 0s;
  }
  .p-blog__link:hover::before {
    width: 100%;
  }
}
.p-news__body {
  font-size: 1.6rem;
  margin-bottom: 3rem;
}
.p-cms__area{
  margin-bottom: 3.5rem;
}
.p-blog__block {
  padding: 10px 0px 10px;
}
.works-content {
  padding: 4em 0px 8rem;
}
.works-content .wrap {
  max-width: 800px;
  margin: 0 auto 8rem;
}
.blog-common-ttl {
  font-size: 2.4rem;
  border-bottom: 4px solid #dfaf7b;
  margin-bottom: 2rem;
  color:#dfaf7b;
  padding-bottom: 1rem;
}
.blog-date {
  color: #999;
  font-size: 1.3rem;
  text-align: right;
  margin-bottom: 4rem;
}
.common-btn {
  background-color: #F0D14F;
  max-width: 500px;
  color: #fff;
  margin: 0 auto;
  height: 64px;
  line-height: 64px;
  border-radius: 4px;
  text-align: center;
  margin: 4rem auto 8rem;
}
.common-btn:hover {
  opacity: 0.8;
}
.p-justify__center{
  margin:0 auto;
  text-align: center;
}
/****************************************
パンくずリスト
*****************************************/
#breadcrumb {
  margin-left: auto;
  padding-left: 0;
  margin-right: auto;
  margin-bottom: 6rem;
}

#breadcrumb li {
  display: inline;
  list-style: none;
}

#breadcrumb li:after {
  content: ">";
  padding: 0 10px;
}

#breadcrumb li:last-child:after {
  content: "";
}

#breadcrumb li a {
  text-decoration: none;
  display: inline-block;
}

#breadcrumb li:first-child a:before {
  font-family: "Font Awesome 5 Free";
  content: "\f015";
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  font-size: 1.3rem;
  color: #333;
  padding-right: 5px;
}

#breadcrumb li a:hover {
  opacity: 0.5;
}
/*********************************
ブログ
*********************************/
.p-common__title {
  margin-bottom: 1rem;
  font-size: 2rem;
color:#dfaf7b;
}
.wp-pagenavi {
  margin-top:10rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wp-pagenavi span.current {
  border: 1px #BFBFBF solid;
  background: #F0D14F;
}
.pages {
  width: 100px !important;
}
.wp-pagenavi a,
.wp-pagenavi span {
  border-radius: 8px;
  background: #fff;
  border: 1px #BFBFBF dashed;
  padding: 10px 14px;
  margin: 0 5px !important;
  font-size:1.2rem;
  transition: all 0.3s;
  width: 40px;
  height: 40px;
  justify-content: center;
  display: flex;
  align-items: center;
}
/*********************************
お問い合わせ
*********************************/
.u-contact__bg{
  background-image: url("/wp-content/themes/seikotsu/images/u-contact__bg.jpg");
}


.caption {
  color: #999;
  margin-top: 2rem;
  display: block;
}

.contact-agreement__body {
  text-align: center;
  margin: 2rem 0;
}

.contact-agreement__body a {
  display: inline-block;
  text-decoration: underline;
}

@media screen and (min-width: 560px) {
  .contact-agreement__body a {
    margin-bottom: 4rem;
  }
}

.privacy-policy__wrap {
  max-width: 960px;
  margin: 0 auto 14rem;
}

.privacy-policy__block {
  margin-bottom: 4rem;
}

div.wpcf7-mail-sent-ok {
  border: 2px solid #ffffff !important;
  background: #fff;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid #ffffff !important;
  background: #fff;
}

.contact-headline {
  font-size: 2rem;
  margin-bottom: 4rem;
}

.wpcf7-mail-sent-ok {
  display: none !important;
}
.contact-conversion__btn {
  margin: 0 auto;
  max-width: 800px;
	text-align:center;
}
/*********************************
footer
*********************************/
.l-footer {
  background-color: #fcfaf5;
  border-top: 4px solid var(--c-main);
  margin-top: 0;
	padding-top: 60px;
}
.p-footer__main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media screen and (min-width: 960px) {
  .p-footer__main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* 院ロゴ：改行させない */
.u-footer-logo {
  font-family: "游明朝体", "Yu Mincho", serif;
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--c-main);
  white-space: nowrap; /* 強制的に1行にする */
  display: block;
  margin-bottom: 1.5rem;
}

.p-footer__address { font-size: 1.5rem; line-height: 1.8; margin-bottom: 2rem; }
.p-footer__tel-label { font-size: 1.3rem; font-weight: bold; color: #666; margin-bottom: 0.5rem; }
.p-footer__tel-number {
  font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: bold;
  color: var(--c-main); text-decoration: none; display: block;
}

/* 受付時間表の装飾 */
.p-footer__sub-title {
  font-size: 1.8rem; font-weight: bold; margin-bottom: 2rem;
  border-left: 4px solid var(--c-accent); padding-left: 1rem;
}
.p-footer__table {
  width: 100%; border-collapse: collapse; background: #fff; font-size: 1.3rem;
}
.p-footer__table th, .p-footer__table td {
  border: 1px solid #eee; padding: 10px 5px; text-align: center;
}
.p-footer__table thead th { background: var(--c-bg-orange); color: var(--c-main); }

/* サイトマップ */
.p-footer__nav-list li { margin-bottom: 1rem; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.p-footer__nav-list a { font-size: 1.4rem; transition: 0.3s; }
.p-footer__nav-list a:hover { color: var(--c-main); padding-left: 5px; }

/* マップの全幅化修正 */
.p-footer__map-full {
  width: 100%;
  line-height: 0;
}
.p-footer__map-full iframe {
  width: 100% !important;
  vertical-align: bottom;
}

/* コピーライト */
.p-footer__bottom { background: var(--c-main); padding: 1.5rem 0; }
.copyright { color: #fff; font-size: 1.2rem; text-align: center; margin: 0; }

/* ページトップ：楕円を正円に修正 */
.c-pagetop {
  right: 20px;
  bottom: 90px; /* 固定ナビに被らない位置 */
  z-index: 100;
}
.c-pagetop__button {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important; /* 完全な円にする */
  background-color: var(--c-main) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}
.c-pagetop__button i {
  font-size: 2.4rem;
  color: #fff;
  writing-mode: horizontal-tb; /* 縦書きを解除 */
}
.c-pagetop__button:hover { transform: translateY(-5px); opacity: 0.9; }

/* 固定ナビの微調整 */
.c-fixed-nav { border-top: 1px solid #ddd; }

.c-line__content{
  background-color: #45b345;
  padding:50px 0px 20px;
  color:#fff;
}
.p-strong__text{
  display: inline-block;
  background-color: #deba29;
  color: #fff;
  font-weight: bold;
  padding: 0px 16px;
  margin-bottom: 2.5rem;
}
.p-line__images{
  text-align: center;
}
@media screen and (min-width: 560px) {
.p-line__block{
  flex: 0 0 62%;
  max-width: 62%;
}
.p-line__images{
  flex: 0 0 20%;
  max-width: 20%;
}
}
.p-line__qr{
  max-width: 120px;
    margin: 0 auto;
}
.p-line__headline{
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}
.p-line__headline i{
  font-size: 2.4rem;
  margin-bottom: 2rem;
}
.p-line__headline span{
  color:#F0D14F;
}
.p-line__lead{
  font-weight: bold;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  margin-bottom: 1rem;
}
.p-line__id{
  font-weight: bold;
  text-align: center;
}
footer h2 {
  font-size: 4rem;
  margin: 0 auto 1.5rem;
}
footer p {
  font-size: 1.4rem;
}
.p-footer__tel a{
  font-size:2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: #deba29;
}
copyright {
  background-color: #deba29;
  color: #fff;
  text-align: center;
  display: block;
  font-size: 1.1rem;
  padding: 20px 10px;
  font-family: 'Poppins', sans-serif;
}

.p-footer__logo {
  margin: 0 auto 2rem;
}

.p-footer__block{
  max-width: 500px;
  margin:0 auto 4rem;
}
@media screen and (min-width: 560px) {
  .p-footer__block{
    flex:0 0 45%;
    margin:0 auto;
  }
}
@media screen and (min-width: 560px) {
.p-footer__map{
  flex:0 0 50%;
  max-width: 50%;
}
}
.btn__container {
  max-width: 220px;
  margin: 4rem auto;
}
.btn {
  min-width: 110px;
  background-color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  color: #c71e7e;
  display: flex;
  transition: all 0.2s ease-in-out;
  margin-right: 10px;
}
.btn i {
  color: #df3796;
  font-size: 20px;
  padding-right: 10px;
  transition: all 0.3s ease-in-out;
  padding-top: 5px;
}
.btn span {
  font-family: "Roboto", sans-serif;
  align-self: center;
  transform: translateX(0px);
  transition: all 0.1s ease-in-out;
  opacity: 1;
}
.c-pagetop {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10;
}

.c-pagetop__button {
  background-color: #F0D14F;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  width: 40px;
  height: 140px;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

@media only screen and (min-width: 560px) {
  .c-pagetop__button {
    width: 60px;
    height: 150px;
  }
}

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

.p-footer__link {
  text-align: center;
  font-size: 1.4rem;
  color: #999;
  margin-bottom: 30px;
}

.p-footer__link a:hover {
  color: #ed6d00;
}
.p-common__link{
  color: #fff;
  display: inline-block;
  border-radius: 40px;
  position: relative;
  background: #deba29;
  background: linear-gradient(270deg,#deba29,#deba29,rgba(222,186,41,.8),rgba(222,186,41,.35));
  background-position: 100% 50%;
  background-size: 300% 300%;
  transition: background .6s ease-out;
  padding: 18px 40px;
  line-height: 1;
  font-size: 1.5rem;
  font-weight: 700;
}
.p-common__link:hover{
  background-position: 0 50%;
}
.insta_btn2 {
  /*ボタンの下地*/
  color: #fff; /*文字・アイコン色*/
  border-radius: 7px; /*角丸に*/
  position: relative;
  display: inline-block;
  margin: 0 auto 10rem;
  height: 50px; /*高さ*/
  width: 190px; /*幅*/
  text-align: center; /*中身を中央寄せ*/
  font-size: 18px; /*文字のサイズ*/
  line-height: 50px; /*高さと合わせる*/
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat; /*グラデーション①*/
  overflow: hidden; /*はみ出た部分を隠す*/
  text-decoration: none; /*下線は消す*/
  display: flex;
  justify-content: center;
  align-items: center;
}

.insta_btn2:before {
  /*グラデーション②*/
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /*全体を覆う*/
  height: 100%; /*全体を覆う*/
  background: -webkit-linear-gradient(
      15deg,
      #ffdb2c,
      rgb(249, 118, 76) 25%,
      rgba(255, 77, 64, 0) 50%
    )
    no-repeat;
  background: linear-gradient(
      15deg,
      #ffdb2c,
      rgb(249, 118, 76) 25%,
      rgba(255, 77, 64, 0) 50%
    )
    no-repeat;
}

.insta_btn2 .fa-instagram {
  /*アイコン*/
  font-size: 35px; /*アイコンサイズ*/
  position: relative;
}

.insta_btn2 span {
  /*テキスト*/
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.insta_btn2:hover span {
  /*ホバーで一周回転*/
  -webkit-transform: rotateX(360deg);
  -ms-transform: rotateX(360deg);
  transform: rotateX(360deg);
}
.mwform-radio-field-text {
  vertical-align: sub;
}

/*画面遷移の後現れるコンテンツ設定*/
#container {
  position: relative;
}
/* fadeUpをするアイコンの動き */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*********************************
下層ページのパーツ
*********************************/
.p-common__hero{
  padding:12rem 0px;
  text-align: center;
  position: relative;
  color:#fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10rem;
  background-position: center;
}
@media only screen and (min-width: 560px) {
  .p-common__hero{
    padding:20rem 0px;
  }
}
.p-common__hero::after{
  content:'';
  z-index: 1;
  background-color: rgba(0,0,0,0.3);
  position: absolute;
  left:0px;
  top:0px;
  width:100%;
  height:100%;
}
.p-common__hero-headline{
  font-size: 4rem;
  z-index: 2;
  letter-spacing: 0.6rem;
}
/*********************************
当院について
*********************************/
.u-about__bg{
  background-image: url("/wp-content/themes/seikotsu/images/about-bg.jpg");
}
.p-about__intro{
  text-align: center;
  position: relative;
  padding:10rem 0px
}
.p-about__icons{
  z-index: 0;
}
.p-about__icons:first-child{
  position: absolute;
  top:0px;
  max-width: 220px;
  right:0px;
  opacity: 0.5;
}
.p-about__icons:nth-child(2){
  left:0px;
  position: absolute;
  bottom:130px;
  opacity: 0.5;
  max-width:170px;
}
.p-about__icons:nth-child(3){
  right:60px;
  position: absolute;
  bottom:0px;
  max-width: 160px;
  opacity: 0.5;
}
.p-about__icons:nth-child(4){
  left: 100px;
  background-color: #F0D14F;
  opacity: .2;
  position: absolute;
  top: 60px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
}
@media only screen and (max-width: 559px) {
  .p-about__icons:first-child,
  .p-about__icons:nth-child(2),
  .p-about__icons:nth-child(3),
  .p-about__icons:nth-child(4){
    opacity: 0.1;
  }
  .p-about__icons:first-child{
    max-width: 150px;
  }
  .p-about__icons:nth-child(2){
    max-width: 130px;
  }
  .p-about__icons:nth-child(3){
    max-width: 100px;
  }
  .p-about__icons:nth-child(4){
    left:0px;
    width:60px;
    height:60px;
  }
}
.p-about__description{
  text-align: center;
  font-size: 2.8rem;
  color: #dfaf7b;
  position: relative;
  margin-bottom: 3rem;
}

.p-about__body{
  margin-bottom: 1.5rem;
}
.p-staff__image{
  position: relative;
  padding-left: 30px;
  padding-top:30px;
  z-index: 2;
}
.p-staff__image::before{
  content:'';
  position: absolute;
  left:0px;
  top:0px;
  background-image:
		radial-gradient(rgba(240,209,79,0.3) 30%, rgba(0,0,0,0) 31%),
		radial-gradient(rgba(240,209,79,0.3) 30%, rgba(0,0,0,0) 31%);
	background-size: 16px 16px;
	background-position: 0 0, 8px 8px;
  max-width: 280px;
  width:100%;
  height:200px;
  z-index: -1;
}
@media only screen and (min-width: 560px) {
  .p-staff__image::before{
    max-width: 400px;
    width:100%;
    height:300px;
  }
}
@media only screen and (min-width: 560px) {
  .p-staff__block{
    flex:0 0 50%;
  max-width: 50%;
  }
.p-staff__image{
  flex:0 0 45%;
  max-width: 45%;
}
}
.p-staff__lead{
  font-size:2rem;
  margin-bottom: 2rem;
}
.incho-description{
  background-color: #fffcf1;
  padding:12rem 0px;
}
@media only screen and (min-width: 560px) {
.p-staff__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
}
.p-staff__incho-jp{
  font-weight: bold;
  font-size:1.8rem;
}
.p-staff__incho-name{
  font-size:4rem;
  font-family: 'Poppins', sans-serif;
  color: #dfaf7b;
    line-height: 1.1;
    margin: 15px 0px;
}
.p-staff__history{
  border-bottom:2px solid #f0d14f;
  padding-bottom:10px;
  margin-bottom: 10px;
  margin-top:6rem;
  font-size: 2rem;
}
.p-staff__body{
  margin-top: 2rem;
}
.p-staff__table{
  width: 100%;
  text-align: left;
  display: table-cell;
  border-collapse: collapse;
}
@media only screen and (min-width: 560px) {
.p-staff__table{
    display: block;
  }
}
.p-staff__table tr{
  display: flex;
  padding:1.5rem 0px;
  border-bottom: 1px solid #eee;
  font-size:1.5rem;
}
.p-staff__table tbody{
  display: block;
    width: 100%;
}
.p-staff__table tr th{
    width: 20%;
    display: inline;
    margin-bottom: 0px;
    font-family: 'Poppins', sans-serif;
    color: #dfaf7b;
    padding-left: 15px;
}
@media only screen and (min-width: 560px) {
  .p-staff__table tr th{
    width: 15%;
  }
}
.p-staff__table tr td{
  width: 70%;
}
.p-staff__profile{
  font-weight: bold;
  opacity: 0.4;
  font-family: 'Poppins', sans-serif;
}
.p-staff__image02{
  position: relative;
  padding-top:20px;
  padding-left: 20px;
}
.p-staff__image02::after{
  content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    background-image: radial-gradient(rgba(240,209,79,0.3) 30%, rgba(0,0,0,0) 31%), radial-gradient(rgba(240,209,79,0.3) 30%, rgba(0,0,0,0) 31%);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
    width: 280px;
    height: 200px;
    z-index: -1;
}
@media only screen and (min-width: 560px) {
  .p-staff__image02::after{
    width: 100%;
    max-width: 400px;
    height: 300px;
  }
}
@media only screen and (min-width: 560px) {
.p-staff__image02{
  flex:0 0 40%;
  max-width: 40%;
}
.p-staff__block02{
  flex:0 0 50%;
  max-width: 50%;
}
}
.staff{
  padding:10rem 0px;
}
.u-staff__inner{
  margin-top:4rem;
}
.p-staff__name{
  margin-top:2rem;
  font-size:2rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #dfaf7b;
}
.p-staff__name span{
  font-family: 'Poppins', sans-serif;
  font-size:3.2rem;
  opacity: 0.2;
  color:#F0D14F;
  display: block;line-height: 1;
}
/*********************************
施術メニュー
*********************************/
.u-menu__bg{
  background-image: url("/wp-content/themes/seikotsu/images/menu-bg.jpg");
}
.p-menu__image{
  margin-bottom: 3rem;
}
@media only screen and (min-width: 560px) {
.p-menu__image{
  flex:0 0 40%;
  max-width: 40%;
  margin-bottom: 0rem;
}
.p-menu__intro--block{
  flex:0 0 50%;
  max-width: 50%;
}
}
.p-common__caption{
  margin-top:2rem;
  font-size: 1.3rem;
  color:#999;
}
.p-menu__intro--body{
  margin-top: 1rem;
}
.p-price__content{
  margin-bottom: 6rem;
}
.p-price__inner{
  padding:10rem 0px;
  background-repeat: no-repeat;
  color:#fff;
  position: relative;
  background-position: center;
    background-size: cover;
}
@media only screen and (min-width: 560px) {
  .p-price__inner{
    padding:15rem 0px;
  }
}
.p-price__inner::after{
  content: '';
  background-color: rgb(120 113 85 / 85%);
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}
.u-shinkyu__bg{
  background-image: url("/wp-content/themes/seikotsu/images/u-shinkyu__bg.jpg");
}
.p-price__headline{
  color:#fff;
  font-size:3.2rem;
  text-align: center;
  z-index: 2;
  position: relative;
  letter-spacing: 0.5rem;
}
.p-price__headline::after{
  background: #fff;
  position: absolute;
  content: '';
  bottom: -11px;
  left: 50%;
  width: 45px;
  height: 2px;
  transform: translateX(-50%);
}
.p-price__image{
  position: relative;
  z-index: 2;
  top:-40px;
}
@media only screen and (min-width: 560px) {
  .p-price__image{
    top:-80px;
  }
}
.p-price__table{
  width: 100%;
    text-align: left;
    /* display: table-cell; */
    border-collapse: collapse;
}
.p-price__table tr{
  display: flex;
  text-align: center;
}
@media only screen and (min-width: 560px) {
  .p-price__table{
    display: block;
  }
}
.p-price__table tbody{
  display: block;
    width: 100%;
}
.p-price__table th,
.p-price__table td{
  padding:10px;
  width: 100%;
}
.p-price__table th{
  background:  #fffdf6;
}
.p-price__body{
  text-align: center;
  margin-bottom: 5rem;
}

/* =========================================================
   TOPページ新デザイン用 追加CSS（ここから）
========================================================= */
:root {
  --c-main: #ed7a15;       /* メインオレンジ */
  --c-accent: #F0D14F;     /* アクセントイエロー */
  --c-text: #333333;
  --c-bg-yellow: #FFFBF2;
  --c-bg-orange: #FFF0D9;
  --c-line: #06C755;
}
/* 共通ユーティリティ */
.l-section { padding: 6rem 0; }
@media screen and (min-width: 560px) { .l-section { padding: 10rem 0; } }
.l-inner { max-width: 1030px; margin: 0 auto; padding: 0 15px 40px; }
.bg-light-yellow { background-color: var(--c-bg-yellow); }
.bg-light-orange { background-color: var(--c-bg-orange); }
.c-text-orange { color: var(--c-main); font-weight: bold; }

/* タイトル */
.c-title {
  font-family: "游明朝体", "Yu Mincho", serif;
  font-size: 2.8rem;
  text-align: center;
  color: var(--c-main);
  margin-bottom: 4rem;
  position: relative;
  font-weight: bold;
}
.c-title::after {
content: ''; display: block; width: 50px; height: 3px;
  background-color: var(--c-accent); margin: 1.5rem auto 0; border-radius: 2px;
}
.c-title span { color: #d9534f; font-size: 1.1em; } /* 注意喚起の赤 */

.c-title--left { text-align: left; }
.c-title--left::after { margin: 1.5rem 0 0; }

/* ボタン */
.c-btn {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 1.5rem 3rem; border-radius: 50px; font-weight: bold; font-size: 1.6rem;
  transition: 0.3s;
}
.c-btn:hover { opacity: 0.8; transform: translateY(-2px); }
.c-btn--line { background-color: var(--c-line); color: #fff; }
.c-btn--contact { background-color: var(--c-main); color: #fff; }
.c-btn--outline { border: 2px solid var(--c-main); color: var(--c-main); background-color: #fff; }
.c-btn i { margin-right: 8px; font-size: 1.2em; }

/* ① ヒーローエリア */
.p-hero { position: relative; height: 80vh; min-height: 500px; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }

/* =========================================================
   修正：スマホ時のヘッダーとヒーローテキストの被り解消
========================================================= */
@media screen and (max-width: 560px) {
  .p-hero {
/* 従来の 100vh ではなく、LINE等の上下バーを除いた実質領域(svh)を使用 */
    height: 100svh !important;
    /* svhが効かない古い端末用の保険 */
    min-height: 650px !important; 
    
    /* 固定ヘッダーと下部固定ナビの分、内側に確実な余白を作る */
    padding-top: 80px !important;  
    padding-bottom: 90px !important; 
    
    box-sizing: border-box !important;
    justify-content: space-around !important; /* コンテンツを均等に散らす */
  }
  .p-hero__block {
    margin-top: 20px !important; 
  }
}
@media screen and (min-width: 560px) { .p-hero { height: 100vh; } }

.p-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.swiper-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.p-hero__block { position: relative; z-index: 2; margin-bottom: 3rem; }
.p-hero__sub {
  color: #F0D14F !important; /* 鮮やかな黄色 */
  font-weight: bold;
  background: rgba(0, 0, 0, 0.3); /* 文字の後ろに薄い座布団を敷く */
  display: inline-block; /* 💡これを追加（文字の幅に背景を合わせる） */
  padding: 2px 10px;
  margin-bottom: 15px;
  text-align: center;
}
.p-hero__content{
	text-align:center;
}
.p-hero__catch {
  font-family: "游明朝体", "Yu Mincho", serif !important;
  line-height: 1.3 !important; text-align: center; color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0 0 5px rgba(0,0,0,0.5) !important;
}
.p-hero__catch .u-small { font-size: 2.2rem; display: block; margin-bottom: 1rem; letter-spacing: 0.1em; }
.p-hero__catch .u-large { font-size: 4.6rem; font-weight: normal; color: var(--c-accent); display: block; }
@media screen and (max-width: 560px) {
  .p-hero__catch .u-small { font-size: 1.8rem; }
  .p-hero__catch .u-large { font-size: 3rem; }
}

.p-hero__desc {
  margin-top: 2rem; font-size: 1.6rem; font-weight: bold; color: #fff;
  background: rgba(237, 122, 21, 0.8); display: inline-block; padding: 5px 20px; border-radius: 5px;
margin-left: 15px;
    margin-right: 15px;
}
/* 安心バッジ */
.p-hero__badges { display: flex; justify-content: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.c-badge { background: #fff; color: var(--c-main); padding: 5px 12px; border-radius: 4px; font-size: 1.3rem; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

@media screen and (min-width: 560px) { .p-hero__catch { font-size: 4.8rem; } }
.p-hero__actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1.5rem;margin-bottom: 30px; }
@media screen and (min-width: 560px) { .p-hero__actions { flex-direction: row; gap: 2rem; margin-bottom: 0px;} }

/* ② お悩み */
#worries{
	padding:8rem 0px 2rem!important;
}
.p-worries__list { background-color: #fff; border: 2px solid var(--c-bg-orange); border-radius: 12px; padding: 3rem 2rem; max-width: 600px; margin: 0 auto 3rem; box-shadow: 0 4px 15px rgba(237, 122, 21, 0.05); }
.p-worries__list li { font-size: 1.8rem; font-weight: bold; margin-bottom: 1.5rem; display: flex; align-items: center; }
.p-worries__list li:last-child { margin-bottom: 0; }
.p-worries__list i { margin-right: 1.2rem; font-size: 2rem; }
.p-worries__lead { text-align: center; font-size: 2rem; font-weight: bold; color: var(--c-main); }

/* ③ 特徴 (Teaser) */
.p-features__list { display: flex; flex-direction: column; gap: 4rem; }
@media screen and (min-width: 560px) { .p-features__list { flex-direction: row; justify-content: space-between; gap: 2rem; } }
.p-features__item { flex: 1; text-align: center; }
.p-features__img img { border-radius: 50%; width: 200px; height: 200px; object-fit: cover; border: 5px solid var(--c-bg-orange); margin-bottom: 2rem; }
.p-features__headline { font-size: 2rem; color: var(--c-main); margin-bottom: 1.5rem; line-height: 1.4; font-weight: bold;}

/* ⑤ 施術内容 (Teaser) */
.p-menu__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media screen and (min-width: 768px) { .p-menu__grid { grid-template-columns: repeat(2, 1fr); } }
.p-menu__card { background: var(--c-bg-yellow); padding: 3rem; border-radius: 8px; border-top: 4px solid var(--c-main); }
.p-menu__headline { font-size: 2rem; color: var(--c-main); margin-bottom: 1.5rem; font-weight: bold; display: flex; flex-direction: column; }
.p-menu__headline span { font-size: 1.4rem; color: #666; margin-top: 0.5rem;}
.p-menu__desc { font-size: 1.5rem; line-height: 1.6; }

/* ⑦ お客様の声 / Instagram */
.p-social__grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media screen and (min-width: 768px) { .p-social__grid { grid-template-columns: 1fr 1fr; } }
.p-instagram__lead { margin-bottom: 2rem; font-size: 1.5rem; }
/* =========================================================
   TOPページ新デザイン用 追加CSS（ここまで）
========================================================= */

/* =========================================================
   下層ページ（当院について）用 追加CSS
========================================================= */

/* 下層共通 ヒーローヘッダー */
.p-lower-hero {
  position: relative;
  height: 250px;
  background-color: var(--c-main);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}
.p-lower-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 文字を読みやすくする暗いオーバーレイ */
}
.p-lower-hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
}
.p-lower-hero__title {
  font-family: "游明朝体", "Yu Mincho", serif;
  font-size: 3.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.p-lower-hero__sub {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--c-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media screen and (min-width: 560px) {
  .p-lower-hero { height: 350px; }
  .p-lower-hero__title { font-size: 4.8rem; }
}

/* イントロダクション */
.p-about-intro__content {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}
.p-about-intro__text {
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 1.5rem;
}
.p-about-intro__images {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.p-about-intro__images img {
  width: 30%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 院長紹介 */
.p-director-profile__container {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 15px rgba(237, 122, 21, 0.05);
}
@media screen and (min-width: 768px) {
  .p-director-profile__container {
    display: flex;
    gap: 4rem;
    padding: 5rem;
  }
}
.p-director-profile__img {
  text-align: center;
  margin-bottom: 3rem;
}
@media screen and (min-width: 768px) {
  .p-director-profile__img { flex: 0 0 35%; margin-bottom: 0; }
}
.p-director-profile__img img {
  border-radius: 12px;
  border: 4px solid var(--c-bg-orange);
}
.p-director-profile__info {
  flex: 1;
}
.p-director-profile__job {
  font-size: 1.4rem;
  color: var(--c-main);
  font-weight: bold;
}
.p-director-profile__name {
  font-family: "游明朝体", "Yu Mincho", serif;
  font-size: 3.2rem;
  margin: 0.5rem 0 2rem;
  border-bottom: 2px dashed var(--c-accent);
  padding-bottom: 1rem;
}
.p-director-profile__name span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: #ccc;
  margin-left: 1rem;
}
.p-director-profile__message p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.p-director-profile__sub-title {
  margin-top: 3rem;
  font-size: 1.8rem;
  color: var(--c-main);
  border-left: 4px solid var(--c-main);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.p-history-table {
  width: 100%;
  border-collapse: collapse;
}
.p-history-table th, .p-history-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  font-size: 1.4rem;
  text-align: left;
}
.p-history-table th {
  width: 100px;
  color: #666;
}

/* スタッフ紹介 */
.p-staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media screen and (min-width: 768px) {
  .p-staff-grid { grid-template-columns: repeat(3, 1fr); }
}
.p-staff-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid var(--c-bg-orange);
}
.p-staff-card__img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.p-staff-card__body {
  padding: 2rem;
}
.p-staff-card__name {
  font-size: 2rem;
  color: var(--c-main);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}
.p-staff-card__name span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #999;
}
.p-staff-card__text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #555;
}
/* =========================================================
   施術案内ページ：完全最適化版CSS（丸ごと上書き用）
========================================================= */

/* 1. 施術方針イントロ */
.p-menu-intro__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.p-menu-intro__text {
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 2.5rem;
  color: #444;
}

/* キャッチコピー内の強調（「根本」など） */
.p-menu-intro__inner .c-title span {
  color: var(--c-main);
  background: linear-gradient(transparent 60%, var(--c-bg-orange) 60%);
  padding: 0 5px;
}

.p-menu-intro__note {
  font-size: 1.5rem;
  font-weight: bold;
  background-color: #fff;
  display: inline-block;
  padding: 1rem 2rem;
  border: 1px dashed var(--c-main);
  border-radius: 8px;
}

@media screen and (max-width: 559px) {
  .pc-only { display: none; }
}

/* 2. 施術内容リスト (ジグザグレイアウト & ブラッシュアップ) */
.p-treatment__list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.p-treatment__item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
  border: 1px solid var(--c-bg-orange);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-treatment__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(237, 122, 21, 0.1);
}

@media screen and (min-width: 768px) {
  .p-treatment__item {
    display: flex;
    align-items: stretch;
  }
  .p-treatment__item--reverse {
    flex-direction: row-reverse;
  }
}

/* 画像エリアと装飾バッジ（競合他社の良いところを吸収） */
.p-treatment__img {
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

@media screen and (min-width: 768px) {
  .p-treatment__img { width: 45%; }
}

.p-treatment__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

/* メリットバッジ：一目で効果を伝える */
.p-treatment__benefit {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--c-main);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.3rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  letter-spacing: 0.05em;
}

/* コンテンツエリア */
.p-treatment__body {
  padding: 3.5rem 3rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .p-treatment__body { width: 55%; padding: 4rem 5rem; }
}

.p-treatment__name {
  font-family: "游明朝体", "Yu Mincho", serif;
  font-size: 2.6rem;
  color: var(--c-main);
  margin-bottom: 2rem;
  border-bottom: 2px dashed var(--c-bg-orange);
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.p-treatment__name span {
  font-size: 1.4rem;
  color: #888;
  margin-top: 0.5rem;
  font-weight: normal;
  font-family: "游ゴシック体", sans-serif;
}

/* 対象のお悩み（ターゲットを絞ることで成約率UP） */
.p-treatment__target {
  background-color: var(--c-bg-orange);
  color: var(--c-main);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
}

.p-treatment__target i {
  margin-right: 1rem;
  font-size: 1.6rem;
}

.p-treatment__desc {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #444;
}

.p-treatment__caution {
  font-size: 1.4rem;
  color: #d9534f;
  font-weight: bold;
  margin-top: 2rem;
  padding-left: 1.5rem;
  position: relative;
}

.p-treatment__caution::before {
  content: "※";
  position: absolute;
  left: 0;
}

/* 3. 料金案内 (カードデザインの高級化) */
.p-price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media screen and (min-width: 960px) {
  .p-price-grid { grid-template-columns: 1fr 1fr; }
}

.p-price-box {
  background: var(--c-bg-yellow);
  padding: 4rem 3rem;
  border-radius: 16px;
  border: 1px solid var(--c-bg-orange);
  border-top: 6px solid var(--c-main);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.p-price-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(237, 122, 21, 0.12);
}

.p-price-box__title {
  font-size: 2.4rem;
  color: var(--c-main);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-price-box__title i {
  margin-right: 1.2rem;
  color: var(--c-accent);
  font-size: 2.8rem;
}

.p-price-box__note {
  font-size: 1.4rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* テーブルデザインの洗練化 */
.p-price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
}

.p-price-table th, 
.p-price-table td {
  padding: 1.8rem 1.2rem;
  text-align: center;
  font-size: 1.6rem;
  border-bottom: 1px solid #eee;
}

.p-price-table thead th {
  background-color: var(--c-bg-orange);
  color: var(--c-main);
  font-weight: bold;
}

.p-price-table tbody th {
  background-color: #fafafa;
  font-weight: bold;
  border-right: 1px solid #eee;
}

.p-price-table td {
  font-weight: bold;
  color: var(--c-text);
  font-family: 'Poppins', sans-serif;
}

.p-price-table tr:last-child th,
.p-price-table tr:last-child td {
  border-bottom: none;
}

.p-price-box__sub-note {
  font-size: 1.2rem;
  color: #888;
  margin-top: 2rem;
  text-align: right;
  line-height: 1.4;
}

/* スマホ表示でのフォントサイズ調整 */
@media screen and (max-width: 560px) {
  .p-price-table th, 
  .p-price-table td {
    padding: 1.5rem 0.8rem;
    font-size: 1.4rem;
  }
  .p-treatment__name {
    font-size: 2.2rem;
  }
}

/* =========================================================
   下層ページ（お客様の声・一覧完結版）用 追加CSS
========================================================= */

/* リード文 */
.p-voice-archive__lead {
  text-align: center;
  margin-bottom: 5rem;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* お客様の声 リスト */
.p-voice-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

/* お客様の声 カード (リンク無し版) */
.p-voice-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--c-bg-orange);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.p-voice-card__inner {
  padding: 3.5rem 3rem;
}
.p-voice-card__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.p-voice-card__date {
  font-family: 'Poppins', sans-serif;
  color: #999;
  font-size: 1.4rem;
}
.p-voice-card__badge {
  background-color: var(--c-bg-orange);
  color: var(--c-main);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}
.p-voice-card__title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: var(--c-text);
  border-bottom: 1px dashed #eee;
  padding-bottom: 1.5rem;
}
.p-voice-card__text {
  font-size: 1.5rem;
  color: #333;
  line-height: 2;
}
/* WordPressの本文内タグ（pやbr）への対応 */
.p-voice-card__text p {
  margin-bottom: 1em;
}
.p-voice-card__text p:last-child {
  margin-bottom: 0;
}

/* データがない場合 */
.p-voice-archive__empty {
  text-align: center;
  font-size: 1.6rem;
  color: #666;
  padding: 5rem 0;
}

/* ページネーション (WP-PageNavi の上書き) */
.p-pagination {
  margin-top: 6rem;
}
.wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.wp-pagenavi a, .wp-pagenavi span {
  width: 45px;
  height: 45px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  border-radius: 50% !important; 
  border: 1px solid #ddd !important;
  background: #fff;
  color: var(--c-text) !important;
  font-size: 1.4rem;
  font-weight: bold;
  transition: 0.3s;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none;
}
.wp-pagenavi a:hover {
  background-color: var(--c-bg-orange) !important;
  border-color: var(--c-main) !important;
  color: var(--c-main) !important;
}
.wp-pagenavi span.current {
  background-color: var(--c-main) !important;
  border-color: var(--c-main) !important;
  color: #fff !important;
}
.wp-pagenavi a.nextpostslink, .wp-pagenavi a.previouspostslink {
  border-radius: 8px !important;
  width: auto;
  padding: 0 1.5rem !important;
}

/* =========================================================
   下層ページ（お問い合わせ）用 追加CSS
========================================================= */

/* リード文 */
.p-contact-lead {
  text-align: center;
  margin-bottom: 6rem;
}
.p-contact-lead p {
  font-size: 1.6rem;
  line-height: 2;
  color: var(--c-text);
}

/* LINE予約エリア */
.p-contact-line {
  background-color: var(--c-bg-yellow);
  border: 3px solid var(--c-line);
  border-radius: 12px;
  padding: 4rem 2rem;
  margin-bottom: 4rem;
}
.p-contact-line__inner {
  max-width: 600px;
  margin: 0 auto;
}
.p-contact-line__header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  color: var(--c-line);
  margin-bottom: 2rem;
}
.p-contact-line__header i {
  font-size: 4rem;
}
.p-contact-line__header h3 {
  font-size: 2.4rem;
  font-weight: bold;
}
.p-contact-line__text {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.p-contact-line__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
@media screen and (min-width: 560px) {
  .p-contact-line__action {
    flex-direction: row;
    justify-content: center;
  }
}
.p-contact-line__qr img {
  width: 140px;
  height: 140px;
  border: 1px solid #ddd;
  padding: 1rem;
  background: #fff;
}
.p-contact-line__btn {
  text-align: center;
  width: 100%;
}
@media screen and (min-width: 560px) {
  .p-contact-line__btn { width: auto; }
}
.p-contact-line__btn .c-btn {
  width: 100%;
  margin-bottom: 1rem;
}
.p-contact-line__id {
  font-size: 1.4rem;
  color: #666;
  font-weight: bold;
}

/* 電話予約エリア */
.p-contact-tel {
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 4rem 2rem;
  margin-bottom: 6rem;
}
.p-contact-tel__title {
  font-size: 2.2rem;
  color: var(--c-main);
  margin-bottom: 1.5rem;
  font-weight: bold;
}
.p-contact-tel__text {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.p-contact-tel__number {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem;
  font-weight: bold;
  color: var(--c-text);
  margin-bottom: 1.5rem;
  text-decoration: none;
}
.p-contact-tel__number i {
  color: var(--c-main);
}
.p-contact-tel__time {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.8;
}

/* MW WP Form エリア */
.p-contact-form {
  max-width: 800px;
  margin: 0 auto;
}
.p-contact-form__title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--c-main);
  border-bottom: 2px dashed var(--c-bg-orange);
  padding-bottom: 1rem;
}
.p-contact-form__lead {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 4rem;
  line-height: 1.8;
}

/* MW WP Form 用 上書きデザイン */
.mw_wp_form {
  font-size: 1.6rem;
}
.mw_wp_form table {
  width: 100%;
  border-collapse: collapse;
}
.mw_wp_form th, .mw_wp_form td {
  display: block;
  width: 100%;
  padding: 1rem 0;
}
@media screen and (min-width: 768px) {
  .mw_wp_form th, .mw_wp_form td {
    display: table-cell;
    padding: 2rem;
    border-bottom: 1px solid #eee;
  }
  .mw_wp_form th {
    width: 30%;
    background: #FAFAFA;
    font-weight: bold;
    vertical-align: middle;
  }
}
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form textarea {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #FAFAFA;
  transition: 0.3s;
  font-size: 1.6rem;
}
.mw_wp_form input[type="text"]:focus,
.mw_wp_form input[type="email"]:focus,
.mw_wp_form input[type="tel"]:focus,
.mw_wp_form textarea:focus {
  background-color: #fff;
  border-color: var(--c-main);
  outline: none;
  box-shadow: 0 0 5px rgba(237, 122, 21, 0.3);
}
.mw_wp_form textarea {
  min-height: 200px;
  resize: vertical;
}

/* 必須マーク */
.mw_wp_form .required-srt {
  display: inline-block;
  background-color: #d9534f;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  margin-left: 1rem;
  vertical-align: middle;
}

/* ボタンまわり */
.mw_wp_form .btn__container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.mw_wp_form input[type="submit"],
.mw_wp_form input[type="button"] {
  background-color: var(--c-main);
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 1.5rem 5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  -webkit-appearance: none;
}
.mw_wp_form input[type="submit"]:hover,
.mw_wp_form input[type="button"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  opacity: 0.9;
}
/* 戻るボタン */
.mw_wp_form input[name="submitBack"] {
  background-color: #999;
}

/* =========================================================
   TOPページ修正用 ＆ スマホ固定ボタン用 CSS
========================================================= */
/* =========================================================
   TOPページ修正・バグ解消・Instagram対応版
========================================================= */

.p-features-mini { display: flex; flex-direction: column; gap: 2.5rem; }
@media screen and (min-width: 768px) { .p-features-mini { flex-direction: row; justify-content: space-between; } }
.p-features-mini__item {
  flex: 1; text-align: center; background: var(--c-bg-yellow); padding: 3.5rem 2rem;
  border-radius: 12px; border: 1px solid var(--c-bg-orange); position: relative; overflow: hidden; transition: 0.3s;
}
.p-features-mini__item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(237, 122, 21, 0.1); }
.item-num { position: absolute; top: 10px; right: 15px; font-family: 'Poppins', sans-serif; font-size: 4rem; font-weight: bold; color: rgba(237, 122, 21, 0.08); }
.p-features-mini__item i { font-size: 4.5rem; color: var(--c-main); margin-bottom: 2rem; display: block; }
.p-features-mini__item h3 { font-size: 2rem; font-weight: bold; margin-bottom: 1rem; }
.p-features-mini__item p { font-size: 1.5rem; line-height: 1.6; color: #555; }


/* Instagramセクション用 */
.p-instagram {
  text-align: center;
}
.p-instagram__content { max-width: 900px; margin: 0 auto; background: #fff; padding: 10px; border-radius: 8px; border: 1px solid #ddd; }
.dummy-insta { background: #fdfdfd; height: 350px; display: flex; align-items: center; justify-content: center; color: #999; border: 1px dashed #ccc; }



/* スマホ下部固定ナビ：完全な横並びバグ修正・優先度MAX */
body {
  padding-bottom: 70px !important;
}
.c-fixed-nav {
  position: fixed !important; bottom: 0 !important; left: 0 !important; width: 100% !important;
  height: 70px !important; background: #fff !important; z-index: 100000 !important;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
}
.c-fixed-nav__list {
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
  width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
}
.c-fixed-nav__item { flex: 1 1 0% !important; min-width: 0 !important; border-right: 1px solid #eee !important; }
.c-fixed-nav__item:last-child { border-right: none !important; }
.c-fixed-nav__link {
  display: flex !important; flex-direction: column !important; justify-content: center !important;
  align-items: center !important; height: 100% !important; text-decoration: none !important;
  font-size: 1.1rem !important; font-weight: bold !important; line-height: 1.2 !important;
}
.c-fixed-nav__link i { font-size: 2.2rem !important; margin-bottom: 4px !important; display: block !important; }
.c-fixed-nav__link--tel { background: #fff !important; color: var(--c-main) !important; }
.c-fixed-nav__link--line { background: #06C755 !important; color: #fff !important; }
.c-fixed-nav__link--mail { background: var(--c-main) !important; color: #fff !important; }

@media screen and (min-width: 960px) {
  .c-fixed-nav { display: none !important; }
  body { padding-bottom: 0 !important; }
}

/* 7. ヘッダーテキストロゴ */
.l-header__logo a { font-family: "游明朝体", serif !important; font-weight: bold; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.fixed .l-header__logo a { color: var(--c-main) !important; text-shadow: none !important; }

/* 当院について：理念セクション */
.p-concept__content { text-align: center; max-width: 800px; margin: 0 auto; }
.p-concept__text { font-size: 1.8rem; line-height: 2; margin-bottom: 2rem; }

/* =========================================================
   About Page - Flow & Director Polish CSS
========================================================= */

/* 施術の流れ：タイムライン構造 */
.p-flow-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.p-flow-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 6rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-flow-row {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
}
.p-flow-row:last-child { margin-bottom: 0; }

/* ステップラベル */
.p-flow-label {
  display: inline-block;
  background: var(--c-main);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 4px 15px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

/* ビジュアルエリア（画像＋アイコン） */
.p-flow-visual {
  flex: 0 0 320px;
  position: relative;
}
.p-flow-img-box {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  background: #eee;
  line-height: 0;
}
.p-flow-img-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* それっぽいアイコンの装飾 */
.p-flow-icon {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: #fff;
  color: var(--c-main);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.4rem;
  box-shadow: 0 4px 12px rgba(237, 122, 21, 0.2);
  z-index: 2;
  border: 2px solid var(--c-bg-orange);
}

/* コンテンツエリア */
.p-flow-content {
  flex: 1;
}
.p-flow-content h3 {
  font-size: 2.2rem;
  color: var(--c-main);
  margin-bottom: 1.5rem;
  font-weight: bold;
}
.p-flow-content p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #444;
}

/* 院長紹介カード：バグ修正版 */
.p-director-card {
  background: #fff;
  border: 1px solid var(--c-bg-orange);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(237, 122, 21, 0.05);
}
@media screen and (min-width: 768px) {
  .p-director-card {
    display: flex;
    gap: 5rem;
    padding: 6rem;
    align-items: center;
  }
}
.p-director-card__img {
  flex: 0 0 240px;
  margin-bottom: 3rem;
  text-align: center;
}
@media screen and (min-width: 768px) { .p-director-card__img { margin-bottom: 0; } }
.p-director-card__img img {
  border-radius: 50%;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border: 8px solid var(--c-bg-orange);
}
.p-director-card__info { flex: 1; }
.p-director-card__job { color: var(--c-main); font-weight: bold; font-size: 1.4rem; margin-bottom: 0.5rem; }
.p-director-card__name { font-size: 3.2rem; font-weight: bold; margin-bottom: 2rem; border-bottom: 1px dashed #ddd; padding-bottom: 1rem; }
.p-director-card__name span { font-size: 1.6rem; color: #bbb; margin-left: 1rem; font-weight: normal; }
.p-director-card__text { font-size: 1.6rem; line-height: 2; color: #555; }

/* =========================================================
   TOPページ用 お客様の声（リスト最適化）
========================================================= */
.p-voice-list-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.p-voice-list-top__item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-bg-orange);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  /* リンクではないため、hover時の変化を付けない（または影を少し濃くする程度） */
}

@media screen and (min-width: 600px) {
  .p-voice-list-top__item {
    flex-direction: row;
    align-items: stretch;
  }
}

.p-voice-list-top__visual {
  flex: 0 0 200px;
  background: #f9f9f9;
}

.p-voice-list-top__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.p-voice-list-top__content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-voice-list-top__date {
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.p-voice-list-top__title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--c-main);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.p-voice-list-top__text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #666;
}
/* Instagramダミー画像のレイアウト */
.p-instagram__dummy {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .p-instagram__dummy {
    grid-template-columns: repeat(4, 1fr); /* PCは4列 */
  }
}
.p-instagram__dummy img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================================================
   アクセス・外観セクション
========================================================= */
.p-access__content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* PC表示時のレイアウト */
@media screen and (min-width: 768px) {
  .p-access__content {
    flex-direction: row;
    align-items: flex-start;
  }
  .p-access__img-box {
    width: 45%;
  }
  .p-access__info {
    width: 55%;
  }
}

/* 外観写真まわり */
.p-access__figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.p-access__caption {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: bold;
  background: #fff;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--c-main);
  border-radius: 0 4px 4px 0;
}

.u-text-orange {
  color: var(--c-main);
}

/* 地図と店舗情報 */
.p-access__map iframe {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.p-access__details {
  border-top: 1px solid #eee;
}

.p-access__row {
  display: flex;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1.5rem;
}

.p-access__row dt {
  width: 100px;
  font-weight: bold;
  color: var(--c-main);
  flex-shrink: 0;
}

.p-access__row dd {
  line-height: 1.6;
}

.u-text-link {
  color: #333;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.8rem;
}

.u-note {
  font-size: 1.2rem;
  color: #888;
  margin-left: 0.5rem;
}

.p-access__btn-area {
  margin-top: 3rem;
  text-align: center;
}