/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ==================================================
   MFD 修理事例情報
================================================== */

.mfd-repair-case {
  margin: 0 0 48px;
}

.mfd-repair-case__heading {
  margin-bottom: 24px;
}

.mfd-repair-case__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: #2775d3;
}

.mfd-repair-case__heading h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.4;
}

/* 修理情報カード */
.mfd-repair-case__details {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e4e8ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 45, 70, 0.06);
}

.mfd-repair-case__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  margin: 0;
  border-bottom: 1px solid #e9edf2;
}

.mfd-repair-case__row:last-child {
  border-bottom: 0;
}

.mfd-repair-case__row dt,
.mfd-repair-case__row dd {
  margin: 0;
  padding: 16px 20px;
  line-height: 1.8;
}

.mfd-repair-case__row dt {
  display: flex;
  align-items: center;
  font-weight: 700;
  background: #f5f8fc;

  /* 追加 */
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: normal;
}

.mfd-repair-case__row dd {
  overflow-wrap: anywhere;
  background: #fff;
}

/* 修理前・修理後画像 */
.mfd-repair-case__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.mfd-repair-case__image {
  margin: 0;
}

.mfd-repair-case__image figcaption {
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: #edf4fc;
}

.mfd-repair-case__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(25, 45, 70, 0.1);
}

/* YouTube動画 */
.mfd-repair-case__video {
  margin-top: 42px;
}

.mfd-repair-case__video h3 {
  margin-bottom: 16px;
  font-size: clamp(20px, 3vw, 26px);
}

.mfd-repair-case__video-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.mfd-repair-case__video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* スマートフォン */
@media screen and (max-width: 767px) {

  .mfd-repair-case {
    margin-bottom: 36px;
  }

  .mfd-repair-case__row {
    display: block;
  }

  .mfd-repair-case__row dt {
    padding: 12px 16px;
  }

  .mfd-repair-case__row dd {
    padding: 14px 16px 18px;
  }

  .mfd-repair-case__images {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
  }
}

.mfd-repair-case__images:has(.mfd-repair-case__image:only-child) {
  grid-template-columns: 1fr;
}

.mfd-repair-case__images .mfd-repair-case__image:only-child {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.mfd-repair-case__images .mfd-repair-case__image:only-child img {
  width: 100%;
  height: auto;
}

.mfd-repair-case__summary-title {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: #3a4653;
}

/* ==================================================
   MFD 機種別修理ページ：ヒーロー
================================================== */

.mfd-device-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 72px;
  padding: 64px 0;
}

.mfd-device-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(22, 114, 232, 0.07);
  pointer-events: none;
}

.mfd-device-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 56px;
}

.mfd-device-hero__content {
  min-width: 0;
}

.mfd-device-hero__eyebrow {
  margin: 0 0 12px;
  color: #1672e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.mfd-device-hero__title {
  margin: 0 0 12px;
  color: #151b26;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mfd-device-hero__title span {
  color: #1672e8;
}

.mfd-device-hero__area {
  margin: 0 0 24px;
  color: #303946;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.6;
}

.mfd-device-hero__description {
  max-width: 680px;
  margin: 0;
  color: #475364;
  font-size: 16px;
  line-height: 2;
}

.mfd-device-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.mfd-device-hero__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid #1672e8;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.mfd-device-hero__button:hover {
  transform: translateY(-2px);
}

.mfd-device-hero__button--primary {
  color: #fff;
  background: #1672e8;
}

.mfd-device-hero__button--primary:hover {
  color: #fff;
  background: #075fc8;
}

.mfd-device-hero__button--secondary {
  color: #1672e8;
  background: #fff;
}

.mfd-device-hero__button--secondary:hover {
  color: #fff;
  background: #1672e8;
}

.mfd-device-hero__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.mfd-device-hero__points li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #303946;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.mfd-device-hero__point-icon {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  background: #1672e8;
}

.mfd-device-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 32px;
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(22, 114, 232, 0.05),
      rgba(22, 114, 232, 0.14)
    );
}

