@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

:root {
  --red: #d71718;
  --grey: #f7f7f7;
  --white: #fff;
  --black: #000;
  --font-family-zenmaru: "Zen Maru Gothic";
}

body {
  margin: 0;
  background: #fff0f0;
  color: #333;
}

header {
  max-width: 1600px;
  font-family: var(--font-family-zenmaru);
  position: absolute;
  background: transparent;
  z-index: 999;
  width: calc(100% - 60px);
}
@media (min-width: 1024px) {
  header {
    transform: translate(-50%, 0%);
    left: 50%;
    top: 35px;
  }
}
@media (max-width: 1023px) {
  header {
    position: relative;
    top: 0;
    padding: 30px 30px 0;
    width: 100%;
  }
}
@media (max-width: 767px) {
  header {
    padding: 5px 15px 0;
  }
}
header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .header-inner .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
header .header-inner .logo {
  z-index: 9999;
}
header .header-inner .logo .st0,
header .header-inner .logo .st1,
header .header-inner .logo .st2 {
  transition: all 0.3s;
}
header .header-inner .logo .st0 {
  fill: var(--white);
}
header .header-inner .logo .st1 {
  fill: #040000;
}
header .header-inner .logo .st2 {
  fill: var(--red);
}
header .header-inner .logo h1 {
  margin: 0;
  width: 250px;
}
@media (max-width: 767px) {
  header .header-inner .logo h1 {
    width: 180px;
  }
}
@media (max-width: 1023px) {
  header .header-inner nav.link {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    background: var(--red);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 80px 20px 20px;
    z-index: 1000;
  }
}
header .header-inner nav.link ul {
  display: flex;
  gap: 50px;
}
@media (max-width: 1023px) {
  header .header-inner nav.link ul {
    flex-direction: column;
    padding-left: 10px;
    gap: 10px;
  }
}
header .header-inner nav.link ul a {
  color: var(--black);
  font-size: clamp(0.875rem, 0.262rem + 0.959vw, 1.125rem);
  text-decoration: none;
}
@media (max-width: 1023px) {
  header .header-inner nav.link ul a {
    display: block;
    width: 100%;
  }
}
header .header-inner nav.link ul a:hover {
  opacity: 0.7;
}

.mobile-menu__input {
  display: none;
}

.mobile-menu__button {
  display: none;
  cursor: pointer;
  z-index: 1000;
}

.mobile-menu__button-mark {
  display: block;
  width: 25px;
  height: 2px;
  background: #a9a9a9;
  margin: 4px 0;
  transition: all 0.4s;
}
.mobile-menu__button-mark:nth-of-type(2) {
  top: 7px;
}
.mobile-menu__button-mark:nth-of-type(3) {
  top: 14px;
}

.mobile-menu__bg {
  display: none;
}

@media (max-width: 1023px) {
  body:has(#hamburger:checked) {
    overflow: hidden;
  }
  .header__list-item {
    margin: 10px 0;
  }
  .mobile-menu__button {
    display: block;
    z-index: 9999;
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    cursor: pointer;
  }
  .mobile-menu__bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  #hamburger:checked ~ .link {
    transform: translateY(0);
    opacity: 1;
    overflow-y: auto;
    max-height: 100vh;
  }
  #hamburger:checked ~ .mobile-menu__bg {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  #hamburger:checked
    ~ .mobile-menu__button
    .mobile-menu__button-mark:nth-child(1) {
    transform: translateY(6px) rotate(-45deg);
    top: 1px;
    background: var(--white);
  }
  #hamburger:checked
    ~ .mobile-menu__button
    .mobile-menu__button-mark:nth-child(2) {
    opacity: 0;
  }
  #hamburger:checked
    ~ .mobile-menu__button
    .mobile-menu__button-mark:nth-child(3) {
    transform: translateY(-6px) rotate(45deg);
    top: 13px;
    background: var(--white);
  }
  .header-inner:has(#hamburger:checked) .logo {
    background: var(--red);
  }
  .header-inner:has(#hamburger:checked) .st0 {
    fill: var(--red);
  }
  .header-inner:has(#hamburger:checked) .st1,
  .header-inner:has(#hamburger:checked) .st2 {
    fill: var(--white);
  }
  a.header__list-link {
    color: var(--white) !important;
  }
}

