@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --color-purple: #985DA6;
  --color-purple-light: #f3edf5;
  --color-purple-bg: #F5EEF6;
  --color-purple-border: #d5c0dd;

  --color-blue: #61899C;
  --color-blue-light: #eff4f6;
  --color-blue-border: #c3d5dd;

  --color-navy-dark: #16315D;
  --color-navy-mid: #515670;
  --color-navy-light: #6F85A7;
  --color-text-dark: #333;
  --color-text-gray: #666;
  --color-text-light: #999;
  --color-bg-white: #fff;

  /* キアロベースのフォント指定 */
  --font-base: "fot-chiaro-std", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  /* YuGothic固定用変数 */
  --font-yugothic: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-dark);
  background-color: #e5eaf0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(22, 49, 93, 0.03) 20px, rgba(22, 49, 93, 0.03) 21px),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(22, 49, 93, 0.02) 20px, rgba(22, 49, 93, 0.02) 21px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   YuGothic
   ========================================================================== */
.sec-point__desc,
.repair-card__title,
.repair-card__desc,
.repair-note,
.repair-note-inline,
.sec-ba__note,
.howto-step__text,
.sec-notes__body,
.footer__text {
  font-family: var(--font-yugothic);
  font-weight: 500;
}

/* ==========================================================================
   LP Wrapper
   ========================================================================== */
.lp-wrapper {
  max-width: 450px;
  margin: 0 auto;
  background-color: var(--color-bg-white);
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  padding-bottom: 0;
  /* 変更箇所: 120pxから0に変更 */
}

.sec-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 16px;
  border-bottom: 1px solid #eee;
  background: #EBF8FF;
}

.header__logos {
  height: 32px;
  width: auto;
}

.header__text {
  color: #0A3192;
  font-family: var(--font-yugothic);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* ==========================================================================
   Coupon Area
   ========================================================================== */
.coupon-area {
  background: #2C4365;
  padding: 0 16px;
}

.coupon-link {
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* ==========================================================================
   365日 Section
   ========================================================================== */
.sec-365 {
  background:
    linear-gradient(90deg,
      var(--color-navy-dark) 0%,
      var(--color-navy-mid) 26%,
      var(--color-navy-light) 50%,
      var(--color-navy-mid) 76%,
      var(--color-navy-dark) 100%);
  text-align: center;
  padding: 36px 24px 40px;
}

.sec-365__title {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.4;
  margin-bottom: 18px;
}

.sec-365__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.06em;
  line-height: 2.0;
}

/* ==========================================================================
   Point Section
   ========================================================================== */
.sec-point {
  text-align: center;
  padding: 48px 0 24px;
  background: var(--color-bg-white);
}

.sec-point__text-area {
  padding: 0 24px;
}

.sec-point__label {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 auto 6px;
}

.sec-point__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-purple);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.sec-point__desc {
  font-size: 14px;
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sec-point__diagram-wrap {
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.sec-point__diagram {
  width: 70%;
  margin: 0 auto;
  max-width: 240px;
  height: auto;
}

/* ==========================================================================
   Repair Section
   ========================================================================== */
.sec-repair {
  background: var(--color-purple-bg);
  padding: 32px 16px;
  position: relative;
  margin: 0 16px;
}

/* 上部の三角形 */
.sec-repair::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 32px solid transparent;
  border-right: 32px solid transparent;
  border-bottom: 30px solid var(--color-purple-bg);
}

.repair-white-box {
  background: #fff;
  border-radius: 12px;
  padding: 12px 8px;
  margin-bottom: 24px;
}

.repair-white-box:last-child {
  margin-bottom: 0;
}

.repair-heading {
  text-align: center;
  margin-bottom: 8px;
}

.repair-heading__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: 0.1em;
}


.repair-block {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  background: transparent;
  border: none;
}

.repair-badge {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2em;
  line-height: 1;
  background: #fff;
  border: 1.5px solid;
  position: relative;
  z-index: 2;
  margin-right: -15px;
}

.badge-purple {
  color: var(--color-purple);
  border-color: var(--color-purple);
}

.badge-blue {
  color: var(--color-blue);
  border-color: var(--color-blue);
}

/* 変更箇所: カードのラッパー（バッジの背面に回り込ませる） */
.repair-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid;
  position: relative;
  z-index: 1;
  padding-left: 6px;
  /* バッジが重なる分の余白を設ける */
}

.block-purple .repair-cards {
  border-color: var(--color-purple);
}

.block-blue .repair-cards {
  border-color: var(--color-blue);
}

.repair-card {
  padding: 16px 12px 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.block-purple .repair-card+.repair-card {
  border-top: 1px dashed var(--color-purple);
}

.block-blue .repair-card+.repair-card {
  border-top: 1px dashed var(--color-blue);
}

.repair-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.repair-card__body {
  flex: 1;
}

.repair-card__title {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  line-height: 1.4;
  letter-spacing: -0.6px;
}

.repair-card__desc {
  font-size: 11px;
  color: var(--color-text-dark);
  line-height: 1.6;
}

/* 注釈類 */
.repair-note-inline {
  font-size: 10px;
  color: var(--color-text-gray);
  text-align: right;
  margin-top: 8px;
}

.repair-note {
  font-size: 10px;
  color: var(--color-text-gray);
  text-align: right;
  margin-bottom: 16px;
}

.repair-white-box>.repair-note:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Before / After
   ========================================================================== */
.sec-ba {
  background: var(--color-bg-white);
  padding: 24px 16px;
}

/* 変更箇所: 注釈の幅を狭めて右寄せ */
.sec-ba__note {
  width: 50%;
  margin-left: auto;
  font-size: 10px;
  color: var(--color-text-light);
  text-align: left;
  padding-top: 8px;
  padding-left: 2%;
  line-height: 1.6;
}

/* ==========================================================================
   How To Section
   ========================================================================== */
.sec-howto {
  background: #f5edf6;
  text-align: center;
  padding: 36px 20px 40px;
}

.sec-howto__label {
  display: block;
  width: 90px;
  height: auto;
  margin: 0 auto;
}

.sec-howto__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-purple);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.howto-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 4px;
  text-align: left;
}

.howto-step__icon {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.howto-step__body {
  flex: 1;
}

.howto-step__num {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-purple);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.howto-step__text {
  font-size: 15px;
  font-weight: bold;
  color: var(--color-text-dark);
  line-height: 1.6;
}

.howto-arrow {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.howto-arrow svg {
  width: 28px;
  height: 18px;
  color: var(--color-purple);
  opacity: 0.4;
}

.howto-result {
  margin-top: 2px;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* ==========================================================================
   Notes
   ========================================================================== */
.sec-notes {
  background: var(--color-bg-white);
  padding: 32px 20px 24px;
}

.sec-notes__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.sec-notes__body {
  font-size: 11px;
  color: #666;
  line-height: 1.8;
}

.notes-list {
  font-size: 13px;
  list-style: none;
  text-align: left;
}

.notes-list li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 4px;
}

.notes-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #EBF8FF;
  padding: 8px 4px 164px;
  text-align: center;
  border-top: 1px solid #d5e0eb;
}

.footer__text {
  font-size: 10px;
  font-weight: bold;
  color: #6a85a5;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Sticky CTA
   ========================================================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sticky-cta.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(100%);
  pointer-events: none;
}

.sticky-cta__link {
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s;
}

.sticky-cta__link:hover {
  opacity: 0.85;
}

.sticky-cta__img {
  width: 100%;
  height: auto;
  display: block;
}