.mfd-device-hero__image {
  display: block;
  width: 100%;
  max-width: 470px;
  height: auto;
  object-fit: contain;
}


/* タブレット */
@media screen and (max-width: 1000px) {

  .mfd-device-hero {
    padding: 48px 0;
  }

  .mfd-device-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mfd-device-hero__visual {
    min-height: 360px;
  }

  .mfd-device-hero__image {
    max-width: 420px;
  }
}


/* スマートフォン */
@media screen and (max-width: 600px) {

  .mfd-device-hero {
    margin-bottom: 52px;
    padding: 30px 0 40px;
  }

  .mfd-device-hero__title {
    font-size: 40px;
  }

  .mfd-device-hero__area {
    font-size: 18px;
  }

  .mfd-device-hero__description {
    font-size: 15px;
    line-height: 1.9;
  }

  .mfd-device-hero__description br {
    display: none;
  }

  .mfd-device-hero__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mfd-device-hero__button {
    width: 100%;
  }

  .mfd-device-hero__points {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .mfd-device-hero__points li {
    align-items: flex-start;
    font-size: 13px;
  }

  .mfd-device-hero__visual {
    min-height: auto;
    padding: 24px;
    border-radius: 18px;
  }
}

/* ==================================================
   MFD 機種別ページ：修理内容カード
================================================== */

.mfd-service-section {
  margin: 0 0 88px;
}


/* 見出し補足文 */
.mfd-section-heading__description {
  max-width: 760px;
  margin: 18px 0 0;
  color: #566273;
  font-size: 16px;
  line-height: 1.9;
}


/* カード一覧 */
.mfd-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}


/* カード本体 */
.mfd-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 30px 24px 24px;
  border: 1px solid #e3e9f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(25, 52, 83, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.mfd-service-card:hover {
  border-color: rgba(22, 114, 232, 0.35);
  box-shadow: 0 16px 38px rgba(25, 52, 83, 0.12);
  transform: translateY(-4px);
}


/* SVGアイコン枠 */
.mfd-service-card__icon {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 18px;
  color: #1672e8;
  background: #edf5ff;
}


/* SVG共通設定 */
.mfd-service-card__icon svg {
  display: block;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* カードタイトル */
.mfd-service-card__title {
  margin: 0 0 13px;
  color: #202631;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}


/* カード本文 */
.mfd-service-card__text {
  flex-grow: 1;
  margin: 0;
  color: #566273;
  font-size: 15px;
  line-height: 1.85;
}


/* 詳細ボタン */
.mfd-service-card__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  margin-top: 26px;
  padding: 12px 16px;
  border: 2px solid #1672e8;
  border-radius: 9px;
  color: #1672e8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  background: #fff;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.mfd-service-card__button span {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.mfd-service-card__button:hover {
  color: #fff;
  background: #1672e8;
  transform: translateY(-1px);
}

.mfd-service-card__button:hover span {
  transform: translateX(3px);
}


/* その他の修理案内 */
.mfd-service-note {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid #dce9f8;
  border-radius: 14px;
  background: #f4f8fd;
}


/* その他案内のアイコン */
.mfd-service-note__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: #1672e8;
  background: #fff;
}

.mfd-service-note__icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* その他案内の文章 */
.mfd-service-note__content h3 {
  margin: 1px 0 8px;
  color: #202631;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.mfd-service-note__content p {
  margin: 0;
  color: #566273;
  font-size: 15px;
  line-height: 1.9;
}


/* ==================================================
   タブレット
================================================== */

