@charset "utf-8";
/* レイアウトのためのCSS */

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝",
    "Yu Mincho", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  color: #333;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
  cursor: url(../img/ロゴアイコン.png), auto;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 0.8rem;
  }
}

* {
  box-sizing: border-box;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
  outline: none;
}

img {
  width: 100%;
  height: auto;
}

/* font-family */

#splash-logo,
.top-lead,
h1,
h2,
h3 span,
#g-nav,
#pc-nav,
.openbtn,
#footer {
  font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝",
    "Yu Mincho", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  letter-spacing: 0.1em;
}

#top-main {
  position: relative;
  width: 100%;
  height: 800px; /* 高さを固定 */
  overflow: hidden;
}

#top-main img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を保ちつつ、枠いっぱいに収める */
  object-position: center;
  display: block;
}

.top-lead {
  color: #000; /* 本文の色 */
  text-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 12px #fff;
}
/* splash */
#splash-logo {
  width: 50%;
  font-size: 3.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #eb6100;
}

@media screen and (max-width: 550px) {
  #splash-logo {
    width: 90%;
  }

  #top-main {
    height: 500px; /* 高さを固定 */
  }
}

/* g-nav */

#g-nav.panelactive li:last-child a {
  margin: 30px 0 0 0;
  padding: 10px 20px;
  border: 2px solid #333;
  white-space: nowrap;
}

/*pc-nav*/

#pc-nav span.bgLRextend::before {
  background: #333;
}

@media screen and (max-width: 990px) {
  #pc-nav {
    display: none;
  }
}

/* heading */

.header-logo {
  width: 80px;
  height: auto;
  text-transform: uppercase;
  font-size: 1.5rem;
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
  letter-spacing: 0.2em;
}

.header-logo2 {
  width: 180px;
  height: auto;
  text-transform: uppercase;
  font-size: 1.5rem;
  position: absolute;
  top: 15px;
  left: 95px;
  line-height: 1;
  letter-spacing: 0.2em;
}

@media screen and (max-width: 750px) {
  .header-logo {
    font-size: 1.2rem;
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
  }

  .header-logo img {
    width: 80%;
  }
  .header-logo2 {
    font-size: 1.2rem;
    position: absolute;
    top: 5px;
    left: 65px;
    height: 60px;
  }

  .header-logo2 img {
    width: 80%;
  }
}

.header-logo a {
  color: #eb6100;
}

.header-logo2 a {
  color: #eb6100;
}

h2 {
  text-transform: uppercase;
  font-size: 3rem;
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
}

/* lead */

.top-lead {
  position: absolute;
  bottom: 5% !important;
  left: 5%;
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1.5;
}

.top-lead span.bgLRextend::before {
  background: #333;
}

@media screen and (max-width: 750px) {
  .top-lead {
    font-size: 2.2rem;
    bottom: 50%;
  }
}
@media screen and (max-width: 380px) {
  .top-lead {
    font-size: 1.8rem;
  }
}

.top-img {
  width: 100%;
  position: relative;
}

.top-left {
  content: "";
  width: 75%;
  position: absolute;
  top: 100px;
  left: -10%;
}

.top-right {
  content: "";
  width: 75%;
  position: absolute;
  top: 100px;
  right: -10%;
}

.top-center {
  content: "";
  width: 50%;
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.top-left img {
  animation: fadeInLeft 1s ease-out forwards;
  animation-delay: 3s; /* 3秒遅らせて開始 */
}

.top-right img {
  animation: fadeInRight 1s ease-out forwards;
  animation-delay: 3s;
}

.top-center img {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 4s; /* さらに0.5秒遅れて出す */
}

/* 初期状態：非表示 */
.top-left img,
.top-right img,
.top-center img {
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .top-right {
    width: 100%;
    top: 250px;
  }

  .top-left {
    width: 100%;
    top: 50px;
  }

  .top-center {
    width: 90%;
    top: 50px;
    right: -120px;
  }
}

/* 左からフェードイン */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 右からフェードイン */
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 奥から浮き上がる */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* main-area */

#main-area {
  width: 100%;
  margin: 0 auto;
}

/* topics */

#topics {
  border-left: 3px solid #000;
  padding: 0 0 0 20px;
}

@media screen and (max-width: 768px) {
  #topics {
    margin: 0 0 100px 0;
  }
}

#topics h2 {
  font-size: 1.5rem;
}

#topics h2 span.bgLRextend::before {
  background: #333;
}

.bx-wrapper {
  box-shadow: none;
  border: none;
}

/* vision */

#vision {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 100px 0;
  position: relative;
  margin: 50px 0;
}

@media screen and (max-width: 768px) {
  #vision {
    margin: 0 0 50px 0;
    display: flex;
    flex-direction: column-reverse;
    padding-top: 30px;
    width: 95%;
    margin: 0 auto;
  }
}

#vision .img {
  width: 40%;
  min-height: 590px;
  background: url("../img/vision1.jpg") no-repeat center;
  background-size: cover;
  z-index: 10;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

#vision .img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/vision1.jpg") no-repeat center;
  background-size: cover;
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 80%, 0% 80%);
  border-radius: 30px 30px 0 0;
  z-index: -1;
}

#vision .content {
  width: 50%;
  text-align: left;
  z-index: 10;
}

.content p {
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  #vision .img {
    width: 100%;
    min-height: 290px;
    margin: 0 0 50px 0;
  }

  #vision .content {
    width: 100%;
    text-align: left;
  }
}

#vision h2 {
  color: #eb6100;
  margin: 0 0 30px 0;
}

#vision p {
  line-height: 2;
  margin: 0 0 50px 0;
}

#vision .vision-lead {
  position: relative;
  color: #eb6100;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 0 90px 0;
}

@media screen and (max-width: 768px) {
  #vision .vision-lead {
    font-size: 1rem;
  }

  #vision p {
    line-height: 1.2;
    font-size: 1rem;
    margin: 0 0 50px 0;
  }
}

#vision .vision-lead::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  background: #eb6100;
  width: 12em;
  height: 3px;
}

/* AI */

#particle-canvas {
  width: 100%;
  height: 100%;
}

