@charset "UTF-8";

/* =========================================================
  Contact Page
========================================================= */

.contact-section {
  background: var(--color-white);
}


/* =========================================================
  Lead
========================================================= */

.contact-lead {
  position: relative;
  margin-bottom: 42px;
  padding: 34px 38px;
  overflow: hidden;
  background: var(--color-main);
  color: var(--color-white);
  box-shadow: 0 10px 28px rgba(31, 63, 48, 0.16);
}

.contact-lead__text {
  position: relative;
  z-index: 1;
}

.contact-lead__label {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.contact-lead h2 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 25px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.9;
}


/* =========================================================
  Block
========================================================= */

.contact-block {
  margin-top: 42px;
  padding: 30px 34px;
  border: 1px solid rgba(47, 93, 70, 0.14);
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(31, 63, 48, 0.05);
}

.contact-block:first-of-type {
  margin-top: 0;
}


/* =========================================================
  Main Contact Block
  添付イメージに合わせて縦余白を整理
========================================================= */

.contact-block--main {
  padding-top: 24px;
  padding-bottom: 24px;
}

/*
  block__title は共通CSSを利用しているため、
  お問い合わせページの最初のブロックだけ余白を調整
*/
.contact-block--main .block__title {
  margin-bottom: 16px;
}


/* =========================================================
  Guidance
========================================================= */

.contact-guidance {
  margin: 0 20px 20px;

}

.contact-guidance p {
  margin: 0;
  /*color: var(--color-text);*/
	    color: var(--color-main);	
	
  /*font-size: 16px;
  line-height: 1.8;*/
	        font-size: 18px;
        font-weight: 800;
        line-height: 1.65;
}

.contact-guidance p + p {
  margin-top: 6px;
}


/* =========================================================
  Summary Cards
========================================================= */

.contact-summary-list {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  margin-top: 0;
}

.contact-summary-card {
  position: relative;
  min-height: 180px;
  padding: 24px 26px 22px;
  overflow: hidden;

  border: 1px solid rgba(47, 93, 70, 0.16);

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdfb 100%
    );

  box-shadow:
    0 6px 18px rgba(31, 63, 48, 0.05);
}


.contact-summary-card__label {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;

  margin-bottom: 10px;
  padding: 4px 10px;

  background: var(--color-main);
  color: #ffffff;

  font-family: var(--font-en);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  font-weight: 700;
}


.contact-summary-card h3 {
  position: relative;
  z-index: 1;

  margin: 0 0 8px;

  color: var(--color-main);

  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
}


/* =========================================================
  Address
========================================================= */

.contact-summary-card--address .contact-address {
  position: relative;
  z-index: 1;

  margin: 0;

  color: var(--color-main);

  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.02em;
}


/*
  会社名
  住所の直下へ自然に配置
*/
.contact-summary-card--address .contact-company {
  position: relative;
  z-index: 1;

  margin: 3px 0 0;

  color: var(--color-main);

  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.02em;
}


/* =========================================================
  TEL / FAX
========================================================= */

.contact-summary-card--tel p,
.contact-summary-card--fax p {
  position: relative;
  z-index: 1;

  margin: 0;

  color: var(--color-main);

  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-summary-card a {
  color: inherit;
}


/* =========================================================
  Wide PC
========================================================= */

@media screen and (min-width: 1100px) {

  .contact-summary-card--address .contact-address {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.65;
  }

  .contact-summary-card--address .contact-company {
    font-size: 21px;
    font-weight: 800;
  }

  .contact-summary-card--tel p,
  .contact-summary-card--fax p {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.45;
  }

}


/* =========================================================
  Map
========================================================= */

.contact-block--map {
  margin-top: 42px;
}

.contact-map {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 7;

  overflow: hidden;

  border: 1px solid var(--color-border);

  background: var(--color-bg);
}

.contact-map iframe {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}

.contact-map-link {
  margin: 18px 0 0;

  text-align: center;
}

.contact-map-link a {
  position: relative;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 180px;

  padding: 11px 20px;

  background: var(--color-main);
  color: var(--color-white);

  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;

  transition:
    background 0.25s ease;
}

.contact-map-link a::after {
  content: "";

  width: 7px;
  height: 7px;

  margin-left: 10px;

  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;

  transform: rotate(45deg);
}

.contact-map-link a:hover {
  background: var(--color-main-dark);
}


/* =========================================================
  Tablet
========================================================= */

@media screen and (max-width: 1024px) {

  .contact-summary-list {
    grid-template-columns: 1fr;
  }

  .contact-summary-card {
    min-height: auto;
  }

  .contact-map {
    aspect-ratio: 16 / 9;
  }

}


/* =========================================================
  Smartphone
========================================================= */

@media screen and (max-width: 768px) {

  .contact-lead {
    margin-bottom: 32px;
    padding: 26px 22px;
  }

  .contact-lead::after {
    right: 16px;
    bottom: -2px;
    font-size: 42px;
  }

  .contact-lead h2 {
    font-size: 19px;
    line-height: 1.7;
  }

  .contact-lead p {
    font-size: 14px;
    line-height: 1.8;
  }


  .contact-block {
    margin-top: 32px;

    padding:
      20px 5px;
  }


  .contact-block--main {
    padding-top: 20px;
    padding-bottom: 20px;
  }


  .contact-block--main .block__title {
    margin-bottom: 14px;
  }


  .contact-guidance {
    margin:
      0 14px 18px;
  }

  .contact-guidance p {
    font-size: 14px;
    line-height: 1.75;
  }

  .contact-guidance p + p {
    margin-top: 5px;
  }


  .contact-summary-list {
    gap: 14px;
  }


  .contact-summary-card {
    padding:
      20px 20px;
  }


  .contact-summary-card h3 {
    font-size: 18px;
  }


  .contact-summary-card--address .contact-address {
    font-size: 16px;
    font-weight: 700;
  }

  .contact-summary-card--address .contact-company {
    margin-top: 3px;

    font-size: 20px;
    font-weight: 700;
  }


  .contact-summary-card--tel p,
  .contact-summary-card--fax p {
    font-size: 22px;
    font-weight: 700;
  }


  .contact-map {
    aspect-ratio: 4 / 3;
  }


  .contact-map-link a {
    width: 100%;
  }

}


/* =========================================================
  Page Title Background Text
========================================================= */

body.contact .page-title-section {
  position: relative;

  overflow: hidden;
}

body.contact .page-title-section::after {
  content: "CONTACT";

  position: absolute;

  right:
    max(
      26px,
      calc((100% - 1200px) / 2 + 26px)
    );

  bottom: -8px;

  z-index: 0;

  color:
    rgba(47, 93, 70, 0.07);

  font-family:
    var(--font-en);

  font-size: 72px;
  line-height: 1;

  letter-spacing:
    0.08em;

  font-weight: 700;

  pointer-events: none;
}

body.contact .page-title-section .inner {
  position: relative;

  z-index: 1;
}


@media screen and (max-width: 768px) {

  body.contact .page-title-section::after {
    right: 16px;

    bottom: -2px;

    font-size: 42px;
  }

}