@charset "UTF-8";

/* --- 共通設定 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  margin: 0;
}

li {
  list-style: none;
}

a {
  color: #000;
  text-decoration: none;
}

p {
  color: #7E7E7E;
}

a:hover {
  opacity: .8;
}

/* --- コンテナ設定 --- */
.w-container {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
}

h1, h2, h3, p, a, li, th, td, span {
  font-family: "Shippori Mincho B1", serif;
  letter-spacing: 2px;
}

/* 消してる要素 */
.sp-br, .sp-img, .fixed-footer-menu {
  display: none;
}

/* フェードアップ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.is-active {
  opacity: 1;
  transform: translateY(0);
}


/* ヘッダー */
.sp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: min(188px, 15.66vw); /* 188/1200 */
  z-index: 9999;
}

.sp-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 7%;
}

.sp-header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: min(20px, 1.66vw);
}

.sp-header-logo img {
  width: min(380px, 31.66vw);
  height: auto;
}

.header-img span {
  display: inline-block;
  color: #B07CB1;
  background-color: #F3D4F4;
  font-size: min(18px, 1.5vw);
  padding: min(14px, 1.16vw) min(12px, 1.0vw);
  white-space: nowrap;
}

.header-link {
  display: flex;
  gap: min(22px, 1.83vw);
}

.header-link-box {
  display: flex;
  gap: min(12px, 1vw);
}

.header-link-box a img {
  width: min(200px, 16.66vw);
  height: min(70px, 5.83vw);
}

.sp-menu-btn {
  position: relative;
  width: min(70px, 5.83vw);
  height: min(70px, 5.83vw);
  background-color: #C99CC8;
  border: none;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  padding: min(15px, 1.07vw) min(15px, 1.07vw) min(10px, 0.71vw);
}

.sp-menu-btn span {
  display: block;
  height: min(3px, 0.25vw);
  background-color: #fff;
  transition: none;
}

.sp-menu-btn span:nth-child(1) {
  width: 100%;
  margin-bottom: 25%;
}

.sp-menu-btn span:nth-child(2) {
  width: 60%;
  margin-bottom: 25%;
}

.sp-menu-btn span:nth-child(3) {
  display: none;
}

.sp-menu-btn::after {
  content: "MENU";
  color: #fff;
  font-family: "Lora", serif;
  font-size: min(14px, 1.16vw);
  line-height: 1;
}

