/***** エッチングガラスページ *****/
/*520px以下の記述。（モバイル）*/


.accent-vs_wrapper {
  width: 100%;
  text-align: center;
  margin: 8rem auto 0;
}

.accent-vs_test {
  font-size: clamp(2rem, calc(2rem + 0.625vw), 2.9rem);
  padding: 2rem 0 0;
  /* font-family: "Shippori Mincho", serif; */
  font-style: normal;
}

.etching_wrapper {
  margin: 4rem 2rem;
}

.grid_etching_box div {
  width: 96%;
  margin: 0 auto;
}

.grid_etching_box h3 {
  text-align: start;
  padding: 6rem 0 2rem;
}

.grid_etching_box p {
  line-height: 1.6;
}

.grid_etching_img img {
  width: 100%;
  margin: 2rem auto;
}

.kinds_h2 {
  padding: 8rem 0 2rem;
}

.etching_category_container h4 {
  width: max-content;
  border: solid 1px #292e33;
  color: #FFF;
  background: #333;
  margin-bottom: 1rem;
  padding: 1rem;
  margin: 4rem 0 2rem;
}

.etching_category_container div.grid_etching_text {
  align-items: anchor-center;
}

.etching_category_container p.message {
  font-size: clamp(1.2rem, calc(1.2rem + 0.625vw), 1.4rem);
  /* font-family: "Shippori Mincho", serif; */
  line-height: 1.6;
  padding-bottom: 2rem;
}
.etching_category_container p {
  font-size: clamp(1.2rem, calc(1.2rem + 0.625vw), 1.4rem);
  line-height: 1.6;
  padding-bottom: 2rem;
}

.etching_category_container figcaption {
  font-size: clamp(1.2rem, calc(1.2rem + 0.625vw), 1.4rem);
  line-height: 1.6;
  padding-bottom: 2rem;
}
.etching_category_container img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.grid_etching_category_box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.grid_etching_category_box div {
  margin: 0 auto
}

.grid_etching_category_box img {
  max-width: 160px;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
  
.grid_etching_category_box.height260 img {
  height: 280px;
}
  
    

@media (min-width: 461px) {
  .grid_etching_category_box img {
    max-width: 260px;
    height: 400px;
  }
  .grid_etching_category_box.height260 img {
    max-width: 260px;
    height: 400px;
  }
  .etching_category_container img {
    height: 240px;
  }
  .etching_category_container p.message {
    text-align: center;
}

}
.design_title {
  padding: 4rem 0 2rem;
}

.grid_design_category_box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.grid_design_category_box img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.grid_design_category_box img.mirror {
  height: 200px;
}

.grid_oyako {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px;
}

.grid_oyako img:first-child {
  width: 70% !important;
}

.grid_oyako img:last-child {
  width: 30% !important;
}

.grid_design_category_box div.flex_box {
  display: flex;
  justify-content: center;
  max-width: 200px;
  margin: 0 auto;
}

.grid_design_category_box div.flex_box img {
  width: 100%;
  display: block;
}

.grid_design_category_box span {
  display: block;
  text-align: center;
  font-size: 1.2rem;
  padding-top: 10px;
}

.design_link {
  font-size: clamp(1.4rem, calc(1.4rem + 0.625vw), 1.6rem);
  line-height: 2;
  text-align: end;
  padding-top: 3rem;
  position: relative;
}

.design_link a {
  display: inline-block;
  margin-right: 10px;
}

.design_link a:hover {
  opacity: 0.6;
}

.lineArrow {
  position: absolute;
  width: 170px;
  height: 6px;
  border-bottom: 1px solid #a2a2a2;
  border-right: 1px solid #a2a2a2;
  transform: skew(45deg);
  margin: -10px 0 0;
  right: 0;
}

.etching_technique_items {
  margin: 2rem auto;
}

.etching_technique_items h4 {
  font-size: clamp(1.4rem, calc(1.4rem + 0.625vw), 1.6rem);
  font-weight: bold;
  line-height: 2;
}

.etching_technique_items p {
  line-height: 1.6;
}


.grid_etching_text table.reference_price {
  width: 100%;
  font-size: clamp(1rem, calc(1rem + 0.625vw), 1.4rem);
  line-height: 1.6;
}

.grid_etching_text table.reference_price th {
  width: 25%;
  vertical-align: middle;
}

.grid_etching_text table.reference_price th,
.grid_etching_text table.reference_price td {
  padding: 0.4rem;
  border: solid 1px;
  text-align: center;
}

.grid_etching_text table.postage td {
  width: 50%;
}

.grid_etching_text figcaption {
  font-size: clamp(1.3rem, calc(1.3rem + 0.625vw), 1.4rem);
  line-height: 1.6;
}

.grid_etching_three_box h3 {
  text-align: start;
  padding: 6rem 0 2rem;
}

.mail button {
  background-color: #2f4f4f;
  color: #fff;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1em;
}
.mail button span {
  margin-left: 20px;
}
.mail button:hover {
  color: #fff;
  opacity: 0.8;
}
.tel,.mail {
  font-size: clamp(1.2rem, calc(1.2rem + 0.625vw), 1.6rem);
  margin: 2rem auto;
}

.mail.__btn {
  margin: 2rem 0 4rem;
  text-align: start;
}
.mail.__btn button {
  display: block;
  margin: 1rem 0;
}

.tel span {
  font-size: clamp(1rem, calc(1rem + 0.625vw), 1.4rem);
  display: inline-block;
  margin-left: 12px;
}
.waterwall_category_container {
  background: #000;
  padding: 2rem;
}
.waterwall_category_container img {
  width: 100%;
}
.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.waterwall_text {
  margin-bottom: 4rem;
}
.grid_waterwall_category_box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  gap: 5px;
  grid-auto-rows: auto;
}

