@charset "UTF-8";
@font-face {
  font-family: 'copy_font';
  src: url("../fonts/copy_font.woff") format("woff");
}
@font-face {
  font-family: 'Instagram Sans Headline Regular';
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/Instagram_Sans_Headline.woff") format("woff");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  height: 100%;
  font-size: 1.6rem;
  font-family: "Gothic Medium BBB", "Hiragino Kaku Gothic ProN", "Helvetica", "游ゴシック", "メイリオ", "meiryo", "sans-serif";
  color: #333333;
  line-height: 1.5;
  font-feature-settings: "palt";
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Midashi Go MB31", "Hiragino Kaku Gothic ProN", "Helvetica", "游ゴシック", "メイリオ", "meiryo", "sans-serif";
}

input, textarea {
  font-family: "Helvetica", "游ゴシック Medium", "Hiragino Kaku Gothic ProN", "メイリオ", "meiryo", "sans-serif";
  box-sizing: border-box;
  -webkit-appearance: none;
  border-radius: 0;
}

select {
  font-family: "Gothic MB101", "Hiragino Kaku Gothic ProN", "Helvetica", "游ゴシック", "メイリオ", "meiryo", "sans-serif";
}

a {
  color: inherit;
  cursor: pointer;
  transition: 0.4s;
}
a:hover {
  opacity: 0.6;
}

h1, h2 {
  line-height: 140%;
}

ul {
  list-style: none;
}

p {
  font-size: 1.6rem;
  margin-bottom: 1.2em;
  line-height: 160%;
}

img {
  max-width: 100%;
}

article {
  background: #ffffff;
}

main {
  padding: 100px 0 0;
  background: #ffffff;
}
main article {
  position: relative;
  z-index: 100;
  mix-blend-mode: multiply;
  padding-top: 2%;
  padding-bottom: 10%;
}
main article > h1 {
  writing-mode: vertical-rl;
  font-size: 1.8rem;
  border-right: 2px solid #000000;
  padding: 0.17em 0;
  left: -7.2rem;
  top: 0;
  margin-bottom: 0;
  font-size: 1.6rem;
  position: absolute;
}
main article h1.sub_title span {
  font-size: 1.8rem;
  padding: 0.17em 0;
  position: relative;
  margin-bottom: 40px;
}
main article h1.sub_title span:after {
  content: "";
  display: block;
  width: 30%;
  border-top: 2px solid #333333;
  position: absolute;
  bottom: -110%;
  left: 50%;
  transform: translateX(-50%);
}
main article section h2 {
  font-size: 3.4rem;
  font-weight: normal;
  letter-spacing: 0.12em;
  margin-bottom: 1em;
}
main article section p {
  letter-spacing: 0.19em;
  line-height: 1.9;
  font-size: 1.5rem;
  margin-bottom: 1.2em;
}
main article section p img {
  width: 100%;
}

/*.wrapper {
    max-width: 1100px;
    margin: 0 auto;
}*/
.wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.cta_btn {
  transform: translate(0);
  margin: 0;
  text-decoration: none;
}
.cta_btn a {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 5px;
  text-decoration: none;
  background-color: #fcee21;
  padding: 0.5em 0;
  color: #333333;
  text-align: center;
  transition: 0.4s;
}
.cta_btn a::before, .cta_btn a::after {
  content: "";
  position: absolute;
  display: block;
  z-index: -10;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 5px;
  background: #fff7b5;
  transform: translate3d(0, 0, 0);
}
.cta_btn a::before {
  animation: link_anime 2s ease-out infinite;
}
.cta_btn a::after {
  animation: link_anime 2s ease-out 1s infinite;
}
.cta_btn a span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
}
.cta_btn a span svg {
  width: 10%;
  animation: arrow_anime 1s ease-out 0s infinite alternate;
  transition: 0.4s;
}
.cta_btn a span svg path {
  fill: #00a99d !important;
}
.cta_btn a span svg circle {
  fill: #ffffff !important;
}

@keyframes link_anime {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  90% {
    opacity: 0.1;
  }
  to {
    transform: scale(1.1, 1.2);
    opacity: 0;
  }
}
@keyframes arrow_anime {
  0% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1.08, 1.14);
  }
}
.scrFadeIn.title {
  width: fit-content;
  overflow: hidden;
  transform: translateX(-100%);
}
.scrFadeIn.title > .title_anim {
  display: block;
  transform: translateX(100%);
}
.scrFadeIn.title.active {
  transform: translateX(0);
  transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
}
.scrFadeIn.title.active > span.title_anim {
  transform: translateX(0);
  transition: transform cubic-bezier(0.74, 0, 0.24, 0.99) 1.1s;
}
.scrFadeIn.fade {
  position: relative;
  top: 40px;
  opacity: 0;
  transition: 0.8s;
}
.scrFadeIn.fade.active {
  opacity: 1;
  top: 0;
}