.AI {
  width: 100%;
  height: 600px;
  margin-bottom: 100px;
}

.AI-box {
  width: 90%;
  height: 200px;
  margin: 0 auto;
  align-items: center;
}

.AI-left {
  position: absolute;
  top: 100px;
  left: 10%;
  width: 500px;
  height: 400px;
  margin: 0 auto;
  z-index: 15;
  overflow: hidden;
}

.AI-left img {
  width: 100%;
}

.AI-right {
  position: absolute;
  top: 100px;
  right: 10%;
  width: 500px;
  height: 400px;
  color: #fff;
  z-index: 15;
}

.AI-right h2 {
  font-size: 2rem;
}

.AI-box .button {
  position: absolute;
  top: 450px;
  right: 20%;
  width: 250px;
  z-index: 999;
}

.AI-box .button a {
  background: #eee;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #333333;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
.AI-box .button a:hover {
  background: #eb6101;
  color: #fff;
}
.AI-box .button a:after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.AI-box .button a:hover:after {
  border-color: #fff;
}

@media screen and (max-width: 768px) {
  .AI {
    height: 650px;
    width: 100%;
    margin-bottom: 30px;
  }

  .AI-left {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    width: 350px;
    height: 250px;
    margin: 0 auto;
    z-index: 15;
    overflow: hidden;
  }

  .AI-right {
    position: absolute;
    top: 300px;
    left: 0;
    right: 0;
    width: 90%;
    height: 250px;
    color: #fff;
    z-index: 15;
    margin: 0 auto;
  }

  .AI-right h2 {
    font-size: 1.5rem;
  }

  .AI-box .button {
    position: absolute;
    top: 570px;
    left: 0;
    right: 0;
    width: 80%;
    z-index: 999;
    margin: 0 auto;
  }
}

/* children */

#children {
  width: 100%;
  height: 700px;
  position: relative;
  background-image: url("../img/背景1.png");
  background-size: cover; /* 画面いっぱいに拡大縮小 */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返さない */
  background-color: rgba(255, 255, 255, 0.8); /* 白を60%透過で重ねる */
  background-blend-mode: lighten; /* multiply, overlay などでもOK */
}

#children h2 {
  text-align: center;
  color: #eb6100;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 750px) {
  #children {
    height: 1000px;
  }

  #children h2 {
    margin: 0 0 50px 0;
  }
  .child-box {
    display: flex;
    flex-direction: column;
  }

  .child-left {
    width: 100% !important;
    padding-bottom: 20px;
  }

  .child-right {
    width: 100% !important;
  }

  #children .button {
    width: 70% !important;
    margin: 0 auto;
    padding-top: 20px;
  }

  #children .button a {
    width: 100% !important;
  }
}

.child-box {
  width: 90%;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

.child-box p {
  font-weight: bold;
}

.child-left {
  width: 40%;
  height: 400px;
  background: url("../img/お子様ずれ.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border: 5px solid #eb6100; /* 青色のボーダー */
  border-radius: 90px 180px 90px 180px;
  box-sizing: border-box; /* width, height に border, padding を含める */
}

.child-right {
  width: 40%;
  height: 400px;
}

.child-right h3 {
  font-size: 1.5rem;
  color: #eb6100;
}

#children .button {
  display: block;
  margin: 0 auto;
  width: 250px;
  z-index: 999;
  padding-top: 50px;
}

#children .button a {
  background: #eee;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #333333;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
#children .button a:hover {
  background: #eb6101;
  color: #fff;
}
#children .button a:after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
#children .button a:hover:after {
  border-color: #fff;
}

/* kids */

#kids {
  width: 100%;
  height: 700px;
  position: relative;
  background-image: url("../img/背景1.png");
  background-size: cover; /* 画面いっぱいに拡大縮小 */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返さない */
  background-color: rgba(255, 255, 255, 0.6); /* 白を60%透過で重ねる */
  background-blend-mode: lighten; /* multiply, overlay などでもOK */
}

#kids h2 {
  text-align: center;
  color: #eb6100;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 750px) {
  #kids {
    height: 1100px;
  }

  #kids h2 {
    font-size: 1.5rem;
    margin: 0 0 50px 0;
  }
  .kids-box {
    display: flex;
    flex-direction: column !important;
  }

  .kids-left {
    width: 100% !important;
    padding-bottom: 20px;
  }

  .kids-right {
    width: 100% !important;
  }

  #kids .button {
    width: 70% !important;
    margin: 0 auto;
    padding-top: 20px;
  }

  #kids .button a {
    width: 100% !important;
  }
}

.kids-box {
  width: 90%;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
}

.kids-box p {
  font-weight: bold;
}

.kids-left {
  width: 40%;
  height: 400px;
  background: url("../img/子供施術（仮）.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border: 5px solid #eb6100; /* 青色のボーダー */
  border-radius: 90px 180px 90px 180px;
  box-sizing: border-box; /* width, height に border, padding を含める */
}

.kids-right {
  width: 50%;
  height: 400px;
}

.kids-right h3 {
  font-size: 1.5rem;
  color: #eb6100;
}

#kids .button {
  display: block;
  margin: 0 auto;
  padding-top: 50px;
  width: 250px;
  z-index: 999;
}

#kids .button a {
  background: #eee;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #333333;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
#kids .button a:hover {
  background: #eb6101;
  color: #fff;
}
#kids .button a:after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
#kids .button a:hover:after {
  border-color: #fff;
}

/* sports */

#sports {
  width: 100%;
  height: 700px;
  position: relative;
  background-image: url("../img/背景1.png");
  background-size: cover; /* 画面いっぱいに拡大縮小 */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返さない */
  background-color: rgba(255, 255, 255, 0.6); /* 白を60%透過で重ねる */
  background-blend-mode: lighten; /* multiply, overlay などでもOK */
}

#sports h2 {
  text-align: center;
  color: #eb6100;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 750px) {
  #sports {
    height: 1000px;
  }

  #sports h2 {
    margin: 0 0 50px 0;
  }
  .sports-box {
    display: flex;
    flex-direction: column;
  }

  .sports-left {
    width: 100% !important;
    padding-bottom: 20px;
  }

  .sports-right {
    width: 100% !important;
  }

  #sports .button {
    width: 70% !important;
    margin: 0 auto;
    top: 900px !important;
    position: absolute;
    right: 15% !important;
  }

  #sports .button a {
    width: 100% !important;
  }
}

