@charset "UTF-8";
/*
 * ms-shop-web-2026 / web.css
 * /web/ 配下 8ページ専用。すべて .mswb 配下にスコープしてあるため
 * 既存ページのデザインには一切影響しない。
 */

.mswb {
  --lime: #CBDB2B;
  --green: #5FBB46;
  --ink: #231F20;
  --ink-70: #5a5654;
  --line: #e3e6dc;
  --bg-soft: #f6f8ef;
  --bg-soft2: #eef4e6;
  --radius: 10px;

  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  word-break: break-word;
}

.mswb * { box-sizing: border-box; }
.mswb img { max-width: 100%; height: auto; }

.mswb .wrap {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- セクション ---------- */
.mswb .sec { padding: 60px 0; }
.mswb .sec.is-soft { background: var(--bg-soft); }
.mswb .sec.is-ink { background: var(--ink); color: #fff; }
.mswb .sec.is-ink .lead,
.mswb .sec.is-ink p { color: rgba(255,255,255,.88); }

/* ---------- ファーストビュー ---------- */
.mswb .fv {
  background: linear-gradient(160deg, #f7faf0 0%, #eef4e6 100%);
  padding: 64px 0 56px;
  border-bottom: 4px solid var(--lime);
}
.mswb .fv h1, .mswb .fv .fv-title {
  font-size: 34px;
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink);
  letter-spacing: .01em;
}
.mswb .fv .fv-sub {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 6px;
  color: var(--ink-70);
}
.mswb .fv .fv-price {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- 見出し ---------- */
.mswb h2 {
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 6px solid var(--green);
  color: var(--ink);
}
.mswb .sec.is-ink h2 { color: #fff; border-left-color: var(--lime); }

.mswb h3 {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--ink);
}
.mswb h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.mswb .lead {
  font-size: 16.5px;
  line-height: 2;
  color: var(--ink-70);
  margin: 0 0 20px;
}

.mswb p { margin: 0 0 16px; }
.mswb strong { font-weight: 700; color: var(--ink); }

/* ---------- ボタン ---------- */
.mswb .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}
.mswb .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 28px;
  background: var(--green);
  color: #fff !important;
  border: 2px solid var(--green);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none !important;
  transition: opacity .2s;
}
.mswb .btn:hover { opacity: .85; }
.mswb .btn.is-ghost {
  background: #fff;
  color: var(--ink) !important;
  border-color: var(--ink);
}
.mswb .btn.is-lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink) !important;
}

/* ---------- プランカード ---------- */
.mswb .plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 8px 0 0;
}
.mswb .plan {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
}
.mswb .plan .plan-catch {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 6px;
}
.mswb .plan h3 {
  margin: 0 0 12px;
  font-size: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.mswb .plan .plan-price {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}
.mswb .plan .plan-price em {
  font-style: normal;
  font-size: 24px;
  color: var(--green);
}
.mswb .plan p { font-size: 14.5px; line-height: 1.85; color: var(--ink-70); }
.mswb .plan .plan-foot { margin-top: auto; padding-top: 16px; }
.mswb .plan .plan-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 2px solid var(--green);
  border-radius: 999px;
  color: var(--green) !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
}
.mswb .plan .plan-foot a:hover { background: var(--green); color: #fff !important; }

/* ---------- 特長・理由カード ---------- */
.mswb .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mswb .cards.is-2 { grid-template-columns: repeat(2, 1fr); }
.mswb .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.mswb .card h3 { margin: 0 0 10px; font-size: 17.5px; }
.mswb .card p { font-size: 14.5px; line-height: 1.85; color: var(--ink-70); margin: 0; }
.mswb .card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- 表 ---------- */
.mswb .table-wrap { margin: 0 0 20px; }
.mswb table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14.5px;
  line-height: 1.7;
}
.mswb table th,
.mswb table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.mswb table thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 15px;
}
.mswb table thead th:first-child { background: #3a3634; }
.mswb table tbody th {
  background: var(--bg-soft);
  font-weight: 700;
  width: 20%;
  white-space: nowrap;
}
.mswb table td { text-align: center; }
.mswb table td.is-left { text-align: left; }
.mswb table .price-main {
  font-size: 19px;
  font-weight: 700;
  color: var(--green);
}

/* 表の下の注記 */
.mswb .notes {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-70);
}
.mswb .notes li { margin: 0 0 4px; }

