/* ========================================
   プライバシーポリシーページCSS
   ======================================== */

/* ページ全体のoverflow制御 */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* モバイルでmainの白背景を透明に（パララクス背景表示のため） */
@media (max-width: 767px) {
    main {
        background: transparent;
    }
}

/* ================================================
   固定背景画像
   ================================================ */

/* Fixed Background - レスポンシブ対応 */
.fixed-bg-layer.business-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('../img/mix_img.jpg');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #002147;
  overflow: hidden;
  max-width: 100vw;
}

/* デスクトップのみfixed attachment + contain */
@media (min-width: 1024px) {
  .fixed-bg-layer.business-bg {
    background-attachment: fixed;
    background-size: contain;
  }
}

/* モバイル用背景画像 */
@media (max-width: 767px) {
  .fixed-bg-layer.business-bg {
    background-image: url('../img/mix_img_sp.jpg');
  }
}

.overlay-white {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(243, 255, 246, 0.45);
  background-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* モバイル用オーバーレイ強化 */
@media (max-width: 767px) {
  .overlay-white {
    background: rgba(243, 255, 246, 0.65);
  }
}

.bg-grid-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to right, rgba(0, 168, 255, 0.05) 1px, transparent 1px), 
                    linear-gradient(to bottom, rgba(0, 168, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 2;
}

/* ================================================
   ページタイトルセクション
   ================================================ */

.page-title-section {
  position: relative;
  background: linear-gradient(135deg, #002147 0%, #003d7a 100%);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .page-title-section {
    height: 320px;
  }
}

.page-title-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px), 
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.page-title-container {
  position: relative;
  z-index: 2;
  font-family: 'Hannari', serif;
  font-size: 2rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .page-title-container {
    font-size: 2.5rem;
    letter-spacing: 0.2em;
  }
}

@media (min-width: 1024px) {
  .page-title-container {
    font-size: 3rem;
  }
}


/* ================================================
   コンテンツセクション
   ================================================ */

.content-section {
    padding: 0 0 4rem 0;
    position: relative;
}

@media (min-width: 768px) {
    .content-section {
        padding: 0 0 6rem 0;
    }
}

@media (min-width: 1024px) {
    .content-section {
        padding: 0 0 8rem 0;
    }
}

.content-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .content-container {
        padding: 0 1.5rem;
    }
}

/*
 * .intro-description のスタイルは common.css で定義済み
 */

/* ================================================
   CTAセクション
   ================================================ */

.cta-section {
    padding: 6rem 0;
    background-color: #002147;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-grid-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;
    background-image: linear-gradient(to right, rgba(0, 168, 255, 0.05) 1px, transparent 1px), 
                      linear-gradient(to bottom, rgba(0, 168, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 1.875rem;
    font-family: 'Hannari', serif;
    font-weight: bold;
    color: white;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    color: #e6f0ff;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.cta-button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .cta-button-container {
        flex-direction: row;
    }
}

.cta-button {
    flex: 1 1 0%;
    padding: 1.5rem 2.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
}

.cta-button-primary {
    background-color: #0056b3;
    color: white;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button-primary:hover {
    background-color: white;
    color: #0056b3;
}

.cta-button-primary .cta-button-icon-chevron {
    opacity: 0;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button-primary:hover .cta-button-icon-chevron {
    opacity: 1;
    transform: translateX(0.25rem);
}

.cta-button-secondary {
    background-color: #003366;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 1.25rem;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button-secondary:hover {
    background-color: #00a8ff;
}

.cta-button-icon {
    font-size: 1.25rem;
}

.cta-button-icon-sm {
    font-size: 0.875rem;
}

.cta-button-icon-chevron {
    font-size: 0.75rem;
}

/* ================================================
   共通ユーティリティ
   ================================================ */

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .pc-only {
        display: inline;
    }
}

.sp-only {
    display: inline;
}

@media (min-width: 768px) {
    .sp-only {
        display: none;
    }
}

/* ================================================
   プライバシーポリシー詳細コンテンツ
   ================================================ */

/* セクションアイテム */
.privacy_item {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 33, 71, 0.08);
    padding: 2rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.privacy_item.active {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .privacy_item {
        padding: 2.5rem 3rem;
    }
}

/* タイトル */
.privacy_title {
    font-family: 'Hannari', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #002147;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e6f0ff;
    position: relative;
}

.privacy_title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #002147;
}

@media (min-width: 768px) {
    .privacy_title {
        font-size: 1.5rem;
    }
}

/* コンテンツ */
.privacy_content {
    line-height: 1.9;
    color: #333;
}

.privacy_content p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .privacy_content p {
        font-size: 1rem;
    }
}

/* サブタイトル */
.privacy_subtitle {
    font-weight: 600;
    color: #002147;
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* リスト */
.privacy_list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.privacy_list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.privacy_list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #0056b3;
    font-size: 0.7rem;
}

@media (min-width: 768px) {
    .privacy_list li {
        font-size: 1rem;
    }
}

/* 番号付きリスト */
.privacy_list_numbered {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
    margin: 1rem 0;
}

.privacy_list_numbered li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.privacy_list_numbered li::before {
    counter-increment: item;
    content: counter(item) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #002147;
}

@media (min-width: 768px) {
    .privacy_list_numbered li {
        font-size: 1rem;
    }
}

/* お問い合わせ先 */
.privacy_contact {
    max-width: 900px;
    margin: 4rem auto 0;
    background: linear-gradient(135deg, #002147 0%, #003d7a 100%);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.2);
}

@media (min-width: 768px) {
    .privacy_contact {
        padding: 3rem 3rem;
    }
}

.contact_title {
    font-family: 'Hannari', serif;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: white;
}

@media (min-width: 768px) {
    .contact_title {
        font-size: 1.75rem;
    }
}

.contact_info {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.contact_info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.company_name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem !important;
}

.company_address,
.company_tel,
.company_hours {
    font-size: 0.95rem;
    opacity: 0.95;
}

.company_tel a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.company_tel a:hover {
    opacity: 0.8;
}

.contact_link {
    text-align: center;
    margin-top: 2rem !important;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn_primary {
    background: white;
    color: #002147;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn_primary:hover {
    background: #e6f0ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* フェードインアニメーション */
.fade_in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade_in.active {
    opacity: 1;
    transform: translateY(0);
}
