/* ================================================
   Android修理ページ - ページ固有の微調整のみ
   既存コンポーネント（top-about, menu-list, price-tab,
   price-table, flow, cta）をそのまま流用
   ================================================ */

/* ---- ページ全体フォント ---- */
body.page-template-page-android,
body.page-template-page-ipad {
  font-family: "ヒラギノ角ゴシック", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

/* ---- FV（ファーストビュー） ---- */
.android-fv {
  background-color: #ffdb00;
  background-image: url("../img/android/fv_sunburst.png");
  background-size: cover;
  background-position: center;
  padding: 70px 20px 60px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.android-fv__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.android-fv__img-left,
.android-fv__img-right {
  position: absolute;
  pointer-events: none;
  height: auto;
}
.android-fv__img-left {
  left: 50%;
  bottom: 0;
  transform: translateX(calc(-50% - 535px));
  max-height: 88%;
}
.android-fv__img-right {
  left: 50%;
  bottom: -20px;
  transform: translateX(calc(-50% + 680px));
  max-height: 100%;
}
.android-fv__badge {
  display: inline-block;
  background: #f70;
  color: #fff;
  padding: 13px 53px;
  border-radius: 9999px;
  font-family: "A-OTF Shin Go Pr6N", "shin-go-bold", "ヒラギノ角ゴシック", sans-serif;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 24px;
}
.android-fv__title {
  font-family: "A-OTF Shin Go Pr6N", "shin-go-bold", "ヒラギノ角ゴシック", sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #333;
}
.android-fv__title .num {
  font-family: "A-OTF Shin Go Pr6N", "shin-go-bold", "ヒラギノ角ゴシック", sans-serif;
  font-size: 52px;
  letter-spacing: 0.05em;
  margin-left: 0.05em;
}
.android-fv__sub {
  font-family: "A-OTF Shin Go Pr6N", "shin-go-bold", "ヒラギノ角ゴシック", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 36px;
  line-height: 1.3;
}
.android-fv__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 346px;
  height: 80px;
  background: linear-gradient(to bottom, #5bb1f2, #295ccb);
  border: 4px solid #fff;
  border-radius: 10px;
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
  color: #fff;
  font-family: "A-OTF Shin Go Pr6N", "shin-go-bold", "ヒラギノ角ゴシック", sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  transition: opacity 0.3s;
}
.android-fv__cta-btn:hover {
  opacity: 0.85;
}
.android-fv__cta-icon {
  width: 20px;
  height: auto;
}
.android-fv__link {
  display: block;
  margin-top: 20px;
  color: #333;
  font-family: "A-OTF Shin Go Pr6N", "shin-go-bold", "ヒラギノ角ゴシック", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 6.5%;
  text-underline-offset: 25%;
  text-decoration-skip-ink: auto;
  line-height: 1.3;
}

/* ---- 対応機種・メーカー ---- */
.android-brands {
  padding: 60px 20px;
  background: #fff;
}
.android-brands__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.android-brands__heading {
  font-size: 30px;
  font-weight: 900;
  color: #333;
  padding-bottom: 10px;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  margin-bottom: 40px;
  display: inline-block;
  padding: 10px 0;
}
.android-brands__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.android-brands__item {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
  padding: 15px 30px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.android-brands__note {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}

/* ---- FV レスポンシブ ---- */
@media (max-width: 768px) {
  .android-fv {
    padding: 50px 16px 40px;
  }
  .android-fv__img-left {
    transform: translateX(calc(-50% - 200px));
    max-height: 60%;
    opacity: 0.3;
  }
  .android-fv__img-right {
    transform: translateX(calc(-50% + 160px));
    max-height: 60%;
    bottom: -10px;
    opacity: 0.3;
  }
  .android-fv__badge {
    font-size: 18px;
    padding: 10px 30px;
  }
  .android-fv__title {
    font-size: 26px;
  }
  .android-fv__title .num {
    font-size: 34px;
  }
  .android-fv__sub {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .android-fv__cta-btn {
    width: 280px;
    height: 60px;
    font-size: 16px;
  }
  .android-fv__link {
    font-size: 15px;
  }
  .android-brands {
    padding: 40px 16px;
  }
  .android-brands__heading {
    font-size: 22px;
  }
  .android-brands__list {
    gap: 12px;
  }
  .android-brands__item {
    font-size: 16px;
    padding: 12px 20px;
  }
}
@media (max-width: 450px) {
  .android-fv__badge {
    font-size: 14px;
    padding: 8px 24px;
  }
  .android-fv__title {
    font-size: 20px;
  }
  .android-fv__title .num {
    font-size: 26px;
  }
  .android-fv__sub {
    font-size: 12px;
  }
}

/* ---- 修理料金目安 タブ ---- */
.js-price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0;
}
.js-price-tab {
  flex: 1;
  min-width: 100px;
  padding: 15px 20px;
  border: 1px solid #e4e4e4;
  border-radius: 10px 10px 0 0;
  background: #fff;
  color: #333;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.js-price-tab.is-active {
  background: #333;
  color: #fff;
  border-color: #e4e4e4;
}

/* ---- 修理料金目安 パネル ---- */
.js-price-panel {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-top: none;
  padding: 40px 40px 30px;
}
.js-price-panel__header {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px 12px;
  font-size: 2rem;
  font-weight: 700;
  margin: -40px -40px 30px;
}
.js-price-panel__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.js-price-panel__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e4e4e4;
}
.js-price-panel__table td {
  border: 1px solid #e4e4e4;
}
.js-price-panel__table thead td {
  background: #f0f0f0;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 24px;
  color: #333;
}
.js-price-panel__table tbody td {
  font-size: 16px;
  font-weight: 400;
  padding: 14px 24px;
  color: #333;
}
.js-price-panel__more {
  text-align: right;
  margin-top: 20px;
}
.js-price-panel__more a {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

/* ---- 修理料金目安 レスポンシブ ---- */
@media (max-width: 768px) {
  .js-price-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .js-price-tab {
    font-size: 1.4rem;
    padding: 12px 10px;
    min-width: auto;
  }
  .js-price-panel {
    padding: 30px 20px 20px;
  }
  .js-price-panel__header {
    margin: -30px -20px 20px;
  }
  .js-price-panel__title {
    font-size: 1.6rem;
  }
  .js-price-panel__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .js-price-panel__table {
    min-width: 560px;
  }
  .js-price-panel__table thead td {
    font-size: 14px;
    padding: 10px 12px;
  }
  .js-price-panel__table tbody td {
    font-size: 13px;
    padding: 10px 12px;
  }
}
@media (max-width: 480px) {
  .js-price-tab {
    font-size: 1.2rem;
    padding: 10px 6px;
    min-width: 60px;
  }
}

/* ---- 修理の流れ ---- */
.android-flow {
  background: #f8f8f8;
  padding: 80px 20px;
}
.android-flow__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.android-flow__steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.android-flow__step {
  flex: 1;
  position: relative;
  text-align: center;
  padding-top: 32px;
}
.android-flow__num {
  display: block;
  font-family: "din-2014", "Oswald", sans-serif;
  font-size: 70px;
  font-weight: 700;
  color: #ffdb00;
  line-height: 1;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.android-flow__card {
  background: #fff;
  border: 2px solid #333;
  border-radius: 20px;
  overflow: hidden;
}
.android-flow__img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
}
.android-flow__text {
  padding: 20px 16px;
}
.android-flow__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #333;
}
.android-flow__sub {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}
.android-flow__arrow {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}
.android-flow__arrow::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 18px;
  border-color: transparent transparent transparent #FFE500;
}

/* 修理の流れ レスポンシブ */
@media (max-width: 768px) {
  .android-flow {
    padding: 40px 20px;
  }
  .android-flow__steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 16px;
  }
  .android-flow__arrow {
    display: none;
  }
  .android-flow__num {
    font-size: 48px;
  }
  .android-flow__title {
    font-size: 16px;
  }
}

