/* ============================================
   ä¸äºèæ¥­æ ªå¼ä¼ç¤¾ å±éã¹ã¿ã¤ã«
   assets/css/main.css
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@700;900&family=Oswald:wght@500;600;700&display=swap');

:root {
  --primary:       #F5C200;
  --primary-dark:  #D4A500;
  --primary-light: #FFF8D6;
  --dark:          #0D1B2A;
  --dark-2:        #162436;
  --dark-3:        #1E3048;
  --accent:        #E8B000;
  --text:          #1A1A2E;
  --text-muted:    #64748B;
  --bg:            #F7F9FC;
  --border:        #E2E8F0;
  --white:         #FFFFFF;
  --radius:        6px;
  --shadow:        0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Noto Serif JP', serif; line-height: 1.35; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }

/* ============================================
   ã¢ãã¡ã¼ã·ã§ã³
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }
.fade-up.d5 { transition-delay: .5s; }

/* ============================================
   ãããã¼
============================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--dark);
  transition: box-shadow .3s;
}
#header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.4); }

.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-wrap { display: flex; flex-direction: column; gap: 2px; }
.logo-en {
  font-family: 'Oswald', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: 2px;
  color: var(--primary); line-height: 1;
}
.logo-jp { font-size: 10px; color: rgba(255,255,255,.55); letter-spacing: 1px; line-height: 1; }

.gnav { display: flex; align-items: center; gap: 0; }
.gnav a {
  color: rgba(255,255,255,.8); font-size: 13px; font-weight: 500;
  padding: 8px 14px; letter-spacing: .5px;
  transition: color .2s; white-space: nowrap;
}
.gnav a:hover, .gnav a.active { color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 12px; }
.header-tel {
  color: var(--primary); font-family: 'Oswald', sans-serif;
  font-size: 21px; font-weight: 700; letter-spacing: 1px;
  white-space: nowrap;
}
.header-tel small { font-size: 10px; display: block; text-align: center; color: rgba(255,255,255,.5); font-family: 'Noto Sans JP', sans-serif; font-weight: 400; letter-spacing: 0; }
.btn-contact-sm {
  background: var(--primary); color: var(--dark);
  padding: 10px 20px; font-size: 12px; font-weight: 700;
  border-radius: var(--radius); white-space: nowrap;
  transition: background .2s, transform .15s;
  letter-spacing: .5px;
}
.btn-contact-sm:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ãã³ãã¼ã¬ã¼ */
#hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
#hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; transition: all .3s;
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-nav {
  display: none; background: var(--dark-2);
  padding: 0 24px 24px;
}
#mobile-nav.open { display: block; }
#mobile-nav a {
  display: block; padding: 13px 0;
  color: rgba(255,255,255,.85); font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s;
}
#mobile-nav a:hover { color: var(--primary); }
#mobile-nav .m-tel {
  color: var(--primary); font-family: 'Oswald', sans-serif;
  font-size: 24px; font-weight: 700;
  border-bottom: none; margin-top: 16px;
}
#mobile-nav .m-cta {
  background: var(--primary); color: var(--dark);
  text-align: center; padding: 14px; font-weight: 700;
  margin-top: 12px; border-bottom: none; border-radius: var(--radius);
}

