/* =========================
   Aman Grace Men's Herb LP
   LP専用CSS（ag-mens-herb / ag-lp4-shop 系のみ抽出・整理）
========================= */

:root {
  --ag-green: #062f24;
  --ag-green-dark: #021d16;
  --ag-gold: #b99a58;
  --ag-red: #a22020;
  --ag-black: #222222;
  --ag-white: #ffffff;
  --ag-border: #e5ded1;
  --ag-light: #f8f8f5;
}

/* =========================
   アクセシビリティ用ユーティリティ
========================= */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* =========================
   簡易ヘッダー / フッター
========================= */

.ag-lp-header {
  width: 100%;
  padding: 0;
  text-align: center;
  background: #ffffff;
}

.ag-lp-header__logo-text {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ag-green);
}

.ag-lp-header .custom-logo {
  max-height: 50px;
  width: auto;
  margin: 0 auto;
}

.ag-lp-footer {
  width: 100%;
  padding: 24px 20px 100px;
  text-align: center;
  background: #ffffff;
  color: #888888;
  font-size: 13px;
}

.ag-lp-footer__copy {
  margin: 0;
}

/* 固定LINE CTA（フッター側で出力） */
.ag-lp-fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  background: linear-gradient(180deg, #228b2d 0%, #0f6d24 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.18);
}

.ag-lp-fixed-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #13a538;
  font-size: 12px;
  font-weight: 700;
}

/* =========================
   LP共通ラッパー
========================= */

.ag-mens-herb {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--ag-black);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, serif;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.ag-mens-herb * {
  box-sizing: border-box;
}

.ag-mens-herb img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ag-mens-herb p {
  margin-top: 0;
}

/* WordPress画像まわりの余白リセット */
.ag-mens-herb .aligncenter,
.ag-mens-herb .size-full,
.ag-mens-herb figure {
  margin: 0 !important;
  padding: 0 !important;
}

