:root {
  --blue: #4a6cb3;
  --light-blue: #48beff;
  --orange: #fb8f67;
  --dark: #30292f;
  --white: #fffffa;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html{
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  line-height: 1.8;
  font-family: 'Noto Sans JP', "Hiragino Sans", "Meiryo", sans-serif;
  color: #30292f;
  margin: 0;
  padding: 0;
}

h1{
  font-weight: normal;
}

h1, h2, .main-copy, .detail-title {
  color: #30292f;
  text-shadow: 
    2px 2px 4px rgba(255, 255, 255, 0.8), 
    -1px -1px 0px rgba(255, 255, 255, 1);
  letter-spacing: 0.05em; 
}

.title-mocomoco-w, .hours, .access {
  text-shadow: 1px 1px 3px rgba(180, 70, 30, 0.3);
}

.btn-web-reserve, .btn-google-map, .btn-reserve-sp {
  text-shadow: 0.5px 0.5px 1px rgba(251, 143, 103, 0.2);
}

a {
  text-decoration: none;
}


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

.scroll-enchant {
  position: absolute;
  right: 30px;   
  bottom: 100px; 
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-enchant span {
  writing-mode: vertical-rl; 
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #4a6cb3; 
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}

.scroll-enchant::after {
  content: "";
  width: 1px;
  height: 60px; 
  background: rgba(77, 74, 74, 0.3); 
  position: relative;
  display: block;
}

.scroll-enchant::before {
  content: "";
  width: 1px;
  height: 62px;
  background: #4a6cb3; 
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-line 2s infinite; 
}

@keyframes scroll-line {
  0% {
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  30% {
    transform: translateX(-50%) scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  60% {
    transform: translateX(-50%) scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

.hamburger {
  display: none; 
  position: fixed; 
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #30292f;
  border-radius: 100%;
  cursor: pointer;
  z-index: 10000; 
}
.hamburger span {
  position: absolute;
  left: 12px;
  width: 26px;
  height: 2px;
  background: #fffffa;
  transition: all 0.4s;
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 24px; }
.hamburger span:nth-child(3) { top: 32px; }
.hamburger-nav.open + .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-nav.open + .hamburger span:nth-child(2) { opacity: 0; }
.hamburger-nav.open + .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.hamburger-nav.open ~ .hamburger span:nth-child(1) {
  top: 24px; 
  transform: rotate(45deg);
}
.hamburger-nav.open ~ .hamburger span:nth-child(2) {
  opacity: 0;
}
.hamburger-nav.open ~ .hamburger span:nth-child(3) {
  top: 24px; 
  transform: rotate(-45deg);
}

.hamburger-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 40%;
  height: 100vh;
  background: rgba(72, 190, 255, 0.95); 
  backdrop-filter: blur(5px);
  border-radius: 100% 0 0 100% / 50% 0 0 50%;
  padding: 100px 40px;
  transition: all 0.5s;
  z-index: 9998; 
}
.hamburger-nav.open {
  right: 0;
}
.hamburger-nav-list {
  list-style: none;
}
.hamburger-nav-list li {
  margin-bottom: 30px;
}
.hamburger-nav-list li a {
  color: #fffffa;
  text-decoration: none;
  font-size: 1.5rem;
  font-family: "Zen Maru Gothic", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.hamburger-nav-list li a img {
  width: 50px; 
}



.header {
  background-color: #4a6cb3;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  position: fixed;
  width: 100%;
  z-index: 10;
  height: 60px;
  border-top: 1px solid #30292f;
}

.header-btns a {
  text-decoration: none;
  margin-left: 20px;
}

.main-copy, .lead-copy {
  min-height: 1.5em; 
}

.main-copy span{
  color: #fb8f67;
}

.lead-copy span{
  color: #48beff;
  font-size: 2rem;
}

.sp-br {
  display: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav ul {
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #30292f;
  font-weight: bold;
  text-align: center;
  display: block;
}

nav a span {
  display: block;
  font-size: 10px;
  font-weight: normal;
}

.hero, .hero-content {
  overflow: hidden;
  width: 100%;
}

.hero-btns-pc {
  margin-top: 3rem;
}
.hero-btns-pc a {
  text-decoration: none;
}

.btn-outline {
  background: #fffffa;
  color: #30292f;
  padding: 0.7em 2.9em;;
  border: 1px solid #30292f;
  margin-right: 1em;
  display: inline-block;
}

.btn-bubble, .btn-outline, .btn-dark, .btn-white, .btn-reserve{
  position: relative; 
  overflow: visible; 
  z-index: 1;
  transition: 0.3s;
}

.btn-bubble::before, .btn-bubble::after,
.btn-outline::before, .btn-outline::after,
.btn-dark::before, .btn-dark::after,
.btn-white::before, .btn-white::after,
.btn-reserve::before, .btn-reserve::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
circle at 70% 70%,
    rgba(251, 143, 103, 0.8) 0%,   
    rgba(72, 190, 255, 0.5) 50%,   
    transparent 70%
  );
  box-shadow: 
  inset 4px 4px 0 rgba(255, 255, 255, 0.9),  
  inset -2px -2px 0 rgba(0, 0, 0, 0.1),     
  0 0 0 2px rgba(72, 190, 255, 0.8);        
  filter: blur(0.5px);
}

.btn-bubble:hover::before,.btn-outline:hover::before, .btn-dark:hover::before, .btn-white:hover::before, .btn-reserve:hover::before{
  width: 25px;
  height: 25px;
  left: 10%;
  bottom: 0;
  animation: bubble-up 1.5s infinite ease-out;
}

.btn-bubble:hover::after,.btn-outline:hover::after, .btn-dark:hover::after, .btn-white:hover::after, .btn-reserve:hover::after{
  width: 20px;
  height: 20px;
  right: 20%;
  bottom: 0;
  animation: bubble-up 1.2s infinite ease-out 0.3s; 
}



.bubble {
  position: absolute;
  bottom: 0;
  left: 50%;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
  circle at 70% 70%,
      rgba(251, 143, 103, 0.8) 0%,  
      rgba(72, 190, 255, 0.5) 50%,   
      transparent 70%
  );
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-bubble:hover .bubble {
  animation: bubble-up var(--speed, 0.6s) infinite ease-out;
}

.bubble:nth-child(1) { --h: 60px;  --speed: 0.5s; width: 20px; height: 20px; left: 20%; animation-delay: 0s; }
.bubble:nth-child(2) { --h: 120px; --speed: 0.8s; width: 25px; height: 25px; left: 40%; animation-delay: 0.2s; }
.bubble:nth-child(3) { --h: 90px;  --speed: 0.6s; width: 18px; height: 18px; left: 60%; animation-delay: 0.1s; }
.bubble:nth-child(4) { --h: 150px; --speed: 0.9s; width: 22px; height: 22px; left: 80%; animation-delay: 0.3s; }
.bubble:nth-child(5) { --h: 70px;  --speed: 0.4s; width: 20px; height: 20px; left: 50%; animation-delay: 0.05s; }

@keyframes bubble-up {
  0% {
    bottom: 0;
    opacity: 0;
    transform: translateX(0);
  }
  20% {
    opacity: 1;
  }
  100% {
    bottom: var(--h, 80px);
    opacity: 0;
    transform: translateX(calc(-20px + 40px * random)) scale(1.5); 
    transform: translateX(-20px) scale(1.5);
    transform: translateX(var(--x, -20px)) scale(1.5);
  }
}

.btn-dark {
  background: #30292f;
  color: #fffffa;
  padding: 0.7em 2.9em;
}

.btn-white {
  background: #fffffa;
  color: #30292f;
  padding: 10px 60px;
  margin-right: 20px;
}

.btn-reserve {
  background: #fb8f67;
  color: #fffffa;
  padding: 10px 60px;
  border-radius: 50px;
}

.fuwa {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease; 
}

.fuwa.is-animated {
  opacity: 1;
  transform: translateY(0);
}

img.bg-info-text.fuwa.is-animated {
  transition-delay: 0.2s;
}

div.fuwa.is-animated {
  transition-delay: 0.8s;
}

.hero {
  background-color: #fffffa;
  position: relative;
  height: 100vh; 
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero-content{
  position: relative; 
  width: 100%;
  flex: 1;
  overflow: visible;
  background-color: #4a6cb3;
}


.hero-inner {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  width: 90%;        
  display: flex;      
  align-items: center;
  justify-content: space-around;
  z-index: 10 !important;
}

.hero-logo img {
  width: 35%;
}

.hero-text {
  width: 50%;
}

.sp-only {
  display: none;
}

.header-bar {
  background-color: #4a6cb3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  color: #fffffa;
}

.logo-text span{
  color: #48beff;
}

.global-nav {
  background-color: #4a6cb3;
  padding: 10px;
  height: 120px;
}
.global-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 90px;
  margin: 0;
  padding: 0;
}
.global-nav li {
  opacity: 0;
  transform: scale(0.8); 
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); 
}
.global-nav.is-animated li {
  opacity: 1;
  transform: scale(1);
}
.global-nav.is-animated li:nth-child(1) { transition-delay: 0.1s; }
.global-nav.is-animated li:nth-child(2) { transition-delay: 0.2s; }
.global-nav.is-animated li:nth-child(3) { transition-delay: 0.3s; }
.global-nav.is-animated li:nth-child(4) { transition-delay: 0.4s; }
.global-nav a {
  color: #fffffa;
  text-decoration: none;
  text-align: center;
  font-size: 18px;
}
.global-nav a span {
  display: block;
  font-size: 14px;
}
.global-nav a:hover span {
  color: #fb8f67;
  font-weight: bold;
}
.global-nav img{
  width: 60px;
}
.global-nav a:hover img {
  transform: translateY(-5px) rotate(5deg); 
  transition: transform 0.3s ease;
}

.title-mocomoco {
  font-size: 1.5rem;
  font-weight: normal;
  color: #48beff;
  position: relative;
  background-image: url('../img/simisimi_midasi.png'); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent; 
  text-align: center;
  padding: 30px 0 50px 0;
  display: block;
  margin: 0 auto;
  line-height: 1.3;
}

.title-mocomoco span {
  display: block;
  color: #4a6cb3;
}

.title-mocomoco-w {
  font-size: 1.5rem;
  font-weight: normal;
  color: #fffffa;
  position: relative;
  background-image: url('../img/simisimi_midasi_w.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent; 
  text-align: center;
  padding: 30px 0 50px 0;
  display: block;
  margin: 0 auto;
  line-height: 1.3;
}

.title-mocomoco-w span {
  display: block;
  color: #fffffa;
}

h2.title-mocomoco, 
h2.title-mocomoco-w {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scaleX(0.8);
  transform-origin: left center;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

h2.title-mocomoco.is-animated,
h2.title-mocomoco-w.is-animated {
  opacity: 1;
  transform: scaleX(1);
}

h2.title-mocomoco span,
h2.title-mocomoco-w span {
  opacity: 0;
  display: block;
  transform: translateY(10px);
  transition: all 0.6s ease;
}
h2.is-animated {
  opacity: 1;
  transform: scaleX(1);
}

h2.is-animated span {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}



.bg-midashi {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
}

.about {
  background-color: #fffffa;
  position: relative;
  padding-top: 50px;
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 70px;
}

.img-box {
  position: relative;
  width: 35%; 
  z-index: 1;
}

.img-box img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2; 
  border: 8px solid #fffffa; 
}

.img-box::before {
  content: "";
  position: absolute;
  top: 15px;   
  left: -15px;  
  width: 100%;
  height: 100%;
  background-color: #4a6cb3; 
  opacity: 0.2;             
  z-index: 1;               
}


.about-content p{
  padding: 40px;
  align-content: center;
}

.name-dr {
  display: flex;
  align-items: center; 
  gap: 15px;           
  padding: 0 40px;
  margin-bottom: 60px;
  position: relative;
}
.name-dr::after {
  content: "！";
  position: absolute;
  right: 20px;
  bottom: -10px;          
  font-size: 2.5rem;
  color: #fb8f67;     
  font-weight: bold;
  opacity: 0;        
  transition: all 0.2s ease-out;
  pointer-events: none; 
  z-index: 6;
}
.name-dr:has(.dr-character:hover)::after {
  opacity: 1;
  bottom: 80px;      
  transform: scale(1.2) rotate(15deg); 
}

.dr-character {
  position: absolute;
  right: 10px;
  bottom: -85px;
  width: 175px;
  height: auto;
  z-index: 5;
  animation: yura-yura 4s infinite ease-in-out;
  transform-origin: center bottom;
  transition: all 0.2s; 
  cursor: pointer;
}
.dr-character:hover {
  animation: none;
  animation: bikku 0.2s ease-out forwards;
  transform: translateY(-15px) scale(1.1) rotate(5deg);
  filter: brightness(1.1); 
}

@keyframes yura-yura {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(10px) rotate(5deg); }
  75% { transform: translateX(-10px) rotate(-5deg); }
}
@keyframes bikku {
  0% { transform: scale(1); }
  50% { transform: translateY(-20px) scale(1.2) rotate(-10deg); }
  100% { transform: translateY(-15px) scale(1.1) rotate(5deg); }
}

.label-dr {
  background-color: #4a6cb3; 
  color: #fffffa;
  width: 50px;
  height: 50px;
  border-radius: 50%;    
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;    
}

.name-group {
  display: flex;
  align-items: baseline; 
  gap: 15px;
}

.name-jp {
  font-size: 1.8rem;
  font-weight: bold;
  color: #30292f;
  letter-spacing: 0.1em;
}

.name-en {
  font-size: 1.1rem;
  color: #48beff;         
  font-family: 'Arial', sans-serif;
  font-weight: bold;
}


.bg-info-text{
  width: 35%;
  height: auto;
}


.service {
  background: #48beff;
}

.service h2{
  margin: 40px;
  top: 20px;
}

.service-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  background: #fffffa;
  padding: 45px;
}

.service-list ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;                            
  padding: 0;
  list-style: none;
  max-width: 1000px;                    
  margin: 50px auto;                     
}

.service-list li {
  border: 1px solid #30292f;
  border-radius: 23px;
  background-color: #fffffa;
  transition: transform 0.3s;
  position: relative; 
  overflow: visible; 
}

.service-list li::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  background-color: #48beff;
  border-radius: 50%;        
  z-index: 2;
}

