/* ここには共有で使用する部品のCSSを記載する */

/* 文字コード */
@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&display=swap");

img {
  max-width: 95%;
  height: auto;
  display: block;
}

/* topimage start */

.topimage-bg {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: 416px;
  background: url("/wp-content/themes/clabel/images/topimg_bg01.jpg") no-repeat center center;
  background-size: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  isolation: isolate;
  z-index: 10;
  margin: 0 auto;
}

.topimage-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #29778a;
  mix-blend-mode: multiply;
  z-index: 10;
}

.topimage-title1 {
  position: absolute;
  font-weight: Bold;
  font-size: 44px;
  margin-top: 137px;
  margin-left: 65px;
  letter-spacing: 0.08em;
  color: #ffffff;
  z-index: 30;
}

.topimage-title2 {
  position: absolute;
  font-weight: Medium;
  font-size: 22px;
  margin-top: 199px;
  margin-left: 65px;
  color: #ffffff;
  z-index: 30;
}
/* 960px以下の時 */
@media screen and (max-width: 960px) {
  .topimage-bg {
    height: 316px;
  }

  .topimage-title1 {
    font-size: 32px;
    margin-top: 100px;
    margin-left: 30px;
  }

  .topimage-title2 {
    font-size: 16px;
    margin-top: 150px;
    margin-left: 30px;
  }
}

/* 600px以下の時 */
@media screen and (max-width: 600px) {
  .topimage-bg {
    width: 100vw;
    height: 145px;
	margin-top: 20px;
  }
	
  .topimage-bg2 {
    width: 100vw;
    height: 145px;
	margin-top: 20px;
  }

  .topimage-bg3 {
    width: 100vw;
    height: 145px;
	margin-top: 20px;
  }
	
  .topimage-title1 {
    font-size: 22px;
    margin-top: 49px;
    margin-left: 21px;
  }

  .topimage-title2 {
    font-size: 11px;
    margin-top: 80px;
    margin-left: 21px;
  }
}

/* topimage end */

/* CTA section start*/

.cta-section {
  max-width: 1440px;
  margin: 0 auto;
}

.cta-haikei {
  position: relative;
  width: 1214px;
  height: auto;
  margin: 113px auto 0 auto;
}

.cta {
  background-image: url("/wp-content/themes/clabel/images/cta-bg01.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 4rem;
  border-radius: 16px;
  height: 100%;
  margin-top: 7rem;
  margin-bottom: 4rem;
}
.cta2 {
  background-image: url("/wp-content/themes/clabel/images/cta-bg01.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 4rem;
  border-radius: 16px;
  height: 100%;
  margin-top: 7rem;
  margin-bottom: 4rem;
  width: 80%;       /* 横幅を必要に応じて調整 */
  max-width: 1200px;
  margin-left: -1rem;   /* 左端にくっつける */
  margin-right: auto; /* 右側の余白は自動 */
}


.cta-links_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 85px 85px;
  gap: 46px;
  position: relative;
  bottom: 6px;
  margin-left: 0.5rem;
}

.cta-card {
  display: flex;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 36px 24px;
  background: #ffffff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
}

.cta-card img {
  width: 66px;
}

/* 600px以下の時 */
@media screen and (max-width: 600px) {
  .cta-haikei {
    width: 23.2rem;
    height: 25.7rem;
  }
	.cta {
	  margin: 1rem 0;
	}

  .cta-links_grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    bottom: 32px;
  }

  .cta-card {
    font-size: 14px;
    width: 20.6rem;
    height: 3.9rem;
    position: relative;
    right: 2.5rem;
  }
  .cta-card img {
    width: 2.2rem;
  }
}

/* CTA section end */

/* custom  start */

/* ---- Layout wrapper ---- */
.contact-section {
  background: #dce8f0;
  padding: 3rem 1rem;
}
.contact-container {
  max-width: 72rem;
  margin: 0 auto;
}

/* ---- Card ---- */
.contact-card {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}
.contact-hero {
  position: relative;
  max-width: 1214px;
  height: 236px;
  background-image: url("/wp-content/themes/clabel/images/bg-custom-link.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ---- Left navy panel ---- */
.contact-panel {
  background: #1f3a60;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0 0 3rem;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  width: 25%;
}

/* ---- Typography ---- */
.contact-label {
  margin-top: 0;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.06em;
}
.contact-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 0.06em;
}

/* ---- Hover (optional) ---- */
.contact-card:focus-visible {
  outline: 3px solid #163f69;
  outline-offset: 3px;
}
.contact-card:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.contact-frame-bottom-img {
  position: absolute;
  left: 280px;
  right: 0;
  bottom: -42px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  width: 842.19px;
  height: 110.76px;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .contact-hero {
    height: 12rem;
  }
  .contact-panel {
    width: 40%;
    padding: 0 0 0 1rem;
  }
  .contact-frame-bottom-img {
    width: 70%;
    bottom: -10px;
    left: 33.333%;
  }
  .contact-label {
    margin-top: 0;
    font-size: 16px;
  }
  .contact-title {
    margin-top: 10px;
    font-size: 9px;
  }
}
/* custom  end */

/* 見出し部 */
.midashi-section {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.midashi-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-self: center;
  align-items: center;
  gap: 24px;
}

.midashi-icon {
  width: 26px;
  height: 34px;
  color: #ec4024;
  display: flex;
  margin-top: 73px;
}

.midashi-title {
  margin-top: 73px;
  font-size: 36px;
  font-weight: bold;
  color: #141414;
  letter-spacing: 2.16px;
}

/* 600px以下の時 */
@media screen and (max-width: 600px) {
  .midashi-section {
    max-width: 100%;
    width: 100%;
  }

  .midashi-icon {
    width: 13px;
    height: 17px;
    color: #ec4024;
    display: flex;
    margin-top: 27px;
  }

  .midashi-title {
    margin-top: 27px;
    margin-left: 6px;
    font-size: 20px;
    font-weight: bold;
    color: #141414;
    letter-spacing: 0.06em;
  }
}
/* 見出し部 end*/