div#loading {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #333333;
  top: 0;
  background: #ffffff;
}
div#loading:before {
  content: "";
  display: block;
  margin: 10% auto 0;
  width: 30vw;
  height: 30vw;
  background: url("../images/loading/loading_animation.webp") no-repeat top 30% center/contain;
}
div#loading div#container {
  margin: 0 auto;
  width: 20%;
  height: 12px;
}
div#loading div#container > div {
  color: #333333 !important;
}
div#loading svg.circleText {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  overflow: visible;
  animation: rotation 25s linear infinite;
  width: 30vw;
  margin-top: 8%;
}
div#loading svg.circleText path {
  fill: none;
}
div#loading svg.circleText text {
  fill: #ebebeb;
  font-size: 12px;
  letter-spacing: 0.05em;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
div#phone {
  display: none;
}

div#humberger {
  display: none;
}

div#go_top {
  position: fixed;
  z-index: 200;
  bottom: 7%;
  right: 20px;
  mix-blend-mode: difference;
  opacity: 0;
  transition: 0.6s;
}
div#go_top a {
  text-decoration: none;
}
div#go_top a svg path {
  fill: #ffffff;
}
div#go_top a svg:first-child {
  width: 25px;
  position: relative;
  top: 0;
  animation: go_top_anim 5s ease-out infinite;
}
div#go_top a svg:last-child {
  width: 12px;
}
@keyframes go_top_anim {
  0% {
    top: 0;
  }
  5% {
    top: -20px;
  }
  10% {
    top: 0;
  }
  17% {
    top: -13px;
  }
  22% {
    top: 0;
  }
  10% {
    top: 0;
  }
}
div#go_top.active {
  opacity: 1;
}

header {
  padding: 1em 0;
  background: #ffffff;
  position: relative;
  z-index: 200;
}
header h1 {
  text-align: center;
  margin-bottom: 0.5em;
}
header h1 svg {
  width: 300px;
}
header nav {
  display: flex;
  justify-content: center;
  gap: 0 3em;
}

section#copy_text {
  padding: 0 1.3%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Helvetica", "游ゴシック Medium", "Hiragino Kaku Gothic ProN", "メイリオ", "meiryo", "sans-serif";
}
section#copy_text h1, section#copy_text p {
  font-size: max(0.9vw, 1.4rem);
  font-weight: bold;
  writing-mode: vertical-rl;
  letter-spacing: 0.30em;
}

article#about {
  padding-bottom: 5%;
}

article#trouble h1 {
  text-align: center;
  writing-mode: lr;
  border: none;
  padding: 0.17em 0;
  font-size: 3.6rem;
  position: static;
}
article#trouble h1 span.sub {
  display: block;
  font-size: 70%;
}
article#trouble h1 div {
  margin: 0 auto;
}
article#trouble ul {
  max-width: 1070px;
  margin: 0 auto 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 10%;
}
article#trouble ul li {
  width: 23%;
  border: 2px solid #ede9e6;
  border-radius: 8px;
  padding: 2em 2.5em;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 1.8rem;
  top: 40px;
  opacity: 0;
  transition: 0.8s;
}
article#trouble ul li::before {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -90%;
  left: 50%;
  transform: translateX(-50%);
}
article#trouble ul li:nth-child(odd) {
  background: #ede9e6;
}
article#trouble ul li:nth-child(even) {
  transform: translateY(10%);
}
article#trouble ul li:first-child::before {
  background-image: url("../images/contents/trouble01.webp");
}
article#trouble ul li:nth-child(2) {
  transition-delay: 0.3s;
}
article#trouble ul li:nth-child(2)::before {
  background-image: url("../images/contents/trouble02.webp");
}
article#trouble ul li:nth-child(3) {
  transition-delay: 0.6s;
}
article#trouble ul li:nth-child(3)::before {
  background-image: url("../images/contents/trouble03.webp");
}
article#trouble ul li:nth-child(4) {
  transition-delay: 0.9s;
}
article#trouble ul li:nth-child(4)::before {
  background-image: url("../images/contents/trouble02.webp");
}
article#trouble ul.active li {
  opacity: 1;
  top: 0;
}
article#trouble h2 {
  position: relative;
  padding: 150px 15px 1px;
  background: #ede9e6;
  text-align: center;
  font-size: 3.2rem;
  letter-spacing: 2.4px;
  opacity: 0;
  top: 100px;
  transition: 1.1s;
}
article#trouble h2.active {
  opacity: 1;
  top: 0;
}
article#trouble h2 span {
  font-size: 80%;
}
article#trouble h2::before, article#trouble h2::after {
  content: '';
  position: absolute;
  left: 0;
  border-right: 50vw solid transparent;
  border-left: 50vw solid transparent;
}
article#trouble h2::before {
  top: 0;
  border-top: 80px solid #fff;
}
article#trouble h2::after {
  top: 100%;
  border-top: 80px solid #ede9e6;
}

