@charset "utf-8";

/* ============================================
   産経グループ各紙のご案内 / お申し込みトップ
   ============================================ */

:root{
  --paper:      #ffffff;
  --paper-deep: #f7f7f5;
  --ink:        #23201c;
  --ink-soft:   #4a453e;
  --line:       #ddd8d0;

  --red:   #ad0505;   /* サンプル1実測 */
  --red-d: #8a0404;
  --gold:  #ac6304;   /* サンプル1実測 */
  --gold-d:#894f03;
  --blue:  #035380;   /* 産経ブルー（角印ロゴ・産経新聞社サイト準拠） */
  --blue-d:#023f63;

  --sans:  "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Noto Sans JP", "Meiryo", sans-serif;
}

*,
*::before,
*::after{ box-sizing: border-box; }

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

body{
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background-color: var(--paper);
  line-height: 1.8;
}

img{ max-width: 100%; height: auto; vertical-align: middle; }
a{ color: inherit; text-decoration: none; }

/* --------------------------------------------
   ヘッダー
   -------------------------------------------- */
.header{
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner{
  max-width: 1400px;
  margin-inline: auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
}

.brand{ display: inline-flex; }

.brand__title{
  width: 405px;
  height: 52px;
}



/* --------------------------------------------
   ヒーロー（左：見出し／右：トップ画像）
   -------------------------------------------- */
.hero{
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__inner{
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, 38%) 1fr;
  align-items: center;
  gap: 30px;
}

.hero__body{ padding: 46px 20px 46px 44px; }

.hero__eyebrow{
  margin: 0 0 14px;
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}

.hero__title{
  margin: 0;
  font-size: clamp(26px, 2.9vw, 40px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.45;
}

.hero__lead{
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.hero__visual{
  align-self: stretch;
  display: flex;
}

.hero__visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 新規お申し込み特典 */
.gift{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 14px 16px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.gift__icon svg{
  width: 38px;
  height: 38px;
  flex: none;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linejoin: round;
}

.gift__body{ display: block; }

.gift__label{
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.gift__note{
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------
   地域セクションの見出し（両側に罫）
   -------------------------------------------- */
.cards__head{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  letter-spacing: .08em;
}

.cards__head::before,
.cards__head::after{
  content: "";
  flex: 1;
  height: 1px;
  background: var(--blue);
}

/* --------------------------------------------
   カード
   -------------------------------------------- */
.cards{ padding: 50px 24px 70px; }

.cards__inner{
  max-width: 1080px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.card{
  --accent:  var(--red);
  --accent-d:var(--red-d);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 2px 3px rgba(0,0,0,.05), 0 6px 8px rgba(0,0,0,.05);
  transition: transform .25s, box-shadow .25s;
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: 3px 5px rgba(0,0,0,.06), 0 10px 14px rgba(0,0,0,.08);
}

.card--red { --accent: var(--red);  --accent-d: var(--red-d); }
.card--gold{ --accent: var(--gold); --accent-d: var(--gold-d); }
.card--blue{ --accent: var(--blue); --accent-d: var(--blue-d); }

/* 上部の罫線装飾 */
.card__rule{
  position: relative;
  height: 18px;
  margin-bottom: 16px;
}

.card__bar{
  position: absolute;
  left: 0;
  top: 4px;
  width: 34%;
  height: 4px;
  background: var(--accent);
}

.card__line{
  position: absolute;
  left: 0;
  right: 18px;
  top: 14px;
  height: 1px;
  background: var(--accent);
  opacity: .5;
}

.card__mark{
  position: absolute;
  right: 0;
  top: 4px;
}

.card__mark svg{
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.1;
  opacity: .75;
}

.card__area{
  margin: 0;
  text-align: center;
  color: var(--accent);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  white-space: nowrap;
}

/* 文字数の多い「九州・山口」は 1 行に収まるよう控えめに */
.card--red .card__area{ font-size: clamp(21px, 2.1vw, 28px); }

.card__sub{
  margin: 4px 0 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
}

.card__sep{
  width: 46px;
  height: 0;
  margin: 14px auto;
  border: 0;
  border-top: 1px solid var(--accent);
  opacity: .55;
}

.card__label{
  margin: 0 0 5px;
  text-align: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.card__pref{
  margin: 0 0 auto;
  text-align: center;
  font-size: 13px;
  letter-spacing: .02em;
  line-height: 1.85;
}

/* ボタン */
.btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 0;
  padding: 12px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: background-color .2s, transform .2s;
}

.btn:hover{ background: var(--accent-d); }
.btn:active{ transform: translateY(1px); }

.btn svg{
  width: 26px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}

.btn:hover svg{ transform: translateX(5px); }

.btn:focus-visible,
.brand:focus-visible,
.footer__nav a:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* 下部の罫線＋網点装飾 */
.card__foot{
  position: relative;
  height: 14px;
  margin-top: 16px;
}

.card__footlines{
  position: absolute;
  left: 0;
  right: 46px;
  top: 4px;
  height: 4px;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  opacity: .45;
}

.card__dots{
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
  height: 14px;
  background-image: radial-gradient(var(--accent) 1px, transparent 1.1px);
  background-size: 5px 5px;
  opacity: .55;
}

/* 注釈 */
.note{
  max-width: 1100px;
  margin: 56px auto 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* --------------------------------------------
   フッター
   -------------------------------------------- */
.footer{
  padding: 30px 24px 36px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  text-align: center;
  font-family: var(--sans);
}

.footer__nav{
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 13px;
}

.footer__nav a:hover{ text-decoration: underline; }

.footer__copy{
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* --------------------------------------------
   レスポンシブ
   -------------------------------------------- */
@media (max-width: 1080px){
  .cards__inner{ grid-template-columns: 1fr; max-width: 460px; }
  .card__area{ font-size: 30px; }

  /* 1カラム時は 東日本 → 西日本 → 九州・山口 の順に並べ替え */
  .card--blue{ order: 1; }
  .card--gold{ order: 2; }
  .card--red { order: 3; }
}

@media (max-width: 820px){
  .header__inner{ padding: 14px 18px; }
  .brand__title{ width: auto; max-width: 100%; height: auto; }

  .hero{ padding-top: 46px; }
  .cards{ padding: 36px 18px 64px; }
  .card{ padding: 18px 20px 20px; }
  .card__area{ font-size: 26px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}

/* ============================================
   追加セクション
   ============================================ */




/* --------------------------------------------
   カード内ボタン（購読／試読の2本立て）
   -------------------------------------------- */
.card__actions{
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card__actions .btn{
  margin-top: 0;
  gap: 14px;
  padding: 15px 18px;
  font-size: clamp(14px, 1.05vw, 17px);
}



/* --------------------------------------------
   セクション共通見出し
   -------------------------------------------- */
.sec-head{
  margin: 0;
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 600;
  letter-spacing: .06em;
}

.sec-head{
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
}

.sec-lead{
  margin: 10px 0 26px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* --------------------------------------------
   電話でのお申し込み
   -------------------------------------------- */
.tel{
  padding: 60px 24px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.tel__inner{ max-width: 1000px; margin-inline: auto; }

.tel__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tel__box{
  --accent: var(--blue);
  padding: 24px 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  text-align: center;
}

.tel__box--blue{ --accent: var(--blue); }
.tel__box--red { --accent: var(--red); }

.tel__area{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
}

.tel__num{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}

.tel__num svg{
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.tel__time{
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* --------------------------------------------
   グループ各紙
   -------------------------------------------- */
.papers{ padding: 60px 24px; }
.papers__inner{ max-width: 1100px; margin-inline: auto; }

.papers__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 申し込み導線は2本 */
  gap: 18px;
}






/* --------------------------------------------
   ご購読中の方のお手続き
   -------------------------------------------- */
.support{
  padding: 56px 24px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.support__inner{ max-width: 900px; margin-inline: auto; }

.support__cols{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.support__title{
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
}

.support__list{
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.support__list li + li{ margin-top: 8px; }

.support__list a{
  display: inline-block;
  padding-left: 16px;
  position: relative;
  color: var(--ink);
}

.support__list a::before{
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  transform: rotate(45deg);
}

.support__list a:hover{ text-decoration: underline; }

/* --------------------------------------------
   新聞協会リンク
   -------------------------------------------- */
.pressnet{
  margin: 0 auto 56px;
  padding: 0 24px;
  max-width: 1100px;
  font-size: 13px;
}

.pressnet a{
  color: var(--ink-soft);
  text-decoration: underline;
}

/* --------------------------------------------
   追加セクションのレスポンシブ
   -------------------------------------------- */
@media (max-width: 900px){
  .papers__list{ grid-template-columns: 1fr; }
}

@media (max-width: 700px){
  .tel__grid,
  .support__cols{ grid-template-columns: 1fr; }
  .tel{ padding: 44px 18px; }
  .papers{ padding: 44px 18px; }
  .support{ padding: 44px 18px; }
}

/* --------------------------------------------
   1カラム時は地域カードと同じ順（東日本が先）に揃える
   PC（横並び）はカードの左右と同じ 西日本・九州 → 東日本
   -------------------------------------------- */
@media (max-width: 700px){
  .tel__grid,
  .support__cols{ display: flex; flex-direction: column; }

  .tel__box--blue,                 /* 東日本 */
  .support__col:last-child{ order: 1; }

  .tel__box--red,                  /* 西日本・九州・山口 */
  .support__col:first-child{ order: 2; }
}


/* --------------------------------------------
   ヒーローのレスポンシブ
   -------------------------------------------- */
@media (max-width: 900px){
  .hero__inner{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__body{
    order: 2;
    padding: 26px 18px 30px;
  }
  .hero__visual{ order: 1; }
  .hero__visual img{ height: auto; max-height: 260px; }

  .cards__head{ gap: 12px; }
}

/* --------------------------------------------
   ヒーロー：背景1枚敷き（toppageillust3.png 用）
   画像の左40%が空けてあるので、そこに見出しを重ねる
   -------------------------------------------- */
.hero--bg{
  background-image: url("../images/toppageillust3.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.hero--bg .hero__inner{
  max-width: 1400px;
  margin-inline: auto;
  min-height: clamp(420px, 34vw, 560px);
  display: flex;
  align-items: center;
}

.hero--bg .hero__body{
  width: min(46%, 520px);
  padding: 48px 20px 48px 44px;
}

/* 画像の上に載るので、特典ボックスは白地で抜く */
.hero--bg .gift{
  background: rgba(255,255,255,.9);
  border-color: rgba(3,83,128,.2);
}

/* スマホ用の画像。PCでは背景を使うので隠す */
.hero__figure{ display: none; }

@media (max-width: 900px){
  /* 3:1のままだと人物が小さすぎるため、背景をやめて画像を上に置く */
  .hero--bg{ background-image: none; }

  .hero__figure{
    display: block;
    line-height: 0;
  }

  /* SP専用画像（toppageillust3-sp.jpeg）は家族が中央に収まっているため切り抜かない */
  .hero__figure img{
    width: 100%;
    height: auto;
  }

  .hero--bg .hero__inner{
    min-height: 0;
    display: block;
  }

  .hero--bg .hero__body{
    width: 100%;
    padding: 26px 18px 30px;
  }

  .hero--bg .gift{ background: var(--paper-deep); }
}

/* --------------------------------------------
   スマホでは見出しを改行させず1行に収める
   -------------------------------------------- */
@media (max-width: 900px){
  .hero__title br{ display: none; }

  .hero__title{
    font-size: clamp(19px, 6.2vw, 26px);
    letter-spacing: .02em;
    white-space: nowrap;
  }
}

/* --------------------------------------------
   グループ各紙のカード（id.sankei.com/koudoku/ に準拠）
   枠線＋ロゴ＋説明文＋「詳しく見る」ボタン
   -------------------------------------------- */
.papers__list li{
  display: flex;
  min-width: 0;
}

.paper{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid #ccc;
}

.paper__logo{
  margin: 0 0 18px;
  text-align: center;
}

.paper__logo img{
  width: 100%;
  max-width: 300px;
  height: auto;
}

.paper__text{
  margin: 0 0 20px;
  flex: 1;
  font-size: 14px;
  line-height: 1.85;
}

.paper__btn{
  display: block;
  padding: 14px 16px;
  background: var(--blue);
  border-radius: 4px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background-color .2s;
}

.paper__btn:hover{ background: var(--blue-d); }

.paper__btn:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