h2 {
  margin-block: 0;
  font-family: var(--font-family-zenmaru);
}

p {
  font-size: clamp(1.125rem, 1.07rem + 0.2vw, 1.25rem);
  line-height: 1.8;
  margin: 0;
  color: var(--black);
  text-align: left;
}

figure img {
  width: 100%;
}

.hero {
  background-color: #fff0f0;
  background-image: url(../img/top/hero-img.svg);
  background-repeat: no-repeat;
  background-origin: content-box;
  background-position: center;
  font-family: var(--font-family-zenmaru);
  text-align: center;
  padding: 40px 20px;
  background-size: cover;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
  object-fit: fill;
  height: 48.6486486486vw;
  display: grid;
  place-content: center;
  min-height: 600px;
}
@media (min-width: 1921px) {
  .hero {
    height: 866px;
  }
}
@media (max-width: 1280px) {
  .hero {
    background-size: contain;
  }
}
@media (max-width: 1023px) {
  .hero {
    background-image: url(../img/top/hero-img-tab.svg);
    height: 79.1666666667vw;
    padding: 30px 15px 15px;
    top: -75px;
    margin-bottom: -75px;
    position: relative;
  }
}
@media (max-width: 767px) {
  .hero {
    background-image: url(../img/top/hero-img-sp.svg);
    background-origin: border-box;
    min-height: auto;
    top: -20px;
    margin-bottom: 0;
  }
}
@media (max-width: 1023px) {
  .hero .hero-inner {
    padding-top: 25%;
  }
}
@media (max-width: 767px) {
  .hero .hero-inner {
    padding-top: 15%;
  }
}
.hero .hero-text-1 {
  color: var(--black);
  font-size: 48px;
  line-height: 80px;
  font-weight: bold;
  font-size: clamp(1.25rem, 0.667rem + 2.593vw, 3rem);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .hero .hero-text-1 {
    font-size: clamp(1.25rem, 0.588rem + 2.941vw, 2rem);
    line-height: 1.7;
  }
}
.hero .hero-text-2 {
  position: relative;
  font-weight: bold;
  color: var(--red);
  margin-bottom: 40px;
  font-size: clamp(3.063rem, 2.208rem + 3.796vw, 5.625rem);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .hero .hero-text-2 {
    font-size: clamp(2.5rem, 0.294rem + 9.804vw, 5rem);
    line-height: 1.6;
    margin-bottom: 30px;
  }
}
.hero .hero-text-2 span {
  font-size: clamp(1.75rem, 1.083rem + 2.963vw, 3.75rem);
}
@media (max-width: 768px) {
  .hero .hero-text-2 span {
    font-size: clamp(1.625rem, 0.301rem + 5.882vw, 3.125rem);
  }
}
.hero .hero-text-2::before {
  content: "";
  background-image: url(../img/top/main_bubble.svg);
  background-repeat: no-repeat;
  position: absolute;
  width: 70%;
  height: 70%;
  top: -53%;
  left: -15%;
}
@media (max-width: 768px) {
  .hero .hero-text-2::before {
    width: 50%;
    height: 50%;
    top: -36%;
    left: -7%;
  }
}
@media (max-width: 767px) {
  .hero .hero-text-2::before {
    left: -5%;
  }
}
.hero .hero-text-2::after {
  content: "QAは";
  font-size: clamp(1.25rem, 0.833rem + 1.852vw, 2.5rem);
  color: var(--white);
  position: absolute;
  left: -12%;
  top: -44%;
  transform: rotate(-4deg);
}
@media (max-width: 768px) {
  .hero .hero-text-2::after {
    font-size: clamp(1rem, 0.228rem + 3.431vw, 1.875rem);
    top: -34%;
    left: -4%;
  }
}
@media (max-width: 767px) {
  .hero .hero-text-2::after {
    left: -3%;
  }
}

