/* === variables (inlined from variables.css) === */
@import url("https://fonts.googleapis.com/earlyaccess/notosansjp.css");
@import url('https://rsms.me/inter/inter.css');

:root {
  --font-hiragino: "Noto Sans JP", sans-serif;
  --font-graphik: graphik, sans-serif;
  --font-inter: "Inter", sans-serif;

  --color-navy: #1F2937;
  --color-red: #EB0A1E;
  --color-white: #fff;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #333;
  --color-gray-500: #6B7280;
  --color-gray-600: #444;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  --color-black: #000;
  --color-blue: #4F46E5;

  --breakpoint-sp: 600px;
  --breakpoint-pc: 600px;
  --breakpoint-tb: 779px;
  --breakpoint-pb: 780px;
  --breakpoint-sg-min: 601px;
  --breakpoint-sg-max: 939px;
  --breakpoint-se: 940px;
  --breakpoint-lg: 1280px;
  --breakpoint-xl: 1600px;
}

/* === reset (inlined from reset.css) === */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--color-gray-700);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  font-family: Inter, sans-serif;
  letter-spacing: 0.03em;
  margin: 0;
  padding: 0;
}

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

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

ul li {
  list-style: none;
}

p, h1, h2, h3, h4, h5 {
  white-space: normal;
  word-break: break-all;
}

a {
  color: var(--color-gray-700);
  text-decoration: none;
}

/* === page shell === */
/* Matches lp-aisha-protect Home.module.scss page shell */
.aisha-page-root {
  background-color: var(--color-gray-100);
  box-sizing: border-box;
  max-width: 100%;
  padding-bottom: 10vh;
  width: 100%;
}

@media screen and (max-width: 600px) {
  .aisha-page-root {
    overflow: hidden;
  }
}

.aisha-page-main {
  align-items: stretch;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column;
  font-family: var(--font-inter), sans-serif;
  justify-content: flex-start;
  max-width: 100%;
  min-height: 100vh;
  padding-top: 82px;
  width: 100%;
}

/* HubSpot drag-and-drop wrappers default to narrow widths; stretch to LP layout */
.aisha-page-main .dnd_area,
.aisha-page-main .dnd-section,
.aisha-page-main .dnd_section,
.aisha-page-main .dnd-column,
.aisha-page-main .dnd_column,
.aisha-page-main .dnd-row,
.aisha-page-main .dnd_row {
  max-width: 100% !important;
  width: 100% !important;
}

.aisha-page-main .dnd-module,
.aisha-page-main .dnd_module {
  max-width: 100% !important;
  width: 100% !important;
}

.aisha-page-main [class*="row-fluid"] {
  max-width: 100% !important;
  width: 100% !important;
}

.aisha-page-main .container-fluid {
  max-width: 100% !important;
}

/* Classic HubSpot grid: single-column landing — force full row width */
.aisha-page-main .row-fluid [class*="span"] {
  box-sizing: border-box !important;
  float: none !important;
  margin-left: 0 !important;
  min-height: 0 !important;
  width: 100% !important;
}

.aisha-page-main .widget-span {
  width: 100% !important;
}

/*
 * Feature module (商品の特長): HubSpot wraps React output in narrow/white cells, so
 * a plain section background does not read as a "band". Break out to viewport width
 * and use an explicit hex (matches --color-gray-100 / lp-aisha-protect).
 */
[data-aisha-feature='band'] {
  background-color: #f3f4f6 !important;
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  padding-bottom: 48px !important;
  padding-top: 48px !important;
  position: relative !important;
  width: 100vw !important;
}

/* メインビジュアル: DnD ラッパーの内側余白を打ち消し、本番 LP どおりビューポート幅で表示 */
[data-aisha-mainvisual-root] {
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

[data-aisha-mainvisual-notes] {
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* 動画・ネガティブストーリー: LP 同様 gray700 帯。HubSpot ラッパーで背景が消える場合に備えフルブリード + 明示色 */
[data-aisha-video-band],
[data-aisha-negative-story],
[data-aisha-twitter-band] {
  background-color: #374151 !important;
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

[data-aisha-negative-story] h1 {
  color: #ffffff !important;
}

/* 商品詳細: LP と同じ gray100 帯（HubSpot ラッパーで背景が抜ける場合に備える） */
[data-aisha-details] {
  background-color: #f3f4f6 !important;
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* 保険金の請求方法（HowToBilling）: 白帯フルブリード */
[data-aisha-how-to-billing] {
  background-color: #ffffff !important;
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* 保険料ブロック: LP と同じ白カード帯（HubSpot ラッパーで背景が抜ける場合に備える） */
[data-aisha-fee] {
  background-color: #ffffff !important;
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* お申込みの流れ: 白背景をフルブリード（LP ApplicationFlow.container） */
[data-aisha-application-flow] {
  background-color: #ffffff !important;
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* よくある質問: LP と同じ gray100 背景（ページ背景と一体化） */
[data-aisha-questions] {
  background-color: #f3f4f6 !important;
  box-sizing: border-box !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

.faq-desc a {
  text-decoration: underline;
}

/* FeeModalIsland responsive image switching */
@media screen and (max-width: 600px) {
  .fee-modal-pc {
    display: none !important;
  }

  .fee-modal-sp {
    display: block !important;
  }

  .fee-modal-contents {
    gap: 6px !important;
  }
}

@media screen and (min-width: 601px) {
  .fee-modal-contents {
    gap: 32px !important;
  }
}

.contentWidth {
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .contentWidth {
    padding: 40px 16px;
  }
}

@media screen and (min-width: 600px) {
  .contentWidth {
    max-width: 1000px;
    padding: 60px 16px;
  }
}

h1 {
  padding-top: 6px;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 24px;
    font-weight: 600;
  }
}

@media screen and (min-width: 600px) {
  h1 {
    font-size: 30px;
  }
}

h2 {
  color: var(--color-gray-500);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.bold {
  font-size: 32px;
  font-weight: 700;
}

.slightlyBold {
  font-weight: 600;
}

.hidden {
  display: none !important;
}

/* Responsive visibility classes */
@media screen and (min-width: 600px) {
  .sp { display: none !important; }
}

@media screen and (max-width: 600px) {
  .pc { display: none !important; }
}

@media screen and (min-width: 780px) {
  .tb { display: none !important; }
}

@media screen and (max-width: 779px) {
  .pb { display: none !important; }
}

/* sg: visible only between 601px and 939px */
@media screen and (max-width: 600px) {
  .sg { display: none !important; }
}
@media screen and (min-width: 940px) {
  .sg { display: none !important; }
}

/* se: visible only at 940px+ */
@media screen and (min-width: 601px) and (max-width: 939px) {
  .se { display: none !important; }
}
@media screen and (max-width: 600px) {
  .se { display: none !important; }
}

.asterisk {
  font-size: 0.8em;
}