@media screen and (max-width: 1100px) {

  .mfd-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* ==================================================
   スマートフォン
================================================== */

@media screen and (max-width: 600px) {

  .mfd-service-section {
    margin-bottom: 60px;
  }

  .mfd-section-heading__description {
    font-size: 15px;
  }

  .mfd-section-heading__description br {
    display: none;
  }

  .mfd-service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .mfd-service-card {
    padding: 25px 20px 21px;
    border-radius: 15px;
  }

  .mfd-service-card__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 15px;
  }

  .mfd-service-card__icon svg {
    width: 33px;
    height: 33px;
  }

  .mfd-service-card__title {
    font-size: 19px;
  }

  .mfd-service-card__button {
    margin-top: 22px;
  }

  .mfd-service-note {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 15px;
    padding: 20px 18px;
  }

  .mfd-service-note__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .mfd-service-note__icon svg {
    width: 25px;
    height: 25px;
  }

}

/* ==================================================
   MFD 機種別ページ：修理の特徴
================================================== */

.mfd-feature-section {
  margin: 0 0 88px;
}

.mfd-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.mfd-feature-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 30px 24px 28px;
  border: 1px solid #e3e9f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(25, 52, 83, 0.07);
}

.mfd-feature-card::before {
  content: "";
  position: absolute;
  top: -54px;
  right: -54px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(22, 114, 232, 0.06);
}

.mfd-feature-card__number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(22, 114, 232, 0.18);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.mfd-feature-card__icon {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 22px;
  border-radius: 17px;
  color: #1672e8;
  background: #edf5ff;
}

.mfd-feature-card__icon svg {
  display: block;
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mfd-feature-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: #202631;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.mfd-feature-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #566273;
  font-size: 15px;
  line-height: 1.9;
}


/* タブレット */
@media screen and (max-width: 1100px) {

  .mfd-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* スマートフォン */
@media screen and (max-width: 600px) {

  .mfd-feature-section {
    margin-bottom: 60px;
  }

  .mfd-feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .mfd-feature-card {
    padding: 25px 20px 24px;
    border-radius: 15px;
  }

  .mfd-feature-card__number {
    top: 17px;
    right: 18px;
    font-size: 32px;
  }

  .mfd-feature-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 15px;
  }

  .mfd-feature-card__icon svg {
    width: 32px;
    height: 32px;
  }

  .mfd-feature-card__title {
    font-size: 19px;
  }

}

/* ==================================================
   MFD 機種別ページ：修理事例一覧
================================================== */

.mfd-case-section {
  margin: 0 0 88px;
}

.mfd-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.mfd-case-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e3e9f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(25, 52, 83, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.mfd-case-card:hover {
  border-color: rgba(22, 114, 232, 0.35);
  box-shadow: 0 16px 38px rgba(25, 52, 83, 0.12);
  transform: translateY(-4px);
}

.mfd-case-card__image-link {
  display: block;
  text-decoration: none;
}

.mfd-case-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #edf3f9;
}

.mfd-case-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mfd-case-card:hover .mfd-case-card__photo {
  transform: scale(1.035);
}

.mfd-case-card__placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #8a96a6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mfd-case-card__body {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 23px 22px 22px;
}

.mfd-case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 12px;
  color: #748092;
  font-size: 12px;
  line-height: 1.6;
}

.mfd-case-card__model {
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 6px;
  color: #1672e8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  background: #edf5ff;
}

.mfd-case-card__title {
  margin: 0 0 13px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
}

.mfd-case-card__title a {
  color: #202631;
  text-decoration: none;
}

.mfd-case-card__title a:hover {
  color: #1672e8;
}

.mfd-case-card__excerpt {
  margin: 0 0 22px;
  color: #566273;
  font-size: 14px;
  line-height: 1.85;
}

.mfd-case-card__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: auto;
  padding: 11px 15px;
  border: 2px solid #1672e8;
  border-radius: 9px;
  color: #1672e8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  background: #fff;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.mfd-case-card__button:hover {
  color: #fff;
  background: #1672e8;
}

.mfd-case-card__button span {
  font-size: 18px;
  line-height: 1;
}

.mfd-case-empty {
  margin-top: 36px;
  padding: 28px 24px;
  border: 1px solid #dce9f8;
  border-radius: 14px;
  text-align: center;
  background: #f4f8fd;
}

