/* ===================================================
  common-renewal.css
  全ページ共通：変数 / フォント / リセット / ヘッダー / フッター / 共通UI
=================================================== */

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

article,
aside,
dialog,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

html {
  margin-top: 0 !important;
  height: 100%;
}

body {
  width: 100%;
  min-height: 100vh;

  color: var(--maeq-black01);
  font-family:
    "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  font-size: 16px;
  font-weight: var(--w-regular);
  letter-spacing: 0.01em;
  line-height: 1.8;
}

@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }
}

body.fixed {
  position: fixed;
  width: 100%;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

a:hover {
  opacity: 0.8;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

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

input,
select {
  vertical-align: middle;
}

:root {
  --maeq-white: #ffffff;
  --maeq-header-white: rgba(255, 255, 255, 0.8);
  --maeq-bg01: #EFF2F4;
  --maeq-bg02: #E2EDF3;
  --maeq-bg03: #B6CCDB;

  --maeq-gray01: #F9F9F9;
  /* bg */

  --maeq-gray02: #959595;
  /* input */

  --maeq-gray03: #BABABA;
  /* iput text */

  --maeq-gray04: #B1B1B1;
  /* no acctive button */

  --maeq-gray05: #636363;
  /* back button */

  --maeq-gray06: #BFC1C2;
  /* form flow no active */

  --maeq-gray07: #9BA8BA;
  /* box-shadow */

  --maeq-navy01: #173574;
  /* light */

  --maeq-navy02: #17294F;
  /* nomal */

  --maeq-navy03: #1F3B78;
  /* form flow */

  --maeq-navy04: rgba(23, 41, 79, 0.2);
  /* CTA bg */

  --maeq-black01: #333333;
  --maeq-black02: #111111;
  --maeq-yellow: #F6E242;
  --maeq-link: #0000EE;

  --lalapay-navy: #0D3157;

  --site-base-container: 1200px;
  --tran-opacity-a: opacity 0s ease-out, visibility 0s ease-out;
  --tran-move: transform 0.15s ease-out, visibility 0.15s ease-out;
  --tran-opacity-bg: opacity 0.15s ease-out, visibility 0.15s ease-out;
  --header-height: 80px;
  --contents-max-width: 980px;

  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;
  --w-black: 900;
}

@media screen and (max-width: 767px) {
  :root {
    --header-height: 60px;
  }
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/NotoSansJP-Light.ttf") format("truetype");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/NotoSansJP-Regular.ttf") format("truetype");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/NotoSansJP-Medium.ttf") format("truetype");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/NotoSansJP-SemiBold.ttf") format("truetype");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/NotoSansJP-Bold.ttf") format("truetype");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/NotoSansJP-Black.ttf") format("truetype");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html,
body {
  font-size: 16px;
}

h1 {
  margin: 0;
}

h2 {
  margin: 0;
}

h3 {
  margin: 0;
}

h4 {
  margin: 0;
}

h5 {
  margin: 0;
}

h6 {
  margin: 0;
}

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

a {
  color: var(--maeq-black01);
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
  outline: none;
}

p {
  margin: 0;
}

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

main {
  display: block;
}

button {
  border: none;
  background: none;
  padding: 0;
}

button:focus {
  outline: none;
}

.page-anchor {
  display: block;
  width: 0;
  height: 0;
  color: transparent;
  background: none;
  margin-top: calc(var(--header-height) * -1);
  padding-top: calc(var(--header-height));
  opacity: 0;
  position: absolute;
  z-index: -1;
  visibility: hidden;
}

.font-en {
  font-family: "Cantarell", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "YuGothic", "メイリオ", "Meiryo", sans-serif !important;
}

.font-ja {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
  letter-spacing: 0.01em;
}

.maeq-main {
  margin-top: var(--header-height);
}

.totop-wrap {
  position: fixed;
  right: 40px;
  bottom: 30px;
  opacity: 0;
  -webkit-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
  pointer-events: none;
  background-color: var(--c-blue01);
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  border: 1px solid var(--c-white01);
  z-index: 9999;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .totop-wrap {
    right: 20px;
  }
}

