/* common */ 
:root {
  --main-color: #595757;
  --sub-color: #898989;
  --sub2: #e5e5e5;
  --point-color: #8ec21f;
}
body {
  margin: 0;
  background-color: #fff;
}
h1, .h2, h2, h3, h4, h5, p, figure, ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
*:hover {
  transition: 1s;
}
/* typography */
h1, .h2, h2, p, li, dt, dd {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  box-sizing: border-box;
  letter-spacing: 0.1rem;
  color: var(--main-color);
  text-align: justify;
}
h1 {
  font-size: 16px;
  font-weight: 700;
}
.h2 {
  letter-spacing: 1rem;
}
h2 {
  font-size: clamp(2.5rem, 1.170rem + 5.674vw, 5rem);
  line-height: 2;
  padding-bottom: 1rem;
  color: var(--sub2);
  letter-spacing: 0.25rem;
  font-weight: 600;
  text-align: center;
  min-height: 0;
  position: relative;
}
h3 {
  font-size: clamp(1.5rem, 0.968rem + 2.27vw, 2.5rem);
  color: var(--sub-color);
  letter-spacing: 0.1rem;
  font-weight: 600;
  min-height: 0;
}
h3 span {
  display: block;
  line-height: 2;
  color: var(--point-color);
  letter-spacing: 0.1rem;
  font-size: 16px;
  min-height: 0;
}
h2 > span {
  font-size: 30%;
  display: block;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 25%;
  color: var(--main-color);
}
p {
  line-height: 2;
  font-weight: 400;
  padding-bottom: 1rem;
  color: var(--main-color);
}
a {
  color: inherit;
  text-decoration: none;
}
/* common */
section {
  margin: 0 auto;
  padding-top: 160px;
  margin-top: -100px;
  padding-bottom: 160px;
}
.sp {
  display: none;
}
@media (max-width:768px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}
/* 背景の円 */
.bg_circle {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
}
.circle_green {
  position: absolute;
  right: 10%;
  top: 10%;
  width: clamp(6.25rem, -0.399rem + 28.369vw, 18.75rem);
  height: clamp(6.25rem, -0.399rem + 28.369vw, 18.75rem);
  background-image: radial-gradient(rgba(142, 194, 31, 0.2) 50%, rgba(235, 233, 233, 0) 80%);
  min-height: 0;
  border-radius: 50%;
  -webkit-animation: circle_green 3s infinite linear alternate;
  animation: circle_green 40s infinite linear alternate;
}
@-webkit-keyframes circle_green {
  0% {
    -webkit-transform: translate(0, 0) rotate(0deg);
  }
  50% {
    -webkit-transform: translate(-300px, -200px) rotate(180deg);
  }
  100% {
    -webkit-transform: translate(0, 0)rotate(360deg);
  }
}
.circle_orange {
  position: absolute;
  left: 10%;
  top: 50%;
  width: clamp(3.75rem, -0.904rem + 19.858vw, 12.5rem);
  height: clamp(3.75rem, -0.904rem + 19.858vw, 12.5rem);
  border-radius: 50%;
  background-image: radial-gradient(rgba(234, 205, 85, 0.2) 50%, rgba(235, 233, 233, 0) 80%);
  min-height: 0;
  -webkit-animation: circle_orange 3s infinite linear alternate;
  animation: circle_orange 20s infinite linear alternate;
}
@-webkit-keyframes circle_orange {
  0% {
    -webkit-transform: translate(0, 0) rotate(0deg);
  }
  50% {
    -webkit-transform: translate(-100px, -100px) rotate(180deg);
  }
  100% {
    -webkit-transform: translate(0, 0)rotate(360deg);
  }
}
.circle_blue {
  position: absolute;
  left: 30%;
  bottom: 10%;
  width: clamp(2.5rem, 0.505rem + 8.511vw, 6.25rem);
  height: clamp(2.5rem, 0.505rem + 8.511vw, 6.25rem);
  border-radius: 50%;
  background-image: radial-gradient(rgba(0, 134, 232, 0.2) 20%, rgba(235, 233, 233, 0) 80%);
  min-height: 0;
  -webkit-animation: circle_blue 3s infinite linear alternate;
  animation: circle_blue 50s infinite linear alternate;
}
@-webkit-keyframes circle_blue {
  0% {
    -webkit-transform: translate(0, 0) rotate(0deg);
  }
  50% {
    -webkit-transform: translate(-500px, -500px) rotate(180deg);
  }
  100% {
    -webkit-transform: translate(0, 0)rotate(360deg);
  }
}
/* header */
header {
  position: relative;
  width: 100vw;
  height: 100vh;
}
figure img {
  position: absolute;
  height: 100vh;
  right: 10rem;
  opacity: 50%;
  z-index: -1;
}
.header_nav {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  z-index: 1000;
  position: fixed;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
h1 {
  padding-left: 2rem;
}
nav ul {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}
nav ul li {
  justify-content: space-between;
  flex: 1;
}
a {
  position: relative;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: var(--point-color);
}
a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 0.5px;
  background: var(--point-color);
  transition: 0.3s;
}
a:hover::before {
  left: 0;
  width: 100%;
}
/* fv */
.fv {
  width: 1080px;
  max-width: 80%;
  margin: 0 auto;
  padding-top: 15rem;
  height: 120%;
  z-index: 10;
  background-image: url("../img/bg_s_g.svg");
  background-repeat: no-repeat;
  background-position: center right;
}
.h2 {
  overflow: hidden;
  display: flex;
}
.h2 span {
  transform: translateY(100%);
  transition: all 0.5s;
}
.h2 span:nth-child(2) {
  transition-delay: 0.01s;
}
.h2 span:nth-child(3) {
  transition-delay: 0.06s;
}
.h2 span:nth-child(4) {
  transition-delay: 0.12s;
}
.h2 span:nth-child(5) {
  transition-delay: 0.18s;
}
.h2 span:nth-child(6) {
  transition-delay: 0.24s;
}
.h2 span:nth-child(7) {
  transition-delay: 0.30s;
}
.h2 span:nth-child(8) {
  transition-delay: 0.36s;
}
.h2 span:nth-child(9) {
  transition-delay: 0.42s;
}
.h2 span:nth-child(10) {
  transition-delay: 0.48s;
}
.h2 span:nth-child(11) {
  transition-delay: 0.54s;
}
.h2 span:nth-child(12) {
  transition-delay: 0.60s;
}
.h2 span:nth-child(13) {
  transition-delay: 0.66s;
}
.h2 span:nth-child(14) {
  transition-delay: 0.72s;
}
.h2 span:nth-child(15) {
  transition-delay: 0.76s;
}
.h2.active span {
  transform: translateY(0) !important;
}
.active span {
  transform: translateY(0) !important;
}
.fv p {
  font-size: clamp(1.5rem, 0.968rem + 2.27vw, 2.5rem);
  min-height: 0;
  padding-top: 5rem;
  font-weight: 700;
}
/* about */
#about_area {
  margin: 0 auto;
  text-align: center;
  background-color: rgba(255, 254, 220, 0.40);
  backdrop-filter: blur(10px) /* brightness(0.95)*/ ;
  width: 100%;
}
#about_area h3 {
  text-align: left;
}
.about_contents {
  margin: 0 auto;
  width: 1080px;
  max-width: 80%;
  text-align: left;
}
.about_text {
  padding-left: 40%;
  background-image: url("../img/smile_animated.svg");
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: 15px center;
}