.service-list li::before {
  content: "";
  position: absolute;
  bottom: 18px;     
  left: 50%;
  transform: translateX(-50%) rotate(45deg); 
  width: 10px;
  height: 10px;
  border-right: 3px solid #fffffa; 
  border-bottom: 3px solid #fffffa; 
  border-radius: 2px; 
  z-index: 3;
}

.service-list li a {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  padding: 10px 15px 45px 25px;
  text-decoration: none;
  color: #48beff;
}

.service-list li a span {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
  margin-top: 10px;
  line-height: 1.4;
  color: #30292f;
}

.service-list li:hover {
  transform: translateY(-5px);
  border-color: #48beff;
}

.service-list li:hover .bubble{
  animation: bubble-up var(--speed, 0.6s) infinite ease-out;
}

.service-list li:hover .service-body img {
  animation: icon-hyoko 0.4s ease-in-out;
}

.service-list li img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

.service-list li a span:not(.num) {
  display: block;
  font-size: 0.85em;
  color: #30292f;
  font-weight: normal;
  line-height: 1.5;
  text-align: center;
}

@keyframes title-purun {
  0% { transform: scale(1.0); }
  30% { transform: scale(1.1, 0.9); } 
  50% { transform: scale(0.9, 1.1); } 
  100% { transform: scale(1.0); }
}

