/*
Theme Name: LifeWork Theme
Description: Custom theme for LifeWork official site with modern design and responsive layout
Author: K.Y.
Version: 1.0.0
Requires at least: 1.0
Tested up to: 1.0
Requires PHP: 8.2
Text Domain: lifework
Domain Path: /languages
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@charset "UTF-8";

/* =========================
   0. 変数
   ========================= */
:root {
	--color-primary: #0457b5;
	--color-secondary: #71b2fd;
	--color-tertiary: #d1e5fc;
	--color-quaternary: #eff6ff;
	--color-background: #f9fafc;
  --color-text: #333;
	--color-accent: #da0303;
	--color-gray: #aaaaaa;
  --color-gray-dark: #888888;
  --color-gray-light: #aaa;
}

/* =========================
   WordPress Core Styles
   ========================= */

/* WordPress Admin Bar */
.admin-bar .header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .header {
		top: 46px;
	}
}

/* WordPress Content */
.wp-content {
	width: 100%;
}

/* WordPress Alignments */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* WordPress Captions */
.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption img {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	font-size: 0.875em;
	color: var(--color-gray-dark);
	text-align: center;
	margin-top: 0.5em;
}

/* WordPress Galleries */
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

/* WordPress Comments */
.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 2em;
}

.comment-body {
	margin-bottom: 2em;
	padding: 1em;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comment-author {
	font-weight: bold;
	margin-bottom: 0.5em;
}

.comment-meta {
	font-size: 0.875em;
	color: var(--color-gray-dark);
	margin-bottom: 1em;
}

.comment-content p {
	margin-bottom: 1em;
}

.comment-respond {
	margin-top: 2em;
	padding: 1.5em;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* WordPress Forms */
.wpcf7-form {
	max-width: 600px;
	margin: 0 auto;
}

.wpcf7-form p {
	margin-bottom: 1em;
}

.wpcf7-form label {
	display: block;
	margin-bottom: 0.5em;
	font-weight: bold;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	padding: 0.75em;
	border: 1px solid var(--color-gray-light);
	border-radius: 4px;
	font-size: 1em;
}

.wpcf7-form input[type="submit"] {
	background: var(--color-primary);
	color: #fff;
	padding: 0.75em 1.5em;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
	transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
	background: var(--color-secondary);
}

/* WordPress Widgets */
.widget {
	margin-bottom: 2em;
}

.widget-title {
	font-size: 1.25em;
	font-weight: bold;
	margin-bottom: 1em;
	color: var(--color-text);
}

.widget ul {
	list-style: none;
	padding: 0;
}

.widget ul li {
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid var(--color-gray-light);
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.3s ease;
}

.widget a:hover {
	color: var(--color-secondary);
}

/* WordPress Navigation */
.wp-block-navigation {
	display: flex;
	align-items: center;
}

.wp-block-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}

.wp-block-navigation li {
	margin: 0;
	padding: 0;
}

.wp-block-navigation a {
	display: block;
	padding: 0.5em 1em;
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.3s ease;
}

.wp-block-navigation a:hover {
	color: var(--color-primary);
}

/* WordPress Blocks */
.wp-block {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block[data-align="wide"] {
	max-width: 1400px;
}

.wp-block[data-align="full"] {
	max-width: none;
}

/* WordPress Search */
.search-form {
	display: flex;
	gap: 0.5em;
	margin-bottom: 1.5em;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 0.75em;
	border: 1px solid var(--color-gray-light);
	border-radius: 4px;
	font-size: 1em;
}

.search-form input[type="submit"] {
	background: var(--color-primary);
	color: #fff;
	padding: 0.75em 1.5em;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
	transition: background-color 0.3s ease;
}

.search-form input[type="submit"]:hover {
	background: var(--color-secondary);
}

/* WordPress Pagination */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	margin: 2em 0;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 0.5em 1em;
	background: #fff;
	border: 1px solid var(--color-gray-light);
	border-radius: 4px;
	color: var(--color-text);
	text-decoration: none;
	transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--color-primary);
	color: #fff;
	border-color: var(--color-primary);
}

/* WordPress Responsive Images */
.wp-block-image img {
	max-width: 100%;
	height: auto;
}

/* WordPress Screen Reader Text */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* =========================
   1. リセット・共通系
   ========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  font-family: 'Hiragino Kaku Gothic Pro', 'Helvetica', sans-serif;
  background: var(--color-background);
  color: var(--color-text);
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 0;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}


/* =========================
   2. レイアウト系
   ========================= */