.mfd-case-empty p {
  margin: 0;
  color: #566273;
  line-height: 1.8;
}


/* タブレット */
@media screen and (max-width: 1000px) {

  .mfd-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* スマートフォン */
@media screen and (max-width: 600px) {

  .mfd-case-section {
    margin-bottom: 60px;
  }

  .mfd-case-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .mfd-case-card {
    border-radius: 15px;
  }

  .mfd-case-card__body {
    min-height: auto;
    padding: 21px 19px 20px;
  }

  .mfd-case-card__title {
    font-size: 18px;
  }

}

/* ==================================================
   MFD 機種別ページ：対応店舗
================================================== */

.mfd-store-section {
  margin: 0 0 88px;
}

.mfd-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}


/* 店舗カード */
.mfd-store-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid #e3e9f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(25, 52, 83, 0.08);
}

.mfd-store-card__header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.mfd-store-card__icon {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: 74px;
  height: 74px;
  border-radius: 19px;
  color: #1672e8;
  background: #edf5ff;
}

.mfd-store-card__icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mfd-store-card__type {
  margin: 0 0 5px;
  color: #1672e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.mfd-store-card__title {
  margin: 0;
  color: #202631;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
}


/* 店舗情報 */
.mfd-store-card__information {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e6ebf2;
  border-radius: 13px;
}

.mfd-store-card__information > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  border-bottom: 1px solid #e9edf2;
}

.mfd-store-card__information > div:last-child {
  border-bottom: 0;
}

.mfd-store-card__information dt,
.mfd-store-card__information dd {
  margin: 0;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.75;
}

.mfd-store-card__information dt {
  display: flex;
  align-items: center;
  font-weight: 800;
  background: #f5f8fc;
}

.mfd-store-card__information dd {
  color: #566273;
  background: #fff;
}


/* 店舗のポイント */
.mfd-store-card__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mfd-store-card__points span {
  padding: 6px 11px;
  border-radius: 999px;
  color: #1672e8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  background: #edf5ff;
}


/* 店舗ボタン */
.mfd-store-card__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  margin-top: 24px;
  padding: 13px 18px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  background: #1672e8;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.mfd-store-card__button:hover {
  color: #fff;
  background: #075fc8;
  transform: translateY(-2px);
}

.mfd-store-card__button span {
  flex: 0 0 auto;
  font-size: 19px;
}


/* 出張修理案内 */
.mfd-delivery-guide {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 28px 30px;
  border: 1px solid #dce9f8;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      #f7faff 0%,
      #edf5ff 100%
    );
}

.mfd-delivery-guide__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  border-radius: 17px;
  color: #1672e8;
  background: #fff;
}

.mfd-delivery-guide__icon svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mfd-delivery-guide__label {
  margin: 0 0 5px;
  color: #1672e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.mfd-delivery-guide__content h3 {
  margin: 0 0 8px;
  color: #202631;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}

.mfd-delivery-guide__content p:last-child {
  margin: 0;
  color: #566273;
  font-size: 14px;
  line-height: 1.85;
}

.mfd-delivery-guide__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  min-height: 52px;
  padding: 12px 17px;
  border: 2px solid #1672e8;
  border-radius: 10px;
  color: #1672e8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  background: #fff;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.mfd-delivery-guide__button:hover {
  color: #fff;
  background: #1672e8;
}

.mfd-delivery-guide__button span {
  font-size: 18px;
}


