/*
Theme Name:  Philidge
Theme URI:   https://www.philidge.co.jp/
Author:      Philidge Inc.
Author URI:  https://www.philidge.co.jp/
Description: 株式会社フィリッジ オリジナルWordPressテーマ
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: philidge
Tags:        custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CSS Custom Properties（デザイントークン）
   ============================================================ */
:root {
  /* Brand Colors — White base + Gold accent */
  --color-primary:       #dd9933;   /* ブランドゴールド */
  --color-primary-dark:  #b87d20;   /* ゴールド（ホバー・濃い） */
  --color-primary-light: #f0b84d;   /* ゴールド（薄い） */
  --color-accent:        #f5dca0;   /* ゴールド（淡いアクセント） */

  /* Neutrals */
  --color-bg:            #ffffff;
  --color-bg-light:      #f7f7f7;
  --color-bg-dark:       #2d2d2d;
  --color-border:        #e0e0e0;
  --color-text:          #333333;
  --color-text-light:    #777777;
  --color-text-inverse:  #ffffff;

  /* Header */
  --color-header-top:    #ffffff;         /* ヘッダー上段：白 */
  --color-header-top-border: #e8e8e8;     /* ヘッダー下ライン */
  --color-header-nav:    #888888;         /* ナビ背景：薄めグレー */
  --color-header-nav-hover: #666666;      /* ナビホバー */

  /* Typography */
  --font-base:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-en:    'Lato', 'Arial', sans-serif;

  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.5rem;    /* 24px */
  --fs-2xl:  1.875rem;  /* 30px */
  --fs-3xl:  2.25rem;   /* 36px */

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-bold:    700;

  --lh-tight:  1.4;
  --lh-base:   1.7;
  --lh-loose:  2.0;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2rem;
  --sp-xl:  3rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;

  /* Layout */
  --container-max:   1100px;
  --container-pad:   1.5rem;
  --sidebar-width:   280px;
  --content-width:   760px;
  --gap-grid:        1.5rem;

  /* Border */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 30px rgba(0,0,0,.12);

  /* Transition */
  --transition: 0.2s ease;
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-sm);
}


/* ============================================================
   Utility
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.btn {
  display: inline-block;
  padding: 0.6em 1.8em;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
}

.section-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  padding-bottom: var(--sp-sm);
  border-bottom: 3px solid var(--color-primary);
  margin-bottom: var(--sp-lg);
}

.section-title span {
  display: block;
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 0.2em;
}


/* ============================================================
   Layout Wrapper
   ============================================================ */
#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#content {
  flex: 1;
}

.site-main-wrap {
  max-width: var(--container-max);
  margin: var(--sp-xl) auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--sp-xl);
  align-items: start;
}

.site-main-wrap.no-sidebar {
  grid-template-columns: 1fr;
}

/* Full-width pages */
.full-width .site-main-wrap {
  grid-template-columns: 1fr;
}


/* ============================================================
   Header — Top Bar
   ============================================================ */
#masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.site-header-top {
  background: var(--color-header-top);   /* 白 */
  color: var(--color-text);
  border-bottom: 1px solid var(--color-header-top-border);
}

.site-header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: var(--sp-sm);
}

.site-branding {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1em;
}

/* カスタムロゴ（画像）のサイズ調整 */
.site-branding .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-branding .custom-logo {
  height: 52px;      /* ヘッダーに合わせた高さ。管理画面で画像登録後に調整 */
  width: auto;
  max-width: 240px;
  display: block;
}

.site-branding .custom-logo:hover {
  opacity: 0.8;
}

.site-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.site-title a {
  color: var(--color-text);
  text-decoration: none;
}

.site-title a:hover {
  opacity: 0.75;
  text-decoration: none;
}

.site-description {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* ヘッダー右側：TEL＋受付時間 */
.header-contact {
  text-align: right;
  color: var(--color-text);
}

.header-contact-label {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin-bottom: 0.1em;
}

.header-tel {
  font-size: var(--fs-2xl);
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--color-primary);  /* ゴールドで電話番号を強調 */
}

.header-tel a {
  color: var(--color-primary);
  text-decoration: none;
}