.container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  background: var(--color-background);
}

.main-area {
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  width: calc(100% - 300px);
}

.section-wrap {
  width: 100%;
  padding: 0 24px 0;
}

@media (max-width: 1023px) {
	.section-wrap {
    width: 100%;
    padding: 0;
  }
}


/* =========================
   3. サイドバー（header）
   ========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
	z-index: 1000;
  width: 300px;
  height: 100dvh;
	overflow: auto;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 32px 0 32px 32px;
}

.header > .header-logo {
  flex: 0 0 auto;
}

.header-logo {
  font-size: 40px;
  font-weight: 700;
  line-height: 46px;
	color: #fff;
  text-decoration: none;
	letter-spacing: 0.05em;
}

.flex-header-sections {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
  justify-content: flex-end;
}

.header-nav ul {
  list-style: none;
	margin: 0;
	padding: 0;
}

.header-nav ul ul {
  margin: 0 0 0 8px;
}

.header-nav > ul > li {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

.header-nav > ul > li:last-child {
  margin-bottom: 0;
}

.header-nav a, .header-links a {
  position: relative;
  display: inline-block;
	color: #fff;
	text-decoration: none;
}

.header-section {
  margin-bottom: 0;
}

.header-section-title {
	display: block;
	margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-light);
  letter-spacing: 0.05em;
}

.header-submenu {
  list-style: none;
  margin: 4px 0 0 0;
	padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header-submenu li {
  font-size: 18px;
  font-weight: 600;
}

.header-cta {
  display: flex;
  justify-content: flex-start;
}

.header-btn-apply {
  display: block;
  padding: 5px 30px;
  font-size: 24px;
  font-weight: 600;
	color: #fff;
  text-align: center;
  text-decoration: none;
	background: var(--color-accent);
  border: 1px solid #fff;
	border-radius: 4px;
  transition: all 0.3s;
}

.header-btn-apply:hover {
  color: var(--color-accent);
	background: #fff;
  border: 1px solid var(--color-accent);
}

.header-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
}

.header-links a {
  font-size: 14px;
  line-height: 1.5;
  width: fit-content;
	text-decoration: none;
}

.header-links a::after {
  content: '';
  position: absolute;
	bottom: 0;
  left: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s;
  display: block;
}

.header-links a:hover::after {
  width: 100%;
}


/* =========================
   4. ファーストビュー
   ========================= */
.firstview {
  display: flex;
  align-items: center;
	width: 100%;
	height: 90dvh;
}

.firstview .contents-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  color: var(--color-primary);
}

.firstview h1 {
	margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.firstview h2 {
	margin: 0 0 40px 0;
  font-size: clamp(2.5rem, -5.5rem + 12.5vw, 3.875rem);
  font-weight: 800;
  font-family: 'Hiragino Kaku Gothic Std', sans-serif;
	letter-spacing: 0.05em;
}

.firstview p {
	margin: 0;
  font-size: clamp(1.5rem, -1.409rem + 4.55vw, 2rem);
  font-weight: 800;
  font-family: 'Hiragino Kaku Gothic Std', sans-serif;
	line-height: 2;
}

@media (max-width: 1023px) {
  .firstview {
    height: 600px;
  }

  .firstview h1 {
    margin: 0 0 8px 0;
		font-size: 16px;
  }

  .firstview h2 {
    margin: 0 0 16px 0;
		font-size: 32px;
  }

  .firstview p {
    margin: 0 0 0 -8px;
		font-size: 16px;
  }
}


/* =========================
   5. スクロールアニメーション
   ========================= */
.scroll-area {
  display: flex;
  justify-content: center;
  align-items: flex-start;
	width: 100%;
}

.scroll-anime {
  display: flex;
  align-items: center;
}

.scroll-line-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
	width: 22px;
	height: 95px;
}

.scroll-line {
  position: absolute;
  top: 0;
	left: 50%;
  width: 2px;
  height: 95px;
  background: var(--color-secondary);
  border-radius: 1px;
	transform: translateX(-50%);
}

.scroll-dot {
  position: absolute;
	top: 0;
  left: 50%;
	z-index: 1;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll-dot-move 2.2s cubic-bezier(0.4,0,0.2,1) infinite;
}

@keyframes scroll-dot-move {
	0% {
		top: 0;
		opacity: 0;
	}

	10% {
		opacity: 1;
	}

	80% {
		top: 87px;
		opacity: 1;
	}

	100% {
		top: 87px;
		opacity: 0;
	}
}

