/* =================
  RESET
================= */
img { max-width: 100%; display: block; }

/* =================
  全体
================= */
body { font-size: 16px; line-height: 1.9; }
h2 { font-size: 64px; } h3 { font-size: 32px; } h4 { font-size: 28px; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 18px; }
}

.section_image { width: 100%; height: 320px; overflow: hidden; }
.section_image img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) { .section_image { height: 200px; } }

/* =================
  レスポンシブ対応による改行位置の調整
================= */
.br-sp {
  display: none;
}

@media screen and (max-width: 1080px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline-block;
  }
}

/* =================
  HEADER
================= */
.site_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  height: 60px;
  display: flex;
  align-items: center;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  width: 100%;
}

.site_logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site_logo a {
  font-size: 25px;
  letter-spacing: 0.15em;
  color: #111;
  text-decoration: none;
}

.header_logo_img {
  height: 100%;
  width: auto;
  max-height: 45px;
}

.header_nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header_nav a {
  font-size: 17.5px;
  color: #111;
  text-decoration: none;
}

.header_nav a:hover {
  opacity: 0.7;
}

/* =================
  ハンバーガーメニュー
================= */
.header_nav .menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.header_nav ul.menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .header_inner { padding: 0 20px; }
  .site_logo a { font-size: 20px; }
  .header_nav a { font-size: 14px; }
  .header_nav .menu-toggle { display: block; }
  .header_nav ul.menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 200;
  }
  .header_nav ul.menu.open { display: flex; }
}

/* =================
  TOP
================= */
.top_area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.top_img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about_area,
.news_area,
.company_area,
.contact_area,
footer {
  position: relative;
  z-index: 1;
  background: #fff;
}

.top_spacer { height: 100vh; }

@media (max-width: 768px) {
  .top_area { height: 30vh; }
  .top_spacer { height: 30vh; }
}