.sports-box {
  width: 90%;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

.sports-left {
  width: 40%;
  height: 400px;
  background: url("../img/スポーツ（仮）.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border: 5px solid #eb6100; /* 青色のボーダー */
  border-radius: 90px 180px 90px 180px;
  box-sizing: border-box; /* width, height に border, padding を含める */
}

.sports-right {
  width: 40%;
  height: 400px;
}

.sports-right h3 {
  font-size: 1.5rem;
  color: #eb6100;
}

#sports .button {
  position: absolute;
  top: 500px;
  right: 20%;
  width: 250px;
  z-index: 999;
}

#sports .button a {
  background: #eee;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #333333;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
#sports .button a:hover {
  background: #eb6101;
  color: #fff;
}
#sports .button a:after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
#sports .button a:hover:after {
  border-color: #fff;
}

/* PR */

#PR {
  position: relative;
  width: 100%;
  height: 600px;
  margin-bottom: 50px;
}

.br1 {
  display: none;
}

.bg {
  height: 600px;
  position: absolute;
  animation: slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(
    -60deg,
    rgb(42, 15, 0) 50%,
    rgb(239, 147, 68) 50%
  );
  bottom: 0;
  left: -50%;
  opacity: 0.5;
  right: -50%;
  top: 0;
  z-index: -1;
}

.bg2 {
  animation-direction: alternate-reverse;
  animation-duration: 4s;
}

.bg3 {
  animation-duration: 5s;
}

@keyframes slide {
  0% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(25%);
  }
}

.PR-right1 {
  position: absolute;
  top: 90px;
  right: 12%;
  width: 40%;
  height: 400px;
  color: #fff;
  z-index: 15;
  text-align: center;
}
.PR-right2 {
  position: absolute;
  top: 110px;
  right: 8%;
  width: 40%;
  height: 400px;
  color: #fff;
  z-index: 15;
  text-align: center;
}

.PR-bk {
  position: absolute;
  top: 75px;
  right: 7.5%;
  width: 45%;
  height: 450px;
  color: #fff;
  z-index: 10;
  text-align: center;
  background-color: #fff;
  border-radius: 20px;
}

.PR-box {
  position: relative;
}

.PR-right1 .img1 {
  clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
  width: 100%;
  height: 100%;
  border-radius: 90px 10px 90px 10px;
  z-index: 15;
}
.PR-right2 .img2 {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  width: 100%;
  height: 100%;
  border-radius: 90px 10px 90px 10px;
  z-index: 15;
}

.PR-left {
  position: absolute;
  top: 100px;
  left: 10%;
  width: 500px;
  height: 400px;
  margin: 0 auto;
  z-index: 15;
  color: #fff;
}

.PR-left h2 {
  font-size: 1.8rem;
}

#PR .button {
  position: absolute;
  top: 400px;
  left: 20%;
  width: 250px;
  z-index: 999;
}

#PR .button a {
  background: #eee;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #333333;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
#PR .button a:hover {
  background: #eb6101;
  color: #fff;
}
#PR .button a:after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
#PR .button a:hover:after {
  border-color: #fff;
}

@media screen and (max-width: 750px) {
  #PR {
    height: 1000px;
  }

  .bg {
    height: 1000px;
  }

  .br1 {
    display: block;
  }

  .PR-right1 {
    position: absolute;
    top: 51.5%;
    right: 6%;
    width: 90%;
    height: 300px;
    color: #fff;
    z-index: 15;
    text-align: center;
  }
  .PR-right2 {
    position: absolute;
    top: 53.5%;
    right: 4%;
    width: 90%;
    height: 300px;
    color: #fff;
    z-index: 15;
    text-align: center;
  }

  .PR-bk {
    position: absolute;
    top: 50%;
    right: 2.5%;
    width: 95%;
    height: 350px;
    color: #fff;
    z-index: 10;
    text-align: center;
    background-color: #fff;
    border-radius: 20px;
  }

  .PR-box {
    position: relative;
  }

  .PR-right1 .img1 {
    clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
    width: 100%;
    height: 100%;
    border-radius: 90px 10px 90px 10px;
    z-index: 15;
  }
  .PR-right2 .img2 {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    width: 100%;
    height: 100%;
    border-radius: 90px 10px 90px 10px;
    z-index: 15;
  }

  .PR-left {
    position: absolute;
    top: 50px;
    left: 5%;
    width: 90%;
    height: 300px;
    margin: 0 auto;
    z-index: 15;
    color: #fff;
  }

  #PR .button {
    position: absolute;
    top: 900px;
    left: 5%;
    width: 90%;
    z-index: 999;
  }
}

/* service */

#service {
  width: 80%;
  margin: 0 auto;
}

#service h2 {
  text-align: center;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 550px) {
  #service h2 {
    margin: 0 0 50px 0;
  }
}

#service h2 span.bgLRextend::before {
  background: #333;
}

#service .service-area {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 300px 0;
}

@media screen and (max-width: 768px) {
  #service .service-area {
    margin: 0 0 200px 0;
  }
}

@media screen and (max-width: 590px) {
  #service .service-area {
    margin: 0 0 50px 0;
  }
}

#service .service-area::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 23em;
  background: #f3f3f3;
  right: 10%;
  top: 20%;
  z-index: -1;
}

#service .service-area:nth-of-type(2n + 1) {
  flex-direction: row-reverse;
}

#service .service-area .img {
  width: 50%;
}

#service .service-area .content {
  width: 40%;
  background: #fff;
  box-shadow: 0 0 20px #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 150px;
}

@media screen and (max-width: 768px) {
  #service .service-area .content {
    width: 47%;
    top: 100px;
  }
}

@media screen and (max-width: 590px) {
  #service .service-area .img {
    width: 100%;
    z-index: 2;
  }
  #service .service-area .content {
    width: 100%;
    top: -10px;
    animation: none;
    opacity: 1;
    z-index: 1;
  }
}