.scroll-text-vertical {
  display: inline-block;
	margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
	line-height: 95px;
  color: var(--color-secondary);
	letter-spacing: 0.1em;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: center left;
  vertical-align: middle;
}

@media (max-width: 1023px) {
	.scroll-line-wrap {
    height: 70px;
  }

	.scroll-line {
    height: 70px;
  }

  @keyframes scroll-dot-move {
		0% {
			top: 0;
			opacity: 0;
		}

		10% {
			opacity: 1;
		}

		80% {
			top: 65px;
			opacity: 1;
		}

		100% {
			top: 65px;
			opacity: 0;
		}
  }

	.scroll-text-vertical {
    line-height: 70px;
  }
}


/* =========================
   6. コンテンツエリア
   ========================= */
.contents-area {
	display: flex;
	justify-content: center;
  width: 100%;
  padding: 160px 0 40px;
  box-sizing: border-box;
}

.contents-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
	width: 100%;
	max-width: 1400px;
	padding: 0 24px;
}

.contents-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
	letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
	.contents-area {
    padding: 80px 0 20px;
  }

	.contents-wrap {
  padding: 0 16px;
  gap: 16px;
}

	.contents-title {
  font-size: 18px;
}
}


/* =========================
   7. お知らせ（news）
   ========================= */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
	padding: 8px;
	border-bottom: 1px dotted var(--color-secondary);
  text-decoration: none;
  transition: background 0.3s;
}

.news-item:hover {
  background: var(--color-tertiary);
}

.news-date {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.news-text {
  flex: 9;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  display: -webkit-box;
  -webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1023px) {
  .news-item {
    align-items: center;
  }

	.news-date {
    font-size: 12px;
  }

	.news-text {
    font-size: 16px;
  }
}


/* =========================
   8. 下部リンク・過去のお知らせ
   ========================= */
.lower-link {
  display: flex;
  justify-content: flex-end;
	width: 100%;
	padding-bottom: 4px;
  font-size: 16px;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.lower-link:hover {
  opacity: 0.7;
}

.lower-link a {
  color: var(--color-text);
	text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}


/* =========================
   9. セミナー
   ========================= */
.seminars {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.seminar-card {
	position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
	width: calc(50% - 8px);
	padding: 24px 16px;
	overflow: hidden;
	background: var(--color-tertiary);
	border: 1px solid var(--color-primary);
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.seminar-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	opacity: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: opacity 0.3s ease;
}

.seminar-card#seminar-basic::before {
	background-image: url('image/basic_fv.webp');
}
.seminar-card#seminar-advance::before {
	background-image: url('image/advance_fv.webp');
}
.seminar-card#seminar-integrity::before {
	background-image: url('image/integrity_fv.webp');
}
.seminar-card#seminar-short::before {
	background-image: url('image/short_fv.webp');
}

.seminar-card:hover::before {
	opacity: 0.5;
}

.seminar-card .card-title,
.seminar-card .card-description {
	position: relative;
	z-index: 1;
}

.card-title {
  font-size: clamp(1.75rem, -2.614rem + 6.82vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary);
}

.card-description {
  font-size: clamp(1.125rem, -1.057rem + 3.41vw, 1.5rem);
  font-weight: 600;
	color: var(--color-text);
}

.apply-area {
  display: flex;
  justify-content: center;
}

.btn-apply {
  display: block;
  padding: 5px 40px;
  font-size: 24px;
  font-weight: 600;
	color: var(--color-accent);
  text-align: center;
  text-decoration: none;
	background: #fff;
  border: 1px solid var(--color-accent);
	border-radius: 50px;
  transition: all 0.3s;
  cursor: pointer;
  font-family: inherit;
}

.btn-apply:hover {
  color: #fff;
	background: var(--color-accent);
  border: 1px solid #fff;
}

.btn-apply:disabled {
  color: var(--color-gray);
  background: #f5f5f5;
  border: 1px solid var(--color-gray);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-apply:disabled:hover {
  color: var(--color-gray);
  background: #f5f5f5;
  border: 1px solid var(--color-gray);
}

/* 申込フォームコンテナ */
.application-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* チェックボックスコンテナ */
.terms-checkbox-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* チェックボックスラベル */
.terms-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  color: var(--color-text);
  user-select: none;
}

/* チェックボックス */
.terms-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* カスタムチェックマーク */
.checkmark {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  transition: all 0.3s;
}

