/* 共通設定 */
@font-face {
  font-family: "Palatino";
  src: url(../font/Palatino.ttf);
}
html {
  font-size: 62.5%;
}
body {
  font-family: "hiragino-mincho-pron", sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #707070;
}
* {
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.palatino {
  font-family: "Palatino";
}
.content-wrap {
  max-width: 1200px;
  margin: auto;
  padding: 120px 0;
  position: relative;
  z-index: 100;
}
.text-center {
  text-align: center;
}
.f-bold {
  font-weight: bold;
}

/* ヘッダー */
.header-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 20px;
  position: fixed;
  z-index: 1000;
  transition: all 0.3s;
}
.header-wrap.scroll {
  background-color: rgba(255, 255, 255, 0.7);
}
.logo {
  width: 250px;
}
.logo img {
  width: 100%;
}
.header-nav {
  color: #fff;
  font-size: 2rem;
}
.header-wrap.scroll .header-nav {
  color: #484848;
}
.header-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.header-nav ul li {
  list-style: none;
  margin: 0 0 0 50px;
  transition: all 0.3s;
  position: relative;
}
.header-nav ul li a {
  display: block;
  transition: all 0.3s;
}
.header-nav ul li::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transition: all 0.3s;
}
.header-nav ul li:hover a {
  padding: 3px 0;
}
.header-nav ul li:hover::after {
  transform: scaleX(1);
  width: 100%;
}
.header-wrap.scroll .header-nav ul li::after {
  background-color: #484848;
}

/* ファーストビュー */
.FV {
  position: relative;
  width: 100vw;
  height: 100svh;
}
.FV-img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.FV-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.FV-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  pointer-events: none;
}
.catch-copy {
  font-size: 5rem;
  text-align: center;
  width: 100%;
  color: #fff;
  letter-spacing: 5px;
  position: relative;
  padding: 100px 0 10px;
}
.catch-copy::after {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #fff;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: extendBorder 1s 2s forwards;
}
@keyframes extendBorder {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.FV-circles {
  max-width: 1240px;
  display: flex;
  margin: auto;
  justify-content: center;
  flex-wrap: wrap;
  margin: 50px auto 0;
}
.FV-circle {
  width: 30%;
  margin: 0 5%;
  position: relative;
}
.FV-circle svg {
  transform: rotate(-90deg);
}
.FV-circle .circle {
  width: 100%;
  stroke-dasharray: 1560px;
  stroke: transparent;
  fill: transparent;
  animation: drowCircle 2s 3s forwards;
}
@keyframes drowCircle {
  0% {
    stroke-dashoffset: 1560px;
    stroke: #fff;
  }
  70% {
    stroke-dashoffset: 0;
    fill: transparent;
    stroke: #fff;
  }
  100% {
    fill: hsla(0, 0%, 100%, 0.8);
    stroke: #fff;
  }
}
.FV-circle-text {
  width: 100%;
  font-size: 2rem;
  line-height: 2;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 10px));
  opacity: 0;
  visibility: hidden;
  animation: circleTextFadeIn 0.5s 5s forwards;
}

@keyframes circleTextFadeIn {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 10px));
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
  }
}

