/* お役立ち資料ページ (materials / materials-teps / materials-nextengine / materials-thanks) */

:root {
  --color-main: #036BE0;
}

.btn {
  border-radius: 100vh;
  border-style: solid;
  border-width: 2px;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  max-width: 100%;
  padding: 16px;
  text-align: center;
  transition: .3s ease-in-out;
  width: 306px;
}

.btn-blue {
  background-color: var(--color-main);
  border-color: var(--color-main);
  color: #fff;
}

.btn-blue:hover {
  background-color: #fff;
  color: var(--color-main);
}

.btn-white {
  background-color: #fff;
  border-color: var(--color-main);
  color: var(--color-main);
}

.btn-white:hover {
  background-color: var(--color-main);
  color: #fff;
}

.archives__body .btn {
  width: auto;
  padding: 10px 24px;
  font-size: 14px;
}

.materials__card .archives__thum {
  overflow: visible;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 32px 26px;
}

.materials__card .archives__thum img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow:
    0 14px 24px -10px rgba(0, 0, 0, 0.25),
    0 4px 10px rgba(0, 0, 0, 0.08);
}

.materials__card .archives__body {
  border-top: 1px solid #eee;
  padding: 24px 30px 30px;
  text-align: center;
}

.materials__card .archives__ttl {
  margin: 0 0 24px;
}

.materials__dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.materials__cta-embed {
  display: inline-block;
  max-width: 100%;
}

.materials__dl-icon {
  flex: none;
}

.materials__lead {
  margin: 16px 0 0;
  color: #8a8a8a;
  font-size: 1rem;
  line-height: 1.75;
}

.materials__eyebrow {
  margin: 0 0 4px;
  color: #036CE1;
  font-size: 13px;
  font-weight: 600;
}

.materials__desc {
  margin: 0 0 20px;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.75;
}

.material-hero {
  background-color: #F7FBFF;
  padding: 116px 0 40px;
  margin-bottom: 8px;
}

@media screen and (min-width: 751px) {
  .material-hero {
    padding: 180px 0 56px;
  }
}

.material-hero__back {
  max-width: 1120px;
  margin: 0 auto 20px;
  padding: 0 24px;
}

.material-hero__back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease-in-out;
}

.material-hero__back-link:hover {
  color: var(--color-main);
}

.material-hero__back-icon {
  flex: none;
  transition: transform .2s ease-in-out;
}

.material-hero__back-link:hover .material-hero__back-icon {
  transform: translateX(-2px);
}

.material-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 56px;
  justify-content: flex-start;
}

.material-hero__text {
  flex: 1 1 480px;
  max-width: 600px;
}

.material-hero__ttl {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
  text-align: left;
}

.material-hero__lead {
  max-width: 680px;
  color: #666;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.material-hero__thumb {
  flex: 0 0 380px;
  max-width: 380px;
}

.material-hero__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 1000px) {
  .material-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .material-hero__thumb {
    max-width: 100%;
    order: 2;
  }
}

@media screen and (max-width: 750px) {
  .material-hero__ttl {
    font-size: 1.5rem;
  }
}

.material-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin: 40px 0 100px;
}

.material-detail__content {
  flex: 1 1 440px;
  max-width: 500px;
}

.material-detail__benefits {
  margin: 0 0 40px;
  background-color: #fff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 24px 28px;
}

.material-detail__benefits-ttl {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.material-detail__benefits .start__list {
  margin: 0;
}

.material-detail__benefits .start-list-li {
  line-height: 1.5;
  margin-bottom: 10px;
}

.material-detail__benefits .start-list-li:last-child {
  margin-bottom: 0;
}

.material-detail__samples-ttl {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.material-detail__samples {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.material-detail__form {
  flex: 1 1 480px;
  max-width: 580px;
  width: 100%;
}

.material-detail__form-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgb(0 0 0 / 8%);
  padding: 32px;
}

.material-detail__preview-img,
.material-detail__sample-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 4px 2px rgb(0 0 0 / 6%);
  display: block;
}

.material-carousel-wrap {
  margin-top: 8px;
}

.material-carousel {
  position: relative;
}

.material-carousel img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
  display: block;
}

.material-carousel .slick-arrow,
.material-carousel .slick-arrow:hover,
.material-carousel .slick-arrow:focus,
.material-carousel .slick-arrow:active {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: none !important;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
  outline: none;
  font-size: 0;
  cursor: pointer;
  transition: none;
}

.material-carousel .slick-prev,
.material-carousel .slick-prev:hover,
.material-carousel .slick-prev:focus,
.material-carousel .slick-prev:active {
  left: 12px;
}

.material-carousel .slick-next,
.material-carousel .slick-next:hover,
.material-carousel .slick-next:focus,
.material-carousel .slick-next:active {
  right: 12px;
}

/* Arrow chevrons: built from two rotated CSS borders (no SVG stroke),
   so both legs render with identical anti-aliasing/weight at small sizes. */
.material-carousel .slick-prev::before,
.material-carousel .slick-next::before,
.material-carousel .slick-prev:hover::before,
.material-carousel .slick-prev:focus::before,
.material-carousel .slick-prev:active::before,
.material-carousel .slick-next:hover::before,
.material-carousel .slick-next:focus::before,
.material-carousel .slick-next:active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border-style: solid;
  border-color: #036be0;
  border-width: 0 2px 2px 0;
}

.material-carousel .slick-prev::before,
.material-carousel .slick-prev:hover::before,
.material-carousel .slick-prev:focus::before,
.material-carousel .slick-prev:active::before {
  transform: translate(-30%, -50%) rotate(135deg);
}

.material-carousel .slick-next::before,
.material-carousel .slick-next:hover::before,
.material-carousel .slick-next:focus::before,
.material-carousel .slick-next:active::before {
  transform: translate(-70%, -50%) rotate(-45deg);
}

.material-carousel .slick-arrow.slick-disabled {
  opacity: 0.35;
  cursor: default;
}

.material-carousel .slick-dots {
  position: relative;
  bottom: auto;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.material-carousel .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.material-carousel .slick-dots li button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background-color: #d9d9d9;
  font-size: 0;
}

.material-carousel .slick-dots li button:before {
  content: none;
}

.material-carousel .slick-dots li.slick-active button {
  background-color: var(--color-main);
}

.materials__desc--spaced {
  margin-top: 20px;
}

@media screen and (max-width: 1000px) {
  .material-detail {
    flex-direction: column;
    align-items: center;
    margin: 24px 0 60px;
  }

  .material-detail__content,
  .material-detail__form {
    max-width: 100%;
  }
}

/* 送信完了ページ */
.materials-thanks__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 480px;
  margin: 40px auto 0;
}

.materials-thanks__back-link {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease-in-out;
}

.materials-thanks__back-link:hover {
  color: var(--color-main);
}