.terms-checkbox:checked ~ .checkmark {
  background-color: var(--color-primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.terms-checkbox:checked ~ .checkmark:after {
  display: block;
}

/* 規約テキスト */
.terms-text {
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .application-form-container {
    gap: 16px;
  }
  
  .terms-checkbox-label {
    font-size: 14px;
    gap: 10px;
  }
  
  .checkmark {
    width: 18px;
    height: 18px;
  }
  
  .checkmark:after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 8px;
  }
}

@media (max-width: 1023px) {
  .seminars {
    flex-direction: column;
  }

	.seminar-card {
    width: 100%;
  }
}


/* =========================
   10. トレーナー
   ========================= */
.trainer-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.trainer-card {
  position: relative;
  width: calc(100% / 3);
  min-width: 330px;
  min-height: 330px;
  margin: 0 0 8px;
	aspect-ratio: 1 / 1;
}

.trainer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-card .trainer-name {
  position: absolute;
  bottom: 0;
  right: 0;
	width: 100%;
  padding: 8px;
  font-size: 24px;
  font-weight: 700;
	color: #fff;
  text-align: right;
  background-color: rgba(0,0,0,0.5);
}


/* =========================
   11. 会社概要
   ========================= */
.contents-area-company {
  display: flex;
  justify-content: center;
	width: 100%;
	margin-top: 160px;
  background: var(--color-tertiary);
}

.contents-area-company .contents-wrap {
  align-items: center;
  padding: 60px 0;
  background: var(--color-tertiary);
  border-radius: 22px;
}

.company-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.center-circle {
  display: flex;
  align-items: center;
  justify-content: center;
	width: 48px;
	height: 48px;
	background: transparent;
  border: 2px solid var(--color-primary);
	border-radius: 50%;
}

.arrow-icon {
	display: block;
  width: 24px;
  height: 24px;
}

.company-link .arrow-icon {
  transition: transform 0.2s;
}

.company-link:hover .arrow-icon {
  transform: translateX(4px);
}


/* =========================
   12. フッター
   ========================= */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
	width: 100%;
	height: 40px;
	padding: 16px 0;
  font-size: 16px;
  font-weight: 300;
	color: #fff;
	background: var(--color-primary);
  letter-spacing: 0.05em;
}


/* =========================
   13. 下線アニメーション
   ========================= */
.header-nav a::after {
  content: '';
  position: absolute;
	bottom: -4px;
  left: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s;
  display: block;
}

.header-nav a:hover::after {
  width: 100%;
}


/* =========================
   14. レスポンシブ
   ========================= */
   .header-hamburger {
     display: none;
   }
  
   @media (max-width: 1023px) {
    .header {
      position: fixed;
      top: 0;
      left: 0;
		z-index: 1000;
      width: 100vw;
      height: 56px;
		overflow: visible;
      background: var(--color-primary);
      color: #fff;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 0 16px;
    }

    .header-logo {
		flex: 1;
      font-size: 28px;
      line-height: 1;
      color: #fff;
      text-decoration: none;
    }

    .header-hamburger {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1100;
    }

    .header-hamburger span {
      display: block;
      width: 28px;
      height: 3px;
      margin: 4px 0;
      background: #fff;
      border-radius: 2px;
      transition: all 0.3s ease-in-out;
      transform-origin: center;
    }

    /* ハンバーガーメニューが開いたときのアニメーション */
    .header-hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(8px, 8px);
    }

    .header-hamburger.active span:nth-child(2) {
      opacity: 0;
      transform: scale(0);
    }

    .header-hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(8px, -8px);
    }

    .flex-header-sections {
      display: flex;
      position: fixed;
      top: -100vh;
      left: 0;
      z-index: 1050;
      width: 100vw;
      max-height: calc(100vh - 56px);
      overflow-y: auto;
      background: var(--color-primary);
      flex-direction: column;
      gap: 0;
      padding: 24px 16px 32px 16px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
      transition: top 0.3s ease-in-out;
    }

    .flex-header-sections.open {
      top: 56px;
    }

    .header-nav ul,
    .header-links {
      flex-direction: column;
      gap: 16px;
    }

    .header-cta {
      margin: 16px 0;
    }

	.main-area {
      margin-left: 0;
      margin-top: 56px;
      width: 100vw;
    }

    .container {
      flex-direction: column;
    }
  } 


/* =========================
   15. seminarページ専用
   ========================= */
.seminar-visual {
	position: relative;
  width: 100%;
  margin: 0 0 40px;
}

.seminar-visual-imgwrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1140 / 640;
}

.seminar-visual-img {
	display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
	filter: brightness(0.8);
}

