@media (max-width: 1400px) {
  .hero h1 {
    font-size: clamp(32px, 2.86vw, 40px);
  }
  .hero-copy p {
    font-size: clamp(15px, 1.29vw, 18px);
  }
  .hero-note {
    font-size: clamp(15px, 1.22vw, 17px);
  }
}
@media (max-width: 1200px) {
  .hero{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .spbr{
    display: block;
  }
}
@media (max-width: 1100px) {
  .info_area_inner{
  grid-template-columns: 1fr;
}
  .pc-only{
    display: none;
  }
  .global-nav{
    width:auto;
    padding: 0 46px 0px 46px;

  }
  .openbtn{
    position: relative;
    cursor: pointer;
    width: 46px;
    height:50px;
    z-index: 100;
}

.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 10px;
  height: 2px;
  border-radius: 5px;
  background: var(--ink);
  width: 50%;
  }


.openbtn span:nth-of-type(1) {
	top:13px;
}

.openbtn span:nth-of-type(2) {
	top:19px;
}

.openbtn span:nth-of-type(3) {
	top:25px;
}

.openbtn span:nth-of-type(3)::after {
	content:"Menu";
	position: absolute;
	top: 5px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 0.9rem;
	text-transform: uppercase;
}



.openbtn.active span:nth-of-type(1) {
    top: 14px;
    left: 10px;
    transform: translateY(6px) rotate(-45deg);
    width: 60%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 26px;
    left: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 60%;
}

.openbtn.active span:nth-of-type(3)::after {
	content:"Close";
  transform: translateY(0) rotate(-45deg);
  top: 9px;
  left: 13px;
}
.mainblur{
	filter: blur(8px);
}

body.menu-open {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
}
#g-nav.panelactive{
	opacity: 1;
  display: block;
  position:fixed;
	z-index: 11;
	top:0;
	left: 0;
	right: 0;
	width:100vw;
  height: 100vh;
	background: rgba(255, 251, 243, 0.8);
	transition: all 0.3s;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}


#g-nav ul {
    display: none;
    position: absolute;
    z-index: 999;
    top:54%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    display: block;
}

#g-nav li{
	list-style: none;
    text-align: center;
}
#g-nav li.gnav-item{
  margin-top: 20px;
}

#g-nav li a{
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
  font-size: 1.8rem;
  text-align: left;
}
#g-nav li a.tel_head_link{
  margin-left: 36px;
}

#g-nav li a.reserv_link{
  position: relative; /* 親を相対配置して擬似要素を左に置けるように */
  width: 100%;
  border-radius: 4px;
  text-align: center;
  padding-left: 44px; /* アイコン分の余白を確保 */
}
#g-nav li a.reserv_link::before{
  position: absolute;
  content: '';
  background-image: url(../img/reserv_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 31 / 36;
  width: 24px;
  left: 12px; /* テキストの左横に配置 */
  top: 50%;
  transform: translateY(-50%);
}
.gnav-list{
  z-index: 100;
}
.brand{
  z-index:100;
}

}