/* service */
.service_contents {
  margin: 0 auto;
  width: 1080px;
  display: flex;
  flex-direction: column;
  max-width: 80%;
  gap: 80px;
  align-items: center;
  margin-bottom: 10rem;
}
.service_detail {
  margin: 0 auto;
  width: 1080px;
  display: flex;
  max-width: 80%;
  margin-bottom: 8rem;
}
.service_title_area {
  display: flex;
  flex-direction: row;
  width: 50%;
}
.service_icon {
  padding-right: 30px;
  width: clamp(3rem, 1.936rem + 4.539vw, 5rem);
  min-height: 0;
}
.service_title {
  padding-right: 30px;
}
.service_text {
  width: 50%;
}
.container {
  position: relative;
  width: 500px;
  height: 400px;
}
.circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
  opacity: 0.5;
}
.circle span {
  font-size: 18px;
  font-weight: bold;
  margin-top: 5px;
}
/* 位置調整（自由配置） */
.web {
  top: 0;
  left: 180px;
  background: radial-gradient(transparent, #ff9f8a);
}
.graphic {
  top: 90px;
  left: 40px;
  background-image: radial-gradient(transparent, #7dcbff);
}
.sign {
  top: 90px;
  left: 320px;
  background-image: radial-gradient(transparent, #ffff70);
}
.novelty {
  top: 250px;
  left: 95px;
  background-image: radial-gradient(transparent, #ffa2e2);
}
.clinic {
  top: 250px;
  left: 255px;
  background-image: radial-gradient(transparent, #b8fa81);
}
.service_contents p {
  text-align: center;
}
/* company */
#company_area {
  margin: 0 auto;
  background-color: rgba(255, 254, 220, 0.40);
  backdrop-filter: blur(10px);
  width: 100%;
  text-align: center;
}
.company_contents {
  margin: 0 auto;
  width: 900px;
  max-width: 80%;
  display: flex;
}
.company_contents dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  text-align: left;
}
.company_contents dt {
  width: 140px;
  margin: 0;
  border-right: 0.5px solid #ccc;
}
.company_contents dd {
  width: calc(100% - 211px);
  margin: 0;
  padding-left: 70px;
  padding-bottom: 5rem;
}
/* contact */
#contact_area {
  margin: 0 auto;
  background-color: #fff;
  text-align: center;
  width: 100%;
}
.contact_contents {
  margin: 0 auto;
  width: 1080px;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  background-color: rgba(255, 254, 220, 0.40);
  backdrop-filter: blur(10px);
  padding: 6rem 2rem;
  border-radius: 15px;
  text-align: left;
}
.contact_contents dl {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  margin: 0 auto;
}
.contact_contents dt {
  width: 100%;
}
.required::after {
  content: "必須";
  display: inline-block;
}
.contact_contents dd {
  width: 100%;
  margin: 0;
  padding-top: 1rem;
  padding-bottom: 2rem;
  margin-left: 0;
  text-align: left;
}
.text_area {
  width: 100%;
  border-radius: 5px;
  border: 0.5px solid var(--sub-color);
  min-height: 30px;
}
.text_area2 {
  border-radius: 5px;
  border: 0.5px solid var(--sub-color);
  min-height: 30px;
}
.contact_ex {
  display: block;
  padding-left: 5rem;
  padding-bottom: 2rem;
}
p.submit {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.btn {
  width: 150px;
  text-align: center;
}
footer {
  background-color: var(--main-color);
  color: #fff;
  padding: 1rem;
  font-size: 12px;
  margin-bottom: 0;
  text-align: center;
}
#thanks header {
  height: auto;
}
#thanks #about_area {
  background-color: rgba(255, 255, 255, 0.3);
}
#thanks section {
  height: calc(100svh - 160px - 66px);
  padding-bottom: 0;
}
#thanks p {
  text-align: center;
}
@media (max-width:768px) {
  section {
    padding-top: 100px;
    margin-top: -100px;
    padding-bottom: 100px;
  }
  nav {
    display: none;
  }
  figure img {
    right: 0;
  }
  .fv {
    padding-left: 2rem;
    padding-right: 1rem;
    width: 100%;
  }
  .about_contents {
    flex-direction: column;
    text-align: center;
  }
  .about_contents p {
    text-align: left;
  }
  .about_text {
  padding-left: 0;
  background-image: none;
  
}
  #service_area {
    margin-top: 100px;
    padding-top: 0;
  }
  .service_contents {
    gap: 40px;
  }
  .container {
    width: 330px;
  }
  .circle {
    width: 150px;
    height: 150px;
  }
  /* 位置調整（自由配置） */
  .web {
    top: 0;
    left: 90px;
  }
  .graphic {
    top: 80px;
    left: 0px;
  }
  .sign {
    top: 80px;
    left: 180px;
  }
  .novelty {
    top: 200px;
    left: 25px;
  }
  .clinic {
    top: 200px;
    left: 150px;
  }
  .service_detail {
    display: inherit;
  }
  .service_title_area {
    width: 100%;
    margin-bottom: 1rem;
  }
  .service_icon {
    padding-right: 15px;
    width: 17%;
  }
  .service_title {
    padding-right: 0;
  }
  .service_text {
    width: 100%;
  }
  .company_contents dl, .contact_contents dl {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
  }
  .company_contents dt {
    width: 100%;
    border-right: none;
    padding-top: 2rem;
    padding-bottom: 1rem;
  }
  .company_contents dd {
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-bottom: 3rem;
    border-bottom: 0.5px solid #3e3a39;
  }
  .contact_contents {
    width: 75%;
  }
  .contact_contents dd {
    margin: 0;
  }
  .text_area, .text_area2 {
    width: 100%;
  }
  .contact_ex {
    padding-left: 0;
  }
}
.fadein {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1.5s;
  &.fadein-left {
    transform: translate(-30px, 0);
  }
  &.fadein-right {
    transform: translate(30px, 0);
  }
  &.fadein-up {
    transform: translate(0, -30px);
  }
  &.fadein-bottom {
    transform: translate(0, 30px);
  }
  &.scrollin {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}
g {
  stroke-width: .3px;
  animation: svg-anime 3s ease-in;
}
.cls-1 {
  fill: #595757;
}
.cls-2 {
  opacity: .3;
}
.cls-3 {
  fill: none;
  stroke: #595757;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7px;
}
@keyframes svg-anime {
  0% {
    fill: transparent;
    stroke-dasharray: 1000px;
    stroke-dashoffset: 1000px;
  }
  100% {
    fill: transparent;
    stroke-dashoffset: 0;
  }