@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  /*variables css*/
  --header-height: 3rem;

  /* colors */
  --title-color: #161212;
  --text-color: #5b5757;
  --accent-color: #ff9900;
  --bg-table-stripe: #f6f6f5;
  --b-table: #e3e3e2;
  --caption: #242423;

  /* font and typograph */
  --body-font: "Poppins", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN",
    "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
  --biggest-font: 2rem;
  --h2-font: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;

  /* font-weight */
  --font-semi-bold: 600;
  --font-bold: 700;

  /* margin */
  --mb-1: 0.5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*z index*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*base*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1,
h2,
h3,
ul,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

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

a {
  text-decoration: none;
}

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

/*class css*/
.section {
  padding: 60px 0 2rem;
}

.contents-subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-3);
}
.section-title {
  margin-bottom: var(--mb-6);
}
.section-title::after {
  content: attr(data-sub);
  display: block;
  font-size: var(--normal-font-size);
}

.bd-container {
  max-width: 1024px;
  width: calc(100% - 3rem);
  margin-left: var(--mb-3);
  margin-right: var(--mb-3);
}

.bd-grid {
  display: grid;
  gap: 1.5rem;
}

.grid_img {
  display: grid;
  grid-gap: 0.5rem;
}

.grid_img img:first-of-type {
  grid-column: 1 / 3;
}
.grid_img img:last-of-type {
  grid-column: 2 / 3;
}


.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: #fff;
  box-shadow: 0 1px 1px 0px rgb(0 0 0 / 10%);
}

/*nav*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 2.5rem 0 0;
    text-align: center;
    background-color: #fff;
    transition: 0.4s;
    box-shadow: 0 0 4px rgb(0 0 0 / 10%);
    z-index: var(--z-fixed);
  }
}

.nav__item {
  margin-bottom: var(--mb-3);
}
.nav__item a {
	color: black;
	font-weight: var(--font-semi-bold);
}
.nav__link,
.nav__logo,
.nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-size: var(--h2-font);
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__link {
  transition: 0.3s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__toggle {
  font-size: 1.5rem;
  cursor: pointer;
}

/*show menu*/
.show-menu {
  top: var(--header-height);
}

/* scroll top */
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3rem;
  background: rgb(0 0 0 / 50%);
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
  visibility: hidden;
}

.scrolltop:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.scrolltop__icon {
  font-size: 1.5rem;
  color: #fff;
}

.show-scroll {
  visibility: visible;
  bottom: 1.5rem;
}

/* home */
.home__container {
  row-gap: 0.5rem;
}

.home__title {
  font-size: var(--h2-font);
  font-weight: var(--font-bold);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home__description,
.about__description {
  margin-bottom: var(--mb-3);
}


/* buttons */
.button {
  display: inline-block;
  border: 1px solid var(--title-color);
  padding: 1rem 1.5rem;
  color: var(--title-color);
  transition: 0.3s;
  text-align: center;
  width: 100%;
  max-width: 180px;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button-link {
  background: none;
  padding: 0;
  color: var(--first-color);
}

.button-link:hover {
  background-color: transparent;
  color: var(--first-color-alt);
}

.footer {
  position: relative;
}

.map-container {
  height: 0;
  overflow: hidden;
  padding-bottom: 76.25%;
  position: relative;
}
.map {
  filter: grayscale(100%) invert(92%) contrast(83%);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
.swiper-slide img {
	height: 230px;
	max-height: 230px;
	object-fit: cover;
}
.image-grid-container img:not(:first-of-type) {
	max-height: 135px;
	height: 100%;
	object-fit: cover;
}
.footer-container {
	padding: 1rem;
}
.footer-container h2 {
	margin-bottom: 5px;
}
.footer-container .address-container h3 {
	margin-bottom: 5px;
}
.grid-left{
  margin-top: 20px;
}

#system .price_data img {
	max-width: 640px;
}
.form__link-container {
	max-height: 450px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.form__link {
	color: #fff;
	display: inline-block;
	padding: 2rem 3rem;
	font-weight: var(--font-semi-bold);
	text-align: center;
	cursor: pointer;
}
.contact__boxes {
	display: grid;
    grid-gap: 1rem;
    margin: 2rem auto;
}
.contact__boxes i.bx {
	font-size: 3rem;
}
.contact__boxes span {
	text-align: center;
	font-size: var(--small-font-size);
}
.contact__box-tel,
.contact__box-mail {
	padding: 1rem;
    background: #e9e9e9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.phone__num,
.mail__address{
	font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    margin-top: var(--mb-1);
}
/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 10; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 70%;
  max-width: 500px;
  padding: 30px 10px;
  background-color: #fff;
  height : 50%; 
  overflow : auto;
}

.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

.table_head {
	display: inline-block;
	width: 100%;
}
.price_table-container {
	display: grid;
	grid-gap: 1rem;
}


@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    display: flex;
    align-items: center;
  }

  .nav__item {
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }

  .nav__toggle {
    display: none;
  }
  
  .image-grid-container img:not(:first-of-type) {
	max-height: 250px;
  }
  .address {
	text-align: center;	
  }
  .modalWrapper {
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  transform:translate(-50%,-50%);
	  width: 70%;
	  max-width: 500px;
	  padding: 30px;
	  background-color: #fff;
	  height : 50%; 
	  overflow : auto;
  }
  .table_head {
	display: table-cell;
    width: inherit;
    vertical-align: middle!important;
  }
  .contact__boxes {
	grid-template-columns: repeat(2, 1fr);
  }
  .form__link {
    font-size: var(--biggest-font);
  }
}

@media screen and (min-width: 968px) {
  .bd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-left {
    grid-column: 1/2;
    grid-row: 1/2;
    margin-top: 0;
  }
  .grid-right {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .bd-container {
    margin-left: auto;
    margin-right: auto;
  }
  .map-container {
	height: 0;
	overflow: hidden;
	padding-bottom: 500px;
	position: relative;
  }

  .image-grid-container img:not(:first-of-type) {
	max-height: 175px;
  }
	.price_table-container {
	  grid-template-columns: repeat(auto-fit,minmax(calc(50% - 1rem),1fr));
  }
  .form__link-container {
	max-height: 350px;
    height: 350px;
  }
}


/* 以下ボタンスタイル */
button {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #282828;
  border-radius: 2px;
  cursor: pointer;
  width: 100%;
  max-width: 180px;
}

#openModal {
  top: 50%;
  left: 50%;
}

/*スライドエリア*/
.content {
  width: 300px;
  height: 230px;
}
.wrap {
	margin: var(--mb-2) 0;
}

.slideshow .content img{
  width: 100%;
  height: 100%;
  padding-left: 10%;
}

.lb-prev,.lb-next,.lb-number{
  display: none!important;
}

/*カレンダー*/
.google_calender iframe {
	width: 100%;
	height: 400px;
}
#topics {
	margin-bottom: var(--mb-6);
}
#topics .home__data {
	display: flex;
	justify-content: center;
}
#topics .home__data span {
	margin-right: 10px;
}