/* 全画面メニュー */
.sp-header-nav {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: #C99CC8;
  transition: 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.sp-header-nav.is-active {
  right: 0;
}

.sp-nav-list {
  list-style: none;
}

.sp-nav-list li { margin: 25px 0; }
.sp-nav-list li a {
  color: #fff;
  font-size: 18px;
  font-family: "Zen Old Mincho", serif;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.sp-nav-list li a::after {
  content: "";
  display: block;
  width: 33px;
  height: 6px;
  background-image: url(../image/part8.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 18px;
}

/* トップ */
.main-v {
  position: relative;
  width: 100%;
  height: min(1243px, 103.58vw);
  overflow: hidden;
}

.main-v-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.slide-img.is-active {
  opacity: 1;
}

.slide1 { background-image: url(../image/main-back1.png); }
.slide2 { background-image: url(../image/main-back2.png); }
.slide3 { background-image: url(../image/main-back3.png); }

.main-v-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

.main-v-title {
  padding-top: min(246px, 20.5vw);
}

.main-v-title h1 {
  font-size: min(64px, 5.33vw);
  font-weight: 500;
  color: #B07CB1;
  line-height: 1.4;
}

.main-v-title p {
  font-size: min(40px, 3.33vw);
  color: #B07CB1;
  line-height: 1.6;
  padding-top: min(55px, 4.58vw);
}

.main-v-img {
  width: min(840px, 70vw);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.main-v-img img {
  width: min(240px, 20vw);
  height: auto;
}

.main-v-text {
  width: min(960px, 80vw);
  padding-top: min(15px, 1.25vw);
  margin: 0 auto;
}

.main-v-text h2 {
  text-align: center;
  font-size: min(36px, 3vw);
  font-weight: 400;
  color: #fff;
  background-image: url(../image/top-back7.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: min(5px, 0.41vw);
  padding-bottom: min(5px, 0.41vw);
}

.main-v-text h2 span {
  font-size: min(32px, 2.66vw);
  font-weight: 400;
  color: #fff;
}

.main-v-box {
  display: flex;
  justify-content: space-around;
  background-color: #fff;
}

.main-v-item {
  padding-top: min(40px, 3.33vw);
  padding-bottom: min(40px, 3.33vw);
}

.main-v-item p {
  font-size: min(32px, 2.66vw);
  color: #7E7E7E;
}

.main-v-p {
  display: flex;
  padding-top: min(10px, 0.83vw);
  align-items: flex-end;
}

.main-v-p p:first-child {
  font-size: min(64px, 5.33vw);
  color: #C99CC8;
  padding-right: min(25px, 2.08vw);
  line-height: 1;
}

.main-v-p p:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: min(36px, 3vw);
  color: #7E7E7E;
  line-height: 1.1;
}

.main-v-p p:last-child span {
  font-size: min(20px, 1.66vw);
  color: #7E7E7E;
  line-height: 1;
}

.p1-a {
  background-color: #FF9D9D;
}

.p1-a-container {
  padding: min(20px, 1.66vw) min(10px, 0.83vw);
}

.p1-a-p {
  max-width: min(1400px, 116.66vw);
  text-align: center;
  background-image: url(../image/top-back2.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  padding: min(40px, 3.33vw) 0;
  margin: 0 auto;
}

.p1-a-p p {
  font-size: min(24px, 2vw);
  color: #fff;
}

.p1-b {
  height: auto; 
  min-height: min(730px, 52.14vw); 
  background-image: url(../image/top-back3.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center top;
}

.p1-b-container {
  padding-top: min(40px, 2.86vw);
  padding-bottom: min(70px, 5vw);
}

.p1-b-box {
  display: flex;
  justify-content: space-between;
}

.p1-b-title {
  position: relative;
}

.p1-b-title h2 {
  font-size: min(48px, 3.43vw);
  font-weight: 400;
  color: #7E7E7E;
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff) drop-shadow(0 0 20px #fff);
  padding-left: min(120px, 8.57vw);
  position: relative;
  z-index: 2;
  display: inline-block;
}

/* 文字の左から右へ長く伸びる線 */
.p1-b-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: max(-80px, -5.71vw); 
  width: 100%;
  height: min(80px, 5.71vw);
  background-image: url(../image/part3.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  z-index: 1;
}

.p1-b-p {
  text-align: right;
  padding-top: min(30px, 2.14vw);
  padding-right: min(80px, 5.71vw);
}

.p1-b-p p:first-child {
  font-size: min(32px, 2.29vw);
  color: #B07CB1;
  line-height: 1.6;
}

.p1-b-p p:last-child {
  font-size: clamp(11px, 1.14vw, 16px);
  color: #7E7E7E;
  line-height: 2;
  padding-top: min(60px, 4.29vw);
}

.p1-c {
  background-color: #F3D4F4;
}

.p1-c-container {
  padding-top: min(50px, 3.57vw);
  padding-bottom: min(40px, 2.86vw);
}

.p1-c-title {
  width: min(630px, 45vw);
  background-image: url(../image/part4.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
  padding-bottom: min(40px, 2.86vw);
  margin: 0 auto min(30px, 2.14vw);
}

.p1-c-title h2 {
  font-size: min(48px, 3.43vw);
  font-weight: 400;
  color: #B07CB1;
  /* タイトルを中央寄せにする場合 */
  text-align: center;
}

.p1-c-img {
  width: min(1160px, 82.86vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: min(40px, 2.86vw);
}

.p1-c-img img {
  width: min(360px, 25.71vw);
  height: auto;
}

.p1-d {
  width: 100%;
  background-image: 
    url(../image/top-back4.png), 
    url(../image/top-back5.png);
  background-position: 
    center top, 
    center bottom;
  background-size: 
    100% 60%, 
    100% 50%;
  background-repeat: no-repeat;
}

.p1-d-container {
  padding-top: min(80px, 6.15vw);
  padding-bottom: min(120px, 9.23vw);
}

.p1-d-title {
  text-align: right;
  position: relative;
}

.p1-d-title h2 {
  font-size: min(48px, 3.69vw);
  font-weight: 400;
  color: #fff;
  padding-right: min(120px, 9.23vw);
  position: relative;
  z-index: 2;
  display: inline-block;
}

.p1-d-title h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: max(-80px, -6.15vw); 
  width: 100%;
  height: min(80px, 6.15vw);
  background-image: url(../image/part6.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  z-index: 1;
}

.p1-d-box {
  display: flex;
  justify-content: space-between;
  margin-top: min(140px, 10.77vw);
}

.p1-d-img {
  width: 40%;
  height: auto;
}

.p1-d-item {
  width: min(730px, 56.15vw);
  margin: 0 auto;
}

.p1-d-item ul li {
  font-size: min(32px, 2.46vw);
  color: #fff;
  padding-top: min(30px, 2.31vw);
  padding-bottom: min(30px, 2.31vw);
  border-bottom: 1px dashed #fff;
  display: flex;
  align-items: center;
}

.p1-d-item ul li::before {
  content: "";
  width: min(40px, 3.08vw);
  height: min(40px, 3.08vw);
  background-image: url(../image/part2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: min(20px, 1.54vw);
  flex-shrink: 0;
}

.p1-d-box2 {
  margin-top: min(300px, 23.08vw);
}

.p1-d-p1, .p1-d-p2, .p1-d-p3 {
  text-align: center;
}

.p1-d-p2 {
  margin-top: min(60px, 4.62vw);
  margin-bottom: min(60px, 4.62vw);
}

.p1-d-p1 p {
  font-size: min(40px, 3.08vw);
  color: #B75353;
  line-height: 2;
}

.p1-d-p2 p {
  font-size: min(96px, 7.38vw);
  color: #B75353;
  letter-spacing: min(8px, 0.62vw);
}

.p1-d-p2 p span {
  font-size: min(64px, 4.92vw);
  color: #B75353;
}

.p1-d-p3 p {
  font-size: min(24px, 1.85vw);
  color: #B75353;
  line-height: 2;
}

.p1-e {
  background-color: #F3D4F4;
}

.p1-e-container {
  padding-top: min(95px, 6.79vw);
  padding-bottom: min(80px, 5.71vw);
}

.p1-e-box {
  display: flex;
  justify-content: space-between;
}

.p1-e-img1 {
  width: 40%;
  height: auto;
}

.p1-e-title h2 {
  font-size: min(128px, 9.14vw);
  font-weight: 400;
  color: #B07CB1;
  position: relative;
  padding-right: min(300px, 21.43vw);
}

.p1-e-title h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: max(-80px, -5.71vw);
  width: 100%;
  height: min(80px, 5.71vw);
  background-image: url(../image/part7.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  z-index: 1;
}

.p1-e-title p {
  font-size: min(40px, 2.86vw);
  color: #B07CB1;
  line-height: 2;
  padding-top: min(30px, 2.14vw);
}

.p1-e-box2 {
  width: min(1280px, 91.43vw);
  background-color: #fff;
  position: relative;
  padding: min(95px, 6.79vw) min(80px, 5.71vw);
  margin: min(78px, 5.57vw) auto 0;
}

.p1-e-title2 {
  position: absolute;
  top: max(-65px, -4.64vw);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.p1-e-title2 h3 {
  font-size: min(48px, 3.43vw);
  font-weight: 400;
  color: #B07CB1;
  line-height: 1;
}

.p1-e-title2 h3 span {
  font-size: min(96px, 6.86vw);
  color: #B07CB1;
}

.p1-e-item {
  display: flex;
  justify-content: space-between;
  gap: min(60px, 4.29vw);
  padding-top: min(40px, 2.86vw);
  padding-bottom: min(40px, 2.86vw);
  border-top: 1px solid #000;
}

.p1-e-item:nth-child(4) {
  border-bottom: 1px solid #000;
}

.p1-e-text span {
  font-size: min(64px, 4.57vw);
  color: #B07CB1;
}

.p1-e-text p:first-of-type {
  font-size: min(32px, 2.29vw);
  padding-top: min(20px, 1.43vw);
  padding-bottom: min(20px, 1.43vw);
}

.p1-e-text p:first-of-type span {
  font-size: min(32px, 2.29vw);
  color: #B07CB1;
}

.p1-e-text p:last-child {
  /* 最小10px、最大16pxの可変 */
  font-size: clamp(10px, 1.14vw, 16px);
}

.p1-e-img2 {
  width: min(440px, 31.43vw);
  height: auto;
}

.p1-e-item2 {
  text-align: center;
  margin-top: min(60px, 4.29vw);
}

.p1-e-item2 span {
  font-size: min(40px, 2.86vw);
  color: #7E7E7E;
}

.p1-e-item2 h3 {
  font-size: min(24px, 1.71vw);
  font-weight: 400;
  color: #7E7E7E;
  padding-bottom: min(20px, 1.43vw);
}

.p1-e-item2 h3 span {
  font-size: min(32px, 2.29vw);
  color: #B07CB1;
}

.p1-e-item2 p {
  /* 最小10px、最大16pxの可変 */
  font-size: clamp(10px, 1.14vw, 16px);
  line-height: 2;
}

.p1-f {
  background-image: url(../image/top-back6.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p1-f .p1-d-title {
  text-align: left;
}

.p1-f .p1-d-title h2 {
  font-size: min(48px, 3.43vw); /* 1400基準に変更 */
  font-weight: 400;
  color: #fff;
  padding-right: 0;
  padding-left: min(120px, 8.57vw);
  position: relative;
  z-index: 2;
  display: inline-block;
}

.p1-f .p1-d-title h2::after {
  content: "";
  position: absolute;
  /* left基準かright基準か、デザインに合わせて調整してください */
  left: 0; 
  bottom: max(-80px, -5.71vw);
  width: 100%;
  height: min(80px, 5.71vw);
  background-image: url(../image/part9.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  z-index: 1;
}

.p1-f .p1-d-box {
  display: flex;
  justify-content: space-between;
  margin-top: min(40px, 2.86vw);
}

.p1-f .p1-d-item {
  width: min(766px, 54.71vw);
  margin: 0 auto;
}

.p1-f .p1-d-item ul li {
  font-size: min(32px, 2.22vw);
  color: #fff;
  padding-top: min(30px, 2.08vw);
  padding-bottom: min(30px, 2.08vw);
  border-bottom: 1px dashed #fff;
  display: flex;
  align-items: center;
}

.p1-f-text {
  padding-top: min(100px, 7.14vw);
  padding-left: 10%;
}

.p1-f-text p {
  /* 24pxは可変にすると小さくなりすぎる場合があるためclampも有効です */
  font-size: min(24px, 1.71vw);
  color: #fff;
  line-height: 2;
}

.p1-f-title {
  width: min(1000px, 71.43vw);
  text-align: center;
  background-image: url(../image/part5.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
  margin: min(80px, 5.71vw) auto 0;
}

.p1-f-title p {
  font-size: min(32px, 2.22vw);      /* 32 / 1439 */
  padding-bottom: min(50px, 3.47vw); /* 50 / 1439 */
  color: #fff;
  white-space: nowrap;
}

.p1-g {
  background-color: #F3D4F4;
}

.p1-g-container {
  padding-top: min(60px, 4.62vw);
  padding-bottom: min(94px, 7.23vw);
}

.p1-g-title {
  width: min(480px, 36.92vw);
  background-image: url(../image/part4.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
  padding-bottom: min(40px, 3.08vw);
  margin: 0 auto min(60px, 4.62vw);
  text-align: center;
}

.p1-g-title h2 {
  font-size: min(64px, 4.92vw);
  color: #B07CB1;
}

.p1-g-item {
  width: min(1120px, 86.15vw);
  background-color: #fff;
  padding: min(24px, 1.85vw) min(30px, 2.31vw);
  border-top: 5px solid #C99CC8;
  margin: 0 auto;
}

.p1-g-title2 {
  padding-bottom: min(24px, 1.85vw);
  border-bottom: 1px solid #C99CC8;
}

.p1-g-title2 h3 {
  display: flex;
  align-items: center;
  font-size: min(30px, 2.31vw);
  font-weight: 400;
  color: #7E7E7E;
}

.p1-g-title2 h3 span {
  font-size: min(72px, 5.54vw);
  font-weight: 400;
  color: #C99CC8;
  margin-right: min(20px, 1.54vw);
}

.p1-g-item p {
  /* 最小10px、最大16pxの可変 */
  font-size: clamp(10px, 1.23vw, 16px);
  padding-top: min(30px, 2.31vw);
  line-height: 1.8;
}

.p1-g-img {
  width: min(300px, 23.08vw);
  height: auto;
  margin: 0 auto min(30px, 2.31vw);
}

.p1-h-container {
  padding-top: min(50px, 3.85vw);
  padding-bottom: min(80px, 6.15vw);
}

.p1-h-title {
  width: min(480px, 36.92vw);
  background-image: url(../image/part10.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
  padding-bottom: min(40px, 3.08vw);
  margin: 0 auto min(34px, 2.62vw);
  text-align: center;
}

.p1-h-title h2 {
  font-size: min(64px, 4.92vw);
  font-weight: 400;
  letter-spacing: min(14px, 1.08vw);
  color: #FF9D9D;
}

.p1-h-table {
  width: min(1280px, 98.46vw);
  margin: 0 auto;
}

.p1-h-table table {
  width: 100%;
  border-collapse: collapse;
}

.p1-h-table table th, .p1-h-table table td {
  text-align: center;
  font-size: min(20px, 1.54vw);
  padding-top: min(10px, 0.77vw);
  padding-bottom: min(10px, 0.77vw);
  border-bottom: 1px solid #FCB9B9;
}

.p1-h-table table th {
  width: min(720px, 55.38vw);
  font-weight: 400;
  color: #fff;
  background-color: #FF9D9D;
}

.p1-h-table table td {
  width: auto;
  color: #7E7E7E;
  background-color: #FEF0F0;
}

.p1-i {
  background-color: #FF9D9D;
}

.p1-i-container {
  padding-top: min(80px, 6.15vw);
  padding-bottom: min(80px, 6.15vw);
}

.p1-i-title {
  text-align: center;
}

.p1-i-title h2 {
  font-size: min(64px, 4.92vw);
  font-weight: 400;
  color: #fff;
}

.p1-i-title p {
  font-size: min(36px, 2.77vw);
  font-weight: 400;
  color: #fff;
  padding-top: min(20px, 1.54vw);
  padding-bottom: min(40px, 3.08vw);
}

.p1-i-slider-outer {
  width: 100%;
  overflow: hidden;
  padding: 0 min(30px, 2.31vw);
}

.p1-i-slider-inner {
  width: 100%;
  overflow: visible;
}

.p1-i-img-container {
  display: flex;
  width: max-content;
  animation: loop-infinite 60s linear infinite;
}

.p1-i-img {
  width: min(320px, 24.62vw);
  flex-shrink: 0;
  padding: 0 min(10px, 0.77vw);
}

.p1-i-img img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes loop-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes loop-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 2セットあるうちの半分（画像6枚分）が左に流れたらリセット */
    transform: translateX(-50%);
  }
}

/* マウスホバーで停止させる場合 */
.p1-i-slider-outer:hover .p1-i-img-container {
  animation-play-state: paused;
}


/* 審美治療について */
.p2-a {
  background-color: #FFF1F1;
}

.p2-a-container {
  padding-top: min(60px, 4.44vw);
  padding-bottom: min(60px, 4.44vw);
}

.p2-a .h2-title h2 {
  color: #B07CB1;
  background-image: url(../image/part11.png);
}

.p2-a-box {
  width: min(1280px, 94.81vw);
  display: flex;
  justify-content: space-between;
  margin: min(40px, 2.96vw) auto 0;
}

.p2-a-img {
  width: min(600px, 44.44vw);
  height: auto;
}

.p2-a-text {
  width: min(640px, 47.41vw);
}

.p2-a-text p {
  font-size: min(16px, 1.19vw);
  line-height: 2em;
}

.p2-b {
  background-image: url(../image/p2-back1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p2-b-container {
  padding-top: min(60px, 4.44vw);
  padding-bottom: min(60px, 4.44vw);
}

.p2-b-box {
  width: min(1280px, 94.81vw);
  background-color: #fff;
  padding: min(40px, 2.96vw) min(100px, 7.41vw);
  margin: 0 auto;
}

.p2-b-title {
  text-align: center;
  background-color: #E67878;
  padding-top: min(20px, 1.48vw);
  padding-bottom: min(20px, 1.48vw);
}

.p2-b-title h2 {
  font-size: clamp(10px, 2.07vw, 28px);
  font-weight: 400;
  color: #fff;
}

.p2-b-text ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
  margin: min(20px, 1.48vw) auto 0;
  list-style: none;
}

.p2-b-text li {
  width: min(480px, 35.56vw);
  display: flex;
  align-items: center;
  font-size: clamp(10px, 1.19vw, 16px);
  line-height: 1.5;
  color: #6A5C42;
  padding-top: min(20px, 1.48vw);
  padding-bottom: min(20px, 1.48vw);
  border-bottom: 1px dashed #6A5C42;
}

.p2-b-text li img {
  width: min(30px, 2.22vw);
  height: auto;
  margin-right: min(15px, 1.11vw);
  flex-shrink: 0;
}

.p2-c {
  background-image: url(../image/p2-back2.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p2-c-container {
  padding-top: min(60px, 4.44vw);
  padding-bottom: min(60px, 4.44vw);
}

.p2-c .h2-title h2 {
  color: #E67878;
  background-image: url(../image/part12.png);
}

.p2-c-img {
  width: min(1280px, 94.81vw);
  margin: min(40px, 2.96vw) auto min(20px, 1.48vw);
  /* 影の色をDF9696に変更し、1350px基準で可変 */
  filter: drop-shadow(min(15px, 1.11vw) min(15px, 1.11vw) 0 #B26E6E);
}

.p2-c-text {
  width: min(1280px, 94.81vw);
  margin: 0 auto;
}

.p2-c-text ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p2-c-text li {
  width: min(560px, 41.48vw); 
  display: flex;
  align-items: center;
  color: #fff;
  font-size: clamp(10px, 1.71vw, 24px);
  padding-top: min(40px, 2.96vw);
  padding-bottom: min(40px, 2.96vw);
  border-bottom: 1px dashed #fff; /* 破線 */
}

.p2-c-text li img {
  width: min(30px, 2.22vw);
  height: auto;
  margin-right: min(15px, 1.11vw);
  flex-shrink: 0;
}

.p2-d {
  background-image: url(../image/p2-back3.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
}

.p2-d-container {
  padding-top: min(80px, 5.93vw);
  padding-bottom: min(80px, 5.93vw);
}

.p2-d .p1-d-box2 {
  margin-top: 0;
}


/* セレックについて */
.p3-a, .p3-b {
  background-color: #FFF1F1;
}

.p3-a-container {
  padding-top: min(80px, 5.93vw);
  padding-bottom: min(80px, 5.93vw);
}

.p3-a .h2-title h2 {
  font-size: min(40px, 2.86vw);
  color: #B07CB1;
  background-image: url(../image/part11.png);
}

.p3-b-container {
  padding-bottom: 40px;
}

.p3-b .h2-title h2 {
  color: #B07CB1;
  background-image: url(../image/part11.png);
}

.p3-b .p1-e-box2 {
  width: min(1280px, 94.81vw);
  background-color: transparent;
  padding: 0;
  margin-top: min(40px, 2.96vw);
  margin-right: auto;
  margin-left: auto;
}

.p3-b .p1-e-item {
  gap: 0;
  background-color: #fff;
  padding: min(40px, 2.96vw) min(15px, 1.11vw);
  border-top: none;
  margin-bottom: min(40px, 2.96vw);
}

.p3-b .p1-e-text {
  width: min(600px, 44.44vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p3-b .p1-e-img2 {
  width: min(600px, 44.44vw);
}

.p3-b .p1-e-img2 img {
  width: 100%;
  height: auto;
}

.p3-b .p1-e-text p:last-child {
  font-size: clamp(10px, 1.19vw, 16px);
  letter-spacing: 1px;
}


/* 治療の流れ */
.p4-a {
  background-image: url(../image/p4-back1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p4-a-container {
  padding-top: min(60px, 4.44vw);
  padding-bottom: min(80px, 5.93vw);
}

.p4-a .h2-title h2, .p4-b .h2-title h2 {
  color: #B07CB1;
  background-image: url(../image/part11.png);
}

.p4-a .p1-g-box {
  margin-top: min(40px, 2.96vw);
}

.p4-b {
  background-color: #FFF1F1;
}

.p4-b-container {
  padding-top: min(80px, 5.93vw);
  padding-bottom: min(60px, 4.44vw);
}

.p4-b-text {
  width: min(1100px, 81.48vw);
  margin: min(40px, 2.96vw) auto 0;
}

.p4-b-text p {
  font-size: clamp(10px, 1.19vw, 16px);
  line-height: 1.8;
  letter-spacing: 1px;
}


/* 料金表 */
.p5-a {
  background-color: #FFF1F1;
}

.p5-a-container {
  padding-top: min(60px, 4.44vw);
  padding-bottom: min(80px, 5.93vw);
}

.p5-a .h2-title h2 {
  color: #B07CB1;
  background-image: url(../image/part11.png);
}

.p5-a-table {
  width: min(1280px, 94.81vw);
  margin: 0 auto min(80px, 5.93vw);
}

.p5-a-table p {
  text-align: center;
  /* 16 / 1350 * 100 = 1.19vw */
  font-size: clamp(10px, 1.19vw, 16px);
  padding-top: min(30px, 2.22vw);
  padding-bottom: min(30px, 2.22vw);
}

.p5-a-table table {
  width: 100%;
  border-collapse: collapse;
}

.p5-a-table table th, 
.p5-a-table table td {
  /* 18 / 1350 * 100 = 1.33vw */
  font-size: clamp(10px, 1.33vw, 18px);
  text-align: left;
  font-weight: 400;
  padding: min(20px, 1.48vw) 0 min(20px, 1.48vw) min(40px, 2.96vw);
  border-bottom: 1px solid #E3BAE6;
}

.p5-a-table table th {
  width: min(800px, 59.26vw);
  color: #fff;
  background-color: #C99CC8;
}

.p5-a-table table td {
  width: auto;
  color: #B07CB1;
  background-color: #fff;
}

.p5-a-text {
  width: min(1120px, 82.96vw);
  margin: min(40px, 2.96vw) auto 0;
}

.p5-a-text p {
  font-size: clamp(10px, 1.19vw, 16px);
  line-height: 1.8;
  letter-spacing: 2px;
}

.p5-a-text p:last-child {
  margin-top: min(40px, 2.96vw);
}


/* 医院紹介 */
.p6-a, .p6-c {
  background-color: #FFF1F1;
}

.p6-a-container {
  padding-top: min(60px, 4.44vw);
  padding-bottom: min(40px, 2.96vw);
}

.p6-a .h2-title h2, .p6-c .h2-title h2 {
  color: #B07CB1;
  background-image: url(../image/part11.png);
}

.p6-a-box {
  width: min(1280px, 94.81vw);
  display: flex;
  justify-content: space-between;
  margin: min(40px, 2.96vw) auto 0;
}

.p6-a-img {
  width: min(600px, 44.44vw);
  height: auto;
}

.p6-a-text {
  display: flex;
  align-items: center;
  /* テキスト側の幅も指定しておくと崩れにくくなります */
  width: min(640px, 47.41vw); 
}

.p6-a-text p {
  /* 32 / 1350 * 100 = 2.37vw */
  font-size: clamp(10px, 2.37vw, 32px);
  color: #B07CB1;
  line-height: 1.6;
}

.p6-b .p2-b-box {
  padding-top: min(20px, 1.48vw);
}

.p6-b .p2-b-box ul {
  margin-top: 0;
}

.p6-c-container {
  padding-top: min(80px, 5.93vw);
  padding-bottom: min(80px, 5.93vw);
}

.p6-c-box {
  width: min(1280px, 94.81vw);
  display: flex;
  flex-wrap: wrap; 
  justify-content: flex-start; 
  gap: min(40px, 2.96vw) min(40px, 2.96vw); 
  margin: min(30px, 2.22vw) auto min(80px, 5.93vw);
}

.p6-c-box:last-child {
  margin-bottom: 0;
}

.p6-c-item {
  width: min(400px, 29.63vw);
}

.p6-c-img {
  width: 100%; 
  height: auto;
}

.p6-c-img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.p6-c-item p {
  text-align: center;
  font-size: clamp(10px, 1.48vw, 20px);
  color: #fff;
  background-color: #CA9DC8;
  padding-top: min(15px, 1.11vw);
  padding-bottom: min(15px, 1.11vw);
  margin-top: -5px;
}




/* 下層ページ共通 */
.sub-v {
  width: 100%;
  background-image: url(../image/sub-back1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.sub-v-container {
  padding-top: min(126px, 9.33vw);
  padding-bottom: min(40px, 2.96vw);
}

.sub-title {
  width: min(1280px, 94.81vw);
  text-align: center;
  background-image: url(../image/sub-back2.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: min(130px, 9.63vw);
  padding-bottom: min(130px, 9.63vw);
  margin: 0 auto;
}

.sub-title h1 {
  font-size: min(48px, 3.56vw);
  font-weight: 400;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.h2-title {
  width: min(1280px, 94.81vw);
  text-align: center;
  background-color: #fff;
  padding-top: min(20px, 1.48vw);
  padding-bottom: min(20px, 1.48vw);
  margin: 0 auto;
}

.h2-title h2 {
  font-size: min(40px, 2.96vw);
  font-weight: 400;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
  padding-bottom: min(40px, 2.96vw);
}


/* レイアウトパーツ */
.layout {
  background-image: url(../image/top-back1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.layout-container {
  padding-top: min(50px, 4.16vw);
  padding-bottom: min(60px, 5vw);
}

.layout-title {
  width: min(724px, 60.33vw);
  background-image: url(../image/part5.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
  padding-bottom: min(40px, 3.33vw);
  margin: 0 auto;
}

.layout-title h2 {
  font-size: min(48px, 4vw);
  font-weight: 400;
  color: #fff;
}

.layout-text {
  text-align: center;
  margin-top: min(27px, 2.25vw);
}

.layout-text h3 {
  font-size: min(64px, 5.33vw);
  font-weight: 400;
  color: #fff;
}

.layout-p {
  display: flex;
  justify-content: center;
  gap: min(38px, 3.16vw);
}

.layout-p p {
  font-size: min(24px, 2vw);
  color: #fff;
}

.layout-img {
  text-align: center;
  margin-top: min(40px, 3.33vw);
}

.layout-img img {
  width: min(685px, 57.08vw);
  height: auto;
}


/* フッター */
.footer-container {
  padding-top: min(40px, 2.96vw);
}

.footer-box {
  display: flex;
  justify-content: center;
  gap: min(120px, 8.89vw);
}

.footer-item {
  width: min(380px, 28.15vw);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(10px, 0.74vw);
}

.footer-logo a img {
  width: min(380px, 28.15vw);
  height: auto;
}

.footer-logo span {
  display: inline-block;
  color: #B07CB1;
  background-color: #F3D4F4;
  font-size: min(18px, 1.5vw);
  padding: min(14px, 1.16vw) min(12px, 1.0vw);
  white-space: nowrap;
}

.footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(5px, 0.37vw);
  margin-top: min(20px, 1.48vw);
}

.footer-link img {
  width: min(340px, 25.19vw);
  height: auto;
}

.footer-schedule {
  width: min(504px, 37.33vw);
}

.footer-schedule table {
  width: 100%;
  border-collapse: collapse;
  color: #7E7E7E;
  font-family: serif;
}

.footer-schedule th,
.footer-schedule td {
  text-align: center;
  font-weight: 400;
  padding: min(18px, 1.33vw) 0;
  border-bottom: 1px solid #7E7E7E;
  font-size: clamp(10px, 1.19vw, 16px);
}

.footer-schedule th:first-child,
.footer-schedule td:first-child {
  text-align: left;
  width: 25%;
}

.footer-schedule td:not(:first-child) {
  font-size: clamp(10px, 1.48vw, 20px);
}

.footer-table {
  padding-left: min(20px, 1.48vw);
  margin-top: min(20px, 1.48vw);
}

.footer-table p {
  color: #7E7E7E;
  font-size: clamp(10px, 1.19vw, 16px);
  line-height: 1.8;
  font-family: serif;
  text-align: left;
}

.footer-box2 {
  width: min(1280px, 94.81vw);
  display: flex;
  justify-content: space-between;
  margin: min(40px, 2.96vw) auto;
}

.footer-box2 img {
  width: min(400px, 29.63vw);
  height: auto;
}

.footer-map {
  text-align: center;
}

.footer-map iframe {
  width: min(1280px, 94.81vw);
  height: min(480px, 35.56vw);
}

.copy-right {
  text-align: center;
  padding-top: min(25px, 1.85vw);
  padding-bottom: min(25px, 1.85vw);
}

.copy-right p {
  font-size: clamp(10px, 1.19vw, 16px);
}


@media screen and (max-width: 767px) {
  /* 全体 */
  .sp-br, .sp-img {
    display: block;
  }

  .pc-img {
    display: none;
  }

  /* ヘッダー */
  .sp-header {
    height: 92px;
  }

  .sp-header-inner {
    padding: 0 20px;
  }

  .sp-header-logo {
    row-gap: 0;
  }

  .sp-header-logo img {
    width: 212px;
  }

  .header-img span {
    font-size: 13px;
    padding: 6px 17px;
  }

  .header-link {
    gap: 0;
  }

  .header-link-box {
    display: none;
  }

  .sp-menu-btn {
    width: 50px;
    height: 50px;
    padding: 10px;
  }

  .sp-menu-btn span {
    display: block;
    height: 3px;
    background-color: #fff;
    transition: none;
  }

  .sp-menu-btn span:nth-child(1) {
    width: 100%;
    margin-bottom: 25%;
  }

  .sp-menu-btn span:nth-child(2) {
    width: 60%;
    margin-bottom: 25%;
  }

  .sp-menu-btn span:nth-child(3) {
    display: none;
  }

  .sp-menu-btn::after {
    font-size: 10px;
  }

  /* 全画面メニュー */
  .sp-header-nav {
    right: -260px;
    width: 260px;
  }

  .sp-nav-list li { margin: 25px 0; }
  .sp-nav-list li a {
    font-size: 16px;
  }

  /* トップ */
  .main-v {
    height: 100vh;
  }

  .main-v-title {
    padding-top: 220px;
  }

  .main-v-title h1 {
    font-size: 28px;
  }

  .main-v-title p {
    font-size: 20px;
    padding-top: 20px;
  }

  .main-v-img {
    width: 100%;
    margin: 28px 0 0;
  }

  .main-v-img img {
    width: 32%;
  }

  .main-v-text {
    width: 100%;
    padding-top: 20px;
    margin: 0 0;
  }

  .main-v-text h2 {
    font-size: 12px;
    font-weight: 400;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .main-v-text h2 span {
    font-size: 11px;
  }

  .main-v-item {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .main-v-item p {
    font-size: 11px;
  }

  .main-v-p {
    padding-top: 5px;
  }

  .main-v-p p:first-child {
    font-size: 22px;
    padding-right: 10px;
  }

  .main-v-p p:last-child {
    font-size: 12px;
  }

  .main-v-p p:last-child span {
    font-size: 7px;
  }

  .p1-a {
    background-color: #FF9D9D;
  }

  .p1-a-container {
    padding: 20px 10px;
  }

  .p1-b-box {
    flex-direction: column;
  }

  .p1-a-p {
    max-width: 100%;
    text-align: left;
    background-image: url(../image/top-back2.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 30px 20px;
    margin: 0 auto;
  }

  .p1-a-p p {
    font-size: 18px;
    color: #fff;
  }

  .p1-b {
    height: auto; 
    min-height: auto; 
    background-color: #E4EBF1;
    background-size: 100% auto; 
  }

  .p1-b-container {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .p1-b-title h2 {
    font-size: 24px;
    filter: 
    drop-shadow(0 0 2px #fff) 
    drop-shadow(0 0 5px #fff) 
    drop-shadow(0 0 10px #fff) 
    drop-shadow(0 0 20px #fff);
    padding-left: 65px;
  }

  /* 文字の左から右へ長く伸びる線 */
  .p1-b-title h2::after {
    bottom: -45px; 
    height: 65px;
    background-image: url(../image/part3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
  }

  .p1-b-p {
    text-align: right;
    padding-top: 40px;
    padding-right: 20px;
  }

  .p1-b-p p:first-child {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .p1-b-p p:last-child {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 1px;
    padding-top: 20px;
  }

  .p1-c {
    background-color: #F3D4F4;
  }

  .p1-c-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .p1-c-title {
    width: 315px;
    background-image: url(../image/sp-part2.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% auto;
    padding-bottom: 40px;
    margin: 0 auto 30px;
  }

  .p1-c-title h2 {
    font-size: 24px;
  }

  .p1-c-img {
    width: 92%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 20px;
  }

  .p1-c-img img {
    width: 48.5%;
    height: auto;
  }

  .p1-d {
    width: 100%;
    background-image: 
      url(../image/sp-top-back1.png), 
      url(../image/top-back5.png);
    background-position: 
      center top, 
      center bottom;
    background-size: 
      100% 70%, 
      100% 40%;
    background-repeat: no-repeat;
  }

  .p1-d-container {
    padding-top: 40px;
    padding-bottom: 65px;
  }

  .p1-d-title h2 {
    font-size: 24px;
    text-align: left;
    padding-right: 74px;
  }

  .p1-d-title h2::after {
    right: 0;
    bottom: -30px; 
    width: 100%;
    height: 37px;
  }

  .p1-d-box {
    flex-direction: column;
    margin-top: 50px;
  }

  .p1-d-img {
    width: 90%;
    height: auto;
  }

  .p1-d-item {
    width: 92%;
    margin: 0 auto;
  }

  .p1-d-item ul li {
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    letter-spacing: normal;
  }

  .p1-d-item ul li::before {
    width: 24px;
    height: 25px;
    background-image: url(../image/part2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .p1-d-box2 {
    margin-top: 200px;
  }

  .p1-d-p2 {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .p1-d-p1 p {
    font-size: 20px;
    line-height: 1.6;
  }

  .p1-d-p1 p:first-child {
    margin-bottom: 20px;
  }

  .p1-d-p2 p {
    font-size: 36px;
    line-height: 1.6;
    letter-spacing: 6px;
  }

  .p1-d-p2 p span {
    font-size: 36px;
  }

  .p1-d-p3 p {
    width: 350px;
    text-align: left;
    font-size: 16px;
    margin: 0 auto;
  }

  .p1-e {
    background-color: #F3D4F4;
  }

  .p1-e-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .p1-e-box {
    flex-direction: column;
    gap: 30px;
  }

  .p1-e-img1 {
    width: 90%;
    height: auto;
  }

  .p1-e-title h2 {
    text-align: right;
    font-size: 64px;
    padding-right: 84px;
  }

  .p1-e-title h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -30px;
    width: 334px;
    height: 37px;
    background-image: url(../image/part7.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    z-index: 1;
  }

  .p1-e-title p {
    text-align: center;
    font-size: 20px;
    padding-top: 30px;
  }

  .p1-e-box2 {
    width: 92%;
    padding: 45px 20px;
    margin: 60px auto 0;
  }

  .p1-e-title2 {
    top: -30px;
  }

  .p1-e-title2 h3 {
    font-size: 24px;
    line-height: 1.2;
  }

  .p1-e-title2 h3 span {
    font-size: 40px;
    font-weight: bold;
  }

  .p1-e-item {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .p1-e-item:nth-child(3) {
    flex-direction: column;
  }

  .p1-e-text span {
    font-size: 36px;
  }

  .p1-e-text p:first-of-type {
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .p1-e-text p:first-of-type span {
    font-size: 18px;
    color: #B07CB1;
  }

  .p1-e-text p:last-child {
    font-size: 16px;
  }

  .p1-e-img2 {
    width: 100%;
    height: auto;
  }

  .p1-e-item2 {
    margin-top: 30px;
  }

  .p1-e-item2 span {
    font-size: 24px;
  }

  .p1-e-item2 h3 {
    font-size: 18px;
    padding-bottom: 20px;
  }

  .p1-e-item2 h3 span {
    font-size: 18px;
  }

  .p1-e-item2 p {
    text-align: left;
    font-size: 15px;
    line-height: 2;
  }

  .p1-f .p1-d-title {
    text-align: right;
  }

  .p1-f .p1-d-title h2 {
    font-size: 24px; /* 1400基準に変更 */
    padding-left: 0;
    padding-right: 72px;
  }

  .p1-f .p1-d-title h2::after {
    left: 0; 
    bottom: -30px;
    width: 330px;
    height: 37px;
    background-image: url(../image/part6.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    z-index: 1;
  }

  .p1-f .p1-d-box {
    flex-direction: column-reverse;
    margin-top: 20px;
  }

  .p1-f .p1-d-item {
    width: 92%;
    margin: 0 auto;
  }

  .p1-f .p1-d-item ul li {
    font-size: 16px;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #fff;
    display: flex;
    align-items: center;
    /* line-height: 1.1; */
  }

  .p1-f .p1-d-img {
    width: 90%;
    height: auto;
    margin-left: auto;
  }

  .p1-f-text {
    width: 92%;
    padding-top: 60px;
    padding-left: 0;
    margin: 0 auto;
  }

  .p1-f-text p {
    font-size: 16px;
  }

  .p1-f-title {
    width: 316px;
    text-align: center;
    background-image: url(../image/sp-part1.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% auto;
    margin: 40px auto 0;
  }

  .p1-f-title p {
    font-size: 16px;      /* 32 / 1439 */
    padding-bottom: 40px; /* 50 / 1439 */
    color: #fff;
    white-space: nowrap;
  }

  .p1-g-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .p1-g-title {
    width: 240px;
    background-image: url(../image/sp-part2.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% auto;
    padding-bottom: 40px;
    margin: 0 auto 30px;
  }

  .p1-g-title h2 {
    font-size: 24px;
    color: #B07CB1;
  }

  .p1-g-item {
    width: 92%;
    padding: 22px 24px 30px;
  }

  .p1-g-title2 {
    padding-bottom: 24px;
  }

  .p1-g-title2 h3 {
    font-size: 16px;
    letter-spacing: normal;
  }

  .p1-g-title2 h3 span {
    font-size: 32px;
    margin-right: 10px;
  }

  .p1-g-item p {
    font-size: 14px;
    padding-top: 20px;
  }

  .p1-g-img {
    width: 90px;
    height: 30px;
    margin: 0 auto 10px;
  }

  .p1-h-container {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .p1-h-title {
    width: 200px;
    background-image: url(../image/sp-part4.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% auto;
    padding-bottom: 40px;
    margin: 0 auto 20px;
  }

  .p1-h-title h2 {
    font-size: 24px;
    letter-spacing: 6px;
  }

  .p1-h-table {
    width: 92%;
    margin: 0 auto;
  }

  .p1-h-table table th, .p1-h-table table td {
    display: block;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .p1-h-table table th {
    width: 100%;
  }

  .p1-i-container {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .p1-i-title h2 {
    font-size: 40px;
  }

  .p1-i-title p {
    font-size: 24px;
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .p1-i-slider-outer {
      width: 100%;
      overflow: hidden;
    }

    .p1-i-img-container {
      display: flex;
      width: max-content;
      /* 100%ではなく、1セット分の幅（50%）だけ動かす */
      animation: loop-infinite 60s linear infinite;
      /* 初期位置の調整 */
      margin-left: calc(50% - 280px); 
    }

    .p1-i-img {
      /* 固定幅にすることで計算を狂わせない */
      width: 180px;
      flex-shrink: 0;
      padding: 0 10px;
    }

  @keyframes loop-infinite {
    0% {
      transform: translateX(0);
    }
    100% {
      /* 画像セットのちょうど半分（1セット分）の位置を指定 */
      /* 画像が10枚(1枚180px+余白20px=200px)なら -2000px */
      transform: translateX(-50%);
    }
  }


  /* 審美治療について */
  .p2-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .p2-a-box {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px auto 0;
  }

  .p2-a-img {
    max-width: 400px;
    width: 100%;
    height: auto;
  }

  .p2-a-text {
    width: 100%;
  }

  .p2-a-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .p2-b-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .p2-b-box {
    width: 100%;
    padding: 20px;
    margin: 0 auto;
  }

  .p2-b-title {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .p2-b-title h2 {
    font-size: 20px;
    font-weight: 400;
  }

  .p2-b-text ul {
    flex-direction: column;
    align-items: center;
    margin: 10px auto 0;
  }

  .p2-b-text li {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    letter-spacing: normal;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .p2-b-text li img {
    width: 17px;
    height: auto;
    margin-right: 7px;
    flex-shrink: 0;
  }

  .p2-c-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .p2-c-img {
    width: 100%;
    margin: 30px auto 10px;
  }

  .p2-c-text {
    width: 100%;
  }

  .p2-c-text ul {
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .p2-c-text li {
    width: 100%; 
    font-size: 15px;
    letter-spacing: normal;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .p2-c-text li img {
    width: 17px;
    margin-right: 7px;
  }

  .p2-d-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* セレックについて */
  .p3-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .p3-a .h2-title h2 {
    font-size: 18px;
    letter-spacing: normal;
  }

  .p3-b-container {
    width: 92%;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .p3-b .p1-e-box2 {
    width: 100%;
    margin-top: 30px;
  }

  .p3-b .p1-e-item {
    gap: 20px;
    padding: 20px 8px;
    margin-bottom: 30px;
  }

  .p3-b .p1-e-item:nth-child(2) {
    flex-direction: column;
  }

 .p3-b .p1-e-item:nth-child(3) {
    flex-direction: column-reverse;
  }

  .p3-b .p1-e-text {
    width: 100%;
  }

  .p3-b .p1-e-img2 {
    max-width: 400px;
    width: 100%;
  }

  .p3-b .p1-e-text p:last-child {
    font-size: 16px;
    letter-spacing: normal;
  }

  .p3-d .p2-d-container {
    width: 92%;
    margin: 0 auto;
  }

  .p3-d .p1-d-p2 p {
    font-size: clamp(22px, 6vw, 36px);
  }


  /* 治療の流れ */
  .p4-a-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .p4-a .h2-title {
    width: 92%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 auto;
  }

  .p4-a .p1-g-box {
    margin-top: 30px;
  }

  .p4-b-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 30px;
    margin: 0 auto;
  }

  .p4-b-text {
    width: 100%;
    margin: 20px auto 0;
  }

  .p4-b .h2-title h2 {
    font-size: 20px;
  }

  .p4-b-text p {
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: normal;
  }


  /* 料金表 */
  .p5-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .p5-a-table {
    width: 100%;
    margin: 0 auto 40px;
  }

  .p5-a-table p {
    font-size: 14px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .p5-a-table table th, 
  .p5-a-table table td {
    display: block;
    text-align: center;
    font-size: 14px;
    padding: 10px 0 20px;
  }

  .p5-a-table table th {
    width: 100%;
  }

  .p5-a-text {
    width: 100%;
    margin: 30px auto 0;
  }

  .p5-a-text p {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: normal;
  }

  .p5-a-text p:last-child {
    margin-top: 20px;
  }


  /* 医院紹介 */
  .p6-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .p6-a-box {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px auto 0;
  }

  .p6-a-img {
    max-width: 400px;
    width: 100%;
    height: auto;
  }

  .p6-a-text {
    max-width: 400px;
    width: 100%; 
  }

  .p6-a-text p {
    font-size: clamp(18px, 4.4vw, 22px);
    letter-spacing: normal;
  }

  .p6-b .p2-b-box {
    padding-top: 10px;
  }

  .p6-b .p2-b-box ul {
    margin-top: 0;
  }

  .p6-c-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .p6-c-box {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px auto 40px;
  }

  .p6-c-item {
    width: calc((100% - 15px) / 2);
    max-width: 400px;
  }

  .p6-c-item p {
    font-size: clamp(12px, 3.2vw, 16px);
    padding-top: 10px;
    padding-bottom: 10px;
    letter-spacing: normal;
    margin-top: -5px;
  }


  /* 下層ページ共通 */
  .sub-v-container {
    padding-top: 63px;
    padding-bottom: 20px;
  }

  .sub-title {
    width: 92%;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .sub-title h1 {
    font-size: 28px;
  }

  .h2-title {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .h2-title h2 {
    font-size: 24px;
    font-weight: 400;
    padding-bottom: 20px;
  }



  /* レイアウトパーツ */
  .layout-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .layout-title {
    width: 306px;
    text-align: center;
    background-image: url(../image/sp-part1.png);
    padding-bottom: 40px;
  }

  .layout-title h2 {
    font-size: 20px;
    letter-spacing: normal;
  }

  .layout-text {
    margin-top: 20px;
  }

  .layout-text h3 {
    font-size: 40px;
  }

  .layout-p {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }

  .layout-p p {
    font-size: min(24px, 2vw);
    color: #fff;
  }

  .layout-img {
    margin-top: 30px;
  }

  .layout-img img {
    width: 335px;
  }

  /* フッター */
  .footer-container {
    width: 92%;
    padding-top: 30px;
    margin: 0 auto;
  }

  .footer-box {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-item {
    width: 100%;
  }

  .footer-logo {
    gap: 15px;
  }

  .footer-logo a img {
    width: 335px;
    height: auto;
  }

  .footer-logo span {
    font-size: 13px;
    padding: 6px 17px;
  }

  .footer-link {
    gap: 10px;
    margin-top: 20px;
  }

  .footer-link img {
    width: 335px;
    height: auto;
  }

  .footer-schedule {
    width: 335px;
  }

  .footer-schedule th,
  .footer-schedule td {
    text-align: center;
    font-weight: 400;
    padding: 10px 0;
    font-size: 11px;
  }

  .footer-schedule th:first-child,
  .footer-schedule td:first-child {
    text-align: left;
    width: 25%;
  }

  .footer-schedule td:not(:first-child) {
    font-size: 14px;
  }

  .footer-table {
    padding-left: 12px;
    margin-top: 14px;
  }

  .footer-table p {
    font-size: 11px;
  }

  .footer-box2 {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px auto;
  }

  .footer-box2 img {
    width: 335px;
    height: auto;
  }

  .footer-map {
    text-align: center;
  }

  .footer-map iframe {
    width: 100%;
    height: 480px;
  }

  .copy-right {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .copy-right p {
    font-size: 12px;
  }

  /* 固定フッター */
  .fixed-footer-menu {
    display: flex;
    justify-content: space-between;
    position: fixed;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 40px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }

  .fixed-btn {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    background-color: #C99CC8;
    font-size: 16px;
    letter-spacing: normal;
  }

  .fixed-btn:last-child {
    border-right: none;
  }

  .fixed-btn:first-child::before,
  .fixed-btn:last-child::before {
    content: "";
    display: inline-block;
    width: 29px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .fixed-btn:first-child::before {
    background-image: url(../image/sp-footer-img1.png);
  }

  .fixed-btn:last-child::before {
    background-image: url(../image/sp-footer-img3.png);
  }

  .tel-text-btn {
    width: 18%;
    background-color: #F3D4F4;
    border-right: none;
  }

  .tel-text-btn img {
    width: 15px;
    height: auto;
  }

  body {
    padding-bottom: 40px;
  }

}

@media screen and (max-width: 430px) {
  /* トップ */
  .slide1 { background-image: url(../image/sp-main-back1.png); }
  .slide2 { background-image: url(../image/sp-main-back2.png); }
  .slide3 { background-image: url(../image/sp-main-back3.png); }

  .p1-b {
    height: auto; 
    min-height: auto; 
    background-image: url(../image/sp-top-img1.png);
    background-size: 100% auto; 
  }

  .p1-b-p {
    padding-top: 330px;
  }

  .p1-d {
    width: 100%;
    background-image: 
      url(../image/sp-top-back1.png), 
      url(../image/top-back5.png);
    background-position: 
      center top, 
      center bottom;
    background-size: 
      100% 62%, 
      100% 50%;
    background-repeat: no-repeat;
  }


  /* 医院紹介 */
  /* .p6-c-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px auto 40px;
  }

  .p6-c-item {
    width: 100%;
    max-width: 300px;
  }

  .p6-c-item p {
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: -5px;
  } */


}