/* ---- よくある質問 ---- */
.android-faq__item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.android-faq__q {
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 30px;
  font-size: 20px;
  font-weight: 600;
}
.android-faq__a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 30px 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: #333;
}
.android-faq__label {
  font-family: "A-OTF Shin Go Pr6N", "shin-go-bold", "ヒラギノ角ゴシック", sans-serif;
  font-size: 26px;
  font-weight: 900;
  flex-shrink: 0;
}
.android-faq__label--a {
  color: #ffdb00;
}
@media (max-width: 768px) {
  .android-faq__q {
    font-size: 15px;
    padding: 14px 16px;
    gap: 12px;
  }
  .android-faq__a {
    font-size: 14px;
    padding: 16px;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ---- 黄色セクション padding調整 ---- */
.top-menu {
  padding: 100px 30px;
}
.top-menu + .top-menu {
  padding-top: 0;
}
@media (max-width: 768px) {
  .top-menu {
    padding: 50px 20px;
  }
  .top-menu + .top-menu {
    padding-top: 0;
  }
}

/* ---- 見出し SP調整 ---- */
@media (max-width: 768px) {
  .menu-list__heading {
    font-size: 2.2rem;
  }
}

/* ---- top-about 調整 ---- */
.top-about {
  background-color: #f0f0f0;
  padding: 100px 30px;
}
.top-about .title__icon {
  background-color: #fff;
}
.top-about .top-about__contents {
  margin-top: 0;
}
.top-about .title {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .top-about {
    padding: 50px 20px;
  }
  .top-about .title {
    margin-bottom: 30px;
  }
}

/* ---- 修理料金・FAQ 共通ラッパー ---- */
.android-price__wrapper {
  max-width: 1120px;
  margin: 0 auto;
}
.android-price__desc {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ---- 修理の流れ アイコン ---- */
.title__icon--yellow {
  background-color: #ffdb00;
}

/* ---- その他の修理 ---- */
.service-menu.menu.android-other-repair {
  padding: 40px 30px 30px;
  background-color: #f8f8f8;
}