.quality-section {
  background: var(--red);
  padding: 40px 30px;
  border-radius: 80px 80px 0 0;
}
@media (max-width: 767px) {
  .quality-section {
    border-radius: 40px 40px 0 0;
    padding: 10px 0 0;
  }
}
.quality-section .quality-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 0;
}
@media (max-width: 767px) {
  .quality-section .quality-inner {
    padding-inline: 14px;
  }
}
.quality-section .quality-inner .section-title {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .section-title {
    padding: 0;
  }
}
.quality-section .quality-inner .section-title h2 {
  position: relative;
  color: var(--white);
  font-size: clamp(1.5rem, 1.042rem + 2.037vw, 2.875rem);
}
.quality-section .quality-inner .section-title h2 span {
  position: relative;
  color: #e6ff02;
}
.quality-section .quality-inner .section-title h2 span::after {
  content: "";
  position: absolute;
  background-image: url(../img/top/quality_title.svg);
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  top: -20%;
  right: -15%;
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .section-title h2 span::after {
    content: none;
  }
}
.quality-section .quality-inner .section-title h2 br {
  display: none;
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .section-title h2 br {
    display: block;
  }
}
.quality-section .quality-inner .section-title h2::before {
  content: "Are you struggling with quality?";
  font-size: clamp(0.875rem, 0.708rem + 0.741vw, 1.375rem);
  line-height: 2.4;
  position: absolute;
  top: -85%;
  left: 0;
  right: 0;
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .section-title h2::before {
    top: -40%;
  }
}
.quality-section .quality-inner .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 20px;
  background: var(--white);
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .cards {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
    margin: 0 auto;
  }
}
.quality-section .quality-inner .cards .card {
  container-type: inline-size;
  container-name: card;
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 5px;
  padding: 50px 10px;
  flex: 1 1 30%;
  text-align: center;
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .cards .card {
    padding-block: 30px;
  }
}
.quality-section .quality-inner .cards .card .top {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.quality-section .quality-inner .cards .card .top figure {
  margin: 0;
  width: 100px;
  height: 100px;
}
.quality-section .quality-inner .cards .card .top figure img {
  margin: 0 auto;
  height: 100%;
}
.quality-section .quality-inner .cards .card .top p {
  font-size: clamp(1.125rem, 1.07rem + 0.2vw, 1.25rem);
  text-align: left;
  line-height: 1.4;
}
@media (max-width: 400px) {
  .quality-section .quality-inner .cards .card .top p {
    font-size: clamp(1rem, 0.438rem + 2.5vw, 1.063rem);
  }
}
.quality-section .quality-inner .cards .card .middle figure {
  position: relative;
  margin: 30px 30px 20px;
}
.quality-section .quality-inner .cards .card .middle figure::before {
  content: "";
  height: 130%;
  width: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: block;
  position: absolute;
  z-index: 0;
  background: #fffdeb;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.quality-section .quality-inner .cards .card .middle figure img {
  position: relative;
  z-index: 1;
  max-height: 235px;
  width: 100%;
}
.quality-section .quality-inner .cards .card .bottom {
  font-family: var(--font-family-zenmaru);
  margin-top: 30px;
}
.quality-section .quality-inner .cards .card .bottom p {
  font-size: clamp(1rem, -0.231rem + 1.923vw, 1.5rem);
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .cards .card .bottom p {
    font-size: clamp(1rem, 0.559rem + 1.961vw, 1.5rem);
  }
}
.quality-section .quality-inner .cards .card .bottom p strong {
  font-size: clamp(1.375rem, -0.328rem + 2.662vw, 2.25rem);
  font-weight: bold;
  color: var(--red);
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .cards .card .bottom p strong {
    font-size: clamp(1.375rem, 0.493rem + 3.922vw, 2.375rem);
  }
}
.quality-section .quality-inner .cards .card:not(:first-of-type)::after {
  content: "";
  height: 90%;
  width: 1px;
  position: absolute;
  background: #ddd;
  top: 0;
  bottom: 0;
  margin: auto;
}
@media (max-width: 1023px) {
  .quality-section .quality-inner .cards .card:not(:first-of-type)::after {
    height: 1px;
    width: 95%;
    top: auto;
    right: 0;
    bottom: auto;
    left: 0;
  }
}
@container card (max-width: 400px) {
  .quality-section .quality-inner .cards .card .top {
    gap: 10px;
  }
  .quality-section .quality-inner .cards .card .top figure {
    width: 70px;
    height: 70px;
  }
}
@media (min-width: 1024px) and (max-width: 1320px) {
  .quality-section .quality-inner .cards .card .top {
    gap: 10px;
  }
  .quality-section .quality-inner .cards .card .top figure {
    width: 70px;
    height: 70px;
  }
}
.achievements,
.about,
.company-info,
.message,
.contact-form {
  padding: 100px 30px;
}
@media (max-width: 1023px) {
  .achievements,
  .about,
  .company-info,
  .message,
  .contact-form {
    padding: 80px 30px;
  }
}
@media (max-width: 767px) {
  .achievements,
  .about,
  .company-info,
  .message,
  .contact-form {
    padding: 60px 15px 40px;
  }
}

.achievements,
.company-info {
  background: var(--grey);
}

.achievements-inner,
.about-inner,
.company-info-inner,
.message-inner,
.contact-form-inner {
  max-width: 1600px;
  margin: 0 auto;
}
.achievements-inner .section-title,
.about-inner .section-title,
.company-info-inner .section-title,
.message-inner .section-title,
.contact-form-inner .section-title {
  text-align: center;
  margin-bottom: 30px;
}
.achievements-inner .section-title h2,
.about-inner .section-title h2,
.company-info-inner .section-title h2,
.message-inner .section-title h2,
.contact-form-inner .section-title h2 {
  position: relative;
  font-size: 40px;
  line-height: 1.2;
  font-weight: bold;
}
@media (max-width: 1023px) {
  .achievements-inner .section-title h2,
  .about-inner .section-title h2,
  .company-info-inner .section-title h2,
  .message-inner .section-title h2,
  .contact-form-inner .section-title h2 {
    font-size: clamp(1.75rem, 1.079rem + 2.439vw, 2.25rem);
  }
}
.achievements-inner .section-title h2::before,
.about-inner .section-title h2::before,
.company-info-inner .section-title h2::before,
.message-inner .section-title h2::before,
.contact-form-inner .section-title h2::before {
  content: "";
  font-size: 20px;
  line-height: 54px;
  position: absolute;
  top: -58px;
  left: 0;
  right: 0;
  color: var(--red);
}
@media (max-width: 1023px) {
  .achievements-inner .section-title h2::before,
  .about-inner .section-title h2::before,
  .company-info-inner .section-title h2::before,
  .message-inner .section-title h2::before,
  .contact-form-inner .section-title h2::before {
    font-size: clamp(1rem, 0.665rem + 1.22vw, 1.25rem);
    top: -48px;
  }
}

@media (min-width: 768px) {
  .achievements {
    padding-bottom: 50px;
  }
}
.achievements .achievements-inner .section-title h2::before {
  content: "Achievements";
}
.achievements .achievements-inner .cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.achievements .achievements-inner .cards .card {
  display: flex;
  flex-wrap: nowrap;
  background: white;
  border-radius: 20px;
  padding: 30px;
  gap: 24px;
}
@media (max-width: 768px) {
  .achievements .achievements-inner .cards .card {
    flex-direction: column;
    align-items: center;
    padding-inline: 15px;
  }
}
.achievements .achievements-inner .cards .card figure {
  width: 180px;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  padding: 15px;
}
.achievements .achievements-inner .cards .card figure img {
  width: 150px;
}
@media (max-width: 768px) {
  .achievements .achievements-inner .cards .card figure img {
    width: 250px;
  }
}
@media (max-width: 440px) {
  .achievements .achievements-inner .cards .card figure img {
    width: 200px;
  }
}
@media (max-width: 768px) {
  .achievements .achievements-inner .cards .card figure {
    width: 280px;
  }
}
.achievements .achievements-inner .cards .card .text .label {
  font-size: clamp(0.875rem, 0.567rem + 0.481vw, 1rem);
  position: relative;
  display: inline-block;
  background: var(--red);
  padding: 12px 35px 12px 20px;
  color: var(--white);
  line-height: 1.1;
  border-radius: 5px 0 0 5px;
}
.achievements .achievements-inner .cards .card .text .label::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 0px;
  height: 0px;
  border-width: 21px 15px 21px 0px;
  border-color: transparent var(--white);
  border-style: solid;
  content: "";
}
.achievements .achievements-inner .cards .card .text h3 {
  font-size: clamp(1.25rem, 1.167rem + 0.37vw, 1.5rem);
  line-height: 1.58;
  margin-block: 20px 10px;
  font-weight: bold;
}
.achievements .achievements-inner .cards .card .text p {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
}

