@charset "UTF-8";

.yahoo-lp-page,
.yahoo-lp-page .yahoo-main {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #252525;
  letter-spacing: .02em;
}

.yahoo-main * { box-sizing: border-box; }
.yahoo-main img { max-width: 100%; height: auto; }
.yahoo-main a { text-decoration: none; }
.yahoo-container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.yahoo-section { padding: 86px 0; position: relative; overflow: hidden; }
.yahoo-section:nth-child(even) { background: #fbfbfd; }
.yahoo-section-label,
.yahoo-eyebrow { color: #d1001f; font-weight: 900; letter-spacing: .08em; font-size: 14px; margin: 0 0 14px; }
.yahoo-section-head { text-align: center; max-width: 880px; margin: 0 auto 44px; }
.yahoo-section-head h2,
.yahoo-split h2,
.yahoo-price h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.45; margin: 0 0 18px; color: #1f1f1f; font-weight: 900; }
.yahoo-section-head p,
.yahoo-split p,
.yahoo-price p { font-size: 16px; line-height: 2; color: #555; margin: 0 0 16px; }

.yahoo-hero { position: relative; padding: 88px 0 78px; background: linear-gradient(135deg, #fff 0%, #fff6f7 54%, #f2f6ff 100%); overflow: hidden; }
.yahoo-hero__bg::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; background: rgba(209,0,31,.09); border-radius: 50%; }
.yahoo-hero__bg::after { content: ""; position: absolute; left: -160px; bottom: -180px; width: 360px; height: 360px; background: rgba(52,96,255,.08); border-radius: 50%; }
.yahoo-hero__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr); gap: 52px; align-items: center; position: relative; z-index: 1; }
.yahoo-hero h2 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.18; margin: 0 0 22px; color: #1a1a1a; font-weight: 900; letter-spacing: .01em; }
.yahoo-hero h2 span { color: #d1001f; }
.yahoo-hero__lead { font-size: 18px; line-height: 2; color: #3c3c3c; margin: 0 0 24px; font-weight: 600; }
.yahoo-hero__badges { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.yahoo-hero__badges li { padding: 9px 14px; border: 1px solid rgba(209,0,31,.22); background: #fff; border-radius: 999px; font-weight: 800; color: #d1001f; font-size: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.04); }
.yahoo-hero__cta,
.yahoo-final-cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.yahoo-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 900; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.yahoo-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(0,0,0,.14); }
.yahoo-btn--primary { background: linear-gradient(135deg, #d1001f, #f05a2a); color: #fff !important; box-shadow: 0 12px 24px rgba(209,0,31,.25); }
.yahoo-btn--tel { background: #fff; color: #d1001f !important; border: 2px solid #d1001f; }
.yahoo-note { font-size: 13px; color: #666; margin: 14px 0 0; }
.yahoo-hero__visual { position: relative; min-height: 420px; }
.yahoo-dashboard { position: relative; border-radius: 28px; background: #fff; box-shadow: 0 28px 70px rgba(28,33,64,.15); padding: 16px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); }
.yahoo-dashboard__bar { height: 34px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #eee; margin: -16px -16px 16px; padding: 0 18px; background: #fafafa; }
.yahoo-dashboard__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d1001f; opacity: .8; }
.yahoo-dashboard__bar span:nth-child(2) { background: #ffb300; }
.yahoo-dashboard__bar span:nth-child(3) { background: #2aae67; }
.yahoo-dashboard__body { display: grid; grid-template-columns: 95px 1fr; gap: 14px; }
.yahoo-dashboard__side { min-height: 250px; border-radius: 18px; background: linear-gradient(180deg, #d1001f, #8b0014); }
.yahoo-dashboard__main { display: grid; gap: 14px; align-content: center; }
.yahoo-dashboard__main p { margin: 0; padding: 22px 18px; border-radius: 16px; background: #f4f6fb; color: #333; font-weight: 900; box-shadow: inset 4px 0 0 #d1001f; }
.yahoo-price-card { position: absolute; right: 8px; bottom: -24px; background: #1f1f1f; color: #fff; padding: 20px 24px; border-radius: 22px; box-shadow: 0 22px 46px rgba(0,0,0,.22); }
.yahoo-price-card p { margin: 0 0 4px; color: #fff; font-weight: 800; }
.yahoo-price-card strong { display: block; font-size: 24px; }
.yahoo-price-card strong span { font-size: 44px; color: #ffdf4d; }
.yahoo-price-card small { color: rgba(255,255,255,.75); }

.yahoo-card-grid { display: grid; gap: 22px; }
.yahoo-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.yahoo-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.yahoo-card,
.yahoo-prepare__box,
.yahoo-step-card,
.yahoo-item,
.yahoo-migration__box,
.yahoo-option-list__item,
.yahoo-flow__step,
.yahoo-info-box,
.yahoo-check-panel,
.yahoo-source-list { background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 18px 40px rgba(20,28,56,.08); border: 1px solid rgba(209,0,31,.09); }
.yahoo-card span,
.yahoo-step-card span,
.yahoo-flow__step span { display: inline-block; color: #d1001f; font-weight: 900; margin-bottom: 12px; letter-spacing: .08em; }
.yahoo-card h3,
.yahoo-prepare__box h3,
.yahoo-step-card h3,
.yahoo-item h3,
.yahoo-migration__box h3,
.yahoo-option-list__item h3,
.yahoo-flow__step h3,
.yahoo-info-box h3,
.yahoo-check-panel h3,
.yahoo-source-list h3 { color: #1f1f1f; font-size: 20px; margin: 0 0 12px; line-height: 1.55; font-weight: 900; }
.yahoo-card p,
.yahoo-prepare__box p,
.yahoo-step-card p,
.yahoo-item p,
.yahoo-migration__box p,
.yahoo-option-list__item p,
.yahoo-flow__step p { color: #565656; line-height: 1.9; margin: 0; font-size: 15px; }

.yahoo-split { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 42px; align-items: center; }
.yahoo-split--reverse { grid-template-columns: 390px minmax(0, 1fr); }
.yahoo-check-panel { background: linear-gradient(135deg, #d1001f, #8b0014); color: #fff; }
.yahoo-check-panel h3 { color: #fff; }
.yahoo-check-panel ul,
.yahoo-info-box ul,
.yahoo-source-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.yahoo-check-panel li,
.yahoo-info-box li,
.yahoo-source-list li { position: relative; padding-left: 28px; line-height: 1.75; font-weight: 700; }
.yahoo-check-panel li::before,
.yahoo-info-box li::before,
.yahoo-source-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #ffdf4d; font-weight: 900; }
.yahoo-info-box li::before,
.yahoo-source-list li::before { color: #d1001f; }

.yahoo-prepare__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 26px; }
.yahoo-prepare__box span { display: inline-flex; width: 44px; height: 44px; justify-content: center; align-items: center; background: #d1001f; color: #fff; border-radius: 50%; font-weight: 900; margin-bottom: 16px; }
.yahoo-source-list { background: #fff9f9; }
.yahoo-source-list ul { grid-template-columns: repeat(3, 1fr); }
.yahoo-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.yahoo-step-card { border-top: 5px solid #d1001f; }
.yahoo-items__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.yahoo-item { padding: 24px; }
.yahoo-item h3 { padding-left: 16px; border-left: 5px solid #d1001f; }

.yahoo-image-section { background: #fff; }
.yahoo-option-section { background: #fbfbfd; }
.yahoo-search-section { background: linear-gradient(135deg, #fff9f9, #f6f8ff); }
.yahoo-migration__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.yahoo-option-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.yahoo-option-list__item { padding: 24px; border-left: 5px solid #d1001f; }
.yahoo-flow__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.yahoo-flow__step { padding: 24px 20px; text-align: center; }
.yahoo-flow__step span { background: #fff0f2; color: #d1001f; border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }

.yahoo-price { background: #1f1f1f !important; color: #fff; }
.yahoo-price h2,
.yahoo-price p { color: #fff; }
.yahoo-price .yahoo-section-label { color: #ffdf4d; }
.yahoo-price__inner { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: center; }
.yahoo-price__box { background: #fff; color: #1f1f1f; border-radius: 22px; padding: 28px; text-align: center; }
.yahoo-price__box span { display: block; font-weight: 900; color: #d1001f; margin-bottom: 10px; }
.yahoo-price__box strong { display: block; font-size: 30px; color: #d1001f; margin-bottom: 10px; }
.yahoo-price__box p { color: #555; margin: 0; font-weight: 800; }

.yahoo-faq__list { max-width: 940px; margin: 0 auto; display: grid; gap: 14px; }
.yahoo-faq__item { background: #fff; border-radius: 16px; box-shadow: 0 12px 28px rgba(20,28,56,.07); border: 1px solid rgba(0,0,0,.06); overflow: hidden; }
.yahoo-faq__item summary { cursor: pointer; padding: 20px 58px 20px 24px; font-weight: 900; color: #222; position: relative; list-style: none; }
.yahoo-faq__item summary::-webkit-details-marker { display: none; }
.yahoo-faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #d1001f; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.yahoo-faq__item[open] summary::after { content: "−"; }
.yahoo-faq__item p { margin: 0; padding: 0 24px 22px; line-height: 1.9; color: #555; }

.yahoo-final-cta { background: linear-gradient(135deg, #d1001f, #7b0013); padding: 76px 0; color: #fff; text-align: center; }
.yahoo-final-cta h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.45; margin: 0 0 16px; font-weight: 900; color: #fff; }
.yahoo-final-cta p { max-width: 780px; margin: 0 auto 26px; line-height: 2; color: rgba(255,255,255,.92); }
.yahoo-final-cta__buttons { justify-content: center; }
.yahoo-final-cta .yahoo-btn--primary { background: #fff; color: #d1001f !important; }
.yahoo-final-cta .yahoo-btn--tel { color: #fff !important; border-color: #fff; background: transparent; }

.yahoo-fadein { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.yahoo-fadein.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .yahoo-hero__grid,
  .yahoo-split,
  .yahoo-split--reverse,
  .yahoo-price__inner { grid-template-columns: 1fr; }
  .yahoo-card-grid--4,
  .yahoo-step-grid { grid-template-columns: repeat(2, 1fr); }
  .yahoo-flow__grid { grid-template-columns: repeat(3, 1fr); }
  .yahoo-items__grid,
  .yahoo-migration__grid { grid-template-columns: repeat(2, 1fr); }
  .yahoo-source-list ul { grid-template-columns: repeat(2, 1fr); }
  .yahoo-hero__visual { min-height: auto; padding-bottom: 32px; }
}

@media (max-width: 767px) {
  .yahoo-container { width: min(100% - 26px, 1120px); }
  .yahoo-section { padding: 58px 0; }
  .yahoo-hero { padding: 56px 0 48px; }
  .yahoo-hero__grid { gap: 32px; }
  .yahoo-hero h2 { font-size: clamp(33px, 10vw, 44px); }
  .yahoo-hero__lead { font-size: 16px; }
  .yahoo-btn { width: 100%; min-height: 52px; }
  .yahoo-hero__badges li { font-size: 13px; }
  .yahoo-dashboard__body { grid-template-columns: 1fr; }
  .yahoo-dashboard__side { display: none; }
  .yahoo-price-card { position: relative; right: auto; bottom: auto; margin-top: 16px; }
  .yahoo-card-grid--4,
  .yahoo-card-grid--3,
  .yahoo-prepare__grid,
  .yahoo-step-grid,
  .yahoo-items__grid,
  .yahoo-migration__grid,
  .yahoo-option-list,
  .yahoo-flow__grid,
  .yahoo-source-list ul { grid-template-columns: 1fr; }
  .yahoo-card,
  .yahoo-prepare__box,
  .yahoo-step-card,
  .yahoo-item,
  .yahoo-migration__box,
  .yahoo-option-list__item,
  .yahoo-flow__step,
  .yahoo-info-box,
  .yahoo-check-panel,
  .yahoo-source-list { padding: 22px; }
  .yahoo-section-head h2,
  .yahoo-split h2,
  .yahoo-price h2 { font-size: 26px; }
  .yahoo-section-head { margin-bottom: 30px; text-align: left; }
  .yahoo-final-cta { padding: 56px 0; }
}

/* Related service links */
.yahoo-related{background:#f7f9fc;}
.yahoo-related__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.yahoo-related-card{display:block;text-decoration:none;background:#fff;border:1px solid var(--yahoo-line);border-radius:22px;padding:24px;box-shadow:0 12px 34px rgba(0,0,0,.05);border-top:5px solid var(--yahoo-red);transition:.25s;color:var(--yahoo-text);}
.yahoo-related-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(0,0,0,.08);}
.yahoo-related-card small{display:inline-block;margin:0 0 10px;color:var(--yahoo-red);font-weight:900;letter-spacing:.08em;}
.yahoo-related-card strong{display:block;font-size:20px;line-height:1.5;margin:0 0 10px;color:var(--yahoo-dark);font-weight:900;}
.yahoo-related-card span{display:block;color:#5d6670;line-height:1.85;font-weight:600;}
@media (max-width:1024px){.yahoo-related__grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:767px){.yahoo-related__grid{grid-template-columns:1fr;}.yahoo-related-card{padding:22px;}}

/* 共通トップビジュアル（トップページと同じ構成をLPにも表示） */
.lp-common-mainvisual{font-family:"Noto Sans JP", sans-serif;}
body.amazon-lp-page #contents,
body.yahoo-lp-page #contents,
body.rakuten-lp-page #contents{overflow:hidden;}
body.amazon-lp-page .lp-common-mainvisual,
body.yahoo-lp-page .lp-common-mainvisual,
body.rakuten-lp-page .lp-common-mainvisual{background:#fff;}


/* LP footer banner alignment fix: keep the remaining footer banner aligned to the right. */
#footer .footer_inner_right .foot_btn{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:18px;
  width:100%;
  margin-top:18px;
  text-align:right;
}
#footer .footer_inner_right .foot_btn p{
  margin:0 !important;
  padding:0 !important;
  display:inline-flex;
}
#footer .footer_inner_right .foot_btn a{
  display:inline-block;
}
#footer .footer_inner_right .foot_btn img{
  display:block;
  max-width:100%;
  height:auto;
}
@media(max-width:767px){
  #footer .footer_inner_right .foot_btn{
    justify-content:center !important;
    text-align:center;
  }
}

/* breadcrumb */
.yahoo-breadcrumb{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:22px 0 8px;font-size:13px;font-family:"Noto Sans JP",sans-serif;}
.yahoo-breadcrumb ol{display:flex;gap:10px;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:wrap;}
.yahoo-breadcrumb li{color:#6b7280;font-weight:500;}
.yahoo-breadcrumb li+li:before{content:">";margin-right:10px;color:#b8b8b8;}
.yahoo-breadcrumb a{color:#3f4650;text-decoration:none;}
.yahoo-breadcrumb a:hover{color:#e60012;text-decoration:underline;}
@media (max-width: 767px){.yahoo-breadcrumb{width:min(100% - 28px,1240px);padding:16px 0 6px;font-size:12px;}}