article#production ul {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
article#production ul li {
  width: 20vw;
  height: 20vw;
  overflow: hidden;
  position: relative;
  transition: 1.1s;
  opacity: 0;
}
article#production ul li:nth-last-child(2) {
  transition-delay: 0.3s;
}
article#production ul li:nth-last-child(3) {
  transition-delay: 0.6s;
}
article#production ul li:nth-last-child(4) {
  transition-delay: 0.9s;
}
article#production ul li.rellax.stop {
  transform: translate3d(0px, 0px, 0px) !important;
}
article#production ul li img {
  transition: all 0.8s;
  filter: blur(1px);
  max-width: none;
  max-height: 100%;
}
article#production ul li:hover img {
  filter: blur(0);
  transform: scale(1.03);
}
article#production ul.active li {
  opacity: 1;
}

article#works {
  counter-reset: i;
  padding-top: 3%;
}
article#works section {
  position: relative;
  z-index: 100;
  counter-increment: i;
}
article#works section + section {
  margin-top: 15%;
}
article#works section h2 {
  position: relative;
  padding-left: 2em;
}
article#works section h2::before {
  content: counters(i,"");
  border: 1.5px solid #333333;
  font-family: Helvetica, Arial, "sans-serif";
  font-weight: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  left: 0;
  top: -2px;
}
article#works section ul {
  display: flex;
  gap: 1%;
}
article#works section ul li {
  flex: 1;
}
article#works section ul li img {
  width: 100%;
}