/* コンセプト */
.content-title {
  font-size: 5rem;
  font-weight: normal;
}
.content-subtitle {
  font-size: 1.4rem;
}
.content-title-wrap {
  margin: 0 0 60px;
}
.consept-text-wrap {
  margin: 60px auto;
}
.consept-text-wrap p {
  font-size: 1.6rem;
  line-height: 3;
  margin: 0 0 30px;
}
.consept-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 60px 0;
}
.concept-balloon {
  font-size: 1.6rem;
  text-align: center;
  position: relative;
  width: 450px;
  padding: 60px 0;
  background-color: #f5f5f5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
}
.concept-balloon-wrap p {
  line-height: 3;
}
.concept-left-balloon {
  margin: 0 150px 0 0;
}
.concept-left-balloon::after {
  content: "";
  background-color: #f5f5f5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  width: 50px;
  aspect-ratio: 1;
  position: absolute;
  top: 50px;
  right: -100px;
}
.concept-left-balloon::before {
  content: "";
  background-color: #f5f5f5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  width: 30px;
  aspect-ratio: 1;
  position: absolute;
  top: 100px;
  right: -130px;
}
.bound-in {
  opacity: 0;
  visibility: hidden;
  transform: rotate(0) translateY(100%);
}
.bound-in.show {
  opacity: 1;
  visibility: visible;
  animation: balloonFadeIn 1s 0s ease-in-out forwards;
}
@keyframes balloonFadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: rotate(0) translateY(100%);
  }
  70% {
    transform: rotate(0) translateY(0);
  }
  80% {
    transform: rotate(0) translateY(10%);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: rotate(0) translateY(0);
  }
}
.concept-thinking-img {
  width: 20%;
}
.concept-thinking-img img {
  width: 100%;
}
.concept-right-balloon {
  margin: 0 0 0 150px;
}
.concept-right-balloon::after {
  content: "";
  background-color: #f5f5f5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  width: 50px;
  aspect-ratio: 1;
  position: absolute;
  bottom: 50px;
  left: -100px;
}
.concept-right-balloon::before {
  content: "";
  background-color: #f5f5f5;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  width: 30px;
  aspect-ratio: 1;
  position: absolute;
  bottom: 100px;
  left: -130px;
}
.fade-in {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.fade-in.show {
  animation: fadeIn 0.3s 0s forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* 事業内容 */
.service {
  background-repeat: repeat;
  background-attachment: fixed;
  color: #484848;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 200px solid transparent;
  border-right: 50vw solid #fff;
  border-bottom: 200px solid #fff;
  border-left: 50vw solid transparent;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
}
.service-bg1,
.service-bg2 {
  background-image: url(../img/mosaic_bg.png);
  background-repeat: repeat;
  width: 300%;
  height: 300%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.4;
  transition: all 0.2s ease-out;
}
.service-description:not(:last-child) {
  margin: 0 0 120px;
}
.service-description h3 {
  font-size: 2.5rem;
  margin: 0 0 20px;
}
.service-introduction {
  font-size: 1.8rem;
  margin: 0 0 30px;
}
.web-production-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 80%;
  margin: auto;
}
.web-production-card {
  width: 32%;
  padding: 30px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
}
.web-production-card-img {
  height: 50px;
  width: auto;
  margin: 0 auto 15px;
}
.web-production-card-img img {
  height: 100%;
  width: auto;
  margin: auto;
}
.web-production-card h4 {
  font-size: 2rem;
  padding: 0 0 5px;
  width: fit-content;
  margin: 15px auto 20px;
  border-bottom: 1px solid #707070;
  font-weight: normal;
}
.web-production-card p {
  font-size: 1.6rem;
  color: #333;
}
.online-lesson-wrap p {
  font-size: 1.4rem;
  margin: 0 0 20px;
}
.dispatch-instructor-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 80%;
  margin: auto;
}
.dispatch-instructor-detail {
  width: 50%;
  font-size: 1.4rem;
  margin: 5% 0;
}
.dispatch-instructor-detail p {
  margin: 0 0 20px;
}
.dispatch-instructor-img {
  width: 48%;
}

/* プラン */
.plan-wrap {
  width: 80%;
  margin: auto;
}
.plan-wrap:not(:last-child) {
  margin: 0 auto 120px;
}
.plan-wrap h3 {
  font-size: 2rem;
  padding: 0 0 5px;
  border-bottom: 1px solid #484848;
  margin: 0 0 10px;
}
.plan-acd-head {
  font-size: 1.8rem;
  color: #484848;
  padding: 10px;
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  cursor: pointer;
}
.plan-acd-head h4 {
  font-weight: normal;
}
.small-font {
  font-size: 70%;
}
.acd-arrow {
  width: 25px;
  transition: all 0.3s;
}
.plan-acd-head.open .acd-arrow {
  transform: rotate(-180deg);
}
.plan-acd-body {
  font-size: 1.6rem;
  margin: 10px 0 0;
  opacity: 0;
  transform-origin: top;
  transition: opacity 0.3s;
  display: none;
}
.plan-acd-body.open {
  opacity: 1;
}
.plan-acd-body p {
  line-height: 1.8;
}
.plan-acd-body p:not(:last-child) {
  margin: 0 0 10px;
}
.plan-acd-wrap {
  margin: 0 0 40px;
}

/* 問い合わせ */
.contact {
  background-color: #484848;
  color: #fff;
}
.contact-introduction {
  font-size: 1.6rem;
  margin: 0 0 30px;
}
.form-wrap {
  width: 80%;
  margin: auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #484848;
  font-size: 1.6rem;
}
.form-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 10px 0;
}
.form-label-wrap label {
  display: flex;
  align-items: center;
}
.required {
  font-size: 80%;
  color: #fff;
  line-height: 1;
  padding: 5px;
  background-color: #5a0000;
  margin: 0 0 0 10px;
}
.form-label-wrap {
  width: 230px;
  padding: 5px;
}
.form-input-wrap {
  width: calc(100% - 230px);
}
.form-input-wrap > input,
.form-input-wrap > textarea {
  margin: 0;
  border: none;
  background-color: #fff;
  padding: 5px;
  width: 100%;
}
.radio-wrap {
  display: flex;
  padding: 5px 0;
}
.radio-wrap label {
  margin: 0 10px 0 0;
}
.radio-wrap input {
  margin: 0 20px 0 0;
}
.form-btn {
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  width: 200px;
  margin: 0 15px;
}
.form-btn-wrap {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}
.reset-btn {
  border: 2px solid #484848;
}
.send-btn {
  border: 2px solid #5a0000;
}

