@charset "UTF-8";

/* ==========================================================================
   カラー変数・共通設定
   ========================================================================== */
:root {
  --main-color: #131246;     /* メインカラー：ネイビー */
  --accent-color: #CCA42F;   /* アクセントカラー：ゴールド */
  --base-color: #ffffff;     /* ベースカラー：ホワイト */
  --text-color: #333333;     /* 基本文字色 */
  --stripe-color: #EFE9D8;   /* テーブルの縞模様背景色 */
  --font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Sans-serif;
  --bubble-color: #008852;   /* HEROエリアのバブル背景色（緑） */
}

/* 全体エリア設定 */
.adr {
  font-family: var(--font-family);
  padding: 60px 0 80px 0;
  background-color: var(--base-color);
  color: var(--text-color);
}

.adr__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* セクション間余白 */
.adr__section {
  margin-top: 60px;
}

/* ==========================================================================
   1. ページヘッダー
   ========================================================================== */
.adr__header {
  text-align: center;
  margin-bottom: 40px;
}

.adr__title {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.adr__divider {
  width: 40px;
  height: 3px;
  background-color: var(--main-color);
  border: none;
  margin: 0 auto;
}

/* ==========================================================================
   2. HERO エリア (HTML/CSS構成)
   ========================================================================== */
.adr__hero {
  text-align: center;
  margin-bottom: 60px;
}

.adr__hero-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 30px;
  line-height: 1.5;
}

.adr__highlight {
  color: #d94b4b; /* 円満な解決の強調赤文字 */
}

/* HEROカード外枠 */
.adr__hero-box {
  background-color: #f7f6f2;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 30px 20px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.adr__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 上部吹き出し */
.adr__hero-speech-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  width: 100%;
}


/* バブル ＆ イラスト配置グラフィック */
.adr__hero-main-graphic {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  grid-template-rows: auto auto;
  gap: 20px 15px;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 680px;
}

.adr__hero-bubble {
  background-color: var(--main-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  padding: 14px 18px;
  border-radius: 40px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  width: 100%;
  box-sizing: border-box;
}

.adr__hero-bubble--top-left     { grid-column: 1; grid-row: 1; }
.adr__hero-bubble--top-right    { grid-column: 3; grid-row: 1; }
.adr__hero-bubble--bottom-left  { grid-column: 1; grid-row: 2; }
.adr__hero-bubble--bottom-right { grid-column: 3; grid-row: 2; }

.adr__hero-center-illustration {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: center;
}

.adr__hero-people-img {
  width: 100%;
  max-width: 170px;
  height: auto;
}

/* ==========================================================================
   3. ADRとは？？？ (解説セクション)
   ========================================================================== */
.adr__section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #3b3a88;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.adr__feature-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.adr__feature-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #ffffff;
}

/* 偶数番目の項目は画像を左右反転配置 */
.adr__feature-item--reverse {
  flex-direction: row-reverse;
}

.adr__feature-content {
  flex: 1;
}

.adr__feature-title {
  font-size: 18px;
  font-weight: bold;
  color: #3b3a88;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.adr__feature-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-color);
}

.adr__feature-image-wrap {
  width: 160px;
  flex-shrink: 0;
  text-align: center;
}

.adr__feature-image {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   4. 手数料セクション
   ========================================================================== */
.adr__section-header-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  background-color: var(--main-color);
  padding: 10px 0;
  letter-spacing: 4px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.adr__fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.adr__fee-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  box-sizing: border-box;
}

.adr__fee-card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 8px;
  margin-bottom: 15px;
  text-align: center;
}

.adr__fee-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-color);
}

/* 手数料テーブル */
.adr__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 12px;
}

.adr__th, .adr__td {
  border: 1px solid #cccccc;
  padding: 8px 10px;
  text-align: center;
}

.adr__th {
  background-color: #eeeebf; /* テーブルヘッダーの淡い黄緑/黄色 */
  font-weight: bold;
  color: var(--text-color);
}

/* 1行おきの縞模様 (#EFE9D8) */
.adr__table tbody tr:nth-child(even) {
  background-color: var(--stripe-color);
}

.adr__table tbody tr:nth-child(odd) {
  background-color: var(--base-color);
}