article#price section + section {
  margin-top: 15%;
}
article#price section a.btn {
  background: #618474;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  color: #ffffff;
  text-decoration: none;
  padding: 0.5em 0;
}
article#price section a.btn:hover {
  opacity: 1;
  background: #87b4a8;
}
article#price section a.btn span {
  display: block;
  width: 32px;
  height: 32px;
}
article#price section a.btn span svg {
  width: 100%;
  height: 100%;
}
article#price section.products {
  counter-reset: num;
  margin-bottom: 50px;
}
article#price section.products div.flow_chart {
  padding-left: 100px;
  position: relative;
}
article#price section.products div.flow_chart.active::before {
  animation: before_arrow_anim 1.5s 0.5s ease-out forwards;
}
article#price section.products div.flow_chart.active::after {
  animation: after_arrow_anim 1.5s 0.5s ease-out forwards;
}
article#price section.products div.flow_chart.active dl:nth-of-type(1)::after {
  animation: blinking 3s 1.5s ease-out infinite alternate;
}
article#price section.products div.flow_chart.active dl:nth-of-type(2)::after {
  animation: blinking 3s 2s ease-out infinite alternate;
}
article#price section.products div.flow_chart.active dl:nth-of-type(3)::after {
  animation: blinking 3s 2.5s ease-out infinite alternate;
}
article#price section.products div.flow_chart.active dl dt::before {
  animation: border_top_anim 0.3s ease-in forwards;
}
article#price section.products div.flow_chart.active dl dt::after {
  animation: border_right_anim 0.3s 0.3s ease-out forwards;
}
article#price section.products div.flow_chart.active dl dt h3 {
  opacity: 1;
  top: 0;
}
article#price section.products div.flow_chart.active dl dd::before {
  animation: border_bottom_anim 0.3s 0.6s ease-out forwards;
}
article#price section.products div.flow_chart.active dl dd p {
  opacity: 1;
  top: 0;
}
article#price section.products div.flow_chart::before, article#price section.products div.flow_chart::after {
  content: "";
  position: absolute;
  top: 0;
  right: 100px;
  display: inline-block;
}
article#price section.products div.flow_chart::before {
  width: 30px;
  right: 128px;
  background: #303230;
}
article#price section.products div.flow_chart::after {
  border-style: solid;
  border-width: 50px 43px 0 43px;
  border-color: #303230 transparent transparent transparent;
}
article#price section.products div.flow_chart dl {
  width: 60%;
  position: relative;
  counter-increment: num 1;
}
article#price section.products div.flow_chart dl::before, article#price section.products div.flow_chart dl::after {
  content: "";
  position: absolute;
}
article#price section.products div.flow_chart dl::before {
  content: "0" counter(num);
  font-family: Helvetica, Arial, "sans-serif";
  font-weight: bold;
  font-size: 5rem;
  position: absolute;
  left: -25%;
  top: 0;
}
article#price section.products div.flow_chart dl::after {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  right: -66px;
  top: 35px;
  background: #718f76;
  border: 3px solid #ffffff;
  opacity: 0;
}
article#price section.products div.flow_chart dl:nth-of-type(1)::before {
  color: #56795c;
}
article#price section.products div.flow_chart dl:nth-of-type(1)::after {
  background: #718f76;
}
article#price section.products div.flow_chart dl:nth-of-type(1) h3::before, article#price section.products div.flow_chart dl:nth-of-type(1) h3::after {
  background: #718f76;
}
article#price section.products div.flow_chart dl:nth-of-type(2)::before {
  color: #6d7e6d;
}
article#price section.products div.flow_chart dl:nth-of-type(2)::after {
  background: #899989;
}
article#price section.products div.flow_chart dl:nth-of-type(2) h3::before, article#price section.products div.flow_chart dl:nth-of-type(2) h3::after {
  background: #899989;
}
article#price section.products div.flow_chart dl:nth-of-type(3)::before {
  color: #3b503f;
}
article#price section.products div.flow_chart dl:nth-of-type(3)::after {
  background: #4d6750;
}
article#price section.products div.flow_chart dl:nth-of-type(3) h3::before, article#price section.products div.flow_chart dl:nth-of-type(3) h3::after {
  background: #4d6750;
}
article#price section.products div.flow_chart dl dt {
  padding-bottom: 5px;
  position: relative;
}
article#price section.products div.flow_chart dl dt::before, article#price section.products div.flow_chart dl dt::after {
  content: "";
  position: absolute;
  top: 0;
  border-top: 3px solid #303230;
}
article#price section.products div.flow_chart dl dt::before {
  left: -52px;
}
article#price section.products div.flow_chart dl dt::after {
  top: 0.5px;
  left: -22px;
  transform-origin: left;
  transform: rotate(65deg);
}
article#price section.products div.flow_chart dl dt h3 {
  color: #ffffff;
  position: relative;
  font-size: 2.2rem;
  padding: 0.2em 0;
  text-align: center;
  opacity: 0;
  position: relative;
  top: 30px;
  transition: 0.6s;
  transition-delay: 0.9s;
}
article#price section.products div.flow_chart dl dt h3::before, article#price section.products div.flow_chart dl dt h3::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  height: 100%;
  background: #718f76;
}
article#price section.products div.flow_chart dl dt h3::before {
  left: -6px;
  width: 96%;
  transform: skewX(25deg);
}
article#price section.products div.flow_chart dl dt h3::after {
  right: 0;
  width: 50%;
}
article#price section.products div.flow_chart dl dd {
  position: relative;
  padding: 1em 0;
}
article#price section.products div.flow_chart dl dd::before {
  content: "";
  position: absolute;
  top: 0;
  border-top: 3px solid #303230;
}
article#price section.products div.flow_chart dl dd p {
  opacity: 0;
  position: relative;
  top: 30px;
  letter-spacing: 0;
  transition: 0.6s;
  transition-delay: 0.9s;
}
article#price section.school a.btn {
  background: #648793;
}
article#price section.school a.btn:hover {
  background: #afd4d4;
}
article#price section.school div.schedule_box {
  display: flex;
}
article#price section.school div.schedule_box div {
  flex: 1.5;
  font-size: 1.4rem;
}
article#price section.school div.schedule_box div:last-child {
  flex: 1;
}
article#price section.school div.schedule_box div h4 {
  padding-left: 2.5em;
  margin-bottom: 1em;
}
article#price section.school div.course, article#price section.school div.curriculum {
  background: #f0fdfa;
  width: 90%;
  margin: 0 auto 5%;
  padding: 1em 0;
}
article#price section.school div.course h3, article#price section.school div.curriculum h3 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1em;
}
article#price section.school div.course h3 span, article#price section.school div.curriculum h3 span {
  display: block;
  font-size: 3.2rem;
}
article#price section.school div.course p, article#price section.school div.curriculum p {
  text-align: center;
  padding: 0 1em;
}
article#price section.school div.course ul, article#price section.school div.curriculum ul {
  width: 55%;
  margin: 0 auto 5%;
}
article#price section.school div.course ul li, article#price section.school div.curriculum ul li {
  position: relative;
  text-align-last: justify;
}
article#price section.school div.course ul li::after, article#price section.school div.curriculum ul li::after {
  content: '';
  display: block;
  position: absolute;
  top: .5em;
  left: -1.5em;
  width: 10px;
  height: 5px;
  border-left: 3px solid #9c9c9c;
  border-bottom: 3px solid #9c9c9c;
  transform: rotate(-45deg);
}
article#price section.school div.course table, article#price section.school div.curriculum table {
  text-align: center;
  width: 60%;
  margin: 0 auto;
  border-spacing: 0 20px;
}
article#price section.school div.course table th, article#price section.school div.course table td, article#price section.school div.curriculum table th, article#price section.school div.curriculum table td {
  width: 50%;
}
article#price section.school div.course table th span, article#price section.school div.curriculum table th span {
  border: 1px solid #333333;
  border-radius: 40px;
  display: block;
  width: 70%;
  margin: 0 auto;
}
article#price section.school div.course table td, article#price section.school div.curriculum table td {
  font-size: 2.4rem;
}
article#price section.school div.course table td span, article#price section.school div.curriculum table td span {
  font-size: 1.3em;
}
article#price section.school div.course table tr.border td, article#price section.school div.curriculum table tr.border td {
  border-top: 1px solid #333333;
  padding-top: 0.5em;
}
article#price section.school div.curriculum ul {
  width: 100%;
  margin: 0 auto 5%;
  padding-left: 3.5em;
}
article#price section.school div.curriculum ul li {
  position: relative;
  text-align-last: left;
  margin-bottom: 10px;
}
article#price section.school div.curriculum ul li::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  color: #9c9c9c;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.375em 0.64952em;
  border-left-color: currentColor;
  border-right: 0;
  transform: rotate(0);
  translate: 0 -3px;
}
article#price section.school div.curriculum p {
  text-align: left;
}
@keyframes border_top_anim {
  0% {
    width: 0%;
  }
  100% {
    width: 31px;
  }
}
@keyframes border_right_anim {
  0% {
    width: 0%;
  }
  100% {
    width: 52.5px;
  }
}
@keyframes border_bottom_anim {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes before_arrow_anim {
  0% {
    height: 0%;
  }
  100% {
    height: 80%;
  }
}
@keyframes after_arrow_anim {
  0% {
    top: 0%;
  }
  100% {
    top: 80%;
  }
}
@keyframes blinking {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
article#case dl dd {
  text-shadow: 2px 2px 2px #ffffff, -2px 2px 2px #ffffff, -2px -2px 2px #ffffff, 2px -2px 2px #ffffff;
}
article#case dl dd:first-of-type {
  margin-bottom: 50px;
  width: 80%;
}
article#case section {
  position: relative;
}
article#case section + section {
  margin-top: 80px;
  padding-top: 80px;
  background: url("../images/contents/border.webp") no-repeat center top/contain;
}
article#case section div.case_image {
  position: absolute;
  top: 15%;
  right: -25%;
  max-width: 300px;
  z-index: -1;
}
article#case section div.case_image img {
  width: 100%;
}