/* ---------- 箇条書き ---------- */
.mswb ul.list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.mswb ul.list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.85;
}
.mswb ul.list li::before {
  content: "";
  position: absolute;
  left: 4px; top: .72em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lime);
}

.mswb ol.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  counter-reset: mswbstep;
}
.mswb ol.steps > li {
  position: relative;
  padding-left: 52px;
  margin-bottom: 18px;
  line-height: 1.85;
  min-height: 36px;
}
.mswb ol.steps > li::before {
  counter-increment: mswbstep;
  content: counter(mswbstep);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.mswb ol.steps > li strong { display: block; }

/* ---------- 引用・強調ブロック ---------- */
.mswb .pickup {
  background: var(--bg-soft2);
  border-left: 6px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px;
  margin: 24px 0;
}
.mswb .pickup p:last-child { margin-bottom: 0; }

/* ---------- 流れ（工程表） ---------- */
.mswb .flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.mswb .flow li {
  flex: 1 1 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  min-width: 120px;
}

/* ---------- FAQ ---------- */
.mswb .faq { margin: 0; }
.mswb .faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.mswb .faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 46px 16px 48px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.7;
  position: relative;
}
.mswb .faq summary::-webkit-details-marker { display: none; }
.mswb .faq summary::before {
  content: "Q";
  position: absolute;
  left: 16px; top: 14px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mswb .faq summary::after {
  content: "";
  position: absolute;
  right: 20px; top: 24px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-70);
  border-bottom: 2px solid var(--ink-70);
  transform: rotate(45deg);
  transition: transform .2s;
}
.mswb .faq details[open] summary::after { transform: rotate(-135deg); }
.mswb .faq .faq-a {
  padding: 0 20px 18px 48px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-70);
}
.mswb .faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- 実績 ---------- */
.mswb .works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mswb .works li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mswb .works .thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa593;
  font-size: 13px;
}
.mswb .works .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mswb .works .body { padding: 16px 18px 20px; }
.mswb .works .cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.mswb .works h3 { margin: 0 0 6px; font-size: 16.5px; }
.mswb .works .url { font-size: 13px; color: var(--ink-70); margin: 0 0 8px; }
.mswb .works p { font-size: 14px; line-height: 1.8; color: var(--ink-70); margin: 0; }

/* ---------- CTA ---------- */
.mswb .cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin: 0;
}
.mswb .cta h2 {
  border: 0;
  padding: 0;
  color: #fff;
  font-size: 24px;
  margin: 0 0 14px;
}
.mswb .cta p { color: rgba(255,255,255,.86); font-size: 15.5px; margin: 0 0 6px; }
.mswb .cta .btns { justify-content: center; }
.mswb .cta .tel {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 15px;
  color: rgba(255,255,255,.9);
}
.mswb .cta .tel .num {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: var(--lime);
  margin: 0 10px;
}
.mswb .cta .tel a { color: var(--lime) !important; text-decoration: none !important; }
.mswb .cta .hours { display: block; font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ---------- ページ内リンク（プラン選びガイド） ---------- */
.mswb .qbox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.mswb .qbox .q {
  font-weight: 700;
  font-size: 16.5px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lime);
}
.mswb .qbox dl { margin: 0; }
.mswb .qbox dt {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-70);
  margin-top: 10px;
}
.mswb .qbox dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--green); }

/* ============================================================
   写真まわり
   ============================================================ */
.mswb .mswb-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ファーストビュー：左に文字、右に写真 */
.mswb .fv.has-img .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.mswb .fv.has-img .wrap > .mswb-img {
  grid-column: 2;
  grid-row: 1 / -1;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(35,31,32,.14);
}
.mswb .fv.has-img .wrap > *:not(.mswb-img) { grid-column: 1; }

/* 本文中の横長画像 */
.mswb .mswb-img.wide {
  margin: 4px 0 26px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(35,31,32,.10);
}

/* カード上部の画像 */
.mswb .card > .mswb-img.card-img {
  margin: -24px -22px 18px;
  width: calc(100% + 44px);
  max-width: none;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* 複数枚を並べる */
.mswb .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 6px 0 26px;
}
.mswb .media-grid .mswb-img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(35,31,32,.08);
}

/* 会社の写真4枚 */
.mswb .photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 6px 0 0;
}
.mswb .photo-strip .mswb-img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(35,31,32,.08);
}

