@charset "utf-8";

@media (max-width: 1024px) {
  body {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
    word-break: keep-all;
  }
}

.top_title {
  top: 37% !important;
  left: 50% !important;
}

@media screen and (max-width: 768px) {
  .top_title {
    top: 36% !important;
  }
}

@media screen and (max-width: 480px) {
  .top_title {
    top: 36% !important;
    font-size: 70px !important;
  }
}

.top_title_sub {
  top: 45% !important;
}

@media screen and (max-width: 768px) {
  .top_title_sub {
    top: 43% !important;
  }
}

.header_under {
  height: 30vh;
  position: relative;
}

h1 {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.concept {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
@media (max-width: 768px) {
  .concept {
    display: block;
    text-align: center;
  }
}

.concept img {
  width: 20%;
}

@media (max-width: 768px) {
  .concept img {
    width: 50%;
    margin-bottom: 13px;
  }
}

@media (max-width: 480px) {
  .concept img {
    width: 60%;
    margin-bottom: 13px;
  }
}
.concept p {
  line-height: 2;
}

.main {
  background-image: url(../image/design/designbackground.png);
  padding-bottom: 0 !important;
}

/* 制作実績 */
.design_image {
  width: 500px;
  height: 250px;
}

.slide-item {
  overflow: hidden;
  padding: 0 10px;
}

/* お問い合わせ */
.contact_area {
  background-image: url(../image/design/contact_img.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  margin: 0;
  padding: 215px 0 !important;
}

@media screen and (max-width: 768px) {
  .contact_area {
    padding: 120px 0 !important;
  }
}

h3 {
  font-size: 64px !important;
}

@media screen and (max-width: 1280px) {
  h3 {
    font-size: 56px !important;
  }
}

@media screen and (max-width: 1024px) {
  h3 {
    font-size: 48px !important;
  }
}

@media screen and (max-width: 768px) {
  h3 {
    font-size: 40px !important;
  }
}

@media screen and (max-width: 480px) {
  h3 {
    font-size: 32px !important;
  }
}

.subtitle_contact,
.explain_contact {
  padding-bottom: 25px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .explain_contact {
    font-size: 14px;
    padding-bottom: 16px;
  }
}

@media screen and (max-width: 480px) {
  .explain_contact {
    font-size: 13px;
    padding-bottom: 12px;
  }
}

.contact_wrapper {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;

  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

@media screen and (max-width: 768px) {
  .contact_wrapper {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 90px;
  }
}

@media screen and (max-width: 480px) {
  .contact_wrapper {
    padding: 0 20px;
    gap: 20px;
  }
}

.contact_box {
  flex: 1 1 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .contact_box {
    flex: none;
    width: 100%;
    min-height: 140px;
  }
}

@media screen and (max-width: 480px) {
  .contact_box {
    width: 100%;
    min-height: 160px;
  }
}

.tel {
  font-size: 40px;
}

@media screen and (max-width: 1280px) {
  .tel {
    font-size: 32px;
  }
}

@media screen and (max-width: 1024px) {
  .tel {
    font-size: 28px;
  }
}

@media screen and (max-width: 768px) {
  .tel {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .tel {
    font-size: 18px;
  }
}

.contact_tel {
  display: flex;
  background-color: #007b8a;
  padding: 48px 25px;
  font-size: 40px;
  transition: backdround-color 0.3s ease, color 0.3s ease;
}

@media screen and (max-width: 1280px) {
  .contact_tel {
    font-size: 32px;
    padding: 40px 20px;
  }
}

@media screen and (max-width: 1024px) {
  .contact_tel {
    font-size: 28px;
    padding: 36px 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact_tel {
    font-size: 20px;
    padding: 24px 16px;
  }
}

@media screen and (max-width: 480px) {
  .contact_tel {
    font-size: 18px;
    padding: 20px 12px;
  }
}

.contact_tel:hover {
  background-color: #005f6b;
}

.contact_mail {
  display: flex;
  align-items: center;
  background-color: #f6f1e9;
  color: #2f5e4e;
  padding: 48px 25px;
  font-size: 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media screen and (max-width: 1280px) {
  .contact_mail {
    font-size: 32px;
    padding: 40px 20px;
  }
}

@media screen and (max-width: 1024px) {
  .contact_mail {
    font-size: 28px;
    padding: 36px 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact_mail {
    font-size: 20px;
    padding: 24px 16px;
  }
}

@media screen and (max-width: 480px) {
  .contact_mail {
    font-size: 18px;
    padding: 20px 12px;
  }
}

.contact_mail:hover {
  background-color: #e6e0d5;
  color: #2f5e4e;
}

.contact_box p {
  line-height: normal;
  margin: 0;
  padding: 0;
}
