@charset "UTF-8";
/* 仕様統一版　全ページ共通のコンポーネント・ユーティリティ（リセットはbase.css / base_legacy.cssで管理） */

/*
  旧スタイル（asset/css/style_base.css の h1〜h4 要素指定）の打ち消し
  h2:first-of-type（詳細度0,1,1）に勝つため :first-of-type も併記
*/
.c-heading-h1,
.c-heading-h2,
.c-heading-h2:first-of-type,
.c-heading-h3,
.c-heading-h4 {
  margin: 0;
  background: none;
  border: none;
  color: inherit;
  letter-spacing: normal;
}
.c-heading-h3::before {
  content: none;
}

/*
仕様統一モジュール
  h1
*/
.c-heading-h1 {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 700;
  position: relative;
  text-align: center;
  padding: 0 0 25px;
  @media screen and (max-width: 600px) {
    font-size: 30px;
  }
}
/*
  h2
*/
.c-heading-h2 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  padding: 0 0 56px;
  position: relative;
  text-align: center;
  &::after {
    content: "";
    width: 40px;
    height: 3px;
    line-height: 0;
    background-color: var(--rmailmarketing-dark);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    @media screen and (max-width: 600px) {
      bottom: 25px;
      height: 2px;
    }
  }
  @media screen and (max-width: 600px) {
    font-size: 25px;
    padding: 0 0 50px;
  }
}

/*
  h3
*/
.c-heading-h3 {
  padding: 0 0 30px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

/*
  h4
*/
.c-heading-h4 {
  padding: 0 0 30px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

/*
  見出し下リード分
*/
.c-heading-lead {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 25px;
  position: relative;
  text-align: center;
  &:last-child {
    margin: 0;
  }
  @media screen and (max-width: 840px) {
    margin: 0 0 20px;
    text-align: left;
  }
  @media screen and (max-width: 600px) {
    font-size: 16px;
    line-height: 1.6;
  }
}


/* セクション間　余白　共通レイアウト項目 */
.ly_section-padding{
  padding: var(--sec-padding);
}
.ly_section-padding-top{
  padding-top: var(--sec-padding-top);
}
.ly_section-padding-bottom{
  padding-bottom: var(--sec-padding-bottom);
}
@media (max-width: 768px) {
  .ly_section-padding{
    padding: var(--sp-sec-padding);
  }
  .ly_section-padding-top{
    padding-top: var(--sp-sec-padding-top);
  }
  .ly_section-padding-bottom{
    padding-bottom: var(--sp-sec-padding-bottom);
  }
}
.ly_section__inner {
  max-width: 1200px;
  margin-inline: auto;
}

/* ヘルパー */
.hl_underline{
  border-bottom: 1px solid var(--black);
}
.hl_underline:hover{
  border-bottom: none;
}
/* 仕様統一のユーティリティ */
/* テキスト色変更用 */
.u-color-rmailmarketing {
  color: var(--rmailmarketing-dark) !important;
}
.u-color-white {
  color: var(--white) !important;
}
.u-color-black {
  color: var(--black) !important;
}
/* 背景カラー */
.u-color-bg-white {
  background-color: var(--white) !important;
}
.u-color-bg-gray {
  background-color: var(--gray-bg-02) !important;
}
.u-color-rmailmarketing-bg-main-01 {
  background-color: var(--rmailmarketing-bg-main) !important;
}
.u-color-rmailmarketing-bg-main-02 {
  background-color: var(--rmailmarketing-dark) !important;
}
.u-color-rmailmarketing-bg-sub-01 {
  background-color: var(--rmailmarketing-bg-sub-01) !important;
}
.u-color-rmailmarketing-bg-sub-02 {
  background-color: var(--rmailmarketing-bg-sub-02) !important;
}
.u-color-rmailmarketing-bg-sub-03 {
  background-color: var(--rmailmarketing-bg-sub-03) !important;
}
/* ctaカラー */
.u-color-cta-rmailmarketing {
  color: var(--rmailmarketing-cta) !important;
}
.u-text-bold {
  font-weight: 700 !important;
}
.u-text-underline {
  text-decoration: underline !important;
}
.u-text-highlighter {
  background: linear-gradient(transparent 75%, var(--rmailmarketing-accent) 75%);
  background-position: 0 1.3em !important;
}
.u-text-annotation {
  font-size: 10px !important;
  line-height: 1.3 !important;
}
.u-text-nowrap {
  display: inline-block;
}
/* テキストリンク */
.u-text-link {
  text-decoration: underline;
  &:hover {
    text-decoration: none;
  }
}
/* レイアウト共通セクション */
.l-common-section {
  padding: 70px 0;

  @media screen and (max-width: 840px) {
    padding: 50px 0;

    /* 背景色が連続し、かつ両方に「l-common-section--keep」がない場合のみ下余白を0にする */
    /* 【白・白】 */
    &:not([class*="u-color-"]):not(.l-common-section--keep):has(+ .l-common-section:not([class*="u-color-"]):not(.l-common-section--keep)) {
      padding-bottom: 0;
    }
    /* 【グレー・グレー】 */
    &.u-color-bg-gray:not(.l-common-section--keep):has(+ .l-common-section.u-color-bg-gray:not(.l-common-section--keep)) {
      padding-bottom: 0;
    }
    /* 【サブカラー03・サブカラー03】 */
    &.u-color-rmailmarketing-bg-sub-03:not(.l-common-section--keep):has(+ .l-common-section.u-color-rmailmarketing-bg-sub-03:not(.l-common-section--keep)) {
      padding-bottom: 0;
    }
  }
}

/* 840px以上の挙動 */
@media (min-width: 841px) {
  /* 背景色が連続し、かつ両方に「l-common-section--keep」がない場合のみ余白を50pxに縮小する */

  /* 【白・白】 */
  .l-common-section:not([class*="u-color-"]):not(.l-common-section--keep) + .l-common-section:not([class*="u-color-"]):not(.l-common-section--keep) {
    padding-top: 50px;
  }
  .l-common-section:not([class*="u-color-"]):not(.l-common-section--keep):has(+ .l-common-section:not([class*="u-color-"]):not(.l-common-section--keep)) {
    padding-bottom: 50px;
  }

  /* 【グレー・グレー】 */
  .l-common-section.u-color-bg-gray:not(.l-common-section--keep) + .l-common-section.u-color-bg-gray:not(.l-common-section--keep) {
    padding-top: 50px;
  }
  .l-common-section.u-color-bg-gray:not(.l-common-section--keep):has(+ .l-common-section.u-color-bg-gray:not(.l-common-section--keep)) {
    padding-bottom: 50px;
  }

  /* 【サブカラー03・サブカラー03】 */
  .l-common-section.u-color-rmailmarketing-bg-sub-03:not(.l-common-section--keep) + .l-common-section.u-color-rmailmarketing-bg-sub-03:not(.l-common-section--keep) {
    padding-top: 50px;
  }
  .l-common-section.u-color-rmailmarketing-bg-sub-03:not(.l-common-section--keep):has(+ .l-common-section.u-color-rmailmarketing-bg-sub-03:not(.l-common-section--keep)) {
    padding-bottom: 50px;
  }
}

.l-common-section__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  @media screen and (max-width: 1200px) {
    padding: 0 20px;
    max-width: 100%;
  }
}
/* サークルナンバー コンポーネント*/
.c-circle-number {
  width: 68px;
  height: 68px;
  border-radius: 34px;
  text-align: center;
  position: absolute;
  left: 50%;
  top: -33px;
  padding: 18px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--rmailmarketing-dark);
  z-index: 10;
  &.c-circle-number--sub-03 {
    background: var(--rmailmarketing-bg-sub-03);
  }
  &.c-circle-number--color-black {
    color: var(--black);
  }
  @media screen and (max-width: 840px) {
    width: 58px;
    height: 58px;
    left: 50%;
    transform: translateX(-50%);
    top: -27px;
    padding: 12px 0 0;
    font-size: 22px;
  }
}
.c-circle-number__text {
  font-size: 10px;
  display: block;
}
.m-card-circle__image-wrap {
  margin: 0 auto;
}

