﻿@charset "UTF-8";
/* 生成元: wwwroot/_src/scss/style-apps/style-website.scss。website.cssを直接編集せず、Web Compilerで再生成してください。 */
/* 公開サイトの共通構成。開発・本番で同じ軽量CSSを読み込み、出力差による表示崩れを防ぎます。 */
:root {
  --amt-ink: #132a48;
  --amt-muted: #52657c;
  --amt-blue: #1762ca;
  --amt-line: #dce5ef;
  --amt-tint: #f3f7fc;
}

.amt-section {
  padding: 72px 0;
  color: var(--amt-ink);
}

.amt-section h2, .amt-page-head h1 {
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
}

.amt-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.amt-section p, .amt-card p {
  line-height: 1.85;
}

.amt-section a, .amt-card a {
  overflow-wrap: anywhere;
}

.amt-narrow {
  max-width: 900px;
}

.amt-tint {
  background: var(--amt-tint);
}

.amt-page-head {
  padding: 64px 0 40px;
  background: var(--amt-tint);
  color: var(--amt-ink);
}

.amt-page-head h1 {
  font-size: 2.5rem;
}

.amt-lead {
  font-size: 1.12rem;
  line-height: 1.9;
  max-width: 740px;
}

.amt-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.amt-hero {
  background: linear-gradient(125deg, #143c7d, #092449);
  color: #fff;
  padding: 100px 0 84px;
}

.amt-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: inherit;
}

.amt-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 64px;
}

.amt-hero-note {
  color: #dbe8ff;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 24px;
}

.amt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.amt-actions .btn, .amt-section .btn {
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 1rem;
  white-space: normal;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}

.amt-btn-outline {
  color: #fff;
  border: 1px solid #a9c6ee;
}

.amt-btn-outline:hover {
  background: #fff;
  color: #143c7d;
}

.amt-signal-panel {
  padding: 32px 24px;
  border: 1px solid #5b7ca5;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.031372549);
  box-shadow: 0 28px 60px rgba(0, 20, 49, 0.2666666667);
}

.amt-sources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.amt-sources span {
  padding: 8px 12px;
  border: 1px solid #7699c6;
  border-radius: 8px;
  font-size: 0.85rem;
}

.amt-signal-line {
  height: 32px;
  width: 2px;
  margin: auto;
  background: #88b6ef;
}

.amt-app-mark {
  margin: auto;
  padding: 18px;
  max-width: 200px;
  background: #fff;
  border-radius: 16px;
  color: #143c7d;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.5rem;
}

.amt-signal-result {
  text-align: center;
  border: 1px solid #7699c6;
  border-radius: 8px;
  padding: 12px;
}

.amt-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.amt-three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.amt-card {
  padding: 30px;
  border: 1px solid var(--amt-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 60, 125, 0.0235294118);
  color: var(--amt-ink);
}

.amt-card h2 {
  font-size: 1.35rem;
  line-height: 1.55;
}

.amt-section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.amt-flow {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.amt-flow li {
  border-top: 2px solid var(--amt-line);
  padding-top: 22px;
}

.amt-number {
  display: block;
  font-weight: 700;
  color: var(--amt-blue);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.amt-flow p {
  color: var(--amt-muted);
  font-size: 0.95rem;
}

.amt-muted {
  color: var(--amt-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.amt-notice {
  padding: 20px 24px;
  border-left: 3px solid var(--amt-blue);
  background: var(--amt-tint);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--amt-ink);
}

.amt-faq details {
  border-bottom: 1px solid var(--amt-line);
  padding: 22px 0;
}

.amt-faq summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  line-height: 1.6;
}

.amt-faq details p {
  margin: 18px 0 8px;
}

.amt-partner-band {
  background: #123365;
  color: white;
}

.amt-partner-band h2 {
  color: inherit;
}

.amt-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amt-steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--amt-line);
}

.amt-steps h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.amt-steps .amt-number {
  margin-top: 4px;
}

.amt-steps + aside {
  margin-top: 32px;
}

