/*
Theme Name: labo-kids-theme
Author: BLUE SEVEN
*/

@charset "utf-8";
/* CSS Document */

/*--------------------------------------------------------------
/* reset / base
---------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
:root {
  --fs-page-title: clamp( 2rem, calc( 0.8923076923076923rem + 3.076923076923077vw ), 4.8rem );
  --fs-sec-title: clamp( 1.8rem, calc( 1.2461538461538462rem + 1.5384615384615385vw ), 3.2rem );
  --fs-large: clamp( 1.6rem, calc( 1.4021978021978022rem + 0.5494505494505495vw ), 2.1rem );
  --fs-normal: clamp(1.4rem,calc(1.275rem + 0.3vw),1.6rem);
  --ff-maru: "M PLUS Rounded 1c", sans-serif;
  --fc-base : #323232;
  --key-color: #9C45ED;
  --key-color-pale: #D3A4FF;
  --back-purple: #E7CEFF;
  --yellow: #FDD23B;
}
html{
  font-size: 62.5%;
}
body {
  color: var(--fc-base);
  font-family: 'Noto Sans JP', Meiryo, "メイリオ", YuGothic, sans-serif;
  font-size: 1.6rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}
h1 {
  font-size: var(--fs-page-title);
  line-height: 1.5;
  margin:0;
}
h2 {
  font-size: var(--fs-sec-title);
  margin-top: 0;
}
h3 {
  font-size: var(--fs-large);
  margin-top: 0;
}
h4 {
  font-size: min(calc(1.275rem + 0.3vw),1.5rem);
  margin-top: 0;
}
h5{
  font-size: 1.25rem;
  margin-top: 0;
}
p {
  font-size: var(--fs-normal);
  margin-top: 0;
}
ol,
ul,
li,
dl,
dt,
dd,
th,
td,
figcaption{
  font-size: var(--fs-normal);
  margin: 0;
  padding: 0;
}
a{
  color: #008CFF;
  font-size: var(--fs-normal);
  text-decoration: none;
  transition-duration: 0.4s;
}
img {
  max-width:100%;
  height:auto;
}
table {
  border-collapse: collapse;
}
figure{
  margin:0;
}
.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}
.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
video {
  filter: drop-shadow(0px 0px rgba(0,0,0,0));
  outline: none;
  border: none;
}
.container{
  width: min(95%,120rem);
  margin-right: auto;
  margin-left: auto;
}

/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
header {
  width: 100%;
  background: #FFF;
  position: fixed;
  top: 0;
  z-index: 9999;
}
header .inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 5rem;
}
header .logo {
  text-align: center;
  height: 7rem;
  padding: 1rem 1.75rem;

  & h1 {
    line-height: 1;
    height: 100%;
  }
  & img {
    max-width: 14.9rem;
    height: 100%;
  }
}
header .gnav{
  display:none;
}
header .contact{
  display:none;
}
.hamburger {
  align-self: center;
  margin-right: 1rem;

  & summary {
    display: block;
    list-style: none;
    height: 0.5rem;
    width: 4.4rem;
    background: var(--fc-base);
    position: relative;
    top: 50%;
    transition: 0.4s all ease;
    cursor: pointer;

    &::before,
    &::after {
      content: '';
      display: block;
      height: 0.5rem;
      width: 4.4rem;
      background-color: var(--fc-base);
      position: absolute;
      z-index: 3;
      transition: 0.4s all ease;
    }
    &::before {
      top: -0.85rem;
    }
    &::after {
      bottom: -0.95rem;
    }
    & span {
      display: none;
    }
  }
  #sp_nav_list {
    width: 100%;
    height: 100vh;
    background: rgba(156,69,237,0.9);
    opacity: 0;
    transition: all 0.6s;
    position: absolute;
    top: 7rem;
    right: 0;

    & li {
      list-style: none;
      border-bottom: 1px solid #FFF;
      transition: .4s all;

      &:last-child {
        border-bottom: none;
      }
      & a {
        display: block;
        color: #FFF;
        font-size: 1.8rem;
        font-weight: 700;
        text-align: center;
        text-decoration :none;
        padding: .7em;
      }
    }
  }
  &[open] {
    & summary {
      background: transparent;

      &::before {
        top: 0;
        transform: rotate(45deg);
      }
      &::after {
        bottom: 0;
        transform: rotate(-45deg);
      }
    }
    #sp_nav_list {
      opacity: 1;
    }
  }
}
@media (min-width: 992px) {
  .hamburger{
    display: none;
  }
  header .logo {
    width: min(40vw, 30rem);
    height: auto;
    padding: 1.3rem;
  }
  header .gnav {
    display:block;
    flex-grow: 1;
    max-width: 80rem;
    margin: 0 0 0 auto;
  }
  header #nav_list {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    list-style: none;
    margin: 0;
    gap: 0.5em 2%;

    & li {
      font-weight: 700;

      & a {
        color: var(--fc-base);
      }
    }
  }
  header .contact{
    display: block;
    flex: 1 0 auto;
    align-self: stretch;
    max-width: 30rem;

    & a {
      display:flex;
      flex-direction: column;
      color: #FFF;
      font-size: clamp( 1.8rem, calc( 1.2141732283464567rem + 0.5905511811023622vw ), 2.1rem );
      text-align: center;
      justify-content: center;
      height: 100%;
      background: var(--key-color);
      border: 0.3rem solid var(--key-color);
      position: relative;

      &:hover {
        color: var(--key-color);
      }
      &::before {
        display: block;
        content: "";
        width: 100%;
        height: 100%;
        background: #FFF;
        transform: scaleX(0);
        transform-origin: right;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 0.4s ease;
        transition-property: transform;
      }
      &:hover::before {
        transform: scaleX(1);
        transform-origin: left;
      }
      &::after {
        display: block;
        content:"Contact";
        font-size: 57%;
        transition: all 0.4s ease;
        position: relative;
        z-index: +1;
      }
      &:hover::before {
        color: var(--key-color);
      }
      & span {
        color: inherit;
        position: relative;
      }
    }
  }
}
/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
footer {
  background: var(--key-color);
}
footer * {
  color: #FFF;
}
footer .content_block {
  display: grid;
  padding: 5rem 0;
  @media (min-width:992px) {
    display: flex;
    justify-content: space-between;
    gap: 0 2rem;
  }
}
footer .logo {
  margin-bottom: 1.5rem;
}
footer .address_wrap {
  text-align: center;
  @media (min-width:992px) {
    text-align: left;
  }
}
footer address {
  font-style: normal;
  &::before {
    display: inline-block;
    content: "";
    color: #FFF;
    width: 1em;
    height: 1em;
    margin: 0 0.3em -0.1em 0;
    background-color: #FFF; 
    mask: url('/assets/img/icon_map.svg') no-repeat center / contain;
    -webkit-mask: url('/assets/img/icon_map.svg') no-repeat center / contain;
  }
}
footer .group dt {
  margin: 1em 0 0.5em;
}
footer .contact_list {
  text-align: center;
  margin-top: 5rem;
  @media (min-width:992px) {
    text-align: left;
    margin-top: 0;
  }

  & dt {
    font-weight: 700;
    margin-bottom: 1em;
    @media (min-width:992px) {
      font-size: 1.2rem;
    }
  }
}
footer .tel {
  font-family: var(--ff-maru);
  font-size: 3.2rem;
  margin: 0;
}
footer .privacy_policy a {
  display: inline-block;
  font-size: 1.2rem;
  margin-top: 1em;
}
footer .contact_list .btn_wrap {
  margin: 0 auto;

  .btn {
    font-weight: 700;
    width: 100%;
    max-width: 30rem;
    padding: 0 0.5em;
    background: #FFF;
    border: 0.2rem solid #FFF;

    &::before {
      background: var(--key-color);
    }

    & span {
      color: var(--key-color);
      font-size: var(--fs-large);
    }

    &:hover span {
      color: #FFF;
    }
  }
}
footer .content_list {
  margin-top: 5rem;
  @media (min-width:992px) {
    margin-top: 0;
  }

  & dt {
    font-weight: 700;
    text-align: center;
    margin-bottom: 2em;
    @media (min-width:992px) {
      font-size: 1.2rem;
      text-align: left;
    }
  }
}
footer .f_nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 30rem;
  height: 16em;
  margin: 0 auto;
  gap: 0 3em;

  & li {
    list-style: none;
    margin-bottom: 0.5em;

    .sub-menu {
      margin-top: 0.5em;

      & li::before {
        content: "・";
      }
    } 
  }
}
.copyright {
  font-size: 1.2rem;
  text-align: center;
  margin: 0;
  padding-bottom: 0.5em;
}