#service .service-area .content-area {
  padding: 40px;
}

#service .service-area .content-area h3 {
  text-align: center;
  font-size: 1rem;
  margin: 0 0 30px 0;
}

#service .service-area .content-area h3 span {
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  font-size: 1.2rem;
}

#service .service-area .content-area p {
  margin: 0 0 30px 0;
}

#service .btn {
  text-align: right;
}

/* about */

#about {
  margin: 0 0 200px 0;
}

@media screen and (max-width: 768px) {
  #about {
    margin: 0 0 100px 0;
  }
}

#about h2 {
  text-align: center;
  color: #eb6100;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 550px) {
  #about h2 {
    margin: 0 0 50px 0;
  }
}

#about .about-list {
  width: 96%;
  max-width: 900px;
  margin: 0 auto;
}

#about .about-list li {
  border-bottom: 1px solid #ccc;
  margin: 0 0 15px 0;
  padding: 0 0 15px 0;
}

#about .about-list dl {
  display: flex;
  justify-content: space-between;
}

#about .about-list dt {
  width: 30%;
  padding: 0 0 0 40px;
}

@media screen and (max-width: 590px) {
  #about .about-list dt {
    padding: 0 0 0 10px;
  }
}

#about .about-list dd {
  width: 65%;
}

/* staff */

#staff {
  margin: 0 0 200px 0;
}

.staff-list {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

#staff .staff-list li {
  position: relative; /* ←基準にするため必須 */
  width: 50%;
  background-image: url("../img/整骨院_004.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 600px;
}

#staff .staff-list li::after {
  content: "";
  position: absolute; /* ←liを基準に絶対配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* ←liの高さに合わせる */
  background: rgba(141, 111, 69, 0.5);
}

@media screen and (max-width: 768px) {
  #staff {
    margin: 0 0 100px 0;
  }
}

#staff h2 {
  text-align: center;
  color: #eb6100;
  margin: 0 0 50px 0;
}

@media screen and (max-width: 550px) {
  #staff h2 {
    margin: 0 0 50px 0;
  }

  #staff .staff-list li {
    width: 100%;
  }
}

#staff .staff-list {
  width: 100%;
  margin: 0 auto;
}

.staff-details {
  width: 80%;
  margin: 0 auto;
  position: absolute;
  top: 400px;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 10;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.staff-details h3 {
  font-size: 1.6rem;
  margin: 0 0 10px 0;
  z-index: 10;
  font-weight: bold;
  position: absolute;
  top: -30px;
}

.staff-details p {
  font-size: 1rem;
  z-index: 10;
  position: absolute;
  top: 40px;
  font-weight: bold;
}

.staff-details img {
  width: 450px;
  margin: 0 auto;
  position: absolute;
  top: -500px;
  left: 0;
  right: 0;
}

#staff .staff-list dl {
  display: flex;
  justify-content: space-between;
}

#staff .staff-list dt {
  width: 30%;
  padding: 0 0 0 40px;
}

.staff-list {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 590px) {
  #staff .staff-list dt {
    padding: 0 0 0 10px;
  }

  .staff-details {
    width: 100%;
  }

  #staff .staff-list li {
    height: 400px;
  }

  .staff-details h3 {
    top: -300px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .staff-details p {
    top: -230px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .staff-details img {
    width: 350px;
    top: -450px;
    right: -200px;
  }
}

#staff .staff-list dd {
  width: 65%;
}

/* faq */

#faq {
  margin: 0 0 200px 0;
}

#faq h2 {
  text-align: center;
  margin: 0 0 100px 0;
}

#faq h2 span.bgLRextend::before {
  background: #333;
}

.faq-bg {
  position: relative;
  height: 55vh;
  background: url("../img/整骨院_005.jpeg") no-repeat center;
  background-size: cover;
  margin: 0 0 200px 25%;
}

.faq-bg::after {
  content: "";
  position: absolute;
  top: 20%;
  left: -32%;
  width: 100%;
  height: 55vh;
  background: #f3f3f3;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .faq-bg,
  .faq-bg::after {
    height: 35vh;
  }
}

@media screen and (max-width: 550px) {
  #faq {
    margin: 0 0 100px 0;
  }

  #faq h2 {
    margin: 0 0 50px 0;
  }

  .faq-bg {
    margin: 0 0 100px 25%;
  }

  .faq-bg,
  .faq-bg::after {
    height: 20vh;
  }
}

/* contact */

#contact {
  margin: 0 0 100px 0;
}

#contact h2 {
  text-align: center;
  margin: 0 0 100px 0;
  color: #eb6101;
}

@media screen and (max-width: 550px) {
  #contact h2 {
    margin: 0 0 50px 0;
  }
}

#contact .form-list {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

#contact input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 16px;
}

#contact .form-list input[type="text"],
#contact .form-list input[type="email"],
#contact .form-list textarea {
  width: 100%;
  border: 1px solid #666;
  background: #fff;
  padding: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#contact .form-list input[type="text"],
input[type="email"] {
  height: 50px;
}

#contact .submit-btn {
  width: 152px;
  margin: 0 auto;
}

#contact input[type="submit"] {
  border: 2px solid #333;
  color: #333;
  text-align: center;
  padding: 5px 20px;
  width: 152px;
  margin: 0 auto;
  transition: all 0.3s;
}

#contact input[type="submit"]:hover {
  background: #333;
  color: #fff;
}

#contact .form-list dl {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 0 20px 0;
}

#contact .form-list dt {
  width: 30%;
}

#contact .form-list dd {
  width: 66%;
}

#contact .form-list textarea {
  height: 200px;
}

@media screen and (max-width: 768px) {
  #contact .form-list dt {
    margin: 0 0 10px 0;
  }
  #contact .form-list dt,
  #contact .form-list dd {
    width: 100%;
  }
}

/* footer */

.footer {
  background: linear-gradient(
    135deg,
    var(--warm-beige) 0%,
    var(--light-gold) 100%
  );
  color: var(--text-dark);
  /* padding: 5rem 0 2rem; */
  /* margin-top: 6rem; */
  position: relative;
}