.grid_waterwall_category_box .box1 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 1;
}

.grid_waterwall_category_box span {
  color: #fff; 
}

.grid_waterwall_category_box_2 {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  gap: 5px;
  grid-auto-rows: auto;
  padding: 1rem 0;
}

.grid_waterwall_category_box_2 img {
  width: 100%;
}
.grid_waterwall_category_box_2 span {
  display: inline-block;
}
.grid_art_category_box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 1rem 0;
}
.grid_art_category_box img {
  width: 100%;
}



@media (min-width: 961px) {
  .etching_wrapper {
    width: 100%;
    margin: 6rem auto;
  }

  .grid_etching_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    text-align: justify;
    grid-template-areas: "content img";
    margin: 12rem auto 6rem;
  }

  .grid_etching_box h3 {
    text-align: center;
    padding: 2rem 0;
  }

  .grid_etching_box div {
    width: 96%;
    margin: 0 auto;
  }

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

  .grid_etching_category_box img {
    height: 300px;
  }

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

  .grid_design_category_box img {
    height: 385px;
  }


  .grid_oyako {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
  }

  .grid_oyako img {
    width: 100%;
    height: 300px;
    object-fit: contain;
  }

  .grid_oyako img:first-child {
    width: 55% !important;
  }

  .grid_oyako img:last-child {
    width: 24% !important;
  }

  .grid_etching_three_items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    text-align: justify;
    grid-template-areas: "content img";
    margin: 2rem auto 6rem;
  }

  .grid_etching_three_box h3 {
    text-align: center;
  }
  .grid_waterwall_category_box {
    grid-template-columns: repeat(3, 1fr);
    margin: 1rem 2rem;
    gap: 20px;
  }
  .grid_waterwall_category_box .box1 {
    grid-column-end: 4;
    grid-row-end: 3;
  }

  .grid_waterwall_category_box_2 {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }

  .grid_art_category_box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }

}




/***** /エッチングガラスページ *****/


/***** ステンドグラス教室ページ *****/
#school {
  margin: 0 auto;
  width: 96%;
  padding: 1rem;
}
#school img {
  width: 100%;
  object-fit: contain;
}
#school .contents_box {
  margin: 4rem auto;
}

#school .content_text {
  line-height: 1.6;
  margin: 5px 0 0;
}

#school .grid_img {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  margin-bottom: 20px;
  gap: 5px;
}

#school .grid_img_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  margin: 20px 0;
}

.pieces1 li {
  margin: 0 auto;
  text-align: center;
}

.pieces1 li span {
  display: block;
  font-size: clamp(1.3rem, calc(1.3rem + 0.625vw), 1.4rem);
  padding: 1rem;
}

#school .grid_img img {
  display: inline-block;
  object-fit: contain;
}

#school .grid_img_list img {
  display: inline-block;
  width: 95%;
  max-height: 180px;
  object-fit: contain;
  padding: 5%;
}


#school .grid_img.pieces2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  margin: 20px 0;
}

#school .grid_img.pieces2 img {
  display: inline-block;
  width: 100%;
  object-fit: contain;
  padding: 0 5px;
}

#school div.button {
  margin: 2rem auto 3rem;
  text-align: center;
}

#school button {
  background: #999;
  display: block;
  font-weight: bold;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 1.6rem;
  border: none;
}

#school button:hover {
  opacity: 0.8;

}

#school table {
  border-collapse: collapse;
  border: 2px solid #333;
  max-width: 400px;
  width: 100%;
  font-size: clamp(1rem, calc(1rem + 0.625vw), 1.4rem);
  line-height: 1.6;
  margin: 1rem 0;
}

#school table.school_table2 {
  max-width: 400px;
}
#school table tr,
#school table th,
#school table td {
  border: 1px solid #333;
  padding: 1%;
}

#school .school_table th {
  width: 30%;
}

#school .school_table.pieces2 th {
  width: 50%;
}

#school .grid_img_list span {
  font-size: clamp(1.3rem, calc(1.3rem + 0.625vw), 1.4rem);
  margin-bottom: 1rem;
  display: inline-block;
}
.scool_fee li {
  font-size: clamp(1.3rem, calc(1.3rem + 0.625vw), 1.4rem);
  line-height: 1.6;
  padding-top: 1rem;
}

  @media (min-width: 961px) {
  #school {
    max-width: 800px;
  }

  #school .contents_box {
    margin: 6rem auto;
  }

  .pieces1 img {
    max-width: 400px;
    max-height: 400px;
  }

  #school .grid_img img {
    width: 100%;
    max-height: 300px;
  }

  #school .grid_img_list img {
    max-height: 220px;
  }


  #school .grid_img.pieces2 {
    max-height: 200px;
  }

  #school .grid_img.pieces2 img {
    max-height: 200px;
    padding: 0;
  }


  }


/***** /ステンドグラス教室ページ *****/