.service-list li:hover .service-title {
  animation: title-purun 0.5s ease-in-out;
  color: #fb8f67; 
}

.service-title {
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  margin-bottom: 10px;
}

.service-title .num {
  font-size: 2em;
  color: #fb8f67;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
}

.service-detail-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 60px 40px;
  background: #fffffa;
}

.service-detail-content.active {
  display: block;
  opacity: 1;
}

.detail-title-row {
  display: flex;
  align-items: center;
  gap:3px;
  position: relative;
  padding-left: 45px; 
  margin-bottom: 30px;
}
.detail-title-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 45px;
  background: #fb8f67; 
}
.detail-title-row::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px; 
  height: 45px;
  background: #fb8f67;
}
.detail-num-large {
  font-size: 3.2rem;
  font-family: 'Arial', sans-serif;
  color: #fb8f67;
  font-weight: bold;
  line-height: 1;
}

.detail-slash {
  font-size: 2.5rem;
  color: #fb8f67;
  margin: 0 5px;
  font-weight: lighter;
}

.detail-main-title {
  font-size: 2rem;
  color: #48beff;
  font-family: "Zen Maru Gothic", sans-serif;
  margin-right: 15px;
  letter-spacing: 0.05em;
}

.detail-sub-copy {
  font-size: 0.9rem;
  font-weight: bold;
}