.header-tel a:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.header-hours {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin-top: 0.2em;
}


/* ============================================================
   Navigation
   ============================================================ */
.main-navigation {
  background: var(--color-header-nav);
}

.main-navigation .container {
  display: flex;
  align-items: stretch;
  justify-content: center;   /* センター合わせ */
}

.nav-menu {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;   /* センター合わせ */
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  color: var(--color-text-inverse);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
  border-right: 1px solid rgba(255,255,255,.12);
}

.nav-menu > li:first-child > a {
  border-left: 1px solid rgba(255,255,255,.12);
}

.nav-menu > li > a .nav-en {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);   /* ゴールドで英語サブテキスト */
  margin-top: 0.15em;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  background: var(--color-primary);    /* ホバー・アクティブはゴールド */
  color: var(--color-text-inverse);
  text-decoration: none;
}

.nav-menu > li > a:hover .nav-en,
.nav-menu > li.current-menu-item > a .nav-en,
.nav-menu > li.current-menu-ancestor > a .nav-en {
  color: rgba(255,255,255,.85);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #444444;
  min-width: 180px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}

.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--color-text-inverse);
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: background var(--transition);
}

.nav-menu .sub-menu li a:hover {
  background: var(--color-primary);
  text-decoration: none;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-inverse);
  font-size: var(--fs-lg);
  cursor: pointer;
  padding: 0.75rem var(--container-pad);
  margin-left: auto;
}


/* ============================================================
   Hero Slider（1200px幅 コンテナ内）
   ============================================================ */
.hero-slider-wrap {
  padding: var(--sp-lg) 0;
  background: var(--color-bg);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  border-radius: var(--radius-md);
}

.hero-slider-inner {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}

.hero-slider .slides {
  display: flex;
  transition: transform 0.6s ease;
}

.hero-slider .slide {
  min-width: 100%;
  position: relative;
}

.hero-slider .slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.75);
  color: var(--color-text);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-prev:hover,
.slider-next:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}

.slider-dots button.active {
  background: var(--color-primary);   /* アクティブドットはゴールド */
}


/* ============================================================
   Shop Cards（店舗紹介）
   ============================================================ */
.shops-section {
  padding: var(--sp-xl) 0;
  background: var(--color-bg-light);
}

.shops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.shop-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.shop-card a {
  display: block;
  text-decoration: none;
}

.shop-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shop-card:hover img {
  transform: scale(1.04);
}

.shop-card-body {
  padding: var(--sp-sm);
}

.shop-card-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}


/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: var(--color-primary);  /* ゴールド背景 */
  color: var(--color-text-inverse);
  padding: var(--sp-lg) 0;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.cta-message {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: #fff;
}

.cta-message small {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  opacity: 0.9;
  margin-top: 0.3em;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.cta-tel {
  font-size: var(--fs-2xl);
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.cta-hours {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.85);
}

.cta-btn {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #fff;
  padding: 0.65em 1.6em;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.cta-btn:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: #fff;
  text-decoration: none;
}


/* ============================================================
   Info Cards（先輩社員・採用・会社概要）
   ============================================================ */
.info-cards-section {
  padding: var(--sp-xl) 0;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.info-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.info-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.info-card-img {
  position: relative;
  overflow: hidden;
}

.info-card-img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.info-card:hover .info-card-img img {
  transform: scale(1.05);
}

.info-card-body {
  padding: var(--sp-sm) var(--sp-md);
}

.info-card-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: 0.4em;
}

.info-card-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  font-weight: var(--fw-medium);
}

.info-card-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-base);
  margin-bottom: var(--sp-sm);
}

.info-card-more {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  padding-right: 1.2em;
  position: relative;
}

.info-card-more::after {
  content: '›';
  position: absolute;
  right: 0;
  top: 0;
  transition: right var(--transition);
}

.info-card:hover .info-card-more::after {
  right: -4px;
}


/* ============================================================
   News Section
   ============================================================ */
