/* ==============================================
   LP Base Reset
   ============================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
}

.lp-page-wrap {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

/* ==============================================
   共通：斜めセクション境界（下）
   左高・右低 / 右高・左低
   ============================================== */

.lp-slash--bottom {
  clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 187px), 0% 100%);
  padding-bottom: calc(184px + 40px);
}

.lp-slash--bottom-r {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 187px));
}

.lp-slash--top {
  clip-path: polygon(0 187px, 100% 0%, 100% 100%, 0% 100%);
  margin-top: -187px;
  padding-top: 184px;
}

.lp-slash--top-r {
  clip-path: polygon(0 0, 100% 187px, 100% 100%, 0 100%);
  margin-top: -187px;
  padding-top: 184px;
}

.lp-slash--both {
  clip-path: polygon(0 187px, 100% 0, 100% calc(100% - 87px), 0 100%);
  margin-top: -187px;
  padding-top: 184px;
  padding-bottom: calc(184px + 40px);
}

@media (max-width: 768px) {
  .lp-slash--bottom {
    clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 5.7rem), 0% 100%);
    padding-bottom: 8.6rem;
  }

  .lp-slash--bottom-r {
/*    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 187px));*/
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% calc(100% - 5.7rem));
  }

  .lp-slash--top {
/*    clip-path: polygon(0 187px, 100% 0%, 100% 100%, 0% 100%);*/
    clip-path: polygon(0 5.7rem, 100% 0%, 100% 100%, 0% 100%);

    margin-top: -5.7rem;
    padding-top: 5.6rem;
  }

  .lp-slash--top-r {
/*    clip-path: polygon(0 0, 100% 187px, 100% 100%, 0 100%);*/
    clip-path: polygon(0 0, 100% 5.7rem, 100% 100%, 0 100%);
    margin-top: -5.7rem;
    padding-top: 5.6rem;
  }

  .lp-slash--both {
/*    clip-path: polygon(0 187px, 100% 0, 100% calc(100% - 87px), 0 100%);*/
    clip-path: polygon(0 5.7rem, 100% 0, 100% calc(100% - 5.7rem), 0 100%);
    margin-top: -5.7rem;
    padding-top: 5.6rem;
    padding-bottom: 8.6rem;
  }
}

/* ==============================================
   共通：グラデーションテキスト
   ============================================== */