.about {
  background: var(--white);
}
.about .about-inner {
  display: flex;
  gap: 30px;
}
@media (max-width: 769px) {
  .about .about-inner {
    flex-direction: column;
  }
}
.about .section-title {
  text-align: left;
}
@media (max-width: 769px) {
  .about .section-title {
    text-align: center;
  }
}
.about .section-title h2::before {
  content: "About us";
}
.about .text {
  flex-basis: 62%;
}
.about figure {
  margin: 0;
  flex-basis: 44%;
  min-width: 500px;
  max-width: 580px;
}
@media (max-width: 1280px) {
  .about figure {
    min-width: 360px;
    max-width: 100%;
  }
}

@media (max-width: 1023px) {
  .company-info {
    padding-block: 30px;
  }
}
@media (max-width: 767px) {
  .company-info {
    padding-block: 15px;
  }
}
.company-info .company-info-inner {
  padding: 120px 100px 100px;
  border-radius: 20px;
  background: var(--white);
}
@media (max-width: 1023px) {
  .company-info .company-info-inner {
    padding: 80px 30px 50px;
  }
}
@media (max-width: 767px) {
  .company-info .company-info-inner {
    padding: 60px 15px 30px;
  }
}
.company-info .company-info-inner .section-title h2::before {
  content: "Company Overview";
}
.company-info .company-info-inner table {
  width: 100%;
}
.company-info .company-info-inner table th,
.company-info .company-info-inner table td {
  font-size: 18px;
  line-height: 32px;
  line-height: 1.7;
  padding-block: 32px;
  border-bottom: 1px solid #ddd;
}
.company-info .company-info-inner table th a,
.company-info .company-info-inner table td a {
  color: #1c62ee;
  text-decoration: none;
}
.company-info .company-info-inner table th iframe,
.company-info .company-info-inner table td iframe {
  max-width: 600px;
}
@media (max-width: 767px) {
  .company-info .company-info-inner table tbody {
    display: flex;
    flex-direction: column;
  }
  .company-info .company-info-inner table tbody tr {
    display: flex;
    flex-direction: column;
  }
  .company-info .company-info-inner table tbody tr th {
    border-bottom: none;
    padding-block: 10px 0;
    text-align: left;
  }
  .company-info .company-info-inner table tbody tr td {
    padding-block: 0 10px;
  }
  .company-info .company-info-inner table tbody tr td iframe {
    max-height: 250px;
  }
}