.seminar-visual-title {
  position: absolute;
  top: 35%;
	left: 32px;
	margin: 0;
  font-size: clamp(3rem, -2.091rem + 7.95vw, 3.875rem);
  font-weight: 800;
	font-family: 'Hiragino Kaku Gothic Std', sans-serif;
  color: var(--color-primary);
  letter-spacing: 0.05em;
	line-height: 1.2;
}

#short .seminar-visual-title {
	top: 25%;
}

.seminar-visual-desc {
  position: absolute;
  top: calc(35% + 100px);
	left: 32px;
	margin: 0;
  font-size: clamp(1.5rem, -1.409rem + 4.55vw, 2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
	text-shadow: 4px 4px 2px rgba(4,87,181,0.25);
}

@media (max-width: 1023px) {
	.seminar-visual-title {
    top: 35%;
    left: 16px;
		font-size: clamp(2rem, 1.046rem + 3.05vw, 3rem);
	}

	#short .seminar-visual-title {
		top: 22%;
	}

	.seminar-visual-desc {
    top: calc(35% + 64px);
		left: 16px;
		font-size: clamp(1.125rem, 0.767rem + 1.15vw, 1.5rem);
  }
}

.common-tabnav {
  display: flex;
  justify-content: center;
	width: 100%;
	margin: 0 auto 40px;
}

.common-tabnav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
  font-size: 16px;
  font-weight: 300;
}

.common-tabnav li {
  list-style: none;
  text-align: center;
}

.common-tabnav a {
  color: var(--color-text);
  opacity: 1;
  transition: opacity 0.3s;
}

.common-tabnav a:hover {
  opacity: 0.7;
}

@media (max-width: 1023px) {
	.common-tabnav {
    padding: 0 16px;
  }

	.common-tabnav ul {
    gap: 8px;
  }
}

.lower-wrap {
	display: flex;
	gap: 24px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.lower-section {
  width: 100%;
  margin: 40px 0;
}

.lower-section-title {
  width: calc(100% * 3 / 12);
	margin-top: 0;
	margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
	text-align: left;
  letter-spacing: 0.05em;
}

.lower-section-content {
  flex: 1;
  max-width: calc(100% * 9 / 12);
  font-size: 16px;
  line-height: 2;
}

.lower-section-content p,
.lower-section-content ul {
  margin: 0 0 64px;
}

.lower-section-content p.text-right {
  text-align: right;
}

.lower-section-content span.application-caution {
  color: var(--color-accent);
}

.seminar-section-bg-text {
  font-size: 24px;
  font-weight: 600;
}

.seminar-section-bold-text {
  font-weight: 600;
}

.lower-section-content li {
  margin: 0 0 8px 16px;
	font-size: 16px;
  list-style: disc;
}

@media (max-width: 1023px) {
	.lower-section {
    margin: 24px 0;
  }

	.lower-wrap {
    flex-direction: column;
    gap: 16px;
		padding: 0 16px;
  }

	.lower-section-title {
    width: 100%;
    margin-bottom: 0;
		font-size: 18px;
    letter-spacing: 0;
  }

	.lower-section-content {
    flex: 1;
    max-width: 100%;
  }

	.lower-section-content p,
	.lower-section-content ul {
    margin: 0 0 32px;
  }

	.seminar-section-bg-text {
    font-size: 18px;
  }

	.lower-section-content li {
    margin: 0 0 8px 16px;
		font-size: 16px;
    list-style: disc;
  }
}

.seminar-teacher {
  display: flex;
  align-items: center;
	gap: 40px;
}

.seminar-teacher-img {
  width: 362px;
  height: 382px;
}

.seminar-teacher-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	border-radius: 8px;
}

.seminar-teacher-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
	flex: 1;
}

.seminar-teacher-name {
	margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
	line-height: 1.5;
}

.seminar-teacher-company,
.seminar-teacher-title {
  font-size: 16px;
}

.seminar-teacher-link {
  display: inline-flex;
  align-items: center;
	margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
	color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.seminar-teacher-link:hover {
  color: var(--color-accent);
}

.seminar-teacher-arrow {
  margin-left: 8px;
	font-size: 20px;
}

@media (max-width: 1023px) {
	.seminar-teacher {
    flex-wrap: wrap;
    gap: 16px;
  }

	.seminar-teacher-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
		flex: 1;
  }

	.seminar-teacher-link {
    margin-top: 8px;
  }
}