.footer__container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ロゴセクション */
.footer__logo-section {
  text-align: center;
  margin-bottom: 4rem;
}

.footer__logo img {
  max-width: 40rem;
  height: auto;
  filter: brightness(0.9);
}

/* メインコンテンツ */
.footer__main-content {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  padding-top: 3rem;
}

/* ナビゲーション */
.footer__nav-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 2rem;
  text-align: center;
  font-family: "Shippori Mincho", serif;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.footer__nav-list li {
  margin: 0;
  font-size: 1rem;
}

.footer__nav-link {
  display: block;
  padding: 0.8rem 1.2rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  border-radius: 0.6rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

.footer__nav-link:hover {
  background: var(--medium-gold);
  color: var(--dark-brown);
  transform: translateX(0.5rem);
}

/* お問い合わせ・SNS */
.footer__contact {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  padding: 2.5rem;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.1);
}

.footer__contact-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 2rem;
  text-align: center;
  font-family: "Shippori Mincho", serif;
}

/* 電話番号 */
.footer__phone {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.8rem;
}

.footer__phone-text {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer__phone-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__phone-number:hover {
  color: var(--dark-gold);
}

/* SNSセクション */
.footer__sns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.footer__sns-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.8rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  position: relative;
}

.footer__sns-item:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.15);
  background: var(--soft-yellow);
}

.footer__sns-icon {
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.8rem;
  border-radius: 0.6rem;
}

.footer__sns-icon-wrap {
  position: relative;
  margin-bottom: 0.8rem;
}

.footer__instagram-badge {
  position: absolute;
  bottom: -0.3rem;
  right: -0.3rem;
  width: 1.8rem;
  height: 1.8rem;
  background: white;
  border-radius: 50%;
  padding: 0.2rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.2);
}

.footer__sns-item span {
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

/* コピーライト */
.footer__copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 0.1rem solid var(--medium-gold);
}

.footer__copyright p {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

/* レスポンシブデザイン */
@media screen and (max-width: 750px) {
  .footer__container {
    padding: 0 1.5rem;
  }

  .footer__main-content {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__logo img {
    max-width: 90%;
  }

  .footer__nav-list {
    grid-template-columns: 1fr 1fr;
  }

  .footer__nav-list .wide {
    grid-column: 1 / -1; /* → 2列ぶち抜きで1列表示 */
  }

  .footer__contact {
    padding: 1.5rem;
  }

  .footer__nav-title,
  .footer__contact-title {
    font-size: 1.4rem;
  }

  .footer__nav-link {
    font-size: 0.8rem;
  }

  .footer__phone-number {
    font-size: 1.8rem;
  }

  .footer__sns {
    grid-template-columns: 1fr 1fr;
  }

  .footer__sns-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .footer__phone-text {
    font-size: 1rem;
  }
}

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

  .footer__nav-list {
    gap: 0.6rem;
  }

  .footer__nav-link {
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
  }

  .footer__phone-number {
    font-size: 1.6rem;
  }
}

/* アニメーション効果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer__main-content {
  animation: fadeInUp 0.6s ease-out;
}

.access {
  width: 90%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.access-info {
  width: 100%;
}

.access p {
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.5;
}

.access img {
  width: 300px;
  height: auto;
}

.map {
  width: 40%;
  padding-left: 50px;
}

@media screen and (max-width: 750px) {
  .access {
    flex-direction: column;
    align-items: center;
  }

  .access-info,
  .map {
    width: 100%;
  }

  .map {
    padding-left: 0;
    margin-top: 20px;
  }
}

/* reserve-btn */

/* ② CTAが隠れないよう、本文の下余白を確保（必要に応じて調整） */
:root {
  --cta-height: 64px; /* 最小の高さ（行間で伸縮） */
  --cta-gap: 2px; /* 真ん中の仕切り（隙間） */
  --radius: 0; /* 角丸にしたい場合は 12px など */
  --color-primary: #eb6101; /* 左・予約の色 */
  --color-primary-hover: #eb6101;
  --color-phone: #111827; /* 右・電話の色（濃いグレー） */
  --color-phone-hover: #0b1220;
  --color-text-on-dark: #ffffff;
  --shadow: 0 -6px 16px rgba(0, 0, 0, 0.12);
}

body {
  /* iOSのホームバー分も余白を足して、CTAにコンテンツが隠れないようにする */
  padding-bottom: calc(var(--cta-height) + env(safe-area-inset-bottom));
}

/* ③ 画面下部固定の2分割ボタン */
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cta-gap);
  background: transparent; /* 仕切りをgapで表現 */
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: var(--shadow);
}

/* 個々のボタン共通 */
.fixed-cta .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--cta-height);
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  border: 0;
  border-radius: var(--radius);
  transition: transform 0.06s ease, opacity 0.2s ease;
  will-change: transform;
}

/* 左側：予約 */
.fixed-cta .cta--primary {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
}

/* 右側：電話 */
.fixed-cta .cta--phone {
  background: var(--color-phone);
  color: var(--color-text-on-dark);
}

/* ホバー＆アクティブ */
.fixed-cta .cta--primary:hover {
  background: var(--color-primary-hover);
}
.fixed-cta .cta--phone:hover {
  background: var(--color-phone-hover);
}
.fixed-cta .cta:active {
  transform: scale(0.98);
}

/* アイコンの見やすさ */
.fixed-cta .cta svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

/* 大きめ画面では少しだけ高さや文字サイズをアップ */
@media (min-width: 768px) {
  :root {
    --cta-height: 72px;
  }
  .fixed-cta .cta {
    font-size: 1.0625rem;
  }
}

/* もしPCでは表示を薄くしたい場合（任意） */
/*
@media (hover: hover) and (pointer: fine) {
  .fixed-cta { opacity: .98; }
}
*/

/* CSS */
.menu-section {
  background-color: #fff;
  padding: 80px 20px 40px 20px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px; /* ボタン間の余白 */
}

.menu-list li {
  flex: 1; /* 均等幅にする */
}