.totop-wrap .totop {
  position: relative;
  width: 100%;
  height: 100%;
}

.totop-wrap .totop::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 2px var(--c-white01);
  border-right: solid 2px var(--c-white01);
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
  margin-top: 3px;
}

.totop-wrap.is-visible {
  opacity: 1;
  pointer-events: auto;
}


/* ========================================
  前給LP ヘッダー
======================================== */

.maeq-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 0 40px;
  background-color: var(--maeq-header-white);
}

.maeq-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: var(--header-height);
}

.maeq-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}


/* ========================================
  PC左側：ロゴ＋メニュー
======================================== */

.maeq-header__left {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}


/* ロゴ */

.header-logo {
  width: 87px;
  margin: 0;
  flex-shrink: 0;
}

.header-logo>a {
  display: block;
  width: 100%;
}

.header-logo>a>img {
  display: block;
  width: 100%;
  height: auto;
}


/* ========================================
  PCメニュー
======================================== */

.g-nav__inner {
  display: block;
}

.g-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.g-nav-list__li {
  position: relative;
}

.g-nav-list__li>a {
  display: block;
  padding: 10px 0;
  color: var(--maeq-navy02);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--tran-opacity-a);
}

.g-nav-list__li>a:hover {
  opacity: 0.7;
}


/* ========================================
  PC右側：ログイン＋CTA
======================================== */

.maeq-header__right {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}


/* 従業員ログイン */

.header-login {
  color: var(--maeq-navy02);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--tran-opacity-a);
}

.header-login:hover {
  opacity: 0.7;
}


/* CTAボタン */

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta__button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px 24px;
  border: 2px solid var(--maeq-navy02);
  border-radius: 100px;
  color: var(--maeq-navy02);
  font-size: 16px;
  font-weight: var(--w-semibold);
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(23, 41, 79, 0.35);
  transition: var(--tran-opacity-a);
}

.header-cta__button:hover {
  opacity: 0.7;
}

.header-cta__button:active {
  opacity: 1;
  box-shadow: none;
}

.header-cta__button--white {
  background-color: var(--maeq-white);
}

.header-cta__button--yellow {
  background-color: var(--maeq-yellow);
}


/* ========================================
  PCでは非表示にする要素
======================================== */

.header-sp-login,
.header-hamb,
.g-nav-closebtn,
.g-nav-sp-actions,
.g-nav-overlay {
  display: none;
}


/* ========================================
  1200px以下
======================================== */

@media screen and (max-width: 1200px) {
  .maeq-header-wrap {
    padding: 0 20px;
  }

  .maeq-header__left {
    gap: 24px;
  }

  .header-logo {
    width: 76px;
  }

  .g-nav-list {
    gap: 12px;
  }

  .g-nav-list__li>a {
    font-size: 14px;
  }

  .maeq-header__right {
    gap: 18px;
  }

  .header-login {
    font-size: 14px;
  }

  .header-cta {
    gap: 10px;
  }

  .header-cta__button {
    min-height: 42px;
    padding: 8px 15px;
    font-size: 14px;
  }
}


/* ========================================
  991px以下
======================================== */

@media screen and (max-width: 991px) {
  .maeq-header__left {
    gap: 15px;
  }

  .g-nav-list {
    gap: 8px;
  }

  .g-nav-list__li>a {
    font-size: 12px;
  }

  .maeq-header__right {
    gap: 10px;
  }

  .header-login {
    font-size: 12px;
  }

  .header-cta {
    gap: 6px;
  }

  .header-cta__button {
    padding: 7px 10px;
    font-size: 12px;
  }

  .header-logo {
    width: 69px;
  }
}


/* ========================================
  スマホ：767px以下
======================================== */