.seminar-curriculum {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.seminar-curriculum-day-title {
	margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}

.seminar-curriculum-day ul {
  margin: 0;
  padding-left: 8px;
}

.seminar-curriculum-day li {
  font-size: 16px;
}

@media (max-width: 1023px) {
	.seminar-curriculum-day-title {
    margin-bottom: 0;
		font-size: 18px;
  }
}
.seminar-schedule-item {
	margin-bottom: 24px;
}

.seminar-course {
	margin-bottom: 0;
  font-size: 20px;
  font-weight: 600;
	color: var(--color-primary);
}

.seminar-schedule-year {
	margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.seminar-schedule ul {
  margin: 0;
  padding-left: 18px;
}

.seminar-schedule li {
  margin-bottom: 8px;
	font-size: 16px;
  list-style: disc;
}


.seminar-stop::after {
	content: '満員御礼';
	text-decoration: none;
	color: var(--color-accent);
}



@media (max-width: 1023px) {
	.seminar-schedule-year {
    margin-bottom: 0;
		font-size: 18px;
  }
}

.lower-wrap:has(.btn-apply) {
  justify-content: center;
}


/* =========================
	16. trainerページ専用
	========================= */
.lower-heading {
	width: 100%;
	margin: 0 auto;
	padding: 40px 24px 120px;
}

.lower-heading-title {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lower-heading-title h1 {
	font-size: clamp(3rem, -2.091rem + 7.95vw, 3.875rem);
	font-weight: 800;
	font-family: 'Hiragino Kaku Gothic Std', sans-serif;
	color: var(--color-primary);
	line-height: 1.5;
	letter-spacing: 0.05em;
}

.lower-heading-title p {
	margin: 0 0 0 8px;
	font-size: 24px;
	font-weight: 300;
	color: var(--color-primary);
	line-height: 1.5;
	letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
	.lower-heading {
		padding: 40px 16px 60px;
	}

	.lower-heading-title h1 {
		font-size: clamp(2rem, 1.046rem + 3.05vw, 3rem);
		letter-spacing: 0;
	}

	.lower-heading-title p {
		margin: 0 0 0 4px;
		font-size: 18px;
		letter-spacing: 0;
	}
}

.trainer-profile {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 0 40px;
}

.trainer-profile-img {
	flex-shrink: 0;
	width: 30%;
	max-width: 351px;
	max-height: 374px;
}

.trainer-profile-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.trainer-profile-info {
	display: flex;
	flex-direction: column;
	gap: 32px;
	flex: 1;
}

.trainer-profile-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.trainer-profile-name {
	margin: 0;
	font-size: 32px;
	font-weight: 600;
	color: var(--color-primary);
	line-height: 1.5;
}

.trainer-profile-title {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	color: var(--color-text);
	line-height: 1.5;
}

.trainer-profile-description {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.trainer-profile-description p {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	color: var(--color-text);
	line-height: 2;
}

.trainer-section-alt {
	background: var(--color-quaternary);
}

@media (max-width: 1023px) {
	.trainer-profile {
		flex-direction: column;
		gap: 24px;
		padding: 20px 0 20px;
	}

	.trainer-profile-img {
		width: 100%;
		max-height: none;
	}

	.trainer-profile-info {
		gap: 16px;
	}

	.trainer-profile-name {
		font-size: 24px;
	}

	.trainer-profile-description {
		gap: 32px;
	}
}

/* =========================
   お知らせカスタム投稿タイプ
   ========================= */

/* ページネーション */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin: 3rem 0;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1px solid var(--color-gray-light);
	border-radius: 4px;
	color: var(--color-text);
	text-decoration: none;
	transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--color-primary);
	color: #fff;
	border-color: var(--color-primary);
}

/* 投稿が見つからない場合 */
.no-posts {
	text-align: center;
	padding: 3rem 1rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.no-posts h2 {
	margin-bottom: 1rem;
	color: var(--color-text);
}

.no-posts p {
	color: var(--color-gray-dark);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.post-navigation .nav-links {
		flex-direction: column;
		gap: 1rem;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.news-item {
		padding: 1rem;
		margin-bottom: 1.5rem;
	}

	.news-item .entry-title {
		font-size: 1.125rem;
	}
}

/* =========================
   お知らせ個別ページ（single-news.php）
   ========================= */

/* パンくずリスト */
.breadcrumb {
  width: 100%;
	margin-top: 40px;
	padding: 0 24px;
}

.breadcrumb .back-link {
	color: var(--color-text);
	text-decoration: none;
	font-size: 18px;
	transition: color 0.3s ease;
}

.breadcrumb .back-link:hover {
	color: var(--color-primary);
}

.news-single {
	width: 100%;
	margin: 32px auto 40px;
	padding: 0 24px;
}

.single-news-heading {
	width: 100%;
	margin-bottom: 40px;
}

/* 記事タイトル */
.single-news-title {
	font-size: 32px;
	font-weight: bold;
	color: var(--color-primary);
	margin: 0 0 32px 0;
}

/* 投稿日付 */
.single-news-date {
	font-size: 16px;
	color: var(--color-text);
	font-weight: normal;
}

/* 投稿内容 */
.single-news-content {
	line-height: 2;
	margin-bottom: 2rem;
	color: var(--color-text);
	font-size: 1rem;
}

.single-news-content h2,
.single-news-content h3,
.single-news-content h4 {
	margin: 2rem 0 1rem 0;
	color: var(--color-text);
	font-weight: bold;
}

.single-news-content h2 {
	font-size: 1.5rem;
}

.single-news-content h3 {
	font-size: 1.25rem;
}

.single-news-content h4 {
	font-size: 1.125rem;
}

.single-news-content p {
	margin-bottom: 1rem;
}

.single-news-content ul,
.single-news-content ol {
	margin-bottom: 1rem;
	padding-left: 2rem;
}

.single-news-content li {
	margin-bottom: 0.5rem;
}

.single-news-content blockquote {
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	background: var(--color-quaternary);
	border-left: 4px solid var(--color-primary);
	font-style: italic;
	border-radius: 0 4px 4px 0;
}

.single-news-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin: 1rem 0;
}

.single-news-content a {
	color: var(--color-primary);
	text-decoration: underline;
	transition: color 0.3s ease;
}

.single-news-content a:hover {
	color: var(--color-secondary);
}

/* 投稿ナビゲーション */
.single-post-navigation {
	width: 100%;
	margin: 3rem 0;
	padding: 0 24px;
}

.single-post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.single-post-navigation .nav-previous,
.single-post-navigation .nav-next {
	flex: 1;
}

.single-post-navigation .nav-next {
	text-align: right;
}

.single-post-navigation a {
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 0.875rem;
}

.single-post-navigation a:hover {
	color: var(--color-primary);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.breadcrumb {
		padding: 0 16px;
	}

	.news-single {
		padding: 0 16px;
	}

	.single-news-title {
		font-size: 1.5rem;
	}

	.single-news-content {
		font-size: 0.875rem;
	}

	.single-post-navigation {
		padding: 0 16px;
	}
}

/* 企業情報テーブル */
.company-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
	max-width: 721px;
}

.company-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
}

.company-item:first-child {
	height: 56px;
}

.company-label {
	font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
	font-weight: 300;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #888888;
	width: 100%;
}

.company-value {
	font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
	font-weight: 300;
	font-size: 1.125rem;
	line-height: 1.5;
	color: #333333;
	width: 100%;
}

.philosophy-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
	margin-bottom: 2rem;
}

