/**
 * 株式会社サンプル6 - 共通スタイル
 * デザインコンセプト: おしゃれなインテリアデザイン事務所
 * 編集時はこのファイルと各HTMLのインラインコメントを参照してください。
 */

/* ========== リセット・ベース ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #2c2c2c;
  background-color: #f8f6f2;
}

/* ========== フォント読み込み（Google Fonts） ========== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap");

/* ========== 見出し（セリフ体で高級感） ========== */
h1, h2, h3, .heading-serif {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  line-height: 1.4;
}

/* ========== リンク ========== */
a {
  color: #6b5b4f;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: #8b7355; }
a:focus { outline: 2px solid #8b7355; outline-offset: 2px; }

/* ========== ヘッダー ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(107, 91, 79, 0.15);
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c2c2c;
}
.site-logo a { color: inherit; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2c2c2c;
  letter-spacing: 0.05em;
}
.site-nav a:hover { color: #6b5b4f; }
.site-nav .current { color: #6b5b4f; font-weight: 600; }

/* ========== メインコンテンツエリア ========== */
.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 4rem;
}
.main-content .page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #8b7355;
  display: inline-block;
}

/* ========== トップページ専用ヒーロー ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background-color: #2a2824;
  /* 背景画像は index.html で .hero に指定 */
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0.5;
  background: linear-gradient(180deg, rgba(42,40,36,0.4) 0%, rgba(42,40,36,0.75) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 24px;
}
.hero-catch {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 500;
  color: #f8f6f2;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}
.hero-sub {
  font-size: 0.95rem;
  color: rgba(248, 246, 242, 0.85);
  letter-spacing: 0.15em;
  margin: 0 0 2rem;
}
.hero-cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 2px solid rgba(248, 246, 242, 0.8);
  color: #f8f6f2;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: background 0.25s ease, color 0.25s ease;
}
.hero-cta:hover {
  background: #f8f6f2;
  color: #2a2824;
  border-color: #f8f6f2;
}

/* ========== セクション共通 ========== */
.section {
  padding: 4rem 0;
}
.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  color: #2c2c2c;
  margin: 0 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(107, 91, 79, 0.3);
}
.text-block p { margin: 0 0 1rem; }
.text-block p:last-child { margin-bottom: 0; }

/* ========== フッター ========== */
.site-footer {
  background: #2a2824;
  color: rgba(248, 246, 242, 0.9);
  padding: 2.5rem 24px 1.5rem;
  margin-top: 3rem;
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.site-footer nav {
  margin-bottom: 1rem;
}
.site-footer nav a {
  color: rgba(248, 246, 242, 0.9);
  font-size: 0.9rem;
  margin: 0 0.75rem;
}
.site-footer nav a:hover { color: #f8f6f2; }
.site-footer .copyright {
  font-size: 0.8rem;
  color: rgba(248, 246, 242, 0.6);
  margin: 0;
}

/* ========== 事業内容カード ========== */
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(107, 91, 79, 0.2);
}
.service-list li:first-child { padding-top: 0; }
.service-list h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: #2c2c2c;
}
.service-list p { margin: 0; font-size: 0.95rem; color: #555; }

/* ========== 会社概要テーブル ========== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.info-table th,
.info-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(107, 91, 79, 0.2);
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 28%;
  font-weight: 600;
  color: #2c2c2c;
  background: rgba(139, 115, 85, 0.06);
}

/* ========== 代表メッセージ ========== */
.message-lead {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1.5rem;
}
.message-sign {
  margin-top: 2rem;
  text-align: right;
  font-family: "Noto Serif JP", serif;
}

/* ========== 問い合わせ（メールのみ） ========== */
.contact-mail {
  font-size: 1.1rem;
  margin: 1rem 0;
}
.contact-mail a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1.5rem;
}

/* ========== 規約・ポリシーページ ========== */
.policy-section { margin-bottom: 2.5rem; }
.policy-section h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: #2c2c2c;
}
.policy-section ul, .policy-section ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.policy-section li { margin-bottom: 0.35rem; }

/* ========== ユーティリティ ========== */
.pt-header { padding-top: 70px; } /* 固定ヘッダー分 */

/* ========== レスポンシブ（スマートフォン・タブレット） ========== */
@media (max-width: 768px) {
  /* ヘッダー：ロゴとナビを縦に、ナビは中央寄せ・タップしやすい間隔に */
  .site-header-inner {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 16px;
  }
  .site-logo { font-size: 1.1rem; }
  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }
  .site-nav a { font-size: 0.85rem; }

  /* メインエリア：左右パディングを小さく */
  .main-content {
    padding: 0 16px 3rem;
  }
  .main-content .page-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  /* ヒーロー：余白とボタンサイズを調整 */
  .hero-inner { padding: 16px; }
  .hero-catch {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
    letter-spacing: 0.05em;
  }
  .hero-sub { font-size: 0.85rem; margin-bottom: 1.5rem; }
  .hero-cta {
    padding: 0.9rem 1.5rem;
    font-size: 0.85rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* セクション余白 */
  .section { padding: 2.5rem 0; }
  .section-title { font-size: 1.25rem; }

  /* 会社概要・規約のテーブル：スマホでは縦積み表示 */
  .info-table {
    font-size: 0.9rem;
    display: block;
  }
  .info-table thead { display: none; }
  .info-table tr {
    display: block;
    border-bottom: 1px solid rgba(107, 91, 79, 0.25);
    padding: 0.75rem 0;
  }
  .info-table tr:first-child { padding-top: 0; }
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 0.2rem 0 0.4rem;
    border-bottom: none;
    background: none;
  }
  .info-table th {
    font-size: 0.8rem;
    color: #666;
    padding-bottom: 0.15rem;
  }
  .info-table td { padding-bottom: 0.5rem; }

  /* フッター：リンクを縦に並べるか折り返し */
  .site-footer {
    padding: 2rem 16px 1.25rem;
  }
  .site-footer nav a {
    display: inline-block;
    margin: 0.35rem 0.5rem;
    font-size: 0.85rem;
  }
  .site-footer .copyright { font-size: 0.75rem; }

  /* 固定ヘッダー分の余白（SPではヘッダー高さが変わる） */
  .pt-header { padding-top: 90px; }
}

/* さらに小さい画面（スマホ縦） */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .site-nav ul { gap: 0.4rem 0.75rem; }
  .site-nav a { font-size: 0.8rem; }
  .hero-catch { font-size: 1.35rem; }
  .main-content .page-title { font-size: 1.25rem; }
}