article#instructor section + section {
  margin-top: 10%;
}
article#instructor section div.prf img {
  object-fit: cover;
  width: 250px;
  height: 250px;
  border: 5px solid #eee;
  float: left;
  margin-right: 1em;
}
article#instructor section div.prf p {
  font-size: 1.4rem;
  margin-bottom: 0;
}
article#instructor section div.prf p.prf_name {
  text-align: right;
}

article#instagram {
  position: relative;
}
article#instagram h1 {
  content: "Instagram";
  font-family: 'Instagram Sans Headline Regular';
  font-size: 12.4vw;
  color: #ede9e6;
  position: absolute;
  bottom: -20%;
  left: 0;
  opacity: 0;
  transition: 0.6s;
  writing-mode: horizontal-tb;
  border: none;
  margin: 0;
  padding: 0;
  top: auto;
}
article#instagram h1.active {
  bottom: -10%;
  opacity: 1;
}
article#instagram ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
}
article#instagram ul li {
  width: 20vw;
  height: 20vw;
  overflow: hidden;
  position: relative;
  transition: 0.6s;
}
article#instagram ul li:before {
  content: "\f16d";
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  font-size: 2.7rem;
  color: #ffffff;
  position: absolute;
  top: 2%;
  right: 5%;
  z-index: 100;
}
article#instagram ul li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s;
  filter: blur(1px);
}
article#instagram ul li span {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding-right: 1em;
  text-align-last: left;
  font-family: "Helvetica", "游ゴシック Medium", "Hiragino Kaku Gothic ProN", "メイリオ", "meiryo", "sans-serif";
  font-size: 1.2rem;
  padding: 0.5em 1.5em;
  position: absolute;
  bottom: 0;
  left: 0;
}
article#instagram ul li span > a:before {
  content: "\f08e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
article#instagram ul li:hover {
  border-radius: 15px;
}
article#instagram ul li:hover img {
  filter: blur(0);
  transform: scale(1.03);
}

article#contact {
  background: #ede9e6;
  padding: 8% 0;
}
article#contact h1 {
  position: static;
  text-align: center;
  margin-bottom: 2em;
}
article#contact h1 + p {
  text-align: center;
  margin-bottom: 2.5em;
}
article#contact div.error p {
  font-size: 1.4rem;
  color: #E83F1B;
  margin: 0;
}
article#contact form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
article#contact form p {
  width: 46%;
  position: relative;
}
article#contact form p:has(textarea) {
  width: 100%;
}
article#contact form p:has([name="submit"]) {
  text-align: center;
  width: 100%;
  margin-top: 2em;
}
article#contact form p:has([type="checkbox"]) {
  text-align: center;
  width: 100%;
  margin-top: 2em;
}
article#contact form p:has([type="checkbox"]) small {
  display: block;
  margin-bottom: 1em;
  font-size: 1.4rem;
}
article#contact form p:has([type="checkbox"]) input {
  position: absolute;
  top: 20%;
  left: 25%;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid #000;
}
article#contact form p:has([type="checkbox"]) input:checked:before {
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  content: '';
}
article#contact form p:has([type="checkbox"]) label {
  cursor: pointer;
  display: block;
  position: relative;
}
article#contact form p:has([type="checkbox"]:checked) label {
  color: #000000;
}
article#contact form p:has(select) {
  width: 100%;
}
article#contact form p:has(select)::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 50%;
  width: 1vw;
  height: 0.5vw;
  transform: translateY(-50%);
  background: #888888;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}