.philosophy-item:first-child {
	height: 56px;
}

.philosophy-label {
	font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
	font-weight: 300;
	font-size: 1.125rem;
	color: var(--color-primary);
	width: 100%;
	text-decoration: underline;
}

.philosophy-value {
	font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 1.5;
	letter-spacing: 0.05em;
	color: #333333;
	width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.company-list {
		gap: 1.5rem;
		max-width: 100%;
	}

	.company-item:first-child {
		height: auto;
	}

	.company-label {
		font-size: 0.8125rem;
	}

	.company-value {
		font-size: 1rem;
	}

	.philosophy-label {
		font-size: 1rem;
	}
	
	.philosophy-value {
		font-size: 1.125rem;
		letter-spacing: 0;
	}
}


.law-content {
	width: 100%;
	margin: 0 auto 40px;
	padding: 0 24px;
}

.law-section-title {
	font-size: 24px;
	font-weight: 600;
	margin-top: 64px;
}

.law-content ol {
	list-style: decimal;
	margin-left: 20px;
}

.law-content ol.roma {
	list-style-type: lower-roman;
}

.law-section-title:first-of-type {
	margin-top: 0;
}



@media (max-width: 1023px) {
	.law-content {
		padding: 0 16px;
	}
}

/* 特定商取引法テーブル */
.commercial-law-table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.commercial-law-table th {
	font-weight: 600;
	font-size: 0.875rem;
	padding: 1.25rem 1.5rem;
	text-align: left;
	vertical-align: top;
	width: 25%;
	min-width: 200px;
	border-bottom: 1px solid #f0f0f0;
}

.commercial-law-table td {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: top;
	line-height: 1.6;
}