@media screen and (max-width: 767px) {
  .maeq-header-wrap {
    padding: 0 17px;
    background-color: rgba(255, 255, 255, 0.96);
  }

  .maeq-header {
    height: 60px;
  }

  .maeq-header__inner {
    position: relative;
  }


  /* PC用の右側メニューを非表示 */

  .maeq-header__right {
    display: none;
  }


  /* 左側グループ */

  .maeq-header__left {
    display: block;
    flex-shrink: 0;
  }


  /* ロゴ */

  .header-logo {
    width: 69px;
  }


  /* ヘッダー内の従業員ログイン */

  .header-sp-login {
    display: block;
    position: relative;
    margin-right: 20px;
    margin-left: auto;
    padding-right: 16px;
    color: var(--maeq-navy02);
    font-size: 14px;
    font-weight: var(--w-medium);
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
  }

  .header-sp-login::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
  }


  /* ハンバーガーボタン */

  .header-hamb {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--maeq-navy02);
    cursor: pointer;
    flex-shrink: 0;
  }

  .header-hamb__line {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--maeq-white);
  }


  /* ========================================
    スマホドロワーメニュー
  ======================================== */

  .g-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: calc(100% - 75px);
    max-width: 300px;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 30px 40px;
    overflow-y: auto;
    background-color: var(--maeq-white);
    box-shadow: 0 0 10px -5px #b0b0b0;
    visibility: hidden;
    transform: translateX(105%);
    transition: var(--tran-move);
  }

  .g-nav.open {
    visibility: visible;
    transform: translateX(0);
  }

  .g-nav__inner {
    display: block;
  }


  /* 閉じるボタン */

  .g-nav-closebtn {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0 0 30px auto;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--maeq-navy02);
    cursor: pointer;
  }

  .g-nav-closebtn::before,
  .g-nav-closebtn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 2px;
    background-color: var(--maeq-white);
  }

  .g-nav-closebtn::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .g-nav-closebtn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }


  /* メニューリスト */

  .g-nav-list {
    display: block;
    margin: 0;
    padding: 0;
  }

  .g-nav-list__li {
    width: 100%;
    border-bottom: 2px solid var(--maeq-gray02);
  }

  .g-nav-list__li>a {
    display: block;
    position: relative;
    width: 100%;
    padding: 16px 20px 10px 0;
    color: var(--maeq-black01);
    font-size: 16px;
    line-height: 1.5;
  }

  .g-nav-list__li>a.arrow-right::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 3px;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
  }


  /* ========================================
    スマホメニュー内のログイン・CTA
  ======================================== */

  .g-nav-sp-actions {
    display: block;
  }

  .g-nav-login {
    display: block;
    position: relative;
    margin: 30px 0 20px;
    padding-right: 18px;
    color: var(--maeq-black01);
    font-size: 15px;
    font-weight: var(--w-medium);
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
  }

  .g-nav-login::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 27px;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
  }


  /* スマホメニュー内CTA */

  .g-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .g-nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 45px;
    padding: 8px 15px;
    border: 2px solid var(--maeq-navy02);
    border-radius: 100px;
    color: var(--maeq-navy02);
    font-size: 15px;
    font-weight: var(--w-semibold);
    line-height: 1.5;
    text-decoration: none;
    box-shadow: 0 2px 2px rgba(23, 41, 79, 0.35);
  }

  .g-nav-btn--white {
    background-color: var(--maeq-white);
  }

  .g-nav-btn--yellow {
    background-color: var(--maeq-yellow);
  }


  /* ========================================
    メニュー外側の背景
  ======================================== */

  .g-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background-color: rgba(23, 41, 79, 0.18);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: var(--tran-opacity-bg);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .g-nav-overlay {
    opacity: 1;
    visibility: visible;
  }
}

/* ========================================
  フッター
======================================== */

/* -- フッター前幾何学 -- */
.pattern {
  height: 34px;
  background: url(../img/common/deco_footer.png);
  background-repeat: repeat-x;
  background-size: cover;
  background-position: center;
}

@media(max-width:480px) {
  .pattern {
    height: 20px
  }
}