article#contact form p input, article#contact form p textarea {
  border: none;
  background: none;
  padding: 0.5em 1.2em;
  display: block;
  width: 100%;
  border-bottom: 2px solid #000000;
  font-size: 2.0rem;
}
article#contact form p input:focus, article#contact form p textarea:focus {
  outline: none;
}
article#contact form p input:focus + label, article#contact form p input.not_empty + label, article#contact form p textarea:focus + label, article#contact form p textarea.not_empty + label {
  transform: translateY(-30px);
}
article#contact form p select {
  appearance: none;
  width: 100%;
  height: 2.8em;
  padding: 0.5em 20px;
  border: none;
  border-bottom: 2px solid #000000;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}
article#contact form p select:focus {
  outline: none;
}
article#contact form p select:invalid {
  color: #888888;
}
article#contact form p select:invalid option small {
  color: #C2542E;
  padding-left: 0.3em;
}
article#contact form p select option {
  color: #000000;
}
article#contact form p select option::after {
  content: "※";
}
article#contact form p select option small {
  color: #C2542E;
  padding-left: 0.3em;
}
article#contact form p select option:first-child {
  color: #888888;
}
article#contact form p textarea {
  height: 45px;
  resize: none;
}
article#contact form p [name="submit"] {
  display: inline;
  width: auto;
  background-color: #333333;
  color: #ffffff;
  letter-spacing: 2px;
  font-size: 1.6rem;
  padding: 0.5em 3em;
  border: none;
  cursor: pointer;
  transition: 0.4s;
}
article#contact form p [name="submit"]:hover {
  background: #87b4a8;
}
article#contact form p label {
  position: absolute;
  left: 20px;
  top: 11px;
  font-size: 1.8rem;
  color: #888888;
  cursor: text;
  transition: transform .2s ease-in-out;
}
article#contact form p label small {
  color: #C2542E;
  padding-left: 0.3em;
}

footer {
  background: #4E4641;
  color: #ffffff;
  padding: 3% 0 0.5em;
  text-align: center;
  position: relative;
  z-index: 100;
  mix-blend-mode: multiply;
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-bottom: 1.5em;
  font-size: 1.3rem;
}
footer h1 {
  text-align: center;
  margin-bottom: 1em;
}
footer h1 svg {
  width: 200px;
}
footer h1 svg path, footer h1 svg polygon, footer h1 svg circle {
  fill: #ffffff;
}
footer p {
  margin: 0;
}
footer p small {
  font-size: 1.2rem;
}

div.cookie_consent {
  position: sticky;
  bottom: 0;
  transition: 0.6s;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  width: 100%;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 1.2em;
  box-sizing: border-box;
  z-index: 500;
  visibility: hidden;
}
div.cookie_consent a {
  color: #fff !important;
}
div.cookie_consent p.cookie_text {
  margin: 0;
}
div.cookie_consent div.cookie_agree {
  color: #fff;
  background: dodgerblue;
  padding: .5em 1.5em;
}
div.cookie_consent div.cookie_agree:hover {
  cursor: pointer;
}
div.cookie_consent.is_show {
  visibility: visible;
}
div.cookie_consent.cc_hide {
  display: none;
}
div.cookie_consent:has(+ #footer_btn.active) {
  bottom: 64px;
}

#footer_btn {
  height: 65px;
  background: #00a99d;
  position: relative;
  position: sticky;
  bottom: 0;
  z-index: 1000;
  transition: 0.6s;
  translate: 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#footer_btn.active {
  translate: 0 0;
}
#footer_btn section {
  position: relative;
  width: 100%;
  margin: 0 auto;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3%;
}
#footer_btn section h2, #footer_btn section h3 {
  font-size: 2.0rem;
  font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
  text-align: center;
  white-space: nowrap;
}
#footer_btn section h3 {
  font-size: 1.6rem;
}
#footer_btn section p.cta_btn {
  width: 20vw;
  max-width: 260px;
}
#footer_btn section p.cta_btn a {
  font-size: clamp(1.2rem, 1.3vw, 1.6rem);
}
#footer_btn section p.phone_btn {
  margin: 0;
  text-align: center;
  white-space: nowrap;
  width: 30vw;
  max-width: 310px;
}
#footer_btn section p.phone_btn a {
  font-size: clamp(1.2rem, 2.2vw, 3rem);
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: 0.1em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#footer_btn section p.phone_btn a svg {
  width: 20% !important;
  translate: 0 -18%;
  order: 1;
  fill: #ffffff;
}
#footer_btn section p.phone_btn a svg path {
  fill: #ffffff;
}
#footer_btn section p.phone_btn a span {
  font-size: 50%;
  display: block;
  width: 100%;
  order: -2;
  translate: -10% 6%;
}