/* テキストリンク コンポーネント */
.c-textlink {
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 0 0 0 23px;
  cursor: pointer;
  color: var(--black);
  @media screen and (max-width: 840px) {
    font-size: 14px;
  }
  &::before {
    content: "";
    display: inline-block;
    background-color: var(--gray-07);
    width: 18px;
    height: 18px;
    border-radius: 9px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all ease 0.3s;
  }
  &::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translate3d(-50%, -50%, 0) rotate(45deg);
    transition: all ease 0.3s;
  }
  &:hover {
    &::before {
      left: -3px;
    }
    &::after {
      left: 5px;
    }
  }
}
/* アンカーリンク コンポーネント */
.c-anchorlink-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  @media screen and (max-width: 1024px) {
    flex-wrap: wrap;
  }
  @media screen and (max-width: 600px) {
    flex-direction: column;
  }
}
.c-anchorlink-box-link {
  position: relative;
  display: grid;
  place-content: center;
  width: 290px;
  height: 90px;
  padding: 10px;
  color: var(--rmailmarketing-dark);
  font-size: 16px;
  font-weight: bold;
  background: var(--white);
  border-radius: 10px;
  @media screen and (max-width: 600px) {
    flex-basis: auto;
    width: 100%;
    height: 70px;
  }
  &::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 10px;
    width: 8px;
    height: 8px;
    margin: auto;
    border-top: 2px solid var(--rmailmarketing-dark);
    border-right: 2px solid var(--rmailmarketing-dark);
    transition: all ease 0.3s;
    transform: translate(-50%, -50%) rotate(135deg);
    z-index: 10;
  }
  &:hover {
    color: var(--white);
    background: var(--rmailmarketing-dark);
    &::after {
      border-top: 2px solid var(--white);
      border-right: 2px solid var(--white);
    }
  }
}
.c-anchorlink-box-link__text {
  position: relative;
  top: -3px;
  text-align: center;
  line-height: 1.1;
}