.case-container {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px;
  margin-top: 50px;
}

.case-box {
  text-align: center;
  background-color: #dcdcdc40;
  padding-bottom: 20px;
}

.slide-in {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1); 
}
.slide-in.is-animated {
  opacity: 1;
  transform: translateX(0);
}

.case-image img {
  width: 70%;
  height: auto;
  margin-top: 20px;
  margin-bottom: -10px;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.is-animated .case-image img,
.service-detail-content.active .case-image img {
  opacity: 1;
  transform: translateX(0);
}

.case-info {
  width: 70%;
  max-width: 27rem;
  place-self: center;
  background-color: #fffffa;
  padding: 20px 50px;
  align-content: center;
  align-items:center;
}

.case-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #48beff;
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(15px) scale(0.9);
  transition: opacity 0.5s ease-out 0.3s, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
}
.is-animated .case-label,
.service-detail-content.active .case-label {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.case-label::before,
.case-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ccc;
}

.case-desc, .case-point {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 10px;
  text-align: justify;
}

.case-point span {
  color: #fffffa;
  font-weight: bold;
  background-color: #fb8f67;
  padding: 2px 8px;
  margin-right: 10px;
}

.service-01 {
  display: flex;
  justify-content: center;
  gap: 40px;
  background: #fffffa;
  padding: 45px;
}