/* =================
  ABOUT
================= */
.about_area { background: #fff; padding: 140px 100px; }
.about_title { font-size: 64px; margin-bottom: 60px; text-align: left; }

.about_inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about_block { text-align: left; }

.about_block:first-child {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.about_thumb {
  width: 180px; height: 180px; margin-bottom: 24px; overflow: hidden; border-radius: 50%;
}
.about_thumb img { width: 100%; height: 100%; object-fit: cover; }
.about_block:first-child p { margin-top: 16px; text-align: center; }

.about_block:last-child { text-align: left; }
.about_links { display: flex; gap: 16px; margin-top: 32px; justify-content: center; }
.about_btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 24px; font-size: 14px; text-decoration: none; color: #fff; }
.about_btn.note { background: #000; }
.about_btn.instagram { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.about_btn i { font-size: 16px; }

/* =================
  NEWS
================= */
.news_area { padding: 120px 100px; position: relative; background: #fff; }
.news_title { font-size: 64px; margin-bottom: 40px; }

.news_slider { overflow: hidden; }

.news_track {
  display: flex;
  gap: 40px;
  transition: transform 0.4s ease;
  justify-content: center; /* 追加：中央寄せ */
}

.news_item {
  min-width: calc((100% - 80px)/3);
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news_item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.news_item h3 { font-size: 16px; margin: 15px 0 10px; }
.news_text { font-size: 14px; line-height: 1.7; }

.news_nav {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  transform: translateY(-50%);
}

.news_nav_btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid #999;
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
}
.news_nav_btn:hover { background: #333; color: #fff; }

/* =================
  COMPANY
================= */
.company_area { padding: 140px 100px; background: #fff; position: relative; }
.company_inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.company_title { font-size: 64px; margin-bottom: 40px; }
.company_image img { width: 100%; max-width: 360px; margin: 0 auto; display: block; }
.company_card { background: #fff; border-radius: 32px; padding: 60px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.company_list { display: flex; flex-direction: column; gap: 28px; }
.company_row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; line-height: 1.8; }
.company_row dt { font-weight: 700; color: #074173; }
.company_row dd { color: #333; }

/* =================
  CONTACT
================= */
.contact_area { background: #f0f0f0; padding: 100px 20px; display: flex; justify-content: center; text-align: left; }
.contact_inner { max-width: 600px; width: 100%; box-sizing: border-box; }

.contact_title { font-size: 64px; margin-bottom: 40px; text-align: center; }

.wpcf7 p { display: flex; flex-direction: column; margin-bottom: 20px; }
.wpcf7 label { margin-bottom: 8px; font-weight: 600; }
.wpcf7 input, .wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box; /* 追加：右切れ防止 */
}
.contact_btn { display: block; margin: 0 auto; }

/* =================
  FOOTER（修正版）
================= */
.footer__area {
  display: flex;
  justify-content: space-between; /* PC：左右 */
  align-items: center;
  padding: 20px;
  background-color: #222;
  color: #fff;
}

.footer__links {
  display: flex;
}

/* ===== スマホのみ中央揃え ===== */
@media screen and (max-width: 768px) {
  .footer__area {
    flex-direction: column;
    justify-content: center;
    align-items: center;      /* ← 横方向も中央 */
    text-align: center;
    gap: 12px;
  }

  .footer__links {
    justify-content: center; /* ← aタグを中央に */
  }

  .footer__links a {
    margin-right: 0;         /* ← PC用余白をリセット */
  }
}
/* =================
  RESPONSIVE
================= */
@media (max-width: 768px) {
  .about_area, .news_area, .company_area, .contact_area { padding: 30px 20px; }
  .about_inner { grid-template-columns: 1fr; }
  .about_block:first-child p, .about_block:last-child { text-align: center; }
  .about_links { justify-content: center; }

  .news_item { min-width: 100%; }
  .company_title { font-size: 28px; }
  .company_card { padding: 32px 24px; border-radius: 20px; }
  .company_row { grid-template-columns: 1fr; gap: 8px; }
  .company_row dt, .company_row dd { font-size: 14px; }

  .about_title { font-size: 28px; }
  .news_title { font-size: 28px; }
  .contact_title { font-size: 32px; }
  .contact_btn { width: 220px; height: 60px; font-size: 14px; }
}

/* =================
  プライバシーポリシー
================= */
/* ページID 3 プライバシーポリシー用 */
body.page-id-3 .privacypolicy-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 60px; /* ヘッダー被り防止 */
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
}

/* ページタイトル */
body.page-id-3 .privacypolicy-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

/* セクション帯 */
body.page-id-3 .privacypolicy-section {
    background-color: #f9f9f9; /* 薄いグレー帯 */
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

body.page-id-3 .privacypolicy-section-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* H2 見出し */
body.page-id-3 .privacypolicy-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 4px solid #222;
    padding-left: 12px;
}

/* 段落 */
body.page-id-3 .privacypolicy-text {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* リスト */
body.page-id-3 .privacypolicy-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    body.page-id-3 .privacypolicy-area {
        padding: 100px 15px 40px;
    }
    body.page-id-3 .privacypolicy-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }
    body.page-id-3 .privacypolicy-section h2 {
        font-size: 1.2rem;
        padding-left: 8px;
        border-left-width: 3px;
    }
    body.page-id-3 .privacypolicy-text {
        font-size: 0.95rem;
    }
}

/* =========================
   TYPOGRAPHY RULE（全体統一）
========================= */

/* 基本文字サイズ */
body {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}

/* セクションタイトル */
section h2 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  section h2 {
    font-size: 28px;
  }
}

/* 中見出し・キャッチ */
h3 {
  font-size: 32px;
  font-weight: 600;
}

@media (max-width: 768px) {
  h3 {
    font-size: 22px;
  }
}

/* 説明・本文 */
p,
dd,
.news_text,
.company_row dt,
.company_row dd,
.wpcf7 label,
.wpcf7 input,
.wpcf7 textarea {
  font-size: 14px;
}

/* 少し強調したい説明 */
.lead-text {
  font-size: 16px;
  font-weight: 500;
}

/* =========================
   NEWS デザイン（外枠）
========================= */

.news_track {
  display: flex;
  justify-content: center;
  align-items: center;
}

.news_item {
  max-width: 420px;
  width: 100%;
  padding: 24px 20px 28px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.news_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.1);
}

/* NEWS画像中央 */
.news_item img {
  display: block;
  margin: 0 auto 16px;
}

/* NEWSタイトル */
.news_item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* NEWS本文 */
.news_text {
  margin-bottom: 12px;
  color: #555;
}

/* NEWSリンク */
.news_item a {
  font-size: 14px;
  color: #0066cc;
  text-decoration: none;
}

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

/* スマホ時も中央1記事 */
@media (max-width: 768px) {
  .news_track {
    justify-content: center;
  }
}
