/* ヘッダー */
.header {
  background: #fff;
  border-bottom: 1px solid var(--sub-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

/* ロゴ */
.logo-img {
  width: 180px;
  height: auto;
  display: block;
}



/* ログインボタン */
.login-btn {
  background: #3e3a3a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* キャンペーンバー */
.campaign-bar {
  background: #3e3a3a;
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: bold;
}

.campaign-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}


/* サイトマップ */

.breadcrumb {
  max-width: 1000px;   /* 会社概要と同じ幅 */
  margin: 30px auto 20px;
  padding: 0 20px;
  text-align: left;    /* センターやめる */
  font-size: 14px;
}

.breadcrumb a {
  color: #3e3a3a;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
  color: #666;
}


/* フッター */


.footer {
  background: #3e3a3a;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 30px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-row a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  text-align: center;
}

.footer-copy p {
  font-size: 12px;
  color: #ccc;
}

.footer-logo-img {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

.hero {
  text-align: center;
  overflow: hidden;
  background: #fff;
}

.hero picture {
  display: block;
}

.hero img {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
}

/* スマホだけ縮小 */
@media (max-width: 768px) {
  .hero img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* ハンバーガー */

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  .header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #3e3a3a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
  }

  .logo {
    flex: 1;
  }
}

/* ロゴ */
.logo-img {
  width: 180px;
  height: auto;
  display: block;
}

/* ナビ PC */
.nav-pc {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-pc a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* ナビ SP */
.nav-sp {
  display: none;
}

.nav-sp a {
  text-decoration: none;
  color: #3e3a3a;
  font-size: 14px;
}

/* ログインボタン */
.login-btn {
  background: #3e3a3a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* ハンバーガー */
.menu-toggle {
  display: none;
}

/* スマホ */
@media (max-width: 768px) {

  .header-inner {
    gap: 12px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #3e3a3a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
  }

  .logo {
    flex: 1;
  }

  .nav-pc {
    display: none;
  }

  .nav-sp {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    z-index: 9999;
  }

  .nav-sp.active {
    display: flex;
  }

  .nav-sp a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-sp a:last-child {
    border-bottom: none;
  }
}



/* ----------------基本CSS -----------------------------------*/



/* =========================
   クーポン使い方ページ
========================= */

.coupon-howto-page {
  padding: 40px 20px 80px;
  background: #fff;
}

.coupon-howto-heading {
  max-width: 1000px;
  margin: 0 auto 45px;
  text-align: center;
}

.coupon-howto-heading h1 {
  font-size: 40px;
  color: #3e3a3a;
  margin-bottom: 15px;
}

.coupon-howto-heading p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.coupon-main-box,
.coupon-flow,
.coupon-cta {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 40px 30px;
  background: #f8f8f8;
  border-radius: 16px;
  text-align: center;
}

.coupon-main-box h2,
.coupon-flow h2,
.coupon-cta h2 {
  display: inline-block;
  background: #e6e5ef;
  color: #3e3a3a;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 28px;
  margin-bottom: 28px;
}

.coupon-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 20px 0 25px;
}

.coupon-card {
  width: 280px;
  background: #fff;
  border: 3px solid #ff8c00;
  border-radius: 18px;
  padding: 26px 18px;
  box-shadow: 0 8px 24px rgba(255,140,0,.18);
}

.coupon-card span {
  display: block;
  font-size: 17px;
  color: #555;
  font-weight: 700;
  margin-bottom: 10px;
}

.coupon-card strong {
  display: block;
  font-size: 42px;
  color: #ff6b00;
  line-height: 1.2;
}

.coupon-plus {
  font-size: 42px;
  font-weight: 900;
  color: #3e3a3a;
}

.coupon-note {
  font-size: 16px;
  color: #555;
  line-height: 1.9;
}

.coupon-step-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.coupon-step {
  background: #fff;

  border: 2px solid #ced7dc;   /* 外枠追加 */

  border-radius: 14px;
  padding: 24px 22px;

  box-shadow: 0 4px 14px rgba(0,0,0,.06);

  margin-bottom: 20px;
}

.coupon-step span {
  display: inline-block;
  background: #ced7dc;
  color: #3e3a3a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.coupon-step h3 {
  font-size: 20px;
  color: #3e3a3a;
  margin: 0 0 10px;
}

.coupon-step p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

.coupon-caution {
  background: #fff8e8;
}

.coupon-caution ul {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 22px;
  text-align: left;
}

.coupon-caution li {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 8px;
}

.coupon-cta {
  background: #e6e5ef;
}

.coupon-cta p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}

.coupon-button-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.coupon-btn {
  display: inline-block;
  width: 260px;
  padding: 15px 20px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  box-sizing: border-box;
}

.coupon-btn-line {
  background: #06C755;
  color: #fff;
}

.coupon-btn-main {
  background: #ff8c00;
  color: #fff;
}

.coupon-btn:hover {
  opacity: .88;
}

@media (max-width: 768px) {
  .coupon-howto-page {
    padding: 30px 16px 60px;
  }

  .coupon-howto-heading h1 {
    font-size: 28px;
    line-height: 1.5;
  }

  .coupon-howto-heading p {
    font-size: 14px;
  }

  .coupon-main-box,
  .coupon-flow,
  .coupon-cta {
    padding: 30px 18px;
  }

  .coupon-main-box h2,
  .coupon-flow h2,
  .coupon-cta h2 {
    font-size: 22px;
    line-height: 1.5;
  }

  .coupon-card {
    width: 100%;
    box-sizing: border-box;
  }

  .coupon-plus {
    width: 100%;
    text-align: center;
    font-size: 34px;
  }

  .coupon-step-list {
    grid-template-columns: 1fr;
  }

  .coupon-btn {
    width: 100%;
  }
}

.coupon-step-img {
  width: 100%;
  margin: 0 0 16px;
  text-align: center;
}

.coupon-step-img img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}


/* =========================
   マイページ使い方
========================= */

.mypage-howto-page {
  padding: 40px 20px 80px;
  background: #fff;
}

.mypage-howto-heading {
  max-width: 1000px;
  margin: 0 auto 45px;
  text-align: center;
}

.mypage-howto-heading h1 {
  font-size: 40px;
  color: #3e3a3a;
  margin-bottom: 15px;
}

.mypage-howto-heading p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* 共通ボックス */

.mypage-howto-box,
.mypage-howto-flow,
.mypage-howto-cta {

  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 40px 30px;

  background: #f8f8f8;

  border-radius: 16px;

}

.mypage-howto-box h2,
.mypage-howto-flow h2,
.mypage-howto-cta h2 {

  display: inline-block;

  background: #e6e5ef;

  color: #3e3a3a;

  padding: 12px 24px;

  border-radius: 999px;

  font-size: 28px;

  margin-bottom: 30px;

}

/* =========================
   できること一覧
========================= */

.mypage-feature-list{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;

}

.mypage-feature-card{

    background:#fff;

    border:2px solid #e6e5ef;

    border-radius:16px;

    padding:25px;

    text-align:center;

    box-shadow:0 6px 18px rgba(0,0,0,.05);

}

.mypage-feature-card span{

    display:block;

    font-size:42px;

    margin-bottom:15px;

}

.mypage-feature-card strong{

    display:block;

    font-size:20px;

    margin-bottom:12px;

    color:#3e3a3a;

}

.mypage-feature-card p{

    color:#666;

    line-height:1.8;

    font-size:15px;

}

/* =========================
   STEP
========================= */

.mypage-step-list{

    display:flex;
    flex-direction:column;
    gap:25px;

}

.mypage-step{

    background:#fff;

    border:2px solid #e6e5ef;

    border-radius:16px;

    padding:25px;

    box-shadow:0 6px 18px rgba(0,0,0,.05);

}

.mypage-step span{

    display:inline-block;

    background:#ced7dc;

    color:#3e3a3a;

    padding:6px 15px;

    border-radius:999px;

    font-size:13px;

    font-weight:bold;

    margin-bottom:15px;

}

.mypage-step h3{

    font-size:24px;

    color:#3e3a3a;

    margin-bottom:15px;

}

.mypage-step p{

    font-size:16px;

    color:#555;

    line-height:1.9;

}

/* =========================
   注意事項
========================= */

.mypage-caution{

    background:#fff8e8;

}

.mypage-caution ul{

    max-width:800px;

    margin:0 auto;

    padding-left:20px;

}

.mypage-caution li{

    margin-bottom:10px;

    line-height:1.9;

    color:#555;

}

/* =========================
   CTA
========================= */

.mypage-howto-cta{

    background:#e6e5ef;

    text-align:center;

}

.mypage-howto-cta p{

    color:#666;

    line-height:1.8;

    margin-bottom:25px;

}

.mypage-button-wrap{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

}

.mypage-btn{

    display:inline-block;

    width:260px;

    padding:15px 20px;

    border-radius:999px;

    text-align:center;

    text-decoration:none;

    font-weight:bold;

    transition:.2s;

}

.mypage-btn:hover{

    opacity:.9;

}

.mypage-btn-main{

    background:#ff8c00;

    color:#fff;

}

.mypage-btn-line{

    background:#06C755;

    color:#fff;

}

/* =========================
   スマホ
========================= */

@media(max-width:768px){

.mypage-howto-page{

    padding:30px 16px 60px;

}

.mypage-howto-heading h1{

    font-size:28px;

}

.mypage-howto-heading p{

    font-size:14px;

}

.mypage-howto-box,
.mypage-howto-flow,
.mypage-howto-cta{

    padding:30px 18px;

}

.mypage-howto-box h2,
.mypage-howto-flow h2,
.mypage-howto-cta h2{

    font-size:22px;

}

.mypage-feature-list{

    grid-template-columns:1fr;

}

.mypage-feature-card{

    padding:20px;

}

.mypage-step{

    padding:20px;

}

.mypage-step h3{

    font-size:20px;

}

.mypage-step p{

    font-size:15px;

}

.mypage-btn{

    width:100%;

}

}

.mypage-top-image{

    max-width:900px;

    margin:35px auto 0;

    text-align:center;

}

.mypage-top-image img{

    width:100%;

    max-width:900px;

    height:auto;

    border-radius:16px;

    border:2px solid #e6e5ef;

    box-shadow:0 8px 24px rgba(0,0,0,.08);

}

.mypage-step{
    position:relative;
}

.recommend-badge{

    position:absolute;
    top:18px;
    right:18px;

    background:#ff6b00;

    color:#fff;

    padding:6px 12px;

    border-radius:30px;

    font-size:12px;

    font-weight:bold;

}

.point-box{

    margin-top:18px;

    background:#fff8e8;

    border-left:5px solid #ff8c00;

    padding:14px 18px;

    border-radius:8px;

    line-height:1.8;

    font-weight:bold;

}

.mypage-step-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.mypage-step-img {
  flex: 0 0 340px;
}

.mypage-step-img img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 2px solid #e6e5ef;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.mypage-step-text {
  flex: 1;
}