.service-01 img {
  width: 25%;
  height: 25%;
}

.service-body {
  display: flex;
  align-items: center; 
  gap: 15px;          
  width: 100%;        
}

.service-body img {
  width: 50px !important; 
  height: auto;
  margin-bottom: 0 !important; 
  transition: transform 0.3s;
}

.service-body span {
  flex: 1;             
  text-align: left !important; 
  margin-top: 0 !important;    
  font-size: 0.8em;
  line-height: 1.4;
}

@keyframes icon-hyoko {
  0% { transform: translateX(0); }
  50% { transform: translateX(-5px) rotate(-10deg); } 
  100% { transform: translateX(0); }
}

.faq {
  background-color: #fffffa;
  background-image: radial-gradient(#48beff 2px, transparent 2px);
  background-size: 20px 20px;
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

details {
  background: #fffffa;
  border: 1px solid #30292f;
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  interpolate-size: allow-keywords; 
  transition: grid-template-rows 0.4s ease-out;
  display: grid;
  grid-template-rows: 0fr; 
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  margin-bottom: 15px;
}
.faq-list.is-animated details {
  opacity: 1;
  transform: translateY(0);
}

.faq-list.is-animated details:nth-child(1) { transition-delay: 0.1s; }
.faq-list.is-animated details:nth-child(2) { transition-delay: 0.2s; }
.faq-list.is-animated details:nth-child(3) { transition-delay: 0.3s; }
.faq-list.is-animated details:nth-child(4) { transition-delay: 0.4s; }
.faq-list.is-animated details:nth-child(5) { transition-delay: 0.5s; }

summary {
  list-style: none; 
  padding: 20px 50px 20px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  z-index: 2; 
}

.answer-wrapper {
  overflow: hidden;
  min-height: 0;   
}

summary::-webkit-details-marker {
  display: none; 
}

.q-icon, .a-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fffffa;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.q-icon { background: #48beff; } 
.a-icon { background: #fb8f67; } 

.answer {
  padding: 0 30px 25px 30px;
  display: flex;
  align-items: flex-start;
  border-top: 1px dashed #eee; 
  padding-top: 20px;
}

.answer p {
  font-size: 0.9em;
  line-height: 1.6;
  margin: 0;
  color: #30292f;
}

.arrow {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 3px solid #ccc;
  border-bottom: 3px solid #ccc;
  transform: rotate(45deg);
  transition: 0.3s;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  flex-shrink: 0;
}

details.is-open .arrow {
  transform: translateY(-20%) rotate(-135deg); 
}

.answer-wrapper {
  overflow: hidden;
  animation: fadeInDown 0.4s ease forwards;
}

details[open] .arrow {
  transform: rotate(-135deg); 
  margin-top: 5px;
}

details[open] {
  grid-template-rows: 1fr;
}

details[open] .answer {
  animation: faq-fade 0.5s ease-out forwards;
}

@keyframes faq-fade {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.points {
  background-color: #fffffa;
  background-image: radial-gradient(#48beff 1px, transparent 1px);
  background-size: 20px 20px;
  padding-bottom: 80px;
  padding-top: 55px;
}

.point-image{
  text-align: center;
}

.point-image img {
  width: 45%;
  height: auto;
}
.hero-bg-image_pc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}
.hero-bg-image_sp {
  display: none;
  z-index: 1;
}


.hero-logo {
  width: 30% !important;
}
.hero-logo img {
  width: 100% !important;
  max-width: 300px !important;
}
.access {
  background-color: #fb8f67;
  padding: 80px 0;
  color: #fffffa;
}

.access-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.access-map-img {
  flex: 1;
  max-width: 500px;
}

.access-map-img img {
  width: 100%;
  height: auto;
  border: 10px solid #fffffa; 
}

.access-map-img img, .service-01 img {
  border: 8px solid #fffffa;
  border-radius: 136% 37% 84% 77% / 70% 47% 74% 56%;
  box-shadow: 0 10px 1px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.access-info {
  flex: 1;
  max-width: 450px;
  text-align: left;
}

.clinic-name {
  font-size: 2.2em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.clinic-name span {
  display: block;
  font-size: 0.5em;
  letter-spacing: 0.2em;
}

.access-info address {
  font-style: normal;
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
}

.access-detail {
  font-size: 0.9em;
  margin-bottom: 40px;
}

.map-btn-area {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-google-map {
  display: inline-block;
  background-color: #fffffa;
  color: #fb8f67;
  padding: 10px 60px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-google-map:hover {
  background-color: #fffffa;
  transform: scale(1.05);
}

.hours {
  background-color: #fb8f67; 
  padding: 80px 0;
  color: #fff; 
}
.hours-table-wrapper {
  max-width: 900px;
  margin: 30px auto;
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.hours-table th, 
.hours-table td {
  padding: 12px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6); 
  font-weight: bold;
  font-size: 0.85rem;
}
.hours-table thead th {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 1.1em;
}
.hours-table th:first-child,
.hours-table td:first-child {
  text-align: center;
  width: 30%;
}
.hours-btn-area {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hours-btn-area:hover .bubble {
  animation: bubble-up var(--speed, 0.6s) infinite ease-out;
}
.hours .bubble {
  background-color: rgba(255, 255, 255, 0.7); 
  bottom: 10px; 
}

.btn-web-reserve {
  display: inline-block;
  background-color: #fffffa;
  color: #fb8f67;
  padding: 15px 80px;
  border-radius: 0px; 
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.btn-web-reserve:hover {
  background-color: #fffffa;
  transform: scale(1.05);
}


.footer {
  padding: 60px 20px 30px;
  background-color: #30292f;
  color: #fffffa;
}

.footer-inner {
  flex-direction: column; 
  gap: 30px;
  padding-bottom: 30px;
}

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

.footer-nav {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-sns {
  justify-content: center;
}

.footer-buttons {
  flex-direction: column; 
  align-items: center;   
  gap: 15px;
}
.btn-footer {
  width: 90%;  
  max-width: 300px;
  padding: 15px 40px 15px 20px !important;
  font-size: 0.9rem;     
}
.btn-footer::after,
.btn-footer::before {
  right: 15px;
}

.mouse-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(72, 190, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  animation: mouse-bubble-fade 1s forwards;
  z-index: 9999;
}

@keyframes mouse-bubble-fade {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(0, -50px) scale(0); opacity: 0; }
}

.sp-sticky-btn {
  display: none;
}

a:hover .service-title,
.btn-reserve-sp:hover {
  animation: purun 0.4s ease-in-out;
}

@keyframes purun {
  0% { transform: scale(1.0); }
  30% { transform: scale(1.05, 0.95); } 
  60% { transform: scale(0.95, 1.05); } 
  100% { transform: scale(1.0); }
}

.page-top {
  position: fixed;
  right: 0;
  bottom: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.page-top.is-active {
  opacity: 1;
  visibility: visible;
}
.page-top a {
  display: block;
  width: 100px;
  height: auto;
  transition: background 0.3s, transform 0.3s;
}
.page-top a img {
  width: 125%;
  height: auto;
  display: block;
}
.page-top a:hover {
  transform: translateY(-5px); 
}

@media (max-width: 768px) {

  .scroll-enchant {
    right: 10px;
    bottom: 80px;
  }
  .scroll-enchant span {
    font-size: 10px;
  }

  .access-content {
    flex-direction: column;
    padding: 0 20px;
  }
  .access-info {
    text-align: center;
  }
  .map-btn-area {
    justify-content: center;
  }
  .map-btn-area::after {
    display: none; 
  }

  .section-title{
    margin-bottom: 0;
  }

  .hamburger {
    display: block; 
  } 

  .header-btns{
    display: none; 
  }
  
  .quick-nav { 
    display: none; 
  } 

  .hero { 
    height: auto; 
  }
  .hero-btns-pc{
    display: none;
  }
  .hero-content {
    align-items: center;
    position: relative; 
    width: 100%;
    min-height: 500px; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    background-color: #4a6cb3;
    overflow: hidden;
  }
  .hero-bg-image {
    width: 100% ;
    height: auto;
    order: 2;
  }
  .hero-inner {
    position: relative; 
    top: -56px;
    left: 0;
    transform: none;
    width: 100%;
    display: flex;
    flex-direction: column; 
    padding: 60px 20px;
    order: 1; 
    text-align: center;
    z-index: 10;
  }
  .hero-logo {
    width: 60% !important;
    margin: 0 auto 20px;
  }
  .hero-text {
    width: 100%;
  }

  .sub-copy{
    margin-bottom: 25px;
  }

  .sp-only {
    display: inline; 
  }

  .hero-bg-image_pc {
    display: none;
  }

  .hero-bg-image_sp{
    width: 100%;
    z-index: 1;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    height: 88%;
    object-fit: cover; 
  }

  .main-copy {
    font-size: 1.6rem;
    line-height: 1.3;
    color: #30292f;
  }

  .lead-copy {
    font-size: 1rem;
    margin-bottom: 6rem;
  }

  .sp-br {
    display: block; 
  }

  .global-nav{
    display: none;
  }

  .points{
    padding-bottom: 10px;
  }
  .point-image img {
  width: 90%;
  }
/* 
  .quick-nav-list {
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .quick-nav-list .en {
    font-size: 1rem;
  } */

  .btn-outline {
    font-size: 0.9rem;
  }
  .btn-outline, .btn-dark {
    margin-right: 0;
    width: 80%;
    text-align: center;
  }

  .title-mocomoco, .title-mocomoco-w {
    font-size: 1.2rem;
    background-size: 13em; 
    font-size: 1.5rem;
    padding: 30px 0 50px 0;
    line-height: 1;
  }

  .title-mocomoco span {
    font-size: 1.8rem;
  }
  .title-mocomoco-w span {
    font-size: 1.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  .img-box {
    width: 80%;
    margin: 0 auto 30px;
  }
  .name-dr {
    gap: 10px;
  }

  .dr-character {
    width: 80px;
    right: 0;
    bottom: -30px;
    animation: yura-yura-sp 4s infinite ease-in-out;
  }
  @keyframes yura-yura-sp {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(5px) rotate(3deg); }
  }
  .label-dr {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }
  .name-jp {
    font-size: 1.4rem;
  }
  .name-en {
    font-size: 0.9rem;
  }

  .service-list {
    padding: 20px;
  }
  .service-list ul {
  display: flex; 
    grid-template-columns: none; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    padding: 20px 20px 40px;
    gap: 20px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
  }

  .service-list ul::-webkit-scrollbar {
    height: 8px;
  }
  .service-list ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
  }
  .service-list ul::-webkit-scrollbar-thumb {
    background: #fb8f67; 
    border-radius: 10px;
  }

  .service-list li{
    flex: 0 0 80%;
    scroll-snap-align: center;
    margin: 0;
  }

  .detail-cases {
    flex-direction: column;
    gap: 20px;
  }

  .service-body {
    flex-direction: row; 
  }

  .case-info {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    display: block;
    box-sizing: border-box;
  }
  .case-box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .case-image img{
    width: 95%;
  }
  .case-container {
    grid-template-columns: 1fr;
  }
  .detail-title-row {
    flex-wrap: wrap;
    padding-left: 35px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: auto;
  }
 .detail-title-row::before {
    height: 100px; 
    width: 12px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .detail-title-row::after {
    height: 100px; 
    left: 18px;  
    width: 2px;
    top: 50%;
    transform: translateY(-50%);
  }
  .detail-num-large { font-size: 2rem;  }
  .detail-slash { font-size: 1.5rem; }
  .detail-main-title { font-size: 1.4rem; margin-right: 0; }
  .detail-sub-copy {
    width: 100%;
    margin-top: 5px;
    padding-left: 0; 
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .service-01 {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .service-01 img{
    width: 100%;
    height: auto;
  }

  .access-map-img {
    max-width: 100%;
  }

  .hours-table-wrapper {
    margin: 30px 10px;
    -webkit-overflow-scrolling: touch; 
  }
  .hours-table th, 
  .hours-table td {
    padding: 12px 5px;
    font-size: 0.85rem;
  }

  .btn-primary {
    font-size: 1.5rem; 
    padding: 1.5rem 3rem; 
    width: auto;
    min-width: 200px;
    display: inline-block;
    line-height: 1;
  }
  .btn-primary {
    padding: 20px 40px; 
    width: 80%; 
    max-width: 300px;
    line-height: 1.5;
    height: auto;
  }
  
  .faq-list {
    margin: 50px 40px 30px 40px;
  }

  .sp-sticky-btn {
    display: block;
    position: fixed;
    right: 0; 
    top: 85%;
    transform: translateY(-50%);
    z-index: 9999;
    width: auto;
    max-width: none;
    left: auto; 
    animation: none !important;
  }

  .btn-reserve-sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fb8f67;
    color: #fffffa;
    padding: 15px 30px 15px 8px;
    border-radius: 10px 0 0 10px; 
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    border: none;
    text-decoration: none;
  }

  .btn-reserve-sp img {
    width: 18px;
    margin-bottom: 8px; 
    transform: rotate(0deg);
  }

  .btn-reserve-sp:active .bubble {
    animation: bubble-up 0.6s infinite ease-out;
  }

  .page-top {
    right: 10px;
    bottom: 190px; 
  }
  .page-top a {
    width: 50px; 
  }
}

/* 480px以下の小さなスマホ用 */
@media (max-width: 480px) {
  .main-copy {
    font-size: 1.5rem;
  }
  .btn-web-reserve {
    padding: 15px 40px;
  }
}

/* スクショ用：すべてを強制表示 */
/* * {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
} */
