/*
Theme Name: SHIGOTO MODE
Theme URI: https://example.com/
Author: Web Designer & Engineer
Description: 高校生向け企業紹介ポータルサイト「SHIGOTO MODE」のオリジナルテーマ
Version: 1.0
*/

:root {
  --color-primary: #1da1f2;   /* メインのブルー */
  --color-bg-gray: #f4f6f9;   /* 背景の優しいグレー */
  --color-text: #333333;
  --border-radius: 16px;      /* 角丸で柔らかい印象に */
  --font-en: 'Montserrat', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-ja);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; transition: 0.3s; }

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.bg-light-gray { background-color: var(--color-bg-gray); }

/* --- Header --- */
.l-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px); /* ガラスのような透け感でモダンに */
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
}
.l-header__logo a {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #333;
}
.l-header__nav { display: none; } /* スマホでは初期非表示 */

/* ハンバーガーボタン（スマホ用） */
.l-header__hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 101;
}
.l-header__hamburger span {
  position: absolute; width: 100%; height: 2px; background: #333;
  left: 0; transition: 0.3s;
}
.l-header__hamburger span:nth-child(1) { top: 0; }
.l-header__hamburger span:nth-child(2) { top: 11px; }
.l-header__hamburger span:nth-child(3) { bottom: 0; }

/* PC用ヘッダー展開 */
@media (min-width: 768px) {
  .l-header__hamburger { display: none; }
  .l-header__nav { display: block; }
  .l-header__menu { display: flex; gap: 30px; font-size: 0.9rem; font-weight: 500;}
  .l-header__menu a:hover { color: var(--color-primary); }
}

/* --- Top Page (index.php) --- */
.p-hero {
  height: 60vh;
  min-height: 400px;
  background: url('images/hero-bg.jpg') center/cover no-repeat; /* 実際の写真に差し替えてください */
  background-color: #dbeafe; /* 画像がない時の代替色 */
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.p-hero__catch {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  line-height: 1.4;
}
.p-hero__catch span { font-size: clamp(1rem, 3vw, 1.8rem); display: block; margin-top: 10px; font-weight: 500; }

.p-section { padding: 80px 0; }
.c-section-title {
  text-align: center;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.c-btn-more {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 40px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.c-btn-more:hover { opacity: 0.8; transform: translateY(-2px); }
.text-center { text-align: center; margin-top: 40px; }

/* --- Footer --- */
.l-footer { background: #fff; padding: 60px 0 20px; text-align: center; }
.l-footer__logo { font-family: var(--font-en); font-size: 1.5rem; font-weight: 700; margin-bottom: 30px; }
.l-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: 0.85rem; margin-bottom: 40px; }
.l-footer__sns p { font-family: var(--font-en); font-size: 0.9rem; margin-bottom: 15px; }
.l-footer__sns-icons { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; font-size: 1.5rem; }
.l-footer__copyright { font-size: 0.75rem; color: #888; font-family: var(--font-en); }

/* --- Cards (前回のコードを統合) --- */
.p-company-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.c-card-company { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.c-card-company:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.c-card-company__img img { width: 100%; height: 220px; object-fit: cover; }
.c-card-company__body { padding: 24px; }
.c-label-industry { display: inline-block; background: var(--color-primary); color: #fff; font-size: 0.75rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; font-weight: 700; }
.c-card-company__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.c-card-company__desc { font-size: 0.85rem; color: #666; }

/* -------------------------------------
 * 運営会社情報ページ (page-company.php)
 * ------------------------------------- */
.p-page-company {
  padding: 60px 20px 100px;
}

.p-company-profile {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: 0 auto;
}

.c-profile-list {
  margin: 0;
}

.c-profile-list__row {
  display: flex;
  flex-direction: column; /* スマホでは縦並び */
  padding: 24px 0;
  border-bottom: 1px solid #edf2f7;
}
.c-profile-list__row:last-child {
  border-bottom: none;
}

.c-profile-list dt {
  font-weight: 700;
  color: var(--color-primary); /* 見出しをブルーにして爽やかに */
  margin-bottom: 8px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.c-profile-list dd {
  margin: 0;
  color: var(--color-text);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* PC向けのレイアウト（横並び） */
@media (min-width: 768px) {
  .p-company-profile {
    padding: 48px 64px;
  }
  .c-profile-list__row {
    flex-direction: row; /* PCでは横並び */
    padding: 28px 0;
  }
  .c-profile-list dt {
    width: 28%;
    margin-bottom: 0;
    padding-right: 24px;
  }
  .c-profile-list dd {
    width: 72%;
  }
}

/* -------------------------------------
 * プライバシーポリシーページ (page-privacy.php)
 * ------------------------------------- */
.p-page-privacy {
  padding: 60px 20px 100px;
}

.p-privacy-content {
  background: #fff;
  padding: 40px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--color-text);
  font-size: 0.95rem;
}

.p-privacy-content__subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #333;
}

.p-privacy-section {
  margin-top: 48px;
}

/* 各項目の見出しデザイン */
.p-privacy-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* 箇条書きリストのデザイン */
.p-privacy-section ul {
  list-style: disc;
  padding-left: 24px;
  margin: 16px 0;
}
.p-privacy-section ul li {
  margin-bottom: 8px;
}

/* 共同利用などの定義リストのデザイン */
.p-privacy-section dl {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  margin: 16px 0;
}
.p-privacy-section dt {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.p-privacy-section dd {
  margin: 0 0 16px 0;
}
.p-privacy-section dd:last-child {
  margin-bottom: 0;
}

/* 問い合わせ窓口のボックス */
.p-privacy-contact {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  margin-top: 16px;
  border-left: 4px solid var(--color-primary);
}

/* 署名部分 */
.p-privacy-sign {
  margin-top: 64px;
  text-align: right;
  font-weight: 700;
  font-size: 1rem;
}

/* PC向けのゆとりある余白 */
@media (min-width: 768px) {
  .p-privacy-content {
    padding: 64px;
  }
}