.footer-logo {
  width: 83px;
}

.footer-logo img {
  width: 100%;
}

.footer-inner {
  max-width: var(--contents-max-width);
  margin: auto;
  display: flex;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 127px;
  justify-content: space-between;
}

.footer-menu {
  display: flex;
  gap: 48px;
  font-size: 16px;
}

.footer-menu a {
  font-weight: var(--w-medium);
  text-decoration: underline;
}

.copyright {
  margin: 0;
  border-top: 1px solid var(--maeq-black01);
  padding: 20px;
  text-align: center;
  font-size: 12px;
}

@media screen and (max-width: 1060px) {
  .footer-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media screen and (max-width: 767px) {
  .footer-logo {
    width: 69px;
  }

  .footer-inner {
    align-items: flex-start;
    height: auto;
    padding: 45px 24px;
    gap: 30px;
  }
}

@media screen and (max-width: 650px) {
  .footer-menu {
    flex-direction: column;
    gap: 16px;
    padding-top: 10px;
  }
}

@media screen and (max-width: 375px) {
  .footer-inner {
    flex-direction: column;
  }
}

/* ========================================
  リンク色
======================================== */
.maeq-link {
  color: var(--maeq-link);
  font-weight: var(--w-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.maeq-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.7;
}

/* ========================================
  font-weight
======================================== */
.weight-600 {
  font-weight: var(--w-semibold);
}


/* ========================================
  デバイスごとの表示・非表示
======================================== */

/* ----- 575px以下 非表示 ----- */
@media screen and (max-width: 575px) {
  .sm-none {
    display: none;
  }
}

/* ----- 767px以下 非表示 ----- */
@media screen and (max-width: 767px) {
  .md-none {
    display: none;
  }
}

/* ----- 767px以下 表示 ----- */
.md-block {
  display: none;
}

@media screen and (max-width: 767px) {
  .md-block {
    display: block;
  }
}

/* ----- 1324px以下 非表示 ----- */
@media screen and (max-width: 1324px) {
  .lg-none {
    display: none;
  }
}

/* ----- 1324px以下 表示 ----- */
.lg-block {
  display: none;
}

@media screen and (max-width: 1324px) {
  .lg-block {
    display: block;
  }
}


/*---------------------------------------------
キーボードフォーカス
---------------------------------------------*/

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--maeq-navy02);
  outline-offset: 2px;
}

/* ========================================
  ボタンの共通エフェクト
======================================== */

.maeq-button-effect {
  box-shadow: 0 2px 4px rgba(23, 41, 79, 0.35);
  transition: var(--tran-opacity-a);
}

.maeq-button-effect:hover {
  opacity: 0.7;
}

.maeq-button-effect:active {
  opacity: 1;
  box-shadow: none;
}

/* ========================================
  スマホ固定CTA
======================================== */

.sp-fixed-cta {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp-fixed-cta {
    position: fixed;
    z-index: 9000;
    bottom: 0;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    min-height: 88px;
    padding:
      16px 20px calc(16px + env(safe-area-inset-bottom));

    background-color: rgba(23, 41, 79, 0.2);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-50%);

    transition:
      opacity 0.3s ease-out,
      visibility 0s linear 0.3s;
  }

  .sp-fixed-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
      opacity 0.3s ease-out,
      visibility 0s linear 0s;
  }


  /* CTAボタン */

  .sp-fixed-cta__button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    width: 100%;
    max-width: 279px;
    height: 56px;
    padding: 12px 50px;

    border: 2px solid var(--maeq-navy02);
    border-radius: 100px;

    color: var(--maeq-white);
    background-color: var(--maeq-navy02);

    font-size: 18px;
    font-weight: var(--w-bold);
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    text-decoration: none;

    /* 黒25%のシャドー */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  }

  /* お問い合わせの文字 */

  .sp-fixed-cta__button span {
    display: block;

    width: 100%;

    text-align: center;
    white-space: nowrap;
  }

  .sp-fixed-cta__button:hover {
    opacity: 0.7;
  }

  .sp-fixed-cta__button:active {
    opacity: 1;
    box-shadow: none;
  }


  /* 矢印 */

  .sp-fixed-cta__button img {
    position: absolute;
    top: 50%;
    right: 24px;

    display: block;

    width: 10px;
    height: 20px;

    object-fit: contain;

    transform: translateY(-50%);
  }

  /* ボタンエフェクト */

  .sp-fixed-cta__button:hover {
    opacity: 0.7;
  }

  .sp-fixed-cta__button:active {
    opacity: 1;
    box-shadow: none;
  }
}