/* フッター */
.footer-nav {
  font-size: 2rem;
  margin: 0 0 60px;
}
.footer-nav ul {
  display: flex;
  justify-content: center;
}
.footer-nav ul li {
  list-style: none;
  margin: 0 50px;
}
.copyright {
  text-align: center;
}
.contact-btn {
  background-color: #5a0000;
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  padding: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  align-items: center;
  position: fixed;
  right: 10%;
  bottom: calc(5% + 60px);
  transform: translateX(50%);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s all;
}
.contact-btn.show {
  opacity: 1;
  visibility: visible;
}
.top-btn {
  background-color: #fff;
  color: #484848;
  padding: 10px;
  aspect-ratio: 1;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: fixed;
  right: 10%;
  bottom: 5%;
  transform: translateX(50%);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s all;
}
.top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* レスポンシブ対応 */
.phone {
  display: none;
}
.phone-inline {
  display: none;
}
.phone-flex {
  display: none;
}

@media screen and (max-width: 960px) {
  .header-nav {
    font-size: 1.8rem;
  }
  .FV-circle {
    width: 40%;
  }
  .concept-balloon {
    font-size: 1.4rem;
    width: 370px;
  }
  .web-production-card {
    width: 100%;
    text-align: center;
    margin: 0 0 30px;
  }
  .web-production-card p {
    font-size: 1.4rem;
  }
  .dispatch-instructor-wrap {
    width: 90%;
    align-items: center;
  }
  .dispatch-instructor-detail {
    width: 55%;
  }
  .dispatch-instructor-img {
    width: 40%;
  }
  .plan-wrap {
    width: 90%;
  }
  .form-wrap {
    width: 90%;
  }
}
@media screen and (max-width: 720px) {
  .pc {
    display: none;
  }
  .phone {
    display: block;
  }
  .phone-inline {
    display: inline-block;
  }
  .phone-flex {
    display: flex;
  }
  .content-wrap {
    width: 95%;
  }
  .logo {
    width: 200px;
    margin: 0 auto 10px;
  }
  .header-nav {
    width: 100%;
  }
  .header-nav ul {
    justify-content: center;
  }
  .header-nav ul li {
    margin: 0;
    padding: 10px;
    text-align: center;
  }
  .catch-copy {
    font-size: 2.5rem;
  }
  .FV-circles {
    position: relative;
    aspect-ratio: 1;
    margin: 30px auto;
  }
  .FV-circle {
    width: 60%;
    margin: 0;
    position: absolute;
  }
  .FV-circle:first-child {
    top: 0;
    left: 5%;
  }
  .FV-circle:last-child {
    bottom: 0;
    right: 5%;
  }
  .FV-circle-text {
    font-size: 1.6rem;
  }
  .consept-text-wrap p {
    font-size: 1.4rem;
  }
  .consept-images:first-child {
    flex-direction: column-reverse;
    align-items: center;
  }
  .concept-balloon-wrap {
    width: 100%;
  }
  .concept-balloon {
    width: 100%;
  }
  .concept-left-balloon::after {
    top: -40px;
    right: 5%;
    width: 30px;
  }
  .concept-left-balloon::before {
    top: -70px;
    right: calc(5% + 40px);
    width: 20px;
  }
  .concept-thinking-img {
    width: 200px;
    position: relative;
    z-index: 1;
    margin: 0 0 -30px;
  }
  .concept-right-balloon {
    margin: 0;
  }
  .concept-right-balloon::after {
    top: -40px;
    left: 5%;
    width: 30px;
  }
  .concept-right-balloon::before {
    top: -70px;
    left: calc(5% + 40px);
    width: 20px;
  }
  .service-introduction {
    font-size: 1.4rem;
  }
  .web-production-card h4 {
    font-size: 1.8rem;
  }
  .web-production-card p {
    font-size: 1.2rem;
  }
  .dispatch-instructor-detail {
    font-size: 1.2rem;
    width: 100%;
  }
  .dispatch-instructor-img {
    width: 100%;
  }
  .plan-wrap h3 {
    font-size: 1.8rem;
  }
  .plan-acd-head {
    font-size: 1.6rem;
    justify-content: center;
    padding: 0;
    text-align: center;
  }
  .plan-acd-head h4 {
    width: 100%;
    padding: 10px;
  }
  .acd-phone-arrow {
    background-color: #5a0000;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
  }
  .acd-arrow {
    width: 15px;
  }
  .plan-acd-body {
    font-size: 1.4rem;
  }
  .form-label-wrap,
  .form-input-wrap {
    width: 100%;
  }
  .form-btn {
    width: 100px;
  }
  .footer-nav {
    font-size: 1.8rem;
  }
  .footer-nav ul li {
    width: fit-content;
    margin: 0;
    padding: 10px;
  }
  .footer-nav ul li .top-btn {
    transform: translateX(0);
  }
}
