@charset "UTF-8";

/* セクション基本設定 */
#intro,
.ptlIntro-section {
  --ptl-heading-size: clamp(22px, 2.8vw, 28px);
  --ptl-subtitle-size: clamp(16px, 2vw, 18px);
}

/* コンテナ幅統一設定 */
#intro .ptl-section__inner {
  max-width: var(--ptl-container-max, 1200px);
  padding-left: var(--ptl-container-pad, 20px);
  padding-right: var(--ptl-container-pad, 20px);
  margin: 0 auto;
  box-sizing: border-box;
}

/* セクション全体 */
#intro.ptlIntro-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  min-height: clamp(500px, 60vh, 700px);
  margin-top: 0;
  margin-bottom: 80px; /* 統一ルールに準拠 */
}

/* 左側: 背景画像 (70%) */
#intro .ptlIntro__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* インライン style 属性サポート */
.ptlIntro-section .ptlIntro__media[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* デフォルトグラデーション */
#intro .ptlIntro__media:not([style*="background-image"]) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 動画 */
#intro .ptlIntro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* オーバーレイ */
#intro .ptlIntro__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 右側: テキスト (背景なし、画像の上に30%重なる) */
#intro .ptlIntro__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 80px);
  z-index: 2;
}

#intro .ptlIntro__content-inner {
  width: 100%;
  max-width: 560px;
}

/* ブランド */
#intro .ptlIntro__brand {
  margin-bottom: clamp(20px, 3vw, 28px);
  text-align: right;
}

/* ブランドロゴ画像 */
#intro .ptlIntro__brand-logo {
  max-width: 180px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: 0;
}

/* ブランドテキスト（後方互換用、非推奨） */
#intro .ptlIntro__brand-text {
  font-family: 'Times New Roman', serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 300;
  color: #8B7355;
  letter-spacing: 0.12em;
  font-style: italic;
}

#intro .ptlIntro__brand-ornament {
  width: 80px;
  height: 1px;
  background: #8B7355;
  margin: 10px 0 0 auto;
}

/* サブタイトル - 統一システムに準拠 */
#intro .ptlIntro__subtitle {
  /* style.cssの統一ルールに委譲するため、競合しない個別プロパティのみ残す */
  font-weight: 400;
  line-height: 1.6;
  text-transform: uppercase;
  color: #8B7355;
  font-size: clamp(11px, 1.8vw, 13px);
  text-align: center;
  letter-spacing: 0.25em;
  margin-bottom: clamp(16px, 2.5vw, 20px);
}

/* タイトル - 統一システムに準拠 */
#intro .ptlIntro__title {
  /* style.cssの統一ルールに委譲するため、競合しない個別プロパティのみ残す */
  line-height: 1.4;
  color: #333;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: clamp(24px, 4vw, 36px);
}

/* 説明文 */
#intro .ptlIntro__desc {
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.8;
  color: #555;
  margin-bottom: clamp(28px, 4.5vw, 44px);
}

#intro .ptlIntro__desc p {
  margin-bottom: 1.2em;
}

#intro .ptlIntro__desc p:last-child {
  margin-bottom: 0;
}

/* CTAボタン - NEWSセクションのMOREボタンと完全統一 */
#intro .ptlIntro__cta-button {
  --frame-width: 12px;
  --frame-color: #111;
  
  box-sizing: border-box;
  display: inline-grid;
  grid-auto-flow: column;
  place-items: center;
  gap: 10px;
  text-decoration: none;
  color: #3C4043;
  letter-spacing: .08em;
  font-weight: 600;
  padding: 6px 14px;
  white-space: nowrap;
  position: relative;
  border: none;
  font-size: var(--ptl-subtitle-size);
  transition: background-color .2s ease, color .2s ease;
}

#intro .ptlIntro__cta-button::before {
  content: "";
  position: absolute;
  inset: calc(var(--frame-width) * -1);
  pointer-events: none;
  background: var(--frame-color);
  -webkit-mask: url('../img/bg_frame_bk.png') center/100% 100% no-repeat;
  mask: url('../img/bg_frame_bk.png') center/100% 100% no-repeat;
}

/* 矢印アイコン（NEWSと統一） */
#intro .ptlIntro__cta-arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform .2s ease;
}

#intro .ptlIntro__cta-button:hover {
  background: none;
  color: #5F6368;
}

#intro .ptlIntro__cta-button:hover .ptlIntro__cta-arrow {
  transform: translateX(4px);
}

/* セクション余白（PC/SP共通ベース） */
#intro,
#intro.ptlIntro-section {
  margin-top: 0;
  margin-bottom: 80px;
}