/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

/* Body layout fix for sticky footer */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  position: relative;
}

/* Page Title */
.title {
  width: 100%;
  height: 140px;
  background-color: #14a17a;
  background-image: radial-gradient(#31b791 1px, rgba(0, 0, 0, 0) 1px);
  background-size: 20px 20px;
}

@media screen and (max-width: 559px) {
  .title {
    height: 100px;
  }
}

.title-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 42.5px 0 42.5px;
}

@media screen and (max-width: 559px) {
  .title-inner {
    padding: 32.5px 0 32.5px;
  }
}

.title-inner img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 559px) {
  .title-inner img {
    height: 35px;
    width: auto;
  }
}

/* Content Wrapper */
.wrap.content {
  background-color: transparent;
  font-size: 18px;
  line-height: 1.6;
  font-family: "Helvetica Neue", Arial, sans-serif;
  padding: 15px 8px 20px; /* 上下のパディングを増やして余白を埋める */
  margin: 16px auto;
  max-width: 800px;
  border-radius: 8px;
}

.content-inner {
  margin: 0 auto;
}

.content-inner p {
  margin-bottom: 1em;
  letter-spacing: 0.5px;
}

/* Content Intro */
.content-intro {
  padding: 10px 0;
  text-align: center;
}

.content-intro p {
  margin: 0 20px;
  line-height: 2.5rem;
  font-size: 1.6rem;
  font-weight: bold;
  /* color: #333; */
  color: rgb(106, 105, 99);
}

@media screen and (max-width: 559px) {
  .content-intro p {
    font-size: 1.6rem;
  }
}

/* Request Page Link */
.for-request-page {
  margin: auto;
  text-align: center;
}

.for-request-page p {
  font-weight: 500;
  font-size: 1.6rem;
  color: rgb(106, 105, 99);
}

.for-request-page a {
  color: revert;
  text-decoration: underline;
}

.for-request-page a:hover {
  color: revert;
}

/* Contact Service Container */
.contact-service-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 16px 10px 24px;
}

.contact-services-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.contact-service {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 10px;
  max-width: 100%;
  width: 80%;
}

.contact-heading {
  margin-bottom: 8px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.contact-heading img {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
  object-fit: contain;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #14a17a;
  margin: 15px 0 10px 0;
}

.contact-description {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 480px;
}

.contact-row02 {
  margin-bottom: 0px;
  margin-top: auto;
}

.contact-btn a {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #14a17a;
  border: 2px solid #14a17a;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-btn a:hover {
  background-color: #14a17a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-btn a i {
  margin-left: 8px;
  background: white;
  color: #14a17a;
  padding: 8px;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Line Decorations */
.line-top {
  width: 100%;
  height: 30px;
  background-image: url(../../../images/color-line_top.png);
  background-size: contain;
  background-repeat: repeat-x;
}

.line-bottom {
  width: 100%;
  height: 30px;
  background-image: url(../../../images/color-line_bottom.png);
  background-position: left bottom;
  background-size: contain;
  background-repeat: repeat-x;
  position: absolute;
  bottom: 0px;
}

.bg-area {
  background-color: #fff7e0;
  background-size: 80px 80px;
  background-image: linear-gradient(
      rgba(246, 232, 190, 0.7) 1%,
      rgba(246, 232, 190, 0.7) 1%,
      rgba(0, 0, 0, 0) 1%,
      rgba(0, 0, 0, 0) 99%,
      rgba(246, 232, 190, 0.7) 99%,
      rgba(246, 232, 190, 0.7) 100%
    ),
    linear-gradient(
      90deg,
      rgba(246, 232, 190, 0.7) 1%,
      rgba(246, 232, 190, 0.7) 1%,
      rgba(0, 0, 0, 0) 1%,
      rgba(0, 0, 0, 0) 99%,
      rgba(246, 232, 190, 0.7) 99%,
      rgba(246, 232, 190, 0.7) 100%
    ),
    linear-gradient(
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0) 25%,
      rgba(246, 232, 190, 0.4) 25%,
      rgba(246, 232, 190, 0.4) 26%,
      rgba(0, 0, 0, 0) 26%,
      rgba(0, 0, 0, 0) 50%,
      rgba(246, 232, 190, 0.4) 50%,
      rgba(246, 232, 190, 0.4) 51%,
      rgba(0, 0, 0, 0) 51%,
      rgba(0, 0, 0, 0) 75%,
      rgba(246, 232, 190, 0.4) 75%,
      rgba(246, 232, 190, 0.4) 76%,
      rgba(0, 0, 0, 0) 76%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0) 25%,
      rgba(246, 232, 190, 0.4) 25%,
      rgba(246, 232, 190, 0.4) 26%,
      rgba(0, 0, 0, 0) 26%,
      rgba(0, 0, 0, 0) 50%,
      rgba(246, 232, 190, 0.4) 50%,
      rgba(246, 232, 190, 0.4) 51%,
      rgba(0, 0, 0, 0) 51%,
      rgba(0, 0, 0, 0) 75%,
      rgba(246, 232, 190, 0.4) 75%,
      rgba(246, 232, 190, 0.4) 76%,
      rgba(0, 0, 0, 0) 76%,
      rgba(0, 0, 0, 0) 100%
    );
}

/* Header drawer-contact styles */
.header .drawer-contact {
  float: right;
}

.header .drawer-contact a {
  display: block;
  font-size: 1.4rem;
  padding: 8px 30px 6px;
  font-weight: bold;
  color: #fff;
  background-color: #ec5643;
  text-align: center;
  line-height: 1.8rem;
}

.header .drawer-contact a:hover {
  color: #3b4043;
  background-color: #fdef00;
}

@media screen and (max-width: 559px) {
  .header .drawer-contact a {
    padding: 8px 15px 6px;
  }
}

.header .drawer-contact a span {
  font-size: 1rem;
  display: block;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (max-width: 767px) {
  .contact-services-row {
    gap: 30px;
  }

  .contact-service-container {
    padding: 0 10px;
  }
}

@media (max-width: 600px) {
  .wrap.content {
    font-size: 16px;
  }
}

@media screen and (max-width: 559px) {
  .content-intro {
    padding: 10px 0 8px;
  }

  .content-intro p {
    margin: 0 10px;
  }

  .for-request-page {
    margin: auto;
  }

  .contact-service {
    padding: 16px 8px;
  }

  .wrap.content {
    padding: 8px 8px 16px;
  }

  .contact-btn a {
    padding: 10px 20px;
  }
}