/* ========================================
  共通の横長ピル型ボタン
======================================== */

.maeq-pill-button {
  display: flex;
  align-items: center;

  box-sizing: border-box;
  width: 350px;
  height: 72px;

  border: 2px solid var(--maeq-navy02);
  border-radius: 100px;

  font-weight: var(--w-bold);
  text-decoration: none;
}

/* ========================================
  最終CTA
======================================== */

.closing-cta {
  position: relative;
  isolation: isolate;

  padding: 60px 20px;

  overflow: hidden;

  background-color: var(--maeq-navy01);
}


/* 中間CTAと共通の幾何学画像 */

.middle-cta::before,
.closing-cta::before {
  content: "";

  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;

  height: 138px;

  background-image: url("../img/common/deco_CTA.png");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 138px;

  pointer-events: none;
}

.closing-cta__inner {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 470px));
  justify-content: center;
  align-items: stretch;
  gap: 40px;

  width: min(980px, 100%);
  margin-inline: auto;
}


/* ========================================
  最終CTA：カード
======================================== */

.closing-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;

  box-sizing: border-box;
  min-width: 0;
  padding: 40px 40px 50px;

  border: 2px solid var(--maeq-navy02);
  border-radius: 16px;
}

@media (hover: hover) {
  .closing-cta-card {
    transition: transform 0.05s ease-out;
  }

  .closing-cta-card:hover {
    transform: translateY(-4px);
  }
}

.closing-cta-card--contact {
  background-color: var(--maeq-white);
}

.closing-cta-card--download {
  background-color: var(--maeq-yellow);
}


/* ========================================
  最終CTA：カードタイトル
======================================== */

.closing-cta-card__title {
  width: 100%;
  margin: 0;

  color: var(--maeq-navy02);
  font-size: 26px;
  font-weight: var(--w-bold);
  line-height: 1.5;
  text-align: center;
}


/* ========================================
  最終CTA：説明部分
======================================== */

.closing-cta-card__detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  width: 100%;
}

.closing-cta-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 89px;

  width: 89px;
  height: 100px;

  overflow: hidden;
}

.closing-cta-card__icon img {
  display: block;

  object-fit: contain;
}

.closing-cta-card__icon--contact img {
  width: 90%;
}

.closing-cta-card__icon--download img {
  width: 81px;
  height: 99px;
}


/* ========================================
  最終CTA：説明文
======================================== */

.closing-cta-card__description {
  min-width: 0;

  color: var(--maeq-navy02);
  font-size: 16px;
}

.closing-cta-card__description>p {
  margin: 0 0 4px;

  font-size: 16px;
  font-weight: var(--w-bold);
  line-height: 1.5;
}

.closing-cta-card__description ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.closing-cta-card__description li {
  position: relative;

  padding-left: 1em;

  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.5;
}

.closing-cta-card__description li::before {
  content: "・";

  position: absolute;
  top: 0;
  left: 0;
}


/* ========================================
  最終CTA：ボタン共通
======================================== */

.closing-cta-button {
  position: relative;

  flex: 0 0 auto;

  max-width: 100%;

  color: var(--maeq-navy02);
}

.closing-cta-button__arrow {
  display: block;
  flex: 0 0 auto;

  width: 13px;
  height: 26px;
  margin-left: auto;

  object-fit: contain;
}


/* ========================================
  最終CTA：お問い合わせボタン
======================================== */

