@charset "utf-8";

/* ==========================================================================
   ハピスマとは(page-about.php) 2026リニューアル
   デザインカンプ: assets/_design/about.png
   配色変数・.sec_title・カテゴリボタン・パーティクル・CTA は home.css を共用
   ========================================================================== */

.hs_about_wrap .wrapper {
  max-width: 1200px;
  width: 100%;
  padding: 0 10px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* カードごとの色 */
.hs_about_wrap .is-pink   { --cc: var(--c-pink);   --cc-bg: #fff4f6; }
.hs_about_wrap .is-blue   { --cc: var(--c-blue);   --cc-bg: #f1faff; }
.hs_about_wrap .is-green  { --cc: var(--c-green);  --cc-bg: #f7fbef; }
.hs_about_wrap .is-orange { --cc: var(--c-orange); --cc-bg: #fff7ec; }

.hs_about_wrap .c_pink   { color: var(--c-pink); }
.hs_about_wrap .c_blue   { color: var(--c-blue); }
.hs_about_wrap .c_orange { color: var(--c-orange); }
.hs_about_wrap .c_green  { color: var(--c-green); }

.ab_sec_lead {
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  color: var(--c-text);
  margin: -16px 0 24px;
}


/* ==========================================================================
   HERO → 下層ページ共通ヒーロー(page-hero.css / template-parts/page-hero.php)
   ========================================================================== */


/* ==========================================================================
   ハピスマが目指すもの
   ========================================================================== */
#ab_aim {
  position: relative;
  background: var(--c-cream2);
  padding: 30px 0 50px;
}
/* 上端をゆるやかな弧にしてヒーローとつなげる */
#ab_aim::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 48px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--c-cream2);
  z-index: 0;
}

#ab_aim .sec_title { margin-bottom: 16px; }

.ab_aim_head {
  text-align: center;
  margin-bottom: 30px;
}

.ab_aim_catch {
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  color: var(--c-text);
  padding: 8px 24px;
  margin-bottom: 18px;
  background: rgba(255,255,255,.6);
  border-radius: 8px;
}
.ab_aim_smile { font-size: 1.15em; }

.ab_aim_lead {
  font-size: 13px;
  line-height: 2;
  color: var(--c-text);
}

/* 円形写真(左右に2枚ずつ) */
.ab_aim_photos {
  position: absolute;
  top: -20px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.ab_aim_photos-l { left: 0; }
.ab_aim_photos-r { right: 0; }
.ab_circle {
  display: block;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 8px 20px -12px rgba(0,0,0,.3);
  object-fit: cover;
}
.ab_circle-l { width: 132px; height: 132px; }
.ab_circle-s { width: 82px; height: 82px; margin-bottom: -10px; }
.ab_aim_photos-r .ab_circle-l { margin-top: -10px; }

.ab_aim_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ab_aim_cards li {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--cc-bg), #fff);
  border: 1px solid color-mix(in srgb, var(--cc) 25%, #fff);
  border-radius: var(--radius-card);
  padding: 22px 20px 16px;
  text-align: center;
  box-shadow: 0 8px 22px -16px rgba(0,0,0,.2);
}

.ab_card_head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  margin-bottom: 14px;
  text-align: left;
}
.ab_card_head h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--cc);
}
.ab_card_head h3 .sm { font-size: .8em; color: var(--cc); }

.hs_about_wrap .ab_icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cc);
}
.hs_about_wrap .ab_icon svg { width: 40px; height: 40px; color: #fff; }

.ab_card_text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 12px;
}

.ab_card_illust {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 84px;
}
.ab_card_illust img {
  display: block;
  max-width: 88%; /* 横長のまち並みイラストがカード幅いっぱいにならないよう余白を残す */
  max-height: 100%;
  width: auto;
  height: auto;
}


/* ==========================================================================
   暮らしのあらゆるシーンで使える豊富な特典
   ========================================================================== */
#ab_genre {
  padding: 50px 0 20px;
}
#ab_genre .wrapper {
  background: var(--c-cream2);
  border-radius: 40px;
  padding: 30px 30px 6px;
  max-width: 1180px;
}
#ab_genre .sec_title { margin-bottom: 24px; }
#ab_genre .genre_list { margin-bottom: 24px; }


/* ==========================================================================
   ハピスマ導入のメリット / ご利用の流れ 共通パネル
   ========================================================================== */
.ab_panel {
  background: var(--c-cream2);
  border-radius: 30px;
  padding: 30px 26px 30px;
}
.ab_panel .sec_title { margin-bottom: 20px; }

#ab_merit { padding: 20px 0; }
#ab_flow  { padding: 20px 0 60px; }