@media screen and (max-width: 768px) {
  .scrFadeIn.title {
    transform: translateX(-80%);
  }

  div#go_top {
    bottom: 80px;
  }

  div#loading div#container {
    width: 70%;
  }
  div#loading svg.circleText {
    width: 100%;
    margin-top: 28%;
    max-width: 390px;
  }

  .wrapper {
    max-width: 65%;
    margin: 0 auto;
  }

  main {
    padding: 50px 0 0;
    overflow: hidden;
  }
  main article > h1 {
    top: 0;
    left: -25%;
    margin-bottom: 0;
    font-size: 1.6rem;
    position: absolute;
  }
  main article section h2 {
    font-size: 2.4rem;
    margin-bottom: 1em;
  }
  main article section p {
    letter-spacing: 0.10em;
    line-height: 1.9;
    margin-bottom: 1.2em;
    font-size: 1.4rem;
  }

  div#loading:before {
    margin: 30% auto 0;
    width: auto;
    height: auto;
    max-width: 600px;
    height: 40%;
  }

  div#phone {
    display: block;
    position: fixed;
    top: 1%;
    left: 1%;
    mix-blend-mode: difference;
    z-index: 350;
    width: 22%;
  }
  div#phone svg path {
    fill: #ffffff;
  }

  div#humberger {
    display: block;
    position: fixed;
    top: 1%;
    right: 1%;
    mix-blend-mode: difference;
    z-index: 350;
  }
  div#humberger a {
    width: 60px;
    height: 60px;
    display: block;
    position: relative;
  }
  div#humberger a svg {
    position: absolute;
    top: 50%;
    height: 50%;
    width: 100%;
    transform-origin: center;
    transition: 0.8s;
  }
  div#humberger a svg:first-child {
    top: 0;
  }
  div#humberger a svg path {
    fill: #ffffff;
  }
  div#humberger a.on svg {
    top: 50%;
  }
  div#humberger a.on svg:first-child {
    transform: translateY(-50%) rotate(45deg);
  }
  div#humberger a.on svg:last-child {
    transform: translateY(-50%) rotate(-225deg);
  }

  header {
    position: relative;
  }
  header h1 {
    margin-bottom: 0;
  }
  header h1 svg {
    width: 50%;
  }
  header nav {
    height: 100vh;
    width: 100%;
    height: 0;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 300;
    flex-direction: column;
    align-items: center;
    gap: 4em 3em;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s;
    transition-delay: 0.5s;
  }
  header nav.active {
    height: 100%;
    opacity: 1;
  }
  header nav.passive {
    opacity: 0;
  }

  section#copy_text {
    padding: 2% 1%;
    left: auto;
    top: 100px;
    right: 0;
    width: auto;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-end;
    position: fixed;
    z-index: 200;
    mix-blend-mode: difference;
  }
  section#copy_text h1, section#copy_text p {
    font-size: max(0.9vw, 1.2rem);
    color: #ffffff;
    line-height: 1.2;
    padding-right: 10%;
    margin-bottom: 0.8em;
  }

  section#key_visual {
    margin-top: 0 !important;
  }

  article#about {
    padding-top: 5%;
  }

  article#trouble {
    padding-bottom: 30%;
  }
  article#trouble h1 {
    font-size: 2.25rem;
  }
  article#trouble h1 .scrFadeIn.title {
    transform: translateX(-75%);
  }
  article#trouble h1 .scrFadeIn.title.active {
    transform: translateX(0);
  }
  article#trouble ul {
    max-width: 100%;
    padding: 0 6%;
  }
  article#trouble ul li {
    width: 48.5%;
    padding: 1em;
    font-size: 1.6rem;
    margin-top: 100px;
  }
  article#trouble ul li::before {
    width: 60%;
  }
  article#trouble ul li:nth-child(even) {
    transform: translateY(0);
  }
  article#trouble ul li:nth-child(3) {
    order: 1;
  }
  article#trouble h2 {
    padding: 100px 15px 1px;
    font-size: 2.5rem;
  }

  article#works {
    padding: 15% 0 70px;
  }
  article#works section + section {
    margin-top: 15%;
  }
  article#works section h2 {
    padding: 0;
    font-size: 2.2rem;
  }
  article#works section h2::before {
    width: 1.2em;
    height: 1.2em;
    transform: translateX(0);
    position: relative;
  }
  article#works section ul {
    flex-wrap: wrap;
  }
  article#works section ul li {
    flex: auto;
  }

  article#production,
  article#instagram {
    margin-bottom: 10%;
  }
  article#production ul li,
  article#instagram ul li {
    width: 45vw;
    height: 45vw;
  }
  article#production ul li img,
  article#instagram ul li img {
    filter: blur(0px);
  }
  article#production ul li:hover img,
  article#instagram ul li:hover img {
    transform: scale(1);
  }

  article#price {
    padding: 5% 0 70px;
  }
  article#price section + section {
    margin-top: 15%;
  }
  article#price section a.btn {
    font-size: 1.4rem;
    gap: 0.3em;
  }
  article#price section a.btn span {
    width: 6vw;
    height: 6vw;
  }
  article#price section.products {
    margin-bottom: 100px;
  }
  article#price section.products div.flow_chart {
    padding-left: 0;
  }
  article#price section.products div.flow_chart::before {
    right: -10%;
  }
  article#price section.products div.flow_chart::after {
    right: -16.5%;
    border-width: 30px 30px 0 30px;
  }
  article#price section.products div.flow_chart dl {
    width: 90%;
  }
  article#price section.products div.flow_chart dl::before {
    top: 10%;
    left: -22%;
    font-size: 3.5rem;
  }
  article#price section.products div.flow_chart dl::after {
    right: -20.5%;
  }
  article#price section.school div.schedule_box {
    flex-wrap: wrap;
  }
  article#price section.school div.schedule_box div {
    flex: none;
  }
  article#price section.school div.schedule_box div:last-child {
    flex: 1;
  }
  article#price section.school div.schedule_box div h4 {
    padding-left: 0;
    text-align: center;
  }
  article#price section.school div.course, article#price section.school div.curriculum {
    width: 100%;
    margin: 0 auto 5%;
    padding: 1em 0;
  }
  article#price section.school div.course h3, article#price section.school div.curriculum h3 {
    font-size: 2.2rem;
  }
  article#price section.school div.course h3 span, article#price section.school div.curriculum h3 span {
    font-size: 3.2rem;
  }
  article#price section.school div.course ul, article#price section.school div.curriculum ul {
    width: 75%;
    font-size: min(4vw, 1.2rem);
  }
  article#price section.school div.course ul li, article#price section.school div.curriculum ul li {
    text-align-last: left;
  }
  article#price section.school div.course table, article#price section.school div.curriculum table {
    width: 90%;
  }
  article#price section.school div.course table th, article#price section.school div.curriculum table th {
    font-size: 1.3rem;
  }
  article#price section.school div.course table th span, article#price section.school div.curriculum table th span {
    width: 80%;
  }
  article#price section.school div.course table td, article#price section.school div.curriculum table td {
    font-size: max(4.4vw, 1.8rem);
  }

  article#case {
    padding-top: 5%;
  }
  article#case dl dd:first-of-type {
    width: 100%;
  }
  article#case section + section {
    margin-top: 50px;
    padding-top: 50px;
  }
  article#case section div.case_image {
    opacity: 0.3;
  }

  article#instructor section + section {
    margin-top: 60px;
  }

  article#instagram ul li:hover {
    border-radius: 0;
  }

  article#contact {
    padding: 5% 0;
  }
  article#contact h1 {
    margin-bottom: 1em;
  }
  article#contact h1 + p {
    text-align: left;
    margin-bottom: 1.5em;
  }
  article#contact div.wrapper {
    max-width: 80%;
  }
  article#contact form {
    flex-direction: column;
  }
  article#contact form p {
    width: 100%;
  }
  article#contact form p:has([name="submit"]) {
    margin-top: 2em;
  }
  article#contact form p:has(select)::after {
    width: 3vw;
    height: 2vw;
  }
  article#contact form p:has([type="checkbox"]) small {
    font-size: 1.3rem;
  }
  article#contact form p:has([type="checkbox"]) input {
    top: 15%;
    left: 50%;
    transform: translateX(-130px);
  }
  article#contact form p:has([type="checkbox"]) label {
    font-size: max(4vw, 12px);
  }
  article#contact form p input, article#contact form p textarea {
    border-radius: 8px;
    background: #ffffff;
    border: none;
    padding: 0.7em 1.5em;
    font-size: 2.0rem;
  }
  article#contact form p input:focus + label, article#contact form p input.not_empty + label, article#contact form p textarea:focus + label, article#contact form p textarea.not_empty + label {
    opacity: 0;
  }
  article#contact form p select {
    border-radius: 8px;
    background: #ffffff;
    height: auto;
    padding: 1em 1.5em;
    border: none;
    font-size: 2.0rem;
  }
  article#contact form p textarea {
    height: 200px;
    resize: none;
  }
  article#contact form p [name="submit"] {
    display: block;
    width: 100%;
  }
  article#contact form p [name="submit"]:hover {
    background: #333333;
  }
  article#contact form p label {
    transition: all .2s ease-in-out;
  }

  footer {
    padding: 3% 0 0.5em;
  }
  footer div.wrapper {
    max-width: 80%;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 1em 2em;
    font-size: 1.3rem;
  }
  footer h1 {
    margin-bottom: 1em;
  }
  footer h1 svg {
    min-width: 200px;
  }
  footer p {
    margin: 0;
  }

  div.cookie_consent {
    flex-direction: column;
    gap: 0;
  }
  div.cookie_consent p.cookie_text {
    margin-bottom: 1em;
  }
  div.cookie_consent div.cookie_agree {
    width: 80%;
    text-align: center;
  }
  div.cookie_consent:has(+ #footer_btn.active) {
    bottom: 80px;
  }

  #footer_btn {
    height: 80px;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: content-box;
  }
  #footer_btn section {
    flex-direction: column;
  }
  #footer_btn section h2, #footer_btn section h3 {
    font-size: 1.5rem;
  }
  #footer_btn section h3 {
    font-size: 1.4rem;
  }
  #footer_btn section p.cta_btn {
    width: 80%;
    margin: 0 auto;
  }
  #footer_btn section p.cta_btn a {
    font-size: 1.2rem;
    line-height: 18px;
  }
  #footer_btn section p.phone_btn {
    display: none;
  }
}