/* タブレット */
@media screen and (max-width: 900px) {

  .mfd-store-grid {
    grid-template-columns: 1fr;
  }

  .mfd-delivery-guide {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .mfd-delivery-guide__button {
    grid-column: 1 / -1;
    width: 100%;
  }

}


/* スマートフォン */
@media screen and (max-width: 600px) {

  .mfd-store-section {
    margin-bottom: 60px;
  }

  .mfd-store-grid {
    margin-top: 30px;
  }

  .mfd-store-card {
    padding: 24px 19px 20px;
    border-radius: 16px;
  }

  .mfd-store-card__header {
    gap: 15px;
    margin-bottom: 22px;
  }

  .mfd-store-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }

  .mfd-store-card__icon svg {
    width: 33px;
    height: 33px;
  }

  .mfd-store-card__title {
    font-size: 19px;
  }

  .mfd-store-card__information > div {
    display: block;
  }

  .mfd-store-card__information dt {
    padding: 10px 13px;
  }

  .mfd-store-card__information dd {
    padding: 12px 13px 15px;
  }

  .mfd-delivery-guide {
    display: block;
    padding: 23px 19px;
    border-radius: 15px;
  }

  .mfd-delivery-guide__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 17px;
  }

  .mfd-delivery-guide__content h3 {
    font-size: 18px;
  }

  .mfd-delivery-guide__button {
    min-width: 0;
    width: 100%;
    margin-top: 20px;
  }

}

/*=========================================
FAQ
=========================================*/

.mfd-faq-section{

margin:0 0 90px;

}

.mfd-faq-list{

margin-top:40px;

display:flex;

flex-direction:column;

gap:15px;

}

.mfd-faq-item{

border:1px solid #e4e8ef;

border-radius:16px;

overflow:hidden;

background:#fff;

transition:.3s;

}

.mfd-faq-item[open]{

box-shadow:0 10px 25px rgba(0,0,0,.06);

}

.mfd-faq-item summary{

list-style:none;

cursor:pointer;

padding:24px 28px;

font-size:18px;

font-weight:700;

position:relative;

}

.mfd-faq-item summary::-webkit-details-marker{

display:none;

}

.mfd-faq-item summary::after{

content:"+";

position:absolute;

right:28px;

top:50%;

transform:translateY(-50%);

font-size:26px;

color:#1672e8;

}

.mfd-faq-item[open] summary::after{

content:"−";

}

.mfd-faq-answer{

padding:0 28px 25px;

line-height:2;

color:#555;

}

@media(max-width:767px){

.mfd-faq-item summary{

padding:20px;

font-size:16px;

}

.mfd-faq-answer{

padding:0 20px 20px;

}

}

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

.mfd-cta{

margin:0 0 80px;

}

.mfd-cta__inner{

padding:70px 50px;

border-radius:24px;

background:linear-gradient(135deg,#1672e8,#0b59ba);

text-align:center;

color:#fff;

overflow:hidden;

position:relative;

}

.mfd-cta__inner::before{

content:"";

position:absolute;

right:-80px;

top:-80px;

width:260px;

height:260px;

border-radius:50%;

background:rgba(255,255,255,.08);

}

.mfd-cta__label{

font-size:13px;

letter-spacing:.18em;

font-weight:700;

opacity:.8;

margin-bottom:12px;

}

.mfd-cta__title{

font-size:38px;

line-height:1.4;

margin-bottom:25px;

color:#fff;

}

.mfd-cta__text{

max-width:760px;

margin:0 auto;

line-height:2;

font-size:17px;

opacity:.95;

}

.mfd-cta__points{

display:flex;

justify-content:center;

gap:15px;

flex-wrap:wrap;

margin-top:35px;

}

.mfd-cta__points span{

background:rgba(255,255,255,.15);

padding:10px 18px;

border-radius:999px;

font-size:14px;

font-weight:700;

backdrop-filter:blur(8px);

}

.mfd-cta__buttons{

display:flex;

justify-content:center;

gap:20px;

margin-top:45px;

flex-wrap:wrap;

}

.mfd-cta__button{

min-width:260px;

padding:18px;

border-radius:12px;

text-decoration:none;

font-weight:700;

transition:.3s;

}

.mfd-cta__button--primary{

background:#fff;

color:#1672e8;

}

.mfd-cta__button--primary:hover{

transform:translateY(-3px);

}

.mfd-cta__button--secondary{

border:2px solid #fff;

color:#fff;

}

.mfd-cta__button--secondary:hover{

background:#fff;

color:#1672e8;

}

@media(max-width:767px){

.mfd-cta__inner{

padding:45px 25px;

}

.mfd-cta__title{

font-size:28px;

}

.mfd-cta__text{

font-size:15px;

}

.mfd-cta__buttons{

flex-direction:column;

}

.mfd-cta__button{

width:100%;

min-width:0;

}

}

/* PCではスマホ用画像を非表示 */
.mfd-device-hero__visual--mobile {
  display: none;
}

/* スマホ表示 */
@media screen and (max-width: 600px) {

  .mfd-device-hero__visual--desktop {
    display: none;
  }

  .mfd-device-hero__visual--mobile {
    display: flex;
    width: 100%;
    min-height: auto;
    margin: 0 0 24px;
    padding: 20px;
    border-radius: 18px;
  }

  .mfd-device-hero__visual--mobile .mfd-device-hero__image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* ==================================================
   MFD Androidページ：対応メーカー一覧
================================================== */

.mfd-maker-section {
  margin: 0 0 88px;
}

.mfd-maker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.mfd-maker-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 30px 24px 24px;
  border: 1px solid #e3e9f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(25, 52, 83, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.mfd-maker-card:hover {
  border-color: rgba(22, 114, 232, 0.35);
  box-shadow: 0 16px 38px rgba(25, 52, 83, 0.12);
  transform: translateY(-4px);
}

.mfd-maker-card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: #1672e8;
  background: #edf5ff;
}