.menu-list a {
  display: block;
  text-align: center;
  padding: 15px 20px;
  background: #eb6101;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px; /* 丸角 */
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 2px solid #eb6101;
}

.menu-list a .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.menu-list a:hover {
  background: #fff;
  color: #eb6101;
  border: 2px solid #eb6101;
}

.menu-list a:hover .arrow {
  transform: translateX(5px);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .menu-list {
    flex-direction: column;
  }
}

/* 美容整体セクション */
#beauty {
  background-color: #fdfaf6; /* アイボリーベース */
  padding: 60px 20px;
}

.beauty-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
}

.beauty-text {
  flex: 1 1 45%;
}

.beauty-text h2 {
  font-size: 2rem;
  margin: 20px 0 15px;
  color: #d46a8c; /* ピンクアクセント */
  font-weight: bold;
}

.beauty-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444;
}

.beauty-logo {
  max-width: 320px;
  height: auto;
}

.beauty-button a {
  display: inline-block;
  background-color: #d46a8c; /* ピンクアクセント */
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.beauty-button a:hover {
  background-color: #b54d70;
}

/* .beauty-photo {
  flex: 1 1 45%;
  text-align: center;
} */

/* .beauty-photo img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
} */

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .beauty-inner {
    flex-direction: column;
  }
  .beauty-text,
  .beauty-photo {
    /* flex: 1 1 100%; */
    text-align: center;
  }
  .beauty-text h2 {
    font-size: 1.6rem;
  }
}

/* AI-page */

#particle-canvas {
  width: 100%;
  height: 100%;
}

.AI-page {
  width: 100%;
  height: 3800px;
}

@media screen and (max-width: 768px) {
  .AI-page {
    height: 3400px;
    width: 100%;
    margin-bottom: 30px;
  }
}

.AI-hero {
  width: 80%;
  height: 200px;
  margin: 0 auto;
  position: absolute;
  top: 200px;
  left: 0;
  right: 0;
  z-index: 30;
  color: #ffff;
  text-align: center;
}

.AI-hero-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 20px 0;
}

.AI-hero-text p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.AI-about {
  width: 40%;
  height: 400px;
  margin: 0 auto;
  position: absolute;
  top: 500px;
  left: 100px;
  z-index: 30;
  color: #ffff;
  text-align: center;
}

.AI-about h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 20px 0;
}

.AI-img {
  width: 40%;
  height: 400px;
  margin: 0 auto;
  position: absolute;
  top: 400px;
  right: 100px;
  z-index: 30;
  color: #ffff;
  text-align: center;
}

.AI-how {
  width: 80%;
  height: 400px;
  margin: 0 auto;
  position: absolute;
  top: 850px;
  left: 0;
  right: 0;
  z-index: 30;
  color: #ffff;
  text-align: center;
  z-index: 30;
}

.AI-merit {
  width: 80%;
  height: 500px;
  margin: 0 auto;
  position: absolute;
  top: 1450px;
  left: 0;
  right: 0;
  z-index: 30;
  color: #ffff;
  text-align: center;
  z-index: 30;
}

.AI-flow {
  width: 80%;
  height: 600px;
  margin: 0 auto;
  position: absolute;
  top: 2400px;
  left: 0;
  right: 0;
  z-index: 30;
  color: #ffff;
  text-align: center;
  z-index: 30;
}

.AI-cta {
  width: 80%;
  height: 200px;
  margin: 0 auto;
  position: absolute;
  top: 3000px;
  left: 0;
  right: 0;
  z-index: 30;
  color: #ffff;
  text-align: center;
  z-index: 30;
}

/* セクション共通 */
.AI-section {
  padding: 3rem 1.5rem;
  margin: 0 auto;
  max-width: 1100px;
}

/* --- How --- */
.AI-how .AI-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  color: #004c4c;
}

.AI-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.AI-card:hover {
  transform: translateY(-5px);
}

.AI-img2 img {
  display: block;
  max-width: 400px;
  width: 100%;
  margin: 2rem auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- Merit --- */
.AI-merit ul.AI-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 700px;
  color: #004c4c;
}

.AI-merit ul.AI-list li {
  background: #e6f7f7;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  position: relative;
  padding-left: 2.2rem;
}

.AI-merit ul.AI-list li::before {
  content: "✔";
  position: absolute;
  left: 0.8rem;
  color: #009999;
  font-weight: bold;
}

.AI-img3 img {
  display: block;
  max-width: 500px;
  width: 100%;
  margin: 2rem auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- Flow --- */
.AI-flow .AI-steps {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 700px;
  color: #004c4c;
}

.AI-flow .AI-steps li {
  background: #fff;
  padding: 1rem;
  margin: 0.8rem 0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.AI-flow .AI-steps li span {
  background: #009999;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.flow-button {
  margin-top: 15px;
}

.flow-button a {
  display: inline-block;
  padding: 10px 60px;
  background: #eb6101; /* オレンジ系（例） */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.flow-button a:hover {
  background: #c94d00;
  transform: translateY(-2px);
}

/* --- CTA --- */
.AI-cta {
  background: linear-gradient(135deg, #00cccc, #009999);
  text-align: center;
  color: #fff;
  border-radius: 20px;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
}

.AI-cta h2 {
  color: #fff;
}

.AI-button {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.8rem 2rem;
  background: #fff;
  color: #009999;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
}

.AI-button:hover {
  background: #004c4c;
  color: #fff;
}

.AI-img4 img {
  display: block;
  max-width: 500px;
  width: 100%;
  margin: 2rem auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.mobile-br {
  display: none;
}

/* 750px以下（モバイルレイアウトに変更） */
@media screen and (max-width: 750px) {
  .AI-hero {
    width: 100%;
    top: 50px;
  }

  .AI-hero-text h1 {
    font-size: 1.4rem;
  }

  .mobile-br {
    display: inline;
  }

  .AI-img {
    width: 100%;
    top: 300px;
    right: 0;
  }

  .AI-about {
    width: 100%;
    top: 550px;
    left: 0;
    right: 0;
  }

  .AI-how {
    width: 100%;
    top: 750px;
  }

  .AI-how h2 {
    font-size: 1.5rem;
  }

  .AI-merit {
    width: 100%;
    top: 1500px;
  }

  .AI-flow {
    width: 100%;
    top: 2200px;
  }
  .AI-cta {
    width: 100%;
    top: 2700px;
    padding: 2rem 1rem;
    border-radius: 0%;
  }

  .AI-cta h2 {
    font-size: 1.5rem;
  }

  .AI-cat p {
    font-size: 1rem;
  }

  .AI-img4 img {
    width: 100%;
    border-radius: 0%;
  }
}

#flow {
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 20px;
}

#flow h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
  margin-top: 50px;
}

.flow-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* シャドウで浮かせる */
}

/* 下向き三角 */
.flow-box::after {
  content: "";
  position: absolute;
  bottom: -20px; /* 三角を下に出す */
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 20px 0 20px; /* 下向き三角 */
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)); /* 三角にも影をつける */
}

