/*
Theme Name: SELECT Corporate Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: コーポレートサイト用カスタムWordPressテーマ。ブルー系デザイン、レスポンシブ対応。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: select-theme
Tags: corporate, responsive, custom-logo
*/

/* ============================================================
   CSS Variables
============================================================ */
:root {
  --color-primary: #1a6fc4;
  --color-primary-dark: #1255a0;
  --color-primary-light: #3a8fda;
  --color-accent: #e63946;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-gray: #f5f7fa;
  --color-border: #dddddd;
  --color-overlay-blue: rgba(10, 60, 120, 0.65);
  --color-footer-bg: #1a1a2e;

  --font-en: 'Barlow', 'Oswald', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;

  --max-width: 1200px;
  --header-height: 70px;

  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.18);
}

/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

/* ============================================================
   Typography
============================================================ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: 700;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text);
  text-transform: uppercase;
}

.section-title .ja {
  display: block;
  font-size: 13px;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  margin-top: 4px;
}

/* ============================================================
   Layout
============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--color-bg-gray);
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-block;
  padding: 12px 36px;
  font-size: 13px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background: #c42b36;
  border-color: #c42b36;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--outline-white:hover {
  background: #fff;
  color: var(--color-primary);
}

/* ============================================================
   Header
============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
}

#site-header.is-top {
  background: transparent;
}

#site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo a {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-logo-text {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

#site-header.is-top .site-logo-text {
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition);
  transform-origin: center;
}

#site-header.is-top .hamburger span {
  background: #fff;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--color-text);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--color-text);
}

/* Drawer Nav */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-drawer ul li a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition), padding-left var(--transition);
}

.nav-drawer ul li a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   Page Hero (下層ページ共通)
============================================================ */
.page-hero {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-blue);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.page-hero__content .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.page-hero__content .ja {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-top: 6px;
  opacity: 0.8;
}

/* ============================================================
   TOP: Hero / MV
============================================================ */
.mv {
  position: relative;
  height: 100vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,50,100,0.7) 0%, rgba(26,111,196,0.4) 100%);
}

.mv__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  padding-top: var(--header-height);
  color: #fff;
}

.mv__copy {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.mv__sub {
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 2;
  max-width: 500px;
  opacity: 0.9;
}

.mv__scroll {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  z-index: 1;
}

.mv__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: #fff;
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TOP: About Section
============================================================ */
.about-section {
  padding: 90px 0;
}

.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-section__body .label-en {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-transform: uppercase;
  display: block;
}

.about-section__body .label-ja {
  font-size: 12px;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 20px;
}

.about-section__body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 20px;
  color: var(--color-text);
}

.about-section__body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 30px;
}

.about-section__image {
  overflow: hidden;
}

.about-section__image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-section__image:hover img {
  transform: scale(1.03);
}

/* ============================================================
   TOP: Topics Section
============================================================ */
.topics-section {
  padding: 80px 0;
  background: var(--color-primary);
}

.topics-section .section-title .en {
  color: #fff;
}

.topics-section .section-title .ja {
  color: rgba(255,255,255,0.7);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.topic-card {
  background: #fff;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.topic-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.topic-card__image {
  overflow: hidden;
  height: 200px;
}

.topic-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.topic-card:hover .topic-card__image img {
  transform: scale(1.06);
}

.topic-card__body {
  padding: 18px 20px 22px;
}

.topic-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}

.topic-card__meta {
  font-size: 12px;
  color: var(--color-text-light);
}

.topic-card__cat {
  margin-left: 8px;
  color: var(--color-primary);
}

.topics-section .btn-wrap {
  text-align: center;
}

/* ============================================================
   TOP: Service Section
============================================================ */
.service-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.service-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-section__image {
  overflow: hidden;
  order: -1;
}

.service-section__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.service-section__body .label-en {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

.service-section__body .label-ja {
  font-size: 12px;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 20px;
}

.service-section__body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 16px;
}

.service-section__body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 30px;
}

/* ============================================================
   TOP: Recruit Section
============================================================ */
.recruit-section {
  padding: 90px 0;
  background: var(--color-bg-gray);
}

.recruit-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.recruit-section__body .label-en {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

.recruit-section__body .label-ja {
  font-size: 12px;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 20px;
}

.recruit-section__body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 16px;
}