.amt-plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.amt-total {
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  font-weight: 700;
  color: var(--amt-ink);
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
  margin-bottom: 8px;
}

.amt-total small {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--amt-muted);
  margin-top: 8px;
}

.amt-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: #e9f2ff;
  color: #164f96;
  font-size: 0.8rem;
}

.amt-price-block {
  margin: 20px 0;
}

.amt-code-input {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.amt-code-input input {
  min-width: 0;
  height: auto;
}

.amt-code-input .btn {
  flex-shrink: 0;
}

.amt-description {
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin-top: 24px;
}

.amt-account dt {
  color: var(--amt-muted);
  font-weight: 400;
}

.amt-account dd {
  overflow-wrap: anywhere;
  margin-bottom: 18px;
}

.amt-promotion {
  max-width: 850px;
  margin: auto;
}

.amt-legal {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  padding: 28px;
  background: #f8fafc;
  border: 1px solid var(--amt-line);
  border-radius: 12px;
}

/* 既存テーマの段落色を上書きし、濃い背景でも説明と提携案内を読めるようにします。 */
.amt-section h2 {
  color: inherit;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.amt-section .amt-card h2, .amt-steps h2 {
  font-size: 1.4rem;
}

.amt-card h1, .amt-card h2, .amt-card h3 {
  color: var(--amt-ink);
}

.amt-card h1, .amt-card h2 {
  text-wrap: balance;
}

.amt-plan h2 {
  margin-bottom: 0;
}

.amt-plan .amt-price-block {
  margin: 0 0 16px;
}

.amt-page-head h1 {
  color: var(--amt-ink);
}

.amt-page-head .amt-lead {
  color: var(--amt-muted);
}

.amt-hero p, .amt-partner-band p {
  color: #dbe8ff;
}

.amt-section p:not(.amt-muted):not(.amt-total) {
  color: inherit;
}

.amt-hero h1 {
  text-wrap: balance;
}

.amt-app-mark {
  max-width: 240px;
}

.amt-app-mark strong {
  white-space: nowrap;
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #f0ae25;
  outline-offset: 4px;
}

.price-wrap .btn {
  max-width: 100%;
  white-space: normal;
}

.header .navbar-brand img {
  max-width: 100%;
  object-fit: contain;
}

.amt-support-hint {
  max-width: 800px;
  margin: 0 auto 24px;
}

@media (max-width: 991px) {
  .amt-hero-grid {
    gap: 28px;
  }
  .amt-three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .amt-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .amt-hero {
    padding: 72px 0;
  }
  .amt-two-col {
    gap: 28px;
  }
}
@media (max-width: 600px) {
  .amt-section {
    padding: 44px 0;
  }
  .amt-hero-grid, .amt-two-col, .amt-three-col {
    grid-template-columns: 1fr;
  }
  .amt-signal-panel {
    display: none;
  }
  .amt-page-head {
    padding: 40px 0 28px;
  }
  .amt-page-head h1 {
    font-size: 2rem;
  }
  .amt-hero {
    padding: 56px 0;
  }
  .amt-flow {
    gap: 20px;
  }
  .amt-card {
    padding: 24px;
  }
  .amt-actions {
    flex-direction: column;
  }
  .amt-code-input {
    flex-direction: column;
  }
  .amt-steps li {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }
  .amt-legal {
    padding: 18px;
  }
  .amt-total {
    font-size: 2rem;
  }
}
.amt-contact-form .required {
  font-size: 0.8rem;
  margin-left: 0.35rem;
  color: #a52a32;
}

/* 復元したトップだけに適用し、旧テーマの画像・グラデーション・余白を他ページへ波及させません。 */
.amt-home .amt-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.amt-home .btn {
  white-space: normal;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
  max-width: 100%;
}

.amt-home .amt-home-secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.amt-home .amt-home-secondary:hover {
  background: #fff;
  color: #164f96;
}

.amt-home h1 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.amt-home .amt-home-signal {
  padding-top: 60px;
  padding-bottom: 80px;
}

.amt-home .amt-home-signal h2 {
  margin-bottom: 24px;
}

.amt-home .amt-home-signal p {
  line-height: 1.85;
}

.amt-home .amt-signal-panel {
  display: block;
  background: #0f66d2;
  color: #fff;
  margin: 24px 0;
}

.amt-home .amt-app-mark {
  color: #143c7d;
}

.amt-home .amt-faq {
  margin-top: 24px;
}

.amt-home .amt-section {
  padding: 80px 0;
}

.amt-home .amt-section h2 {
  font-size: 2rem;
  font-weight: 400;
}

.amt-home .call-to-action-app {
  margin-bottom: 0;
}

.amt-home .call-to-action-app p {
  color: #fff;
}

.amt-home .feature-content {
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .amt-home .amt-home-actions {
    justify-content: center;
  }
  .amt-home .amt-signal-panel {
    padding: 24px 12px;
  }
  .amt-home .amt-sources span {
    padding: 8px;
  }
  .amt-home .amt-app-mark {
    max-width: 220px;
  }
  .amt-home .amt-section {
    padding: 50px 0;
  }
  .amt-home .service .service-box {
    width: 100%;
  }
  .amt-home .pull-top .p-5 {
    padding: 28px !important;
  }
}
/* 決済方法の順序をDOMと揃え、翻訳文や文字拡大でも固定幅によるはみ出しを防ぎます。 */
.amt-payment-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.amt-payment-options > div {
  min-width: 0;
}

.amt-payment-options .amt-payment-button {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 16px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
  border-radius: 8px;
  font-size: 1rem;
}

.amt-payment-options .amt-payment-stripe {
  padding: 20px 16px;
}

/* 通常サイズの白文字でも読めるコントラストと、下段のボタンの高さを確保します。 */
.amt-payment-options .btn-primary {
  background-color: var(--amt-blue);
  border-color: var(--amt-blue);
}

.amt-payment-options .btn-primary:hover, .amt-payment-options .btn-primary:focus {
  background-color: #124e9f;
  border-color: #124e9f;
}

.amt-payment-secondary > a.amt-payment-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  height: 100%;
}

.amt-payment-title, .amt-payment-methods, .amt-payment-provider {
  display: block;
}

.amt-payment-title {
  font-size: 1.35rem;
}

.amt-payment-methods {
  margin-top: 6px;
  font-size: 1rem;
}

.amt-payment-provider {
  margin-top: 4px;
  font-size: 0.875rem;
}

.amt-payment-security {
  padding: 20px;
  border: 1px solid var(--amt-line);
  border-radius: 8px;
  background: var(--amt-tint);
  color: var(--amt-ink);
  overflow-wrap: anywhere;
}

.amt-payment-security h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.amt-payment-security p {
  margin: 0;
  color: var(--amt-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.amt-wallet-help {
  position: relative;
  margin: 8px 0 16px;
  color: var(--amt-ink);
  text-align: left;
}

.amt-wallet-help-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #1754a2;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}

.amt-wallet-help-trigger .fa {
  flex-shrink: 0;
}

.amt-wallet-help-trigger:hover {
  text-decoration: underline;
}

.amt-wallet-help-trigger:focus, .amt-payment-button:focus {
  outline: 3px solid #1754a2;
  outline-offset: 3px;
}

.amt-wallet-help-panel {
  padding: 16px;
  border: 1px solid var(--amt-line);
  border-radius: 8px;
  background: #fff;
  color: var(--amt-ink);
  box-shadow: 0 6px 20px rgba(19, 42, 72, 0.15);
  font-size: 0.9375rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.amt-wallet-help-panel[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .amt-payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .amt-payment-primary {
    grid-column: 1/-1;
  }
  /* 狭い画面とJavaScript無効時は通常フローで表示し、長文をスクロールして読めるようにします。 */
  .amt-wallet-help.is-enhanced .amt-wallet-help-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 36rem;
    z-index: 1050;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