.flow-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d4a017;
  margin-right: 20px;
  flex-shrink: 0;
}

.flow-content {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
}

.flow-content.reverse {
  flex-direction: row-reverse;
}

.flow-image {
  flex: 1;
  max-width: 300px;
}

.flow-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flow-text {
  flex: 2;
}

.flow-text h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #222;
}

.flow-text p {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .flow-content,
  .flow-content.reverse {
    flex-direction: column;
    text-align: center;
  }

  .flow-image {
    max-width: 100%;
  }

  .flow-number {
    margin-bottom: 10px;
  }
}

.slideshow {
  position: relative;
  width: 50%;
  height: 350px;
  overflow: hidden;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slides {
  position: absolute;
  top: 0;
  left: 100%; /* 初期は右に隠す */
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s ease;
}

.slides.active {
  left: 0;
  opacity: 1;
}

.slides.prev {
  left: -100%;
  opacity: 0;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* サイズが違っても枠に収める */
  border-radius: 12px;
}

/* ドット */
.dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}
.dot.active-dot,
.dot:hover {
  background-color: #717171;
}

/* ===== モバイル調整 ===== */
@media screen and (max-width: 600px) {
  .slideshow {
    width: 90%; /* 幅を広げる */
    height: 200px; /* 高さをさらにコンパクトに */
  }
  .slides img {
    object-fit: cover;
  }
}

#price {
  background-image: url("../img/整骨院_004.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: -2;
  position: relative;
  overflow: hidden; /* 疑似要素がはみ出さないように */
  padding-bottom: 50px;
}

#price #header {
  z-index: 9999;
}

#price::after {
  content: "";
  position: absolute; /* ←liを基準に絶対配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* ←liの高さに合わせる */
  background: rgba(255, 237, 212, 0.5);
  z-index: -1; /* 背景層 */
}