.recruit-section__body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 30px;
}

.recruit-section__image {
  overflow: hidden;
}

.recruit-section__image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ============================================================
   Contact Banner (共通フッター上部)
============================================================ */
.contact-banner {
  position: relative;
  padding: 70px 0;
  text-align: center;
  overflow: hidden;
}

.contact-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.contact-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 50, 120, 0.7);
}

.contact-banner__inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.contact-banner .section-title {
  margin-bottom: 30px;
}

.contact-banner .section-title .en {
  color: #fff;
}

.contact-banner .section-title .ja {
  color: rgba(255,255,255,0.7);
}

.contact-banner__tel {
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-banner__hours {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

/* ============================================================
   Footer
============================================================ */
#site-footer {
  background: var(--color-footer-bg);
  color: #aaa;
  padding: 50px 0 30px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  display: block;
  margin-bottom: 12px;
}

.footer-logo-text {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-logo-sub {
  font-size: 11px;
  color: #aaa;
  display: block;
  margin-top: 2px;
  letter-spacing: 0.1em;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: flex-end;
}

.footer-nav ul li a {
  font-size: 13px;
  color: #aaa;
  transition: color var(--transition);
}

.footer-nav ul li a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 12px;
  color: #666;
}

.footer-sns {
  display: flex;
  gap: 12px;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #444;
  color: #aaa;
  font-size: 14px;
  border-radius: 50%;
  transition: all var(--transition);
}

.footer-sns a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ============================================================
   About Page
============================================================ */
.about-greeting {
  padding: 80px 0;
}

.about-greeting .container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  align-items: start;
}

.about-greeting__image img {
  width: 100%;
  object-fit: cover;
}

.about-greeting__body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 20px;
  line-height: 1.5;
}

.about-greeting__body h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 14px;
}

.about-greeting__body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 16px;
}

/* Company Table */
.company-table {
  padding: 80px 0;
  background: var(--color-bg-gray);
}

.company-table h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 14px;
  position: relative;
}

.company-table h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin: 12px auto 0;
}

.company-table table {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 20px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.company-table th {
  width: 180px;
  color: var(--color-text-light);
  font-weight: 500;
}

.company-table tr:first-child th,
.company-table tr:first-child td {
  border-top: 1px solid var(--color-border);
}

/* Access Map */
.access-section {
  padding: 80px 0;
}

.access-section h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 14px;
  position: relative;
}

.access-section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin: 12px auto 0;
}

.map-embed {
  max-width: 900px;
  margin: 40px auto 0;
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============================================================
   Service Page
============================================================ */
.service-intro {
  text-align: center;
  padding: 60px 0 40px;
}

.service-intro .lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.service-intro .desc {
  font-size: 14px;
  color: var(--color-text-light);
}

.service-list {
  padding: 40px 0 80px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--color-border);
}

.service-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-item__image {
  overflow: hidden;
}

.service-item__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.service-item__body h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 14px;
}

.service-item__body h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 12px;
  margin-bottom: 20px;
}

.service-item__body .sub-title {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text);
  margin-bottom: 16px;
  font-weight: 600;
}

.service-item__body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
}

/* ============================================================
   Recruit Page
============================================================ */
.recruit-intro {
  text-align: center;
  padding: 60px 0 20px;
}

.recruit-intro .lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.recruit-intro .desc {
  font-size: 14px;
  color: var(--color-text-light);
}

.recruit-requirements {
  padding: 40px 0 80px;
}

.recruit-requirements h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 14px;
  position: relative;
}

.recruit-requirements h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin: 12px auto 0;
}

.recruit-table {
  max-width: 800px;
  margin: 40px auto 0;
  border-collapse: collapse;
  width: 100%;
}

.recruit-table th,
.recruit-table td {
  padding: 20px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.recruit-table th {
  width: 180px;
  color: var(--color-text-light);
  font-weight: 500;
}

.recruit-table tr:first-child th,
.recruit-table tr:first-child td {
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   Topics / Blog
============================================================ */
.topics-archive {
  padding: 60px 0 80px;
}

.topics-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.post-card {
  background: #fff;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.post-card__image {
  overflow: hidden;
  height: 200px;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.06);
}

.post-card__body {
  padding: 20px;
}

.post-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.6;
}