/* ============================================
   ãã¼ã¸ãã¼ã­ã¼ï¼åé¨ãã¼ã¸ï¼
============================================ */
.page-hero {
  background: var(--dark);
  padding: 120px 24px 52px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -60px; bottom: -60px;
  width: 320px; height: 320px;
  background: var(--primary); opacity: .06;
  border-radius: 50%;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.page-hero-en {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: 4px; color: var(--primary); margin-bottom: 6px;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 900; color: white; }

.breadcrumb {
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--text-muted); transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-inner .sep { color: #CBD5E0; }

/* ============================================
   ã»ã¯ã·ã§ã³å±é
============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.sec { padding: 100px 0; }
.sec-sm { padding: 64px 0; }
.sec-dark { background: var(--dark); }
.sec-dark-2 { background: var(--dark-2); }
.sec-bg { background: var(--bg); }

.sec-head { text-align: center; margin-bottom: 60px; }
.sec-en {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: 4px; color: var(--primary);
  display: block; margin-bottom: 10px;
}
.sec-title {
  font-size: clamp(22px, 3.5vw, 34px); font-weight: 900; color: var(--dark);
}
.sec-title.white { color: white; }
.sec-title span { color: var(--primary); }
.sec-sub {
  margin-top: 14px; color: var(--text-muted); font-size: 14px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}
.sec-sub.white { color: rgba(255,255,255,.6); }

/* ä»åãç· */
.sec-head::after {
  content: ''; display: block;
  width: 48px; height: 3px;
  background: var(--primary);
  margin: 20px auto 0;
}

/* ============================================
   ãã¿ã³
============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-size: 14px; font-weight: 700;
  border-radius: var(--radius); cursor: pointer;
  transition: all .2s; letter-spacing: .5px; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--dark);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(245,194,0,.4); }
.btn-outline {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: var(--dark-2); }
.btn-lg { padding: 18px 44px; font-size: 16px; }

/* ============================================
   ã«ã¼ã
============================================ */
.card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .5px; padding: 4px 10px;
  background: var(--primary-light); color: var(--primary-dark);
  border-radius: 3px; margin-bottom: 10px;
}
.card-title { font-size: 16px; font-weight: 700; color: var(--dark); line-height: 1.5; }
.card-desc { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.7; }
.card-meta { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* ============================================
   CTA ããã¼ï¼å±éï¼
============================================ */
.cta-sec {
  background: var(--dark);
  padding: 80px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-sec::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 20px,
    rgba(255,255,255,.015) 20px, rgba(255,255,255,.015) 40px
  );
}
.cta-sec-inner { position: relative; z-index: 1; }
.cta-label {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  letter-spacing: 4px; color: var(--primary); display: block; margin-bottom: 10px;
}
.cta-title {
  font-size: clamp(22px, 3.5vw, 34px); font-weight: 900; color: white;
  margin-bottom: 10px; line-height: 1.4;
}
.cta-desc { color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 36px; }
.cta-tel {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700; color: var(--primary);
  letter-spacing: 2px; display: block; margin-bottom: 4px;
}
.cta-tel-label { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 28px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   ãã©ã¼ã 
============================================ */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.form-label .req {
  display: inline-block; background: var(--primary);
  color: var(--dark); font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 3px; margin-left: 6px;
  vertical-align: middle;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 15px; font-family: 'Noto Sans JP', sans-serif;
  transition: border .2s, box-shadow .2s;
  background: white;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,194,0,.18);
}
.form-textarea { min-height: 160px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 18px; background: var(--primary);
  color: var(--dark); font-size: 16px; font-weight: 900;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background .2s, transform .15s;
  letter-spacing: 1px;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================
   ããã¿ã¼
============================================ */
#footer { background: #080F17; color: rgba(255,255,255,.7); }
.footer-top {
  border-top: 3px solid var(--primary);
  padding: 64px 24px 48px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px;
}
.footer-logo-en {
  font-family: 'Oswald', sans-serif; font-size: 22px;
  font-weight: 700; color: var(--primary); letter-spacing: 2px;
}
.footer-logo-jp { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.footer-address { font-size: 12px; line-height: 1.9; margin-top: 14px; color: rgba(255,255,255,.55); }
.footer-tel-f {
  font-family: 'Oswald', sans-serif; font-size: 22px;
  color: var(--primary); font-weight: 700; margin-top: 10px; letter-spacing: 1px;
}
.footer-col-title {
  font-family: 'Oswald', sans-serif; font-size: 13px;
  letter-spacing: 2px; color: var(--primary);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 24px; text-align: center;
  font-size: 11px; color: rgba(255,255,255,.3);
}

/* ============================================
   ãã­ã¹ãçç¥
============================================ */
.clamp2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clamp3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   ä¼ç¤¾æ¦è¦ãã¼ãã«
============================================ */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px; text-align: left; vertical-align: top;
}
.info-table th {
  width: 180px; font-weight: 700; color: var(--dark);
  background: var(--bg); white-space: nowrap;
}

/* ============================================
   ã¿ã°ã»ããã¸
============================================ */
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 3px;
}
.badge-primary { background: var(--primary); color: var(--dark); }
.badge-dark { background: var(--dark); color: white; }
.badge-outline { border: 1px solid var(--border); color: var(--text-muted); }

/* ============================================
   Tailwind Utility Replacements
============================================ */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.overflow-hidden { overflow: hidden; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.opacity-5 { opacity: 0.05; }

@media (min-width: 768px) {
  .md\:block { display: block; }
}

/* ============================================
   MW WP Form Custom Styles
============================================ */
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form select,
.mw_wp_form textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 15px; font-family: 'Noto Sans JP', sans-serif;
  transition: border .2s, box-shadow .2s;
  background: white;
}
.mw_wp_form input:focus,
.mw_wp_form select:focus,
.mw_wp_form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,194,0,.18);
}
.mw_wp_form textarea { min-height: 160px; resize: vertical; }
.mw_wp_form input[type="submit"],
.mw_wp_form button[type="submit"] {
  width: 100%; padding: 18px; background: var(--primary);
  color: var(--dark); font-size: 16px; font-weight: 900;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background .2s, transform .15s;
  letter-spacing: 1px;
}
.mw_wp_form input[type="submit"]:hover,
.mw_wp_form button[type="submit"]:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* MW WP Form ããªãã¼ã·ã§ã³ã¨ã©ã¼ */
.mw_wp_form .error { color: #E53E3E; font-size: 12px; margin-top: 4px; display: block; }

/* MW WP Form ãã©ã¼ã ã°ã«ã¼ã */
.mw_wp_form .form-group { margin-bottom: 24px; }
.mw_wp_form .form-label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.mw_wp_form .required-badge {
  display: inline-block; background: var(--primary);
  color: var(--dark); font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 3px; margin-left: 6px;
  vertical-align: middle;
}

/* MW WP Form ç¢ºèªç»é¢ */
.mw_wp_form_confirm .form-group { margin-bottom: 20px; }
.mw_wp_form_confirm .form-label { margin-bottom: 4px; }
.mw_wp_form_confirm .form-group span {
  display: block; font-size: 15px; color: var(--dark);
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.mw_wp_form_confirm input[type="text"],
.mw_wp_form_confirm input[type="email"],
.mw_wp_form_confirm input[type="tel"],
.mw_wp_form_confirm select,
.mw_wp_form_confirm textarea { display: none; }

/* MW WP Form ç¢ºèªç»é¢ãã¿ã³ */
.mw_wp_form_confirm input[type="submit"],
.mw_wp_form_confirm button[type="submit"] { margin-top: 16px; }
.mw_wp_form_confirm input[name="submitBack"] {
  width: 100%; padding: 14px; margin-top: 8px;
  background: white; color: var(--dark); font-size: 14px; font-weight: 700;
  border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif; transition: border-color .2s;
}
.mw_wp_form_confirm input[name="submitBack"]:hover { border-color: var(--primary); }

/* MW WP Form å®äºç»é¢ */
.mw_wp_form_complete { text-align: center; padding: 48px 0; }
.mw_wp_form_complete p { font-size: 15px; color: var(--text-muted); line-height: 2; }

/* MW WP Form ãã§ãã¯ããã¯ã¹ */
.mw_wp_form .mwform-checkbox-field { display: inline-block; }
.mw_wp_form .mwform-checkbox-field label { font-size: 13px; color: var(--text-muted); cursor: pointer; }
.mw_wp_form .mwform-checkbox-field input[type="checkbox"] { margin-right: 6px; }

/* ============================================
   WordPress Nav Menu Overrides
============================================ */
.gnav .menu { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.gnav .menu li { list-style: none; }
.gnav .menu li a {
  color: rgba(255,255,255,.8); font-size: 13px; font-weight: 500;
  padding: 8px 14px; letter-spacing: .5px;
  transition: color .2s; white-space: nowrap; display: block;
}
.gnav .menu li a:hover,
.gnav .menu li.current-menu-item a,
.gnav .menu li.current_page_item a { color: var(--primary); }

#mobile-nav .menu { list-style: none; margin: 0; padding: 0; }
#mobile-nav .menu li a {
  display: block; padding: 13px 0;
  color: rgba(255,255,255,.85); font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s;
}
#mobile-nav .menu li a:hover { color: var(--primary); }

.footer-links .menu { list-style: none; margin: 0; padding: 0; }
.footer-links .menu li { margin-bottom: 8px; }
.footer-links .menu li a {
  font-size: 12px; color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links .menu li a:hover { color: var(--primary); }

/* ============================================
   WP Block Editor Compatibility
============================================ */
.entry-content { font-size: 15px; line-height: 2.2; color: var(--text-muted); }
.entry-content h2 {
  font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 900;
  color: var(--dark); margin: 36px 0 16px; padding-left: 16px;
  border-left: 4px solid var(--primary);
}
.entry-content h3 {
  font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 900;
  color: var(--dark); margin: 32px 0 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}
.entry-content h4 {
  font-size: 15px; font-weight: 700; color: var(--dark);
  margin: 28px 0 12px; padding: 8px 14px;
  background: var(--bg); border-radius: var(--radius);
}
.entry-content h5 {
  font-size: 14px; font-weight: 700; color: var(--dark); margin: 24px 0 10px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content img { border-radius: 8px; margin-bottom: 24px; }
.entry-content ul, .entry-content ol { margin-bottom: 20px; padding-left: 24px; }
.entry-content li { margin-bottom: 6px; line-height: 2; }
.entry-content ul li::marker { color: var(--primary); }
.entry-content ol li::marker { color: var(--primary); font-weight: 700; }
.entry-content a {
  color: var(--primary-dark); text-decoration: underline;
  text-decoration-color: rgba(245,194,0,.4); text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.entry-content a:hover {
  color: var(--primary); text-decoration-color: var(--primary);
}
.entry-content blockquote {
  margin: 28px 0; padding: 20px 24px; background: var(--bg);
  border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--dark);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table {
  width: 100%; margin: 24px 0; border-collapse: collapse;
  font-size: 14px; line-height: 1.7;
}
.entry-content table th, .entry-content table td {
  padding: 12px 16px; border: 1px solid var(--border); text-align: left;
}
.entry-content table th {
  background: var(--dark); color: white; font-weight: 700; font-size: 13px;
}
.entry-content table tr:nth-child(even) td { background: var(--bg); }
.entry-content code {
  font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px;
  background: var(--bg); color: #e53e3e; padding: 2px 6px;
  border-radius: 3px; border: 1px solid var(--border);
}
.entry-content pre {
  margin: 24px 0; padding: 20px; background: var(--dark);
  border-radius: var(--radius); overflow-x: auto; line-height: 1.6;
}
.entry-content pre code {
  background: none; color: #e2e8f0; border: none; padding: 0; font-size: 13px;
}
.entry-content strong { font-weight: 700; color: var(--dark); }
.entry-content mark {
  background: linear-gradient(transparent 60%, rgba(245,194,0,.35) 60%);
  padding: 0 2px;
}
.entry-content hr {
  border: none; height: 2px; background: var(--primary);
  margin: 40px auto; width: 60px;
}
.entry-content figure { margin: 28px 0; }
.entry-content figcaption {
  font-size: 12px; color: var(--text-muted); text-align: center;
  margin-top: 8px;
}

/* ============================================
   Blog Layout & Author Box
============================================ */
.single-grid {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 48px; align-items: start;
}
.author-box {
  margin-top: 48px; padding: 28px; background: var(--bg);
  border-radius: var(--radius); display: flex; gap: 20px; align-items: flex-start;
  border-top: 3px solid var(--primary);
}
.author-box-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.author-box-company {
  font-size: 11px; color: var(--primary-dark); font-weight: 700;
  letter-spacing: 1px; margin-bottom: 2px;
}
.author-box-name {
  font-size: 16px; font-weight: 900; color: var(--dark); margin-bottom: 6px;
}
.author-box-bio {
  font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 10px;
}
.author-box-link {
  font-size: 12px; color: var(--primary-dark); font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.author-box-link:hover { color: var(--primary); }

/* ============================================
   Pagination
============================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700; transition: all .2s;
  background: white; color: var(--dark); border: 1px solid var(--border);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--primary); color: var(--dark); border-color: var(--primary);
}

/* ============================================
   ã¬ã¹ãã³ã·ã
============================================ */
@media (max-width: 1024px) {
  .gnav, .header-tel { display: none; }
  .btn-contact-sm { display: none; }
  #hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .single-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .sec { padding: 72px 0; }
  .sec-sm { padding: 48px 0; }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .info-table th { width: 110px; padding: 12px 14px; }
  .info-table td { padding: 12px 14px; }
  .entry-content h2 { font-size: 18px; margin: 28px 0 12px; }
  .entry-content h3 { font-size: 16px; margin: 24px 0 10px; }
  .entry-content { font-size: 14px; }
  .entry-content table { font-size: 12px; display: block; overflow-x: auto; }
  .author-box { flex-direction: column; text-align: center; align-items: center; padding: 24px 20px; }
  .author-box-avatar { margin-bottom: 4px; }
}