.closing-cta-button--contact {
  justify-content: center;

  padding: 12px 24px 12px 104px;

  color: var(--maeq-white);
  background-color: var(--maeq-navy02);
}

.closing-cta-button--contact strong {
  color: var(--maeq-white);
  font-size: 24px;
  font-weight: var(--w-bold);
  line-height: 1;
  white-space: nowrap;
}

.closing-cta-button--contact .closing-cta-button__arrow {
  margin-left: 60px;
}


/* ========================================
  最終CTA：資料ダウンロードボタン
======================================== */

.closing-cta-button--download {
  justify-content: flex-end;
  gap: 14px;

  padding: 8px 24px;

  color: var(--maeq-navy02);
  background-color: var(--maeq-white);
}

.closing-cta-button__free {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  padding: 6px 10px;

  border-radius: 4px;

  color: var(--maeq-white);
  background-color: var(--maeq-navy02);

  font-size: 20px;
  font-weight: var(--w-semibold);
  letter-spacing: 2px;
  line-height: 1;
}

.closing-cta-button__download-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;

  color: var(--maeq-navy02);
  white-space: nowrap;
}

.closing-cta-button__download-text small {
  font-size: 15px;
  font-weight: var(--w-bold);
  line-height: 1.2;
}

.closing-cta-button__download-text strong {
  font-size: 22px;
  font-weight: var(--w-bold);
  line-height: 1.2;
}


/* ========================================
  最終CTA：スマホ
======================================== */

@media screen and (max-width: 767px) {
  .closing-cta {
    padding: 60px 20px 48px;
  }

  .closing-cta::before {
    height: 74px;

    background-size: auto 74px;
  }

  .closing-cta__inner {
    grid-template-columns: minmax(0, 470px);
    gap: 24px;
  }


  /* カード */

  .closing-cta-card {
    gap: 24px;

    padding: 28px 20px 32px;

    border-radius: 14px;
  }


  /* タイトル */

  .closing-cta-card__title {
    font-size: 22px;
  }


  /* 説明 */

  .closing-cta-card__detail {
    gap: 16px;
  }

  .closing-cta-card__icon {
    flex-basis: 70px;

    width: 70px;
    height: 82px;
  }

  .closing-cta-card__icon--contact img {
    width: 69px;
    height: 53px;
  }

  .closing-cta-card__icon--download img {
    width: 65px;
    height: 80px;
  }

  .closing-cta-card__description,
  .closing-cta-card__description>p,
  .closing-cta-card__description li {
    font-size: 13px;
  }


  /* ボタン共通 */

  .closing-cta-button {
    width: 100%;
    height: 64px;
  }

  .closing-cta-button__arrow {
    width: 13px;
    height: 26px;
  }


  /* お問い合わせボタン */

  .closing-cta-button--contact {
    position: relative;

    justify-content: center;

    padding: 10px 44px;
  }

  .closing-cta-button--contact strong {
    font-size: 20px;
    text-align: center;
  }

  .closing-cta-button--contact .closing-cta-button__arrow {
    position: absolute;
    top: 50%;
    right: 18px;

    margin-left: 0;

    transform: translateY(-50%);
  }


  /* 資料ダウンロードボタン */

  .closing-cta-button--download {
    position: relative;

    justify-content: center;
    gap: 0;

    padding: 8px 42px 8px 82px;
  }

  .closing-cta-button__free {
    position: absolute;
    top: 50%;
    left: calc(50% - 110px);

    padding: 5px 8px;

    font-size: 16px;

    transform: translateY(-50%);
  }

  .closing-cta-button__download-text {
    align-items: center;

    text-align: center;
  }

  .closing-cta-button__download-text small {
    font-size: 12px;
  }

  .closing-cta-button__download-text strong {
    font-size: 18px;
  }

  .closing-cta-button--download .closing-cta-button__arrow {
    position: absolute;
    top: 50%;
    right: 18px;

    margin-left: 0;

    transform: translateY(-50%);
  }
}