:root {
  .sub {
    color: var(--muted);
    font-size: 14px;
  }

  /* layout */
  .grid {
    width: 80%;
    margin: 0 auto;
    padding-top: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    z-index: 999;
  }
  @media (max-width: 960px) {
    .grid {
      grid-template-columns: 1fr 1fr;
      padding-top: 100px;
    }
  }
  @media (max-width: 640px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }

  /* card */
  .card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }
  .card header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    margin: 0;
  }
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
  }
  .card h2 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
  }
  .note {
    padding: 0 18px 16px;
    color: #000;
    font-size: 18px;
    background-color: #fff;
  }

  /* table */
  .table-wrap {
    padding: 0 18px 18px;
    background-color: #fff;
    border-radius: 0 0 0 0;
  }
  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
  }
  caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    margin: 12px 0;
  }
  th,
  td {
    padding: 12px 14px;
    text-align: center;
    border-bottom: 1px solid #000;
  }
  tr {
    border-bottom: 1px solid #000;
  }
  th:first-child,
  td:first-child {
    text-align: left;
  }
  thead th {
    background: #ff8a37;
    font-weight: 700;
    color: #fff;
    font-weight: bold;
  }
  tbody tr:last-child td {
    border-bottom: none;
  }

  /* category colors */
  .ins header {
    background: color-mix(in lch, var(--accent) 14%, white);
    border-bottom: 1px solid color-mix(in lch, var(--accent) 30%, white);
    background-color: #ff8a37;
    color: #fff;
    font-weight: bold;
  }
  .ins .dot {
    background: var(--accent);
  }

  .self header {
    background: color-mix(in lch, var(--accent2) 14%, white);
    border-bottom: 1px solid color-mix(in lch, var(--accent2) 30%, white);
    background-color: #ff8a37;
    color: #fff;
    font-weight: bold;
  }
  .self .dot {
    background: var(--accent2);
  }

  .opt header {
    background: color-mix(in lch, var(--accent3) 14%, white);
    border-bottom: 1px solid color-mix(in lch, var(--accent3) 30%, white);
    background-color: #ff8a37;
    color: #fff;
    font-weight: bold;
  }
  .opt .dot {
    background: var(--accent3);
  }

  /* responsive table → cards on very small screens */
  @media (max-width: 720px) {
    table,
    thead,
    tbody,
    th,
    td,
    tr {
      display: block;
    }
    thead {
      display: none;
    }
    tr {
      border-bottom: 1px solid #000;
    }
    td,
    th {
      border: none;
      border-bottom: 1px dashed var(--line);
    }
    td {
      position: relative;
      padding-left: 44%;
    }
    td::before {
      content: attr(data-label);
      position: absolute;
      left: 10px;
      top: 0;
      padding: 12px 0;
      font-weight: 600;
      color: var(--muted);
    }
    td:first-child {
      padding-left: 14px;
      font-weight: 600;
    }
    td:first-child::before {
      content: "";
    }
    caption {
      display: block;
      width: 100%;
      font-size: 1.2rem;
      text-align: center;
      color: #fe8a37;
      font-weight: bold;
    }
    .note {
      font-size: 12px;
    }
    .access-box {
      display: none;
    }
  }

  @media (min-width: 720px) {
    .access-grid {
      display: none;
    }
  }

  /* badge */
  .badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid currentColor;
  }
  .b-blue {
    color: var(--accent);
  }
  .b-green {
    color: var(--accent2);
  }
  .b-orange {
    color: var(--accent3);
  }

  /* footer note */
  .foot {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    z-index: 999;
  }

  /* print */
  @media print {
    body {
      background: #fff;
    }
    .card {
      box-shadow: none;
    }
    .wrap {
      padding: 0;
    }
    .grid {
      gap: 12px;
    }
  }

  .photo-box {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .photo-box img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .photo-box p {
    width: 100%;
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
  }

  .diagram-box {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .diagram-box img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .diagram-box p {
    width: 100%;
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
  }
}

.page-header {
  text-align: center;
  padding: 2rem 1rem;
  background: #fe8a37;
  color: white;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.appeal {
  font-size: 1.2rem;
  font-weight: bold;
}

.access-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h2 {
  font-size: 1.5rem;
  /* border-left: 5px solid #fe8a37; */
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

.map-wrap iframe {
  border-radius: 10px;
}

.photo-section img,
.diagram-section img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.nearby-section .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.nearby-section .gallery img {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

.nearby-section p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #666;
  margin-top: 20px;
}

.access-info ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.photo-box {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.photo-box img {
  width: 45%;
  border-radius: 10px;
}

.photo-box p {
  width: 45%;
  font-size: 1.2rem;
  font-weight: bold;
  color: #666;
}

.diagram-box {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row-reverse;
}

.diagram-box img {
  width: 45%;
  border-radius: 10px;
}

.diagram-box p {
  width: 45%;
  font-size: 1.2rem;
  font-weight: bold;
  color: #666;
}

.access-box {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.access-box p {
  width: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  color: #666;
}

.access-table {
  width: 45% !important;
  border-collapse: collapse;
  border: 1px solid #fe8a37 !important;
}

/* カード風デザイン */
.access-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr; /* ラベルと値を横並び */
  row-gap: 8px;
  column-gap: 12px;
  border: 1px solid #fe8a37;
  margin-bottom: 10px;
  text-align: center;
}

.access-card .label {
  width: 100%;
  font-weight: 600;
  color: #fff;
  background-color: #fe8a37;
}

.access-card .value {
  font-weight: 500;
  text-align: center;
}

/* ヘッダ風のカードタイトル（任意） */
.access-card::before {
  content: "";
}

/* モバイル用 */
@media (max-width: 520px) {
  .access-grid {
    grid-template-columns: 1fr; /* 縦並び */
  }
  .access-card {
    grid-template-columns: 1fr; /* ラベル＋値を縦並び */
  }
}

/* Flyer セクション */
.Flyer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f7f7f7, #eaeaea);
}

.Flyer-inner {
  max-width: 800px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Flyer-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.intro {
  text-align: center;
  padding-top: 150px !important;
}

.page-header {
  background: linear-gradient(135deg, #f6d365, #fda085);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.2rem;
}

.children-detail section {
  padding: 60px 20px;
  background: #fff;
}

.children-detail section:nth-of-type(even) {
  background: #fafafa;
}

.children-detail h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.children-detail h2::after {
  content: "";
  display: block;
  width: 80%;
  height: 3px;
  background: #fda085;
  margin: 10px auto 0;
  border-radius: 3px;
}

.services ul {
  list-style: none;
  padding: 0;
}

.services li {
  background: #fff;
  border-left: 5px solid #fda085;
  padding: 15px;
  margin: 10px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.environment img {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta {
  text-align: center;
}

.cta .btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: background 0.3s ease;
  color: #fff;
}

/* LINE専用ボタン */
.cta .line-btn {
  background: #06c755; /* LINEグリーン */
}

.cta .line-btn:hover {
  background: #05b24a; /* 少し濃い緑でホバー */
}

/* ボタンと電話番号を横並び */
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* ボタンと電話番号の間隔 */
  margin-top: 20px;
}

.cta-actions .phone {
  font-size: 18px;
  font-weight: bold;
}

.cta-actions .phone a {
  color: #333;
  text-decoration: none;
}
.cta-actions .phone a:hover {
  text-decoration: underline;
}

.page-footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

.page-footer .back-link {
  display: block;
  margin-top: 10px;
  color: #fda085;
  text-decoration: none;
}

.page-footer .back-link:hover {
  text-decoration: underline;
}

.mb20 {
  text-align: center;
}

.intro-img {
  display: flex;
  justify-content: space-around;
}

.intro img {
  width: 500px;
  margin: 0 auto;
  margin-top: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
  .intro-img {
    flex-direction: column;
    align-items: center;
  }
  .intro img {
    width: 80%;
    margin-top: 20px;
    border-radius: 20px;
  }
}

body {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f9f9f9;
}

/* 子供向け */
.kids-section {
  background: #fffaf5;
  padding: 60px 20px;
  padding-top: 120px;
}

.kids-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.kids-container img {
  width: auto;
  height: 300px;
  margin: 0 auto;
  margin-bottom: 20px;
  border-radius: 20px;
}

.kids-container h2 {
  font-size: 2rem;
  color: #ff7f50;
  margin-bottom: 20px;
}

.kids-container .intro2 {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.kids-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kids-menu li {
  background: #fff;
  border: 2px solid #ffd8b5;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.2s;
}

.kids-menu li:hover {
  transform: scale(1.03);
}

.kids-menu h3 {
  margin-bottom: 10px;
  color: #ff914d;
}

.kids-menu .price {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #e65c00;
}

@media screen and (max-width: 768px) {
  .kids-container img {
    height: 200px;
  }
}

/* スポーツ障害向け */
.sports-section {
  background: #573b28;
  color: #eee;
  padding: 60px 20px;
}

.sports-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.sports-container img {
  width: auto;
  height: 300px;
  margin: 0 auto;
  margin-bottom: 20px;
  border-radius: 20px;
}

.sports-container h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
}

.sports-container .intro2 {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #fff;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.sports-card {
  background: #1c1c1c;
  border-left: 5px solid #fa6800;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s, background 0.3s;
}

.sports-card:hover {
  transform: translateY(-5px);
  background: #222;
}

.sports-card h3 {
  margin-bottom: 10px;
  color: #fff;
}

.sports-card .price {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .sports-container img {
    height: 200px;
  }
}