.mfd-maker-card__icon svg {
  display: block;
  width: 37px;
  height: 37px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mfd-maker-card__english {
  margin: 0 0 5px;
  color: #1672e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.mfd-maker-card__title {
  margin: 0 0 13px;
  color: #202631;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
}

.mfd-maker-card__text {
  margin: 0;
  color: #566273;
  font-size: 14px;
  line-height: 1.85;
}

.mfd-maker-card__points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.mfd-maker-card__points li {
  padding: 5px 9px;
  border-radius: 999px;
  color: #1672e8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  background: #edf5ff;
}

.mfd-maker-card__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  padding: 12px 16px;
  border: 2px solid #1672e8;
  border-radius: 9px;
  color: #1672e8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  background: #fff;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.mfd-maker-card__points + .mfd-maker-card__button {
  margin-top: 26px;
}

.mfd-maker-card__button:hover {
  color: #fff;
  background: #1672e8;
}

.mfd-maker-card__button span {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.mfd-maker-card__button--disabled {
  justify-content: center;
  border-color: #d6dde7;
  color: #8994a4;
  cursor: default;
  background: #f5f7fa;
}

.mfd-maker-card__button--disabled:hover {
  color: #8994a4;
  background: #f5f7fa;
}


/* 掲載のないメーカー案内 */
.mfd-maker-note {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid #dce9f8;
  border-radius: 14px;
  background: #f4f8fd;
}

.mfd-maker-note__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: #1672e8;
  background: #fff;
}

.mfd-maker-note__icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mfd-maker-note__content h3 {
  margin: 1px 0 8px;
  color: #202631;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.mfd-maker-note__content p {
  margin: 0;
  color: #566273;
  font-size: 15px;
  line-height: 1.9;
}


/* タブレット */
@media screen and (max-width: 1100px) {

  .mfd-maker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* スマートフォン */
@media screen and (max-width: 600px) {

  .mfd-maker-section {
    margin-bottom: 60px;
  }

  .mfd-maker-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .mfd-maker-card {
    padding: 25px 20px 21px;
    border-radius: 15px;
  }

  .mfd-maker-card__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 15px;
  }

  .mfd-maker-card__icon svg {
    width: 33px;
    height: 33px;
  }

  .mfd-maker-card__title {
    font-size: 19px;
  }

  .mfd-maker-note {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 15px;
    padding: 20px 18px;
  }

  .mfd-maker-note__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .mfd-maker-note__icon svg {
    width: 25px;
    height: 25px;
  }

}