.message {
  background: var(--white);
  padding-bottom: 180px;
}
@media (max-width: 767px) {
  .message {
    padding-bottom: 120px;
  }
}
.message .message-inner .section-title h2::before {
  content: "Message";
}
.message .message-inner .flex {
  display: flex;
  gap: 60px;
}
.message .message-inner .flex > div {
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  .message .message-inner .flex {
    gap: 30px;
  }
}
@media (max-width: 767px) {
  .message .message-inner .flex {
    flex-direction: column;
    gap: 20px;
  }
  .message .message-inner .flex > div {
    display: contents;
  }
}
.message .message-inner .flex .name {
  font-size: 12px;
  font-weight: 500;
}
@media (max-width: 767px) {
  .message .message-inner .flex .name {
    order: 3;
  }
}
.message .message-inner .flex .name span {
  font-size: 20px;
}
.message .message-inner .flex figure {
  margin: 0;
  width: 270px;
  flex-shrink: 0;
}
.message .message-inner .flex figure.img-sp {
  display: none;
}
@media (max-width: 1023px) {
  .message .message-inner .flex figure {
    width: 220px;
  }
}
@media (max-width: 767px) {
  .message .message-inner .flex figure {
    display: none;
  }
  .message .message-inner .flex figure.img-sp {
    display: block;
    width: 100%;
  }
}
.message .message-inner .flex figure img {
  border-radius: 20px;
}