.commercial-law-table tr:last-child th,
.commercial-law-table tr:last-child td {
	border-bottom: none;
}

.commercial-law-table ul {
	margin: 0;
	padding-left: 1.5rem;
}

.commercial-law-table li {
	margin-bottom: 0.75rem;
	list-style-type: disc;
}

.commercial-law-table li:last-child {
	margin-bottom: 0;
}

.commercial-law-table p {
	margin: 0.5rem 0;
}

.commercial-law-table strong {
	color: var(--color-primary);
	font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.commercial-law-table {
		margin: 1.5rem 0;
		border-radius: 4px;
	}

	.commercial-law-table th,
	.commercial-law-table td {
		padding: 1rem;
		font-size: 0.875rem;
	}

	.commercial-law-table th {
		width: 30%;
		min-width: 120px;
		font-size: 0.8125rem;
	}

	.commercial-law-table ul {
		padding-left: 1rem;
	}

	.commercial-law-table li {
		margin-bottom: 0.5rem;
	}
}

@media (max-width: 480px) {
	.commercial-law-table {
		display: block;
	}

	.commercial-law-table thead,
	.commercial-law-table tbody,
	.commercial-law-table tr,
	.commercial-law-table th,
	.commercial-law-table td {
		display: block;
		width: 100%;
	}

	.commercial-law-table th {
		padding: 1rem;
		margin: 0;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}

	.commercial-law-table td {
		padding: 1rem;
		border-bottom: 1px solid #f0f0f0;
		background: #fff;
	}

	.commercial-law-table tr:last-child td {
		border-bottom: none;
	}
}

/* ========================================
   研修日程表示用スタイル
   ======================================== */

.training-schedules-display {
	margin: 2rem 0;
	padding: 2rem;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.training-schedules-display h3 {
	margin: 0 0 1.5rem 0;
	color: var(--color-primary);
	font-size: 1.5rem;
	font-weight: 600;
	border-bottom: 2px solid var(--color-primary);
	padding-bottom: 0.5rem;
}

.training-schedule-list {
	display: grid;
	gap: 1rem;
}

.training-schedule-item {
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	padding: 1.5rem;
	position: relative;
	transition: all 0.3s ease;
}

.training-schedule-item:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.training-schedule-item .schedule-year {
	font-size: 1.125rem;
	font-weight: 600;
	color: #212529;
	margin-bottom: 0.5rem;
}

.training-schedule-item .schedule-text {
	font-size: 1rem;
	color: #495057;
	margin-bottom: 0.75rem;
}

.training-schedule-item .schedule-time {
	font-size: 1rem;
	color: #6c757d;
	margin-bottom: 0.75rem;
}

.training-schedule-item .schedule-capacity {
	font-size: 0.875rem;
	color: #495057;
	margin-bottom: 0.75rem;
}

.training-schedule-item .schedule-status {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	border-radius: 20px;
	font-size: 0.8125rem;
	font-weight: 500;
	text-align: center;
	min-width: 80px;
}

/* ステータス別の色分け */
.training-schedule-item.status-available .schedule-status {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.training-schedule-item.status-full .schedule-status {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* 満員の場合の特別スタイル */
.training-schedule-item.status-full {
	border-color: #dc3545;
	background: #fff5f5;
}

.training-schedule-item.status-full .schedule-date {
	color: #dc3545;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
	.training-schedules-display {
		margin: 1.5rem 0;
		padding: 1.5rem;
	}

	.training-schedules-display h3 {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}

	.training-schedule-item {
		padding: 1rem;
	}

	.training-schedule-item .schedule-year {
		font-size: 1rem;
	}

	.training-schedule-item .schedule-text {
		font-size: 0.875rem;
	}

	.training-schedule-item .schedule-time {
		font-size: 0.875rem;
	}

	.training-schedule-item .schedule-capacity {
		font-size: 0.8125rem;
	}

	.training-schedule-item .schedule-status {
		font-size: 0.75rem;
		padding: 0.25rem 0.5rem;
		min-width: 70px;
	}
}

@media (max-width: 480px) {
	.training-schedules-display {
		margin: 1rem 0;
		padding: 1rem;
	}

	.training-schedule-item {
		padding: 0.75rem;
	}

	.training-schedule-item .schedule-year {
		font-size: 0.9375rem;
	}

	.training-schedule-item .schedule-text {
		font-size: 0.8125rem;
	}

	.training-schedule-item .schedule-time {
		font-size: 0.8125rem;
	}

	.training-schedule-item .schedule-capacity {
		font-size: 0.75rem;
	}
}
