/* ---------------
上書きCSS
-----------------*/

.wrapper {
	min-width: 100% !important;
}

.l-inner {
	overflow: inherit !important;
}

.pane-footer {
	margin-top: 0 !important;
}

#lplayout picture img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

#lplayout {
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 400;
	font-style: normal;
}
h1{
	margin: 0;
}
/* ---------------
共通CSS
-----------------*/
.mail_magazine_features{
	margin:40px auto 65px
}
.mail_magazine_title{
	text-align: center;
	margin-bottom: 42px;
	display: block
}
.mail_magazine_title span{
	color: #165bb2;
	font-size: 30px;
	padding-bottom: .2em;
	font-weight: 700;
	display: inline;
  background:linear-gradient(transparent 95%, #0050a0 0%);
}

/* 全体コンテナのスタイル */
.benefit-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 880px;
  margin: 20px auto;
}

/* カード1枚のスタイル */
.benefit-card {
  position: relative;
  flex: 1 1 calc(50% - 20px); /* 2カラム表示 */
  min-width: 300px;
	min-height: 257px;
  border: 3px solid #0050a0;
  border-radius: 30px;
  background-color: #fff;
  overflow: hidden; /* ラベルのはみ出しを隠す */
  box-sizing: border-box;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
	justify-content: end;
}

/* 左上の斜めラベル */
.label {
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, #0050a0 50%, transparent 50%);
  color: #fff;
  font-weight: bold;
  padding-left: 8px;
  padding-top: 5px;
  line-height: 1;
  text-align: left;
  font-size: 28px;
	padding: 12px;
}

.label span {
  font-size: 33px;
  margin-left: 14px;
}

/* コンテンツ部分 */
.icon {
  margin-bottom: 15px;
}

.benefit-card-text {
  font-size: 26px;
  font-weight: 700;
  color: #303234;
  line-height: 1.2;
  margin: 0;
}

/* 赤字の強調 */
.highlight-red {
  color: #e60012;
  font-size: 36px;
}
.mail_magazine_howto{
	padding: 60px 0 1px;
}
.bg-gy{
	background: #f5f5f5
}
.mail_magazine_howto .read{
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 40px;
	text-align: center;
}
.btnwrap{
	display: flex;
	gap:20px;
	justify-content: center;
	margin-bottom: 56px
}
.btnstyle{
	background: #fff;
	border: 2px solid #0050a0;
	font-size: 20px;
	min-height: 60px;
	border-radius: 30px;
	min-width: 255px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #0050a0;
	font-weight: 700
}
.mail_magazine_howto_article{
	max-width: 880px;
	margin: 0 auto 65px
}
.mail_magazine_howto_title{
	font-size: 25px;
	font-weight: 700;
	color: #0050a0;
	padding-bottom: 5px;
	border-bottom: 3px solid #0050a0;
	margin-bottom: 40px
}
/* 全体のコンテナ */
.flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
	margin-bottom: 45px
}

.flow-step {
  flex: 1;
  max-width: 320px;
}

.device-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.flow-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 20px;
  border-color: transparent transparent transparent #000000;
  flex-shrink: 0;
}
.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
	min-height: 58px;
  margin: 0 auto;
  background-color: #e60012;
  color: #ffffff;
  border-radius: 30px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
  position: relative;
  padding-left: 20px;
}

.cta-button:hover {
  background-color: #ff1a2b;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #ffffff;
  border-radius: 50%;
  display: block;
}

.cta-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(25% + 11px);
  transform: translateY(-50%);
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #e60012;
}
@media (max-width: 768px) {
	.mail_magazine_title span{
		font-size: 25px;
  padding-bottom: .1em;
	}
	.benefit-card-text{
		font-size: 24px
	}
	.benefit-card-text span{
		font-size: 30px
	}
  .benefit-card {
    flex: 1 1 100%;
  }
	.flow-container {
    flex-direction: column;
    gap: 0;
  }

  .flow-step {
    width: 100%;
    max-width: 300px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    border-width: 15px 0 15px 20px;
    margin: 10px 0;
  }
	.btnwrap {
  gap: 10px;
  flex-direction: column;
}
	.mail_magazine_howto,.mail_magazine_features{
		padding-right: 5%;
		padding-left: 5%;
	}
	.cta-button::before{
		left: 10px
	}
	.cta-button::after{
		left: 21px
	}
	.mail_magazine_howto_title{
		font-size: 22px
	}
}