.news-section {
  padding: var(--sp-xl) 0;
  border-top: 1px solid var(--color-border);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.news-item:first-child {
  border-top: 1px solid var(--color-border);
}

.news-item-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item-body {
  flex: 1;
  min-width: 0;
}

.news-item-date {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  font-family: var(--font-en);
  margin-bottom: 0.3em;
}

.news-item-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  color: var(--color-text);
}

.news-item-title a {
  color: inherit;
  text-decoration: none;
}

.news-item-title a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.news-more {
  margin-top: var(--sp-md);
  text-align: right;
}


/* ============================================================
   Sidebar
   ============================================================ */
.sidebar-widget {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.sidebar-widget-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-inverse);
  background: var(--color-primary);
  padding: 0.5em 0.9em;
  margin: calc(-1 * var(--sp-md));
  margin-bottom: var(--sp-md);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.sidebar-banner-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.sidebar-banner-list a img {
  width: 100%;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}

.sidebar-banner-list a:hover img {
  opacity: 0.85;
}

/* Search widget */
.search-form {
  display: flex;
  gap: 0.4rem;
}

.search-field {
  flex: 1;
  padding: 0.5em 0.75em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-family: var(--font-base);
}

.search-submit {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5em 0.85em;
  cursor: pointer;
  font-size: var(--fs-sm);
  transition: background var(--transition);
}

.search-submit:hover {
  background: var(--color-primary-dark);
}


/* ============================================================
   Footer
   ============================================================ */
#colophon {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.8);
  margin-top: auto;
}

.footer-top {
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-top .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-xl);
  align-items: start;
}

.footer-brand .site-name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: 0.5em;
}

.footer-address {
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  color: rgba(255,255,255,.65);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.footer-nav-list a {
  color: rgba(255,255,255,.65);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav-list a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  padding: var(--sp-sm) 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer-bottom-nav {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer-bottom-nav a {
  color: rgba(255,255,255,.5);
  font-size: var(--fs-xs);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.site-info {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
}

/* Page Top Button */
#page-top {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 999;
  text-decoration: none;
}

#page-top.visible {
  display: flex;
}

#page-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}


/* ============================================================
   Inner Pages — Page Header
   ============================================================ */
.page-header {
  background: var(--color-bg-light);   /* 白っぽい薄グレー */
  border-bottom: 3px solid var(--color-primary);  /* ゴールドのボーダーライン */
  padding: var(--sp-md) 0;
  margin-bottom: var(--sp-xl);
}

.page-header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.page-header .page-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: 0;
  line-height: 1.2;
}

.page-header .page-title-en {
  font-family: var(--font-en);
  font-size: var(--fs-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);   /* ゴールドで英語タイトル */
  font-weight: var(--fw-medium);
}

.breadcrumbs {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  padding-top: 0.4em;
}

.breadcrumbs a {
  color: var(--color-text-light);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs span + span::before {
  content: ' › ';
}


/* ============================================================
   Article / Post Content
   ============================================================ */
.entry-content {
  line-height: var(--lh-loose);
}

.entry-content h2 {
  font-size: var(--fs-xl);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--sp-sm);
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.entry-content h3 {
  font-size: var(--fs-lg);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4em;
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
}

.entry-content p {
  margin-bottom: var(--sp-md);
}

.entry-content ul,
.entry-content ol {
  margin: var(--sp-sm) 0 var(--sp-md) var(--sp-lg);
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-md);
  font-size: var(--fs-sm);
}

.entry-content th,
.entry-content td {
  padding: 0.65em 1em;
  border: 1px solid var(--color-border);
  text-align: left;
}

.entry-content th {
  background: var(--color-primary);
  color: #fff;
  font-weight: var(--fw-bold);
}

.entry-content tr:nth-child(even) td {
  background: var(--color-bg-light);
}


/* ============================================================
   Company Page
   ============================================================ */
.company-section {
  margin-bottom: var(--sp-xl);
}

.company-philosophy {
  background: var(--color-bg-light);
  border-left: 5px solid var(--color-primary);
  padding: var(--sp-lg) var(--sp-xl);
  margin: var(--sp-xl) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.company-philosophy h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-sm);
  color: var(--color-primary);
}

.company-table th {
  width: 30%;
  background: var(--color-bg-light);
  color: var(--color-text);
  font-weight: var(--fw-bold);
}