.lp-grad-text {
  background: linear-gradient(46.7deg, #1005B8 -2.66%, #0092D6 94.53%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==============================================
   共通：英語セクションラベル
   ============================================== */

.lp-section-label {
  font-family: "Fustat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(46.7deg, #1005B8 -2.66%, #0092D6 94.53%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.lp-section-label--line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lp-section-label--line::before,
.lp-section-label--line::after {
  content: '';
  display: block;
  width: 307px;
  height: 2px;
  background: linear-gradient(46.7deg, #1005B8 -2.66%, #0092D6 94.53%);
  flex-shrink: 0;
}

.lp-section-label--line-wht::before,
.lp-section-label--line-wht::after {
  background: #fff;
}

/* ==============================================
   共通：斜め線ヘッダー
   ============================================== */

.lp-diag-header {
  position: relative;
}

.lp-diag-header::before {
  content: '';
  position: absolute;
  top: 45px;
  left: -138px;
  height: 2px;
  transform: rotate(-7.65deg);
  transform-origin: left center;
  opacity: 0.5;
  pointer-events: none;
}

.lp-diag-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 8px;
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
  -webkit-text-fill-color: transparent;
}

/* ==============================================
   共通ボタン
   ============================================== */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  height: 49px;
  padding: 12px 32px;
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.lp-btn img {
  width: auto;
  height: 16px;
  flex-shrink: 0;
}

.lp-btn--dl {
  color: #2B7FFF;
  border: 1px solid #2B7FFF;
  background: #fff;
}

.lp-btn--dl:hover {
  background: rgba(43, 127, 255, 0.08);
}

.lp-btn--contact {
  color: #fff;
  border: none;
  background: linear-gradient(90deg, #4258FF 0%, #29A9FF 50%, #4258FF 100%);
}

.lp-btn--contact:hover {
  opacity: 0.85;
}

/* ==============================================
   共通：FVボタン
   ============================================== */

.lp-fv__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 64px;
  padding: 0;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.lp-fv__btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lp-fv__btn-inner img {
  width: auto;
  height: 16px;
  flex-shrink: 0;
}

.lp-fv__btn-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 28px;
}

.lp-fv__btn--dl {
  position: relative;
  background: #EDEDED;
  border: none;
}

/* ==============================================
   共通：CTAセクション
   ============================================== */

.lp-cta {
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
}

.lp-cta__inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-cta__title {
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 30px;
}

.lp-cta__text {
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #fff;
  text-align: center;
  margin-bottom: 77px;
}

.lp-cta__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

/* ==============================================
   共通：INFOセクション
   ============================================== */

.lp-info {
  background: #E8E9EE;
  padding: 80px 0 100px;
}

.lp-info__inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-info__title {
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 48px;
}

.lp-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.lp-info__card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.lp-info__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.lp-info__card-link:hover {
  opacity: 0.85;
}

.lp-info__card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-info__card-body {
  padding: 16px 20px 24px;
}

.lp-info__card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.lp-info__cat {
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #fff;
  background: #2B7FFF;
  border-radius: 2px;
  padding: 2px 8px;
  white-space: nowrap;
}

.lp-info__date {
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #888;
}

.lp-info__excerpt {
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #333;
}

.lp-info__more {
  text-align: center;
}

.lp-info__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 40px;
  font-family: "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #333;
  border: 1px solid #C0C0C0;
  border-radius: 2px;
  background: #fff;
  text-decoration: none;
}

.lp-info__more-btn:hover {
  background: #f5f5f5;
}

.lp-info__more-arrow {
  width: 8px;
  height: auto;
  filter: invert(1) brightness(0);
}

.lp-fv__btn--dl::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2px;
  padding: 2px;
  background: linear-gradient(46.7deg, #1005B8 -2.66%, #0092D6 94.53%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.lp-fv__btn--dl .lp-fv__btn-inner {
  background: linear-gradient(46.7deg, #1005B8 -2.66%, #0092D6 94.53%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-fv__btn--dl:hover {
  background: #d8d8d8;
}

.lp-fv__btn--contact {
  color: #fff;
  border: 1px solid #fff;
  background: linear-gradient(90deg, #4258FF 0%, #29A9FF 50%, #4258FF 100%);
}

.lp-fv__btn--contact:hover {
  opacity: 0.85;
}

/* ==============================================
   SP ( ~ 768px ) 共通リセット
   ============================================== */

/* SP専用改行 */
.sp-br {
  display: none;
}

/* SP非表示 */
.sp-hide {
  display: inline;
}

@media screen and (max-width: 768px) {
  .sp-br {
    display: inline;
  }

  .sp-hide {
    display: none;
  }
}

@media screen and (max-width: 768px) {

  /* 英語セクションラベル（斜め線・横線共通） */
  .lp-section-label {
    font-size: 20px;
  }

  /* 斜め装飾線：固定幅をリセットして画面内に収める */
  .lp-diag-header::before {
    width: calc(100% + 138px) !important;
    left: -24px;
    top: 40px;
  }

  .lp-diag-label {
    margin-top: 15px;
  }

  /* 横ライン付きセクションラベル：307px固定をリセット */
  .lp-section-label--line::before,
  .lp-section-label--line::after {
    width: 40px;
    flex-shrink: 1;
  }

  /* FVボタン：360px固定をリセット */
  .lp-fv__btn {
    width: 100%;
  }

  /* CTAボタン：縦並び */
  .lp-cta__btns {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  /* お役立ち */
  .lp-info__title {
    font-size: 24px;
  }

  .lp-info__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

}