@media (max-width: 980px) {

  .menu_link li a{
    height: 140px;
    font-size: 1.6rem;
  }
  .panel-heading{
    margin-left: 0px;
  }
  .pc-only{
    display: none;
  }
  .top_photo.potion_relative .deco {
    bottom: -60px;
    top:inherit;
    width: 150px;
    height: auto;
    aspect-ratio: 1 / 1;
}
  .site-header {
    align-items: center;
    gap: 0px;
  }

  .global-nav {
    gap: 0px;
    min-height: 62px;
    padding: 0 8px 0px 42px;
  }
  .gnav-list{
    gap:1em;
    z-index: 100;
  }
  .tel_head_link{
    font-size: 1.4rem;
  }

  .hero,
  .info-area {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .photo-strip,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    width: 100%;
    margin: 0 auto 96px;
    padding-bottom: 40px;
    left: auto;
    transform: none;
  }

  .photo-strip img {
    width: min(321px, calc((100vw - 86px) / 2));
    height: 260px;
    border-radius: var(--radius-lg);
  }


  .info-area {
    padding: 42px 22px;
    background-color:inherit;

  }
  .info-area .inner_1100{
    padding: 0px;
  }
  .treat_link{
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .info-area.potion_relative .deco01{
    top: 12px;
    right: 12px;
    width: 100px;
    height: auto;
    aspect-ratio: 250 / 287;
    z-index: 1;
  }
  .menu_link{
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .question_bg{
    padding: 30px 0px;
    width: 100%;
    border-radius: 0px;
  }
  .about .text {
    padding-right: 0px;
}
.message_inner{
  grid-template-columns: 1fr;
}
.info-area {
        padding: 42px 0px;
        margin: 0 auto 0px;
    }
.nobr{
  display: none;
}
.photo-strip-track{
  gap: 20px;
}
.treat_link li a{
  height: 120px;
}
.about_inner{
  flex-wrap: wrap;
  flex-direction: column-reverse;
}
.grid_original01{
  grid-template-columns: 1fr;
  width: 100%;
}
.message_text h2{
  font-size: 2.1rem;
}

  .hours {
    overflow: hidden;
  }
  .menu_link li a::before{
    right: 18px;
    top: 85%;
  }
  .menu_link li a span{
    font-size: 1.2rem;
  }
/*
  .hours table {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    table-layout: fixed;
    font-size: 1.35rem;
  }
  .hours th,
  .hours td {
    padding-left: 0px;
    padding-right: 0px;
    font-size: 1.3rem;
  }
  .hours th.border_none,
  .hours td.border_none{
    border-left: none;
  }
  .hours tbody th {
    width: 6.8em;
  }
*/

.icon{
  position: inherit;
  margin-left: 0px;
  width: 45px;
        height: 45px;
}
.about .text h2{
  margin-left:20px;
}
.about{
  padding: 50px 0px;
}

.about_inner figure{
  margin-bottom: 40px;
}

.about_inner img{
  aspect-ratio: 7 / 8;
  overflow: hidden;
  object-fit: cover;
  object-position: right top;
}
.brand-text{
  display:none;
}

.copyright{
  width: 100%;
}
.title{
  padding: 3% 20% 3% 40px;
  line-height: 1em;
}

.box{
  padding: 3% 3% 3% 40px;
}
.reserv_link{
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}
.hero-copy{
  text-align:left;
}
.footer_logo img{
  width: 46%;
}

  }

@media (max-width: 720px) {
  .site-header {
    display: block;
    width: calc(100% - 28px);
    display: flex;
  }
  .site-header.is-fixed{
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999;
    animation: headerFadeIn 400ms ease both;
  }
  @keyframes headerFadeIn{
    from{
      opacity: 0;
      top: -6px;
    }
    to{
      opacity: 1;
      top: 10px;
    }
  }

  .brand-mark {
    width: 70px;
    height: 70px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .global-nav {
    border-radius: 999px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-note {
    font-size: 1.5rem;
    text-align: left;
  }

  .reason-card {
    padding: 18px 18px 28px;
  }

  .panel {
    padding: 30px 18px 22px;
  }

  .panel-heading {
    gap: 16px;
    margin-left: 0;
    padding-top: 0;
  }
  .news-list li {
    grid-template-columns: 70px 1fr;
  }
  .news-list a {
    grid-column: 1 / -1;
    white-space: normal;
  }
  .baby-section {
    display: block;
    padding: 32px 24px;
  }

  .button {
    margin-top: 22px;
  }
  .treatment .inner_1100.potion_relative .deco01{
    display: none;
  }
  .menu{
    padding: 30px 0px;
  }

  .reasons{
    margin-bottom: 0px;
  }
  .panel-heading h2{
    font-size: 2.1rem;
  }

  .info-area.potion_relative .deco02{
    display: none;
  }
  .question_bg h2.common_title{
    font-size: 2.4rem;
    margin-left: 26px;
  }
  .accordion-area {
    margin-top: 20px;
}
.question {
    padding-bottom: 0px;
}
.copyright{
  padding: 10px;
  font-size: 1.2rem;
  margin-top: 60px;
}
.copyright.potion_relative .deco01{
    display: none;
}
.site-footer {
    padding: 20px 20px 20px;
}
.middle_text{
  margin-bottom: 60px;
    }

.recruit_bnr figure{
  width: 40%;
}
.recruit_bnr h4 {
    width: 60%;
    font-size: 1.4rem;
    padding: 12px;
    line-height: 1.5em;
    text-align: left;
  }
  .recruit_bnr::before{
    right: 14px;
  }
  .treat_link li:nth-child(1) a::after{
    width: 70px;
    right: 60px;
  }
  .treat_link li:nth-child(2) a::after{
    width: 70px;
    right: 60px;
  }
  .treat_link li:nth-child(3) a::after{
    width: 70px;
    right: 60px;
  }
  .reserv_link_fixed{
    display: none;
  }
  span.q_mark::after {
    top: 10px;
}
    .sp\:pl-\[0\] {
        padding-left: 0;
    }
        .sp\:mt-\[1em\] {
        margin-top: 1em;
    }
    .sp\:flex-wrap {
        flex-wrap: wrap;
    }
        .sp\:flex-col {
        flex-direction: column;
    }
}