/* 制作の流れ 9ステップのアイコン */
.mswb ol.steps > li.has-icon {
  padding-left: 52px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.mswb ol.steps > li.has-icon .step-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 10px;
  object-fit: cover;
  order: -1;
}
.mswb ol.steps > li.has-icon strong { flex: 1 1 200px; }

@media screen and (max-width: 900px) {
  .mswb .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
  .mswb .fv.has-img .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .mswb .fv.has-img .wrap > .mswb-img {
    grid-column: 1;
    grid-row: auto;
    order: -1;
  }
  .mswb .fv.has-img .wrap > *:not(.mswb-img) { grid-column: 1; }
  .mswb .card > .mswb-img.card-img {
    margin: -24px -22px 16px;
    width: calc(100% + 44px);
  }
  .mswb ol.steps > li.has-icon .step-icon { width: 56px; height: 56px; flex-basis: 56px; }
}

/* ---------- 実績カードのリンク ---------- */
.mswb .works li a.work-link {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
  height: 100%;
  transition: transform .18s, box-shadow .18s;
}
.mswb .works li:has(a.work-link):hover {
  box-shadow: 0 8px 20px rgba(35,31,32,.12);
  border-color: var(--green);
}
.mswb .works li a.work-link:hover h3 { color: var(--green); }
.mswb .works li a.work-link:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* ---------- ページ上部の戻り導線 ---------- */
.mswb .crumb {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 14px;
}
.mswb .crumb .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.mswb .crumb a.crumb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green) !important;
  font-weight: 700;
  text-decoration: none !important;
}
.mswb .crumb a.crumb-back::before { content: "←"; }
.mswb .crumb a.crumb-back:hover { text-decoration: underline !important; }
.mswb .crumb .crumb-sep { color: #b8bfae; }
.mswb .crumb .crumb-now { color: var(--ink-70); }

/* ---------- パンくず的な「関連リンク」 ---------- */
.mswb .relnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mswb .relnav li a {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink) !important;
  text-decoration: none !important;
}
.mswb .relnav li a:hover { border-color: var(--green); color: var(--green) !important; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media screen and (max-width: 900px) {
  .mswb .plans,
  .mswb .cards,
  .mswb .cards.is-2,
  .mswb .works { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
  .mswb { font-size: 15.5px; }
  .mswb .sec { padding: 44px 0; }
  .mswb .fv { padding: 44px 0 40px; }
  .mswb .fv h1, .mswb .fv .fv-title { font-size: 25px; }
  .mswb .fv .fv-sub { font-size: 15.5px; }
  .mswb h2 { font-size: 21px; padding-left: 12px; border-left-width: 5px; }
  .mswb h3 { font-size: 17.5px; }
  .mswb .btn { width: 100%; }
  .mswb .cta { padding: 30px 20px; border-radius: 0; }
  .mswb .cta h2 { font-size: 20px; }
  .mswb .cta .tel .num { display: block; font-size: 24px; margin: 6px 0; }
  .mswb .flow li { flex: 1 1 100%; text-align: left; }

  /* 表：横スクロールさせず、行ごとのカードに切り替える */
  .mswb table,
  .mswb table thead,
  .mswb table tbody,
  .mswb table tr,
  .mswb table th,
  .mswb table td { display: block; width: 100%; }

  .mswb table thead { display: none; }

  .mswb table tbody tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
  }
  .mswb table tbody th {
    width: 100%;
    white-space: normal;
    background: var(--ink);
    color: #fff;
    border: 0;
    font-size: 15px;
    padding: 10px 14px;
  }
  .mswb table tbody td {
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    padding: 10px 14px 10px 44%;
    position: relative;
    min-height: 44px;
  }
  .mswb table tbody td:last-child { border-bottom: 0; }
  .mswb table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    top: 10px;
    width: 40%;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink-70);
    line-height: 1.6;
  }
  .mswb table .price-main { font-size: 17px; }

  .mswb .faq summary { font-size: 15px; padding: 14px 40px 14px 44px; }
  .mswb .faq .faq-a { padding-left: 44px; font-size: 14.5px; }
}

@media screen and (max-width: 420px) {
  .mswb .fv h1, .mswb .fv .fv-title { font-size: 22px; }
  .mswb table tbody td { padding-left: 46%; }
}