.adr__fee-note {
  font-size: 11px;
  color: #666666;
  line-height: 1.6;
}

/* ==========================================================================
   5. サブバナー ＆ 関連リンク・書類
   ========================================================================== */
.adr__sub-banner {
  background-color: var(--main-color);
  padding: 10px 20px;
  margin-bottom: 25px;
  border-radius: 4px;
}

.adr__sub-banner-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
}

.adr__links-block {
  padding: 0 10px;
}

.adr__link-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.adr__link-item {
  margin-bottom: 10px;
}

.adr__link {
  color: #0066cc;
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.adr__link:hover {
  color: var(--main-color);
}

/* PDFダウンロード */
.adr__pdf-downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.adr__pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d94b4b;
  font-weight: bold;
  font-size: 14px;
  text-decoration: underline;
}

.adr__pdf-icon {
  width: 18px;
  height: auto;
}

.adr__logo-wrap {
  text-align: center;
  margin-top: 20px;
}

.adr__kaiketsu-logo {
  max-width: 180px;
  height: auto;
}

/* ==========================================================================
   6. アクションボタン
   ========================================================================== */
.adr__buttons {
  text-align: center;
  margin-top: 50px;
}

.adr__btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 45px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.adr__btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ==========================================================================
   レスポンシブ対応 (768px以下 - スマホ・タブレット表示)
   ========================================================================== */
@media screen and (max-width: 768px) {
  .adr__hero-speech-top {
    flex-direction: column;
    gap: 8px;
  }

  .adr__hero-main-graphic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .adr__hero-center-illustration {
    grid-column: 1;
    grid-row: 3;
    margin: 15px 0;
  }

  .adr__hero-bubble--top-left     { grid-column: 1; grid-row: 1; }
  .adr__hero-bubble--top-right    { grid-column: 1; grid-row: 2; }
  .adr__hero-bubble--bottom-left  { grid-column: 1; grid-row: 4; }
  .adr__hero-bubble--bottom-right { grid-column: 1; grid-row: 5; }

  .adr__feature-item,
  .adr__feature-item--reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  .adr__feature-image-wrap {
    width: 100%;
    margin-top: 15px;
  }

  .adr__fee-grid {
    grid-template-columns: 1fr;
  }

  .adr__btn {
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
  }
}

/* ==========================================================================
   画像フチのぼかし（フェード）設定
   ========================================================================== */

/* HEROエリアの中央イラスト */
.adr__hero-people-img {
  width: 100%;
  max-width: 170px;
  height: auto;

  /* 四方のフチを外側に向かってぼかす設定 */
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* 特長（ADR解説）エリアのイラスト枠内の画像 */
.adr__feature-image-wrap {
  width: 160px;
  flex-shrink: 0;
  text-align: center;
}

.adr__feature-image {
  max-width: 100%;
  height: auto;

  /* 四方のフチを外側に向かってぼかす設定 */
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* ==========================================================================
   レスポンシブ対応 (768px以下 - スマホ・タブレット表示)
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* --- 既存のレスポンシブコード --- */

  /* HEROエリアの中央イラストを幅いっぱいの標準中央寄せに設定 */
  .adr__hero-center-illustration {
    grid-column: 1;
    grid-row: 3;
    width: 100%;           /* 横幅を画面いっぱい（100%）に */
    max-width: 100%;       /* 制限を解除 */
    margin: 20px auto;     /* 上下に余白をつけて中央寄せ */
    text-align: center;    /* 中身の画像を中央寄せ */
  }

  /* HEROエリア内の画像自体も幅いっぱいに拡大 */
  .adr__hero-people-img {
    width: 100%;
    max-width: 100%;       /* PC時の170px制限を解除して画面幅いっぱいに */
    height: auto;
  }

  /* 特長（ADR解説）エリアのイラスト枠を幅いっぱいの標準中央寄せに設定 */
  .adr__feature-image-wrap {
    width: 100%;           /* PC時の160px固定を解除して幅いっぱいに */
    max-width: 100%;
    margin: 15px auto 0 auto; /* 上余白をつけて中央寄せ */
    text-align: center;    /* 画像を中央寄せ */
  }

  /* 特長エリアの画像自体も枠いっぱいに拡大 */
  .adr__feature-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

}