.contact-form {
  background: var(--red);
  color: var(--white);
  border-radius: 80px 80px 0 0;
  top: -80px;
  position: relative;
  margin-bottom: -80px;
  padding-bottom: 40px;
  z-index: 0;
}
@media (max-width: 767px) {
  .contact-form {
    border-radius: 40px 40px 0 0;
    padding-bottom: 20px;
  }
}
.contact-form .contact-form-inner .section-title h2::before {
  content: "Contact Us";
  color: var(--white);
}
.contact-form .contact-form-inner .section-title h2::after {
  content: "";
  background-image: url(../img/top/contact.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: -40px;
  left: 5px;
  width: 80px;
  height: 86px;
}
@media (min-width: 1241px) {
  .contact-form .contact-form-inner .section-title h2::after {
    content: none;
  }
}
.contact-form .contact-form-inner p {
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 1023px) {
  .contact-form .contact-form-inner p {
    text-align: left;
  }
}
@media (max-width: 767px) {
  .contact-form .contact-form-inner p {
    margin-bottom: 20px;
  }
}
.contact-form .contact-form-inner .form {
  position: relative;
  border-radius: 20px;
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding-top: 50px;
}
@media (max-width: 1023px) {
  .contact-form .contact-form-inner .form {
    padding-top: 40px;
  }
}
@media (max-width: 767px) {
  .contact-form .contact-form-inner .form {
    padding-top: 30px;
  }
}
.contact-form .contact-form-inner .form::before {
  content: "";
  background-image: url(../img/top/contact.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: -170px;
  left: 0;
  width: 170px;
  height: 190px;
  z-index: -1;
}
@media (max-width: 1240px) {
  .contact-form .contact-form-inner .form::before {
    content: none;
  }
}
.contact-form .contact-form-inner .form .tel {
  font-size: clamp(2.375rem, 0.125rem + 4.688vw, 3.125rem);
}
.contact-form .contact-form-inner .form .tel::before {
  content: url(../img/top/call-icon.svg);
  height: 36px;
  width: 36px;
  display: inline-block;
  margin-right: 10px;
}
.contact-form .contact-form-inner .form p {
  color: var(--black);
  text-align: center;
  margin-bottom: 0;
}
.contact-form .contact-form-inner .form iframe {
  border-radius: 0 0 20px 20px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input,
textarea,
select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background: transparent;
  border: none;
  transition: all 0.2s;
  display: block;
  margin: 0 auto;
}
button a {
  font-family: var(--font-family-zenmaru);
  display: grid;
  place-content: center;
  transition: all 0.2s;
  background-color: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  padding: 10px;
  width: 360px;
  height: 80px;
  border-radius: 80px;
  line-height: 1;
  margin: 0 auto;
}
@media (max-width: 767px) {
  button a {
    width: 260px;
    font-size: 18px;
    height: 60px;
  }
}
@media (max-width: 413px) {
  button a {
    width: 220px;
  }
}

button:hover {
  opacity: 0.7;
}

footer {
  text-align: center;
  padding: 30px;
  background: var(--red);
  color: var(--white);
}

footer .footer-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  footer .footer-inner {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
  }
  .card {
    flex: 1 1 100%;
  }
}
@media (max-width: 440px) {
  header h1 {
    font-size: 1.5rem;
  }
}
@media (min-width: 441px) and (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }
}