/* ============================================================
   Shop Pages
   ============================================================ */
.shop-detail-header {
  display: flex;
  gap: var(--sp-xl);
  align-items: flex-start;
  margin-bottom: var(--sp-xl);
}

.shop-detail-logo {
  flex-shrink: 0;
  width: 200px;
}

.shop-detail-logo img {
  width: 100%;
  border-radius: var(--radius-md);
}

.shop-detail-info {
  flex: 1;
}

.shop-info-table th {
  width: 120px;
  background: var(--color-bg-light);
  color: var(--color-text);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}


/* ============================================================
   Recruit / Interview Pages
   ============================================================ */
.interview-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

.interview-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.interview-card:hover {
  box-shadow: var(--shadow-md);
}

.interview-card-img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.interview-card-body {
  padding: var(--sp-md);
}

.interview-card-name {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: 0.3em;
}

.interview-card-quote {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}


/* ============================================================
   Forms (Contact / Entry)
   ============================================================ */
.wpcf7-form p {
  margin-bottom: var(--sp-md);
}

.wpcf7-form label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: 0.4em;
  color: var(--color-text);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 0.65em 0.9em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,.15);
}

.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7-submit {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.75em 2.5em !important;
  border-radius: var(--radius-sm) !important;
  font-size: var(--fs-md) !important;
  font-weight: var(--fw-bold) !important;
  cursor: pointer !important;
  transition: background var(--transition) !important;
}

.wpcf7-submit:hover {
  background: var(--color-primary-dark) !important;
}

.required-mark {
  color: var(--color-primary);
  font-size: var(--fs-xs);
  margin-left: 0.3em;
}


/* ============================================================
   WordPress Core Classes
   ============================================================ */
.alignleft  { float: left;  margin: 0 var(--sp-md) var(--sp-sm) 0; }
.alignright { float: right; margin: 0 0 var(--sp-sm) var(--sp-md); }
.aligncenter { display: block; margin: 0 auto var(--sp-md); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--fs-xs); color: var(--color-text-light); margin-top: 0.4em; }

.wp-block-image img { border-radius: var(--radius-sm); }

/* Comment styles */
.comment-list { list-style: none; }
.comment-body { padding: var(--sp-md) 0; border-bottom: 1px solid var(--color-border); }
.comment-meta { font-size: var(--fs-xs); color: var(--color-text-light); margin-bottom: 0.5em; }
.comment-author .fn { font-weight: var(--fw-bold); }


/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-xl);
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  text-decoration: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all var(--transition);
}

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

.pagination a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
}


/* ============================================================
   Responsive — Tablet (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  .site-main-wrap {
    grid-template-columns: 1fr;
  }

  .shops-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top .container {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .nav-menu > li > a {
    padding: 0.65rem 0.75rem;
    font-size: var(--fs-xs);
  }

  .shop-detail-header {
    flex-direction: column;
  }

  .shop-detail-logo {
    width: 100%;
    max-width: 280px;
  }

  .interview-list {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Responsive — Mobile (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --container-pad: 1rem;
    --sp-xl: 2rem;
    --sp-2xl: 3rem;
  }

  /* Header */
  .site-header-top .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .header-tel {
    font-size: var(--fs-xl);
  }

  .header-contact {
    text-align: left;
  }

  /* Nav */
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5em;
  }

  .main-navigation .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .main-navigation .nav-menu.open {
    display: flex;
  }

  .nav-menu > li > a {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.8em;
    padding: 0.85rem var(--container-pad);
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .nav-menu > li:first-child > a {
    border-left: none;
  }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,.15);
    display: none;
  }

  .nav-menu .sub-menu.open {
    display: block;
  }

  /* Slider */
  .hero-slider-wrap {
    padding: var(--sp-sm) 0;
  }

  .hero-slider {
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
  }

  .hero-slider .slide img {
    height: 200px;
  }

  /* Grids */
  .shops-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-sm);
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-banner .container {
    flex-direction: column;
  }

  .cta-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-sm);
  }

  /* Footer */
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Page header */
  .page-header .page-title {
    font-size: var(--fs-xl);
  }
}