.post-card__date {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.post-card__more {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--color-primary);
  padding: 7px 20px;
  border-radius: 50px;
  transition: background var(--transition);
}

.post-card__more:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text);
  transition: all var(--transition);
}

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

/* Single Post */
.single-post {
  padding: 60px 0 80px;
}

.single-post__inner {
  max-width: 800px;
  margin: 0 auto;
}

.single-post__header {
  margin-bottom: 40px;
}

.single-post__cat {
  display: inline-block;
  font-size: 11px;
  background: var(--color-primary);
  color: #fff;
  padding: 3px 12px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.single-post__title {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 12px;
  line-height: 1.5;
}

.single-post__date {
  font-size: 13px;
  color: var(--color-text-light);
}

.single-post__thumbnail {
  margin-bottom: 40px;
}

.single-post__thumbnail img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.single-post__content {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

.single-post__content h2 {
  font-size: 22px;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
}

.single-post__content h3 {
  font-size: 18px;
  margin: 30px 0 12px;
}

.single-post__content p {
  margin-bottom: 20px;
}

.single-post__content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.single-post__back {
  text-align: center;
  margin-top: 60px;
}

/* ============================================================
   Contact Page
============================================================ */
.contact-page {
  padding: 60px 0 80px;
}

.contact-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 50px;
}

.contact-step__item {
  display: flex;
  align-items: center;
  gap: 0;
}

.contact-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-border);
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-en);
  position: relative;
  z-index: 1;
}

.contact-step__item.is-active .contact-step__num {
  background: var(--color-primary);
  color: #fff;
}

.contact-step__label {
  font-size: 12px;
  color: var(--color-text-light);
  margin-left: 8px;
  white-space: nowrap;
}

.contact-step__item.is-active .contact-step__label {
  color: var(--color-primary);
}

.contact-step__line {
  width: 80px;
  height: 1px;
  background: var(--color-border);
  margin: 0 8px;
}

.contact-lead {
  font-size: 14px;
  margin-bottom: 40px;
  color: var(--color-text-light);
}

/* CF7 スタイリング */
.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form-wrap .form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-form-wrap label {
  padding-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

.req {
  display: inline-block;
  font-size: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-ja);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.wpcf7 textarea {
  height: 180px;
  resize: vertical;
}

.wpcf7 .privacy-row {
  margin: 30px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.wpcf7 .privacy-row a {
  color: var(--color-primary);
  text-decoration: underline;
}

.wpcf7 input[type="submit"] {
  display: block;
  margin: 0 auto;
  padding: 16px 60px;
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
  font-size: 14px;
  font-family: var(--font-ja);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.1em;
}

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

/* ============================================================
   Privacy Policy Page
============================================================ */
.privacy-content {
  padding: 60px 0 80px;
}

.privacy-content__inner {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content p {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.privacy-content h2 {
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-bg-gray);
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1024px) {
  .about-section .container,
  .service-section .container,
  .recruit-section .container {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

  /* Header */
  .header-inner {
    padding: 0 20px;
  }

  /* MV */
  .mv__content {
    padding: 0 20px;
    padding-top: var(--header-height);
  }

  /* About TOP */
  .about-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-section__image img {
    height: 260px;
  }

  /* Topics grid */
  .topics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Service TOP */
  .service-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-section__image {
    order: 0;
  }

  .service-section__image img {
    height: 260px;
  }

  /* Recruit TOP */
  .recruit-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recruit-section__image img {
    height: 260px;
  }

  /* About page */
  .about-greeting .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Service page */
  .service-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-item__image img {
    height: 240px;
  }

  /* Topics archive */
  .topics-archive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* Contact form */
  .contact-form-wrap .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form-wrap label {
    padding-top: 0;
  }

  .contact-step__line {
    width: 40px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .footer-nav ul {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  /* Company/Recruit table */
  .company-table th,
  .recruit-table th {
    width: auto;
    display: block;
  }

  .company-table td,
  .recruit-table td {
    display: block;
  }

  .company-table th,
  .company-table td,
  .recruit-table th,
  .recruit-table td {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .topics-archive-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    height: 180px;
  }

  .contact-banner__tel {
    font-size: 24px;
  }
}

/* ============================================================
   Utilities
============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