.point-box {
  margin-top: 18px;
  background: #fff8e8;
  border-left: 5px solid #ff8c00;
  padding: 16px 18px;
  border-radius: 10px;
  line-height: 1.8;
}

.point-box ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .mypage-step-layout {
    display: block;
  }

  .mypage-step-img {
    margin-bottom: 18px;
  }
}

/* ========================================
   HOWTO TOP
======================================== */

.howto-page{
    padding:50px 20px 80px;
    background:#fff;
}

.howto-heading{
    max-width:1000px;
    margin:0 auto 50px;
    text-align:center;
}

.howto-heading h1{

    font-size:42px;
    color:#3e3a3a;
    margin-bottom:15px;

}

.howto-heading p{

    font-size:18px;
    line-height:1.9;
    color:#666;

}

/* ===========================
   カード
=========================== */

.howto-card-list{

    max-width:1300px;

    margin:0 auto;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

.howto-card{

    display:block;

    background:#fff;

    border:2px solid #e6e5ef;

    border-radius:18px;

    overflow:hidden;

    text-decoration:none;

    color:inherit;

    transition:.25s;

    box-shadow:0 10px 28px rgba(0,0,0,.08);

}

.howto-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.howto-card-img{

    overflow:hidden;

}

.howto-card-img img{

    display:block;

    width:100%;

    height:auto;

    transition:.3s;

}

.howto-card:hover img{

    transform:scale(1.03);

}

/* ===========================
   本文
=========================== */

.howto-card-body{

    padding:30px;

}

.howto-label{

    display:inline-block;

    background:#e6f4df;

    color:#4d9635;

    padding:7px 16px;

    border-radius:999px;

    font-size:13px;

    font-weight:bold;

    margin-bottom:15px;

}

.howto-card-body h2{

    font-size:28px;

    color:#3e3a3a;

    margin-bottom:15px;

    line-height:1.5;

}

.howto-card-body p{

    font-size:16px;

    color:#666;

    line-height:1.9;

    margin-bottom:25px;

}

.howto-btn{

    display:inline-block;

    background:#ff8c00;

    color:#fff;

    font-size:16px;

    font-weight:bold;

    padding:14px 28px;

    border-radius:999px;

}

/* ===========================
   SP
=========================== */

@media(max-width:768px){

.howto-page{

    padding:35px 15px 60px;

}

.howto-heading{

    margin-bottom:35px;

}

.howto-heading h1{

    font-size:30px;

}

.howto-heading p{

    font-size:15px;

}

.howto-card-list{

    grid-template-columns:1fr;

    gap:25px;

}

.howto-card-body{

    padding:22px;

}

.howto-card-body h2{

    font-size:22px;

}

.howto-card-body p{

    font-size:15px;

}

.howto-btn{

    width:100%;

    text-align:center;

    box-sizing:border-box;

}

}


.mypage-btn-member{

    background:linear-gradient(135deg,#ffb347,#ff8c00);

    color:#fff;

    box-shadow:0 10px 25px rgba(255,140,0,.35);

}

.mypage-btn-member:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(255,140,0,.45);

}