@media screen and (min-width: 768px) {
	.google_calender iframe {
		height: 600px;
	}
	#page__contents {
		margin-top: calc(var(--header-height) + 1.5rem);
	}
}

/*スタジオきらめき*/
.studio-name{
  font-size: 130%;
  text-align: center;
  margin-top: calc(var(--header-height) + 3rem);
  margin-bottom: 30px;
}

table {
    background-color: transparent;
    border-collapse:collapse;
  	font-family: Arial, Helvetica, sans-serif;
	width: 100%
}

th {
    text-align:left
}

.dcf-txt-center {
      text-align: center!important
    }

    .dcf-txt-left {
      text-align: left!important
    }

    .dcf-txt-right {
      text-align: right!important
    }
    
.dcf-table caption {
      color: var(--caption);
      font-size: 1.13em;
      font-weight: 700;
      padding-bottom: .56rem
    }

    .dcf-table thead {
      font-size: .84em
    }

    .dcf-table tbody {
      border-bottom: 1px solid var(--b-table);
      border-top: 1px solid var(--b-table);
      font-size: .84em
    }

    .dcf-table tfoot {
      font-size: .84em
    }

    .dcf-table td, .dcf-table th {
      padding-right: 1.78em
    }

    .dcf-table-bordered, .dcf-table-bordered td, .dcf-table-bordered th {
      border: 1px solid #e9e9e9;
    }

    .dcf-table-bordered td, .dcf-table-bordered th, .dcf-table-striped td, .dcf-table-striped th {
      padding-left: 1em;
      padding-right: 1em
    }

    .dcf-table-bordered tr:not(:last-child), .dcf-table-striped tr:not(:last-child) {
      border-bottom: 1px solid var(--b-table)
    }

    .dcf-table-striped tbody tr:nth-of-type(2n) {
      background-color: var(--bg-table-stripe)
    }

    .dcf-table thead td, .dcf-table thead th {
      padding-bottom: .75em;
      vertical-align: bottom
    }

    .dcf-table tbody td, .dcf-table tbody th, .dcf-table tfoot td, .dcf-table tfoot th {
      padding-top: .75em;
      vertical-align: top
    }

    .dcf-table tbody td, .dcf-table tbody th {
      padding-bottom: .75em
    }

    .dcf-table-bordered thead th {
      padding-top: 1.33em
    }

    .dcf-wrapper-table-scroll {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      left: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
      padding-bottom: 1em;
      position: relative;
      right: 50%;
      width: 100vw
    }


    @media only screen and (max-width:42.09em) {
      .dcf-table-responsive thead {
        clip: rect(0 0 0 0);
        -webkit-clip-path: inset(50%);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        width: 1px;
        white-space: nowrap
      }
      .dcf-table-responsive tr {
        display: block
      }
      .dcf-table-responsive td {
        -webkit-column-gap: 3.16vw;
        -moz-column-gap: 3.16vw;
        column-gap: 3.16vw;
        display: grid;
        grid-template-columns: 1fr 2fr;
      }
      .dcf-table-responsive.dcf-table-bordered, .dcf-table-responsive.dcf-table-bordered thead th {
        border-width: 0;
		width: 100%
      }

      .dcf-table-responsive.dcf-table-bordered tbody td {
        border-top-width: 0
      }
      .dcf-table-responsive:not(.dcf-table-bordered) tbody tr {
        padding-bottom: .75em
      }
      .dcf-table-responsive:not(.dcf-table-bordered) tbody td {
        padding-bottom: 0
      }
      .dcf-table-responsive:not(.dcf-table-bordered):not(.dcf-table-striped) tbody td {
        padding-right: 0
      }
      .dcf-table-responsive.dcf-table-bordered tbody tr:last-child td:last-child {
        border-bottom-width: 0
      }
      .dcf-table-responsive tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
      }
    }

.dcf-overflow-x-auto {
      overflow-x: auto!important;
      -webkit-overflow-scrolling: touch
    }

.table_data {
	margin: 2rem 0;
}