.ag-mens-herb > p {
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================
   ファーストビュー画像
========================= */

.ag-mens-herb__hero-img-full {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #ffffff;
}

.ag-mens-herb > img,
.ag-mens-herb > p > img,
.ag-mens-herb img.aligncenter.size-full,
.ag-mens-herb__hero-img-full img {
  width: 100%;
  max-width: 680px;
  height: auto !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* =========================
   共通セクション
========================= */

.ag-mens-herb__section {
  width: 100%;
  margin: 0;
  padding: 70px 20px;
  background: #ffffff;
}

.ag-mens-herb__section-head {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.ag-mens-herb__sub-label {
  color: var(--ag-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.ag-mens-herb__section-title {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.45;
  color: var(--ag-green);
  font-weight: 700;
  margin: 0 0 16px;
}

.ag-mens-herb__section-lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
}

/* =========================
   症例写真
========================= */

.ag-mens-herb__case-section {
  background: #ffffff;
}

.ag-mens-herb__case-section .ag-mens-herb__section-lead {
  font-size: 22px !important;
  line-height: 1.8 !important;
  max-width: 680px;
  margin: 0 auto;
}

.ag-mens-herb__case-list {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.ag-mens-herb__case-item {
  background: #ffffff;
  border: 1px solid var(--ag-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ag-mens-herb__case-head {
  background: var(--ag-green);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ag-mens-herb__case-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ag-gold);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.ag-mens-herb__case-head p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.ag-mens-herb__case-image {
  background: #ffffff;
  padding: 12px;
  line-height: 0;
}

.ag-mens-herb__case-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.ag-mens-herb__note {
  max-width: 680px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 15px;
  color: #666666;
}

/* =========================
   短時間セクション
========================= */

.ag-mens-herb__short {
  background: #ffffff;
}

.ag-mens-herb__text-block {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border-left: 6px solid var(--ag-green);
  padding: 34px 36px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
}

.ag-mens-herb__text-block p:last-child {
  margin-bottom: 0;
}

/* =========================
   3つの特徴
========================= */

.ag-mens-herb__features {
  background: var(--ag-green) !important;
  color: #ffffff;
}

.ag-mens-herb__features .ag-mens-herb__section-title {
  color: #ffffff;
}

.ag-mens-herb__feature-grid {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ag-mens-herb__feature-card {
  background: #ffffff;
  color: var(--ag-black);
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.ag-mens-herb__num {
  display: inline-block;
  color: var(--ag-gold);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 14px;
}

.ag-mens-herb__feature-title {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ag-green);
  margin: 0 0 12px;
}

.ag-mens-herb__feature-card p {
  margin: 0;
  font-size: 15px;
}

.ag-mens-herb__feature-note {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid #e5ded1;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #666666;
  font-weight: 400;
}

/* =========================
   3つの特徴下：自動スクロール画像
========================= */

.ag-mens-herb__feature-slider {
  width: 100%;
  max-width: 100%;
  margin: 38px auto 38px;
  overflow: hidden;
  position: relative;
}

.ag-mens-herb__feature-slider::before,
.ag-mens-herb__feature-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 44px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ag-mens-herb__feature-slider::before {
  left: 0;
  background: linear-gradient(90deg, var(--ag-green), rgba(6,47,36,0));
}

.ag-mens-herb__feature-slider::after {
  right: 0;
  background: linear-gradient(270deg, var(--ag-green), rgba(6,47,36,0));
}

.ag-mens-herb__feature-slider-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: agFeatureScroll 28s linear infinite;
}

.ag-mens-herb__feature-slide {
  width: 280px;
  flex: 0 0 280px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.ag-mens-herb__feature-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.ag-mens-herb__feature-slider:hover .ag-mens-herb__feature-slider-track {
  animation-play-state: paused;
}

@keyframes agFeatureScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 9px)); }
}

/* =========================
   ヘッダー下 LINE予約ボタン
========================= */

.ag-mens-herb__hero-line-cta {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  background: #ffffff;
}

.ag-mens-herb__hero-line-cta a {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none !important;
  color: #ffffff !important;
  background: linear-gradient(180deg, #228b2d 0%, #0f6d24 100%);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.22);
  position: relative;
  overflow: hidden;
}

.ag-mens-herb__hero-line-cta a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  pointer-events: none;
}

.ag-mens-herb__line-icon {
  width: 52px;
  height: 36px;
  border-radius: 999px;
  background: #ffffff;
  color: #13a538;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.ag-mens-herb__line-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.ag-mens-herb__line-arrow {
  font-size: 28px;
  line-height: 1;
  margin-left: 4px;
  position: relative;
  z-index: 1;
}

/* =========================
   期待できる印象変化
========================= */

.ag-mens-herb__change {
  background: #ffffff;
}

.ag-mens-herb__change-grid {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ag-mens-herb__change-grid div {
  background: #ffffff;
  border: 1px solid rgba(185,154,88,0.45);
  border-radius: 14px;
  padding: 20px;
  font-weight: 700;
  text-align: center;
}

/* =========================
   最終CTA画像セクション
========================= */

.ag-mens-herb__image-cta-section {
  width: 100%;
  margin: 0;
  padding: 56px 20px;
  background: #ffffff;
  overflow: hidden;
  line-height: 0;
}

.ag-mens-herb__image-cta-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  background: var(--ag-green);
  line-height: 0;
}

.ag-mens-herb__image-cta-wrap a {
  display: block;
  width: 100%;
  max-width: 680px;
  margin: 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
}

.ag-mens-herb__image-cta-wrap img {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--ag-green);
}

/* =========================
   LP4デザイン 店舗情報
========================= */

.ag-lp4-shop-section {
  background: #ffffff !important;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

.ag-lp4-shop-heading {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

.ag-lp4-shop-heading-en {
  color: #a28a4e;
  font-size: 13px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  margin-bottom: 8px;
}

.ag-lp4-shop-heading-ja {
  color: #a28a4e;
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  font-weight: 400;
  margin: 0;
}

.ag-lp4-shop-card {
  max-width: 680px;
  margin: 0 auto 58px;
  text-align: center;
  color: #222222;
}

.ag-lp4-shop-img {
  width: 100%;
  margin: 0 auto 34px;
  line-height: 0;
}

.ag-lp4-shop-img img {
  width: 100% !important;
  max-width: 680px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ag-lp4-shop-name {
  color: #a28a4e;
  font-size: 28px;
  line-height: 1.9;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  font-weight: 400;
}

.ag-lp4-shop-address {
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.ag-lp4-shop-tel {
  color: #a28a4e;
  font-size: 46px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.ag-lp4-shop-note {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.ag-lp4-shop-text {
  font-size: 18px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.ag-lp4-shop-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid #a28a4e;
  color: #a28a4e !important;
  text-decoration: none !important;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.ag-lp4-shop-map::after {
  content: "〉";
  margin-left: 10px;
}

.ag-lp4-shop-common {
  max-width: 680px;
  margin: 20px auto 0;
  text-align: center;
  border-top: 1px solid rgba(162,138,78,0.35);
  padding-top: 44px;
}

.ag-lp4-shop-common-title {
  color: #a28a4e;
  font-size: 28px;
  line-height: 1.7;
  letter-spacing: 0.18em;
  margin: 36px 0 10px;
  font-weight: 400;
}

.ag-lp4-shop-common-title:first-child {
  margin-top: 0;
}

.ag-lp4-shop-common-text {
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.ag-lp4-shop-common-text span {
  font-size: 15px;
  color: #555555;
}

/* =========================
   PC（769px以上）
========================= */

@media screen and (min-width: 769px) {

  .ag-mens-herb__case-list {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .ag-mens-herb__case-head {
    min-height: 74px;
  }

  .ag-mens-herb__features {
    width: calc(100% - 40px);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 70px 20px;
  }
}

/* =========================
   スマホ（768px以下）
========================= */

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

  .ag-lp-header {
    padding: 0;
  }

  .ag-lp-fixed-cta {
    font-size: 14px;
  }

  .ag-mens-herb {
    letter-spacing: 0.02em;
  }

  .ag-mens-herb__section {
    padding: 52px 16px;
  }

  .ag-mens-herb__section-title {
    font-size: 28px;
  }

  .ag-mens-herb__section-lead {
    font-size: 15px;
  }

  .ag-mens-herb__case-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ag-mens-herb__case-item {
    border-radius: 14px;
  }

  .ag-mens-herb__case-head {
    padding: 12px 14px;
    gap: 10px;
  }

  .ag-mens-herb__case-head span {
    font-size: 12px;
    padding: 3px 10px;
  }

  .ag-mens-herb__case-head p {
    font-size: 16px;
  }

  .ag-mens-herb__case-image {
    padding: 8px;
  }

  .ag-mens-herb__text-block {
    padding: 26px 20px;
  }

  .ag-mens-herb__feature-card {
    padding: 26px 22px;
  }

  .ag-mens-herb__feature-slider {
    margin-top: 28px;
  }

  .ag-mens-herb__feature-slider::before,
  .ag-mens-herb__feature-slider::after {
    width: 28px;
  }

  .ag-mens-herb__feature-slider-track {
    gap: 14px;
    animation-duration: 26s;
  }

  .ag-mens-herb__feature-slide {
    width: 230px;
    flex-basis: 230px;
    border-radius: 14px;
  }

  .ag-mens-herb__feature-slide img {
    height: 160px;
  }

  .ag-mens-herb__hero-line-cta {
    max-width: none;
    padding: 14px 16px 24px;
  }

  .ag-mens-herb__hero-line-cta a {
    min-height: 58px;
    gap: 10px;
  }

  .ag-mens-herb__line-icon {
    width: 46px;
    height: 32px;
    font-size: 12px;
  }

  .ag-mens-herb__line-text {
    font-size: 17px;
    letter-spacing: 0.04em;
  }

  .ag-mens-herb__line-arrow {
    font-size: 22px;
    margin-left: 0;
  }

  .ag-mens-herb__image-cta-section {
    padding: 0;
  }

  .ag-lp4-shop-section {
    padding: 52px 16px !important;
  }

  .ag-lp4-shop-heading {
    margin-bottom: 30px;
  }

  .ag-lp4-shop-heading-ja {
    font-size: 24px;
    letter-spacing: 0.14em;
  }

  .ag-lp4-shop-card {
    margin-bottom: 50px;
  }

  .ag-lp4-shop-img {
    margin-bottom: 28px;
  }

  .ag-lp4-shop-name {
    font-size: 22px;
    line-height: 1.9;
    letter-spacing: 0.14em;
  }

  .ag-lp4-shop-address {
    font-size: 14px;
    line-height: 1.9;
  }

  .ag-lp4-shop-tel {
    font-size: 34px;
    line-height: 1.45;
  }

  .ag-lp4-shop-note {
    font-size: 14px;
  }

  .ag-lp4-shop-text {
    font-size: 15px;
  }

  .ag-lp4-shop-map {
    width: 100%;
    min-height: 46px;
  }

  .ag-lp4-shop-common {
    padding-top: 34px;
  }

  .ag-lp4-shop-common-title {
    font-size: 24px;
  }

  .ag-lp4-shop-common-text {
    font-size: 17px;
  }

  .ag-lp4-shop-common-text span {
    font-size: 13px;
  }

  /* 固定LINE CTAの分だけフッターに余白を確保済み（.ag-lp-footer の padding-bottom） */
}