/* ==========================================================================
   ハピスマ導入のメリット
   ========================================================================== */
.ab_merit_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ab_merit_cards li {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px 20px 16px;
  box-shadow: 0 8px 22px -16px rgba(0,0,0,.2);
}

.ab_merit_head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.ab_merit_head .ab_icon { width: 60px; height: 60px; }
.ab_merit_head .ab_icon svg { width: 32px; height: 32px; }

.ab_merit_body { min-width: 0; padding-top: 4px; }
.ab_merit_body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--cc);
  margin-bottom: 8px;
}
.ab_merit_body p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--c-text);
}

.ab_merit_photo {
  margin-top: auto;
  border-radius: 24px;
  overflow: hidden;
}
.ab_merit_photo img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}


/* ==========================================================================
   ご利用の流れ
   ========================================================================== */
.ab_flow_list {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 0 60px;
}
.ab_flow_list li {
  position: relative;
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 22px 12px 20px;
  text-align: center;
  box-shadow: 0 8px 22px -16px rgba(0,0,0,.2);
}
/* ステップ間の矢印 */
.ab_flow_list li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -23px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--c-pink);
  border-right: 2px solid var(--c-pink);
  transform: translateY(-50%) rotate(45deg);
}

.ab_flow_num {
  position: absolute;
  top: -8px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cc);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.ab_flow_icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.ab_flow_icon svg { width: 36px; height: 36px; color: var(--cc); }

.ab_flow_list h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--cc);
  margin-bottom: 8px;
}
/* カンプでは最初のステップ(会員登録)のみ見出しが黒 */
.ab_flow_list li:first-child h3 { color: var(--c-text); }

.ab_flow_list p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--c-text);
}


/* ==========================================================================
   レスポンシブ(タブレット) ※デザインはPC版のみ支給のため暫定調整
   ========================================================================== */
@media all and (max-width: 1180px) {
  /* 円形写真が見出しに重なり始めるので小さくする */
  .ab_circle-l { width: 104px; height: 104px; }
  .ab_circle-s { width: 64px; height: 64px; }
}

@media all and (max-width: 1080px) {

  /* 円形写真は見出しと重なるので非表示 */
  .ab_aim_photos { display: none; }

  .ab_flow_list { padding: 0; gap: 30px; }
  .ab_flow_list li + li::before { left: -20px; }
}

/* 3列カードが窮屈になる幅から1列に */
@media all and (max-width: 960px) {
  .ab_aim_cards,
  .ab_merit_cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 16px; }
  .ab_card_head { justify-content: center; min-height: 0; }
}

@media all and (max-width: 768px) {

  .ab_aim_catch { font-size: 24px; padding: 6px 16px; }
  .ab_aim_lead br { display: none; }
  #ab_genre { padding-top: 40px; }
  #ab_genre .wrapper { border-radius: 0; padding: 30px 10px 6px; }
  #ab_genre .sec_title h2 span { display: inline-block; }

  .ab_panel { border-radius: 24px; padding: 26px 16px; }
  .ab_flow_list { flex-wrap: wrap; gap: 24px 16px; }
  .ab_flow_list li { flex: 0 0 calc(50% - 8px); padding-top: 26px; }
  .ab_flow_list li + li::before { display: none; }
}


/* ==========================================================================
   レスポンシブ(スマホ)
   ========================================================================== */
@media all and (max-width: 520px) {

  #ab_aim::before { top: -14px; height: 28px; }
  .ab_aim_catch { font-size: 19px; }
  .ab_aim_smile { display: block; }
  .ab_sec_lead { font-size: 13px; text-align: left; }
  .ab_card_head h3 { font-size: 18px; }
  .hs_about_wrap .ab_icon { width: 60px; height: 60px; }
  .hs_about_wrap .ab_icon svg { width: 32px; height: 32px; }
  .ab_merit_body h3 { font-size: 16px; }
  .ab_merit_body p br { display: none; }

  .hs_about_wrap .sec_title { gap: 6px; }
  .hs_about_wrap .sec_title h2 { font-size: 20px; }
  .hs_about_wrap .sec_title_deco { width: 22px; height: 22px; flex-shrink: 0; }
  #ab_genre .sec_title h2 { font-size: 18px; line-height: 1.5; }
  .ab_flow_list li { padding: 26px 8px 16px; }
  .ab_flow_num { width: 34px; height: 34px; font-size: 18px; left: 10px; }
  .ab_flow_list h3 { font-size: 14px; }
  .ab_flow_list p { font-size: 11.5px; }
  .ab_flow_list p br { display: none; }
}
