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

/* ===== VARIABLES ===== */
:root {
  --orange: #E8650A;
  --orange2: #FF8C00;
  --navy: #1a2a3a;
  --navy2: #2d4060;
  --brown: #8B5E3C;
  --brown-dark: #5C3B1E;
  --brown-light: #D4A97A;
  --warm: #FFF8EE;
  --green-line: #06C755;
  --text: #333;
  --text-light: #666;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--text); background: #fff; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.ent-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.ent-section { padding: 64px 0; }
.ent-section--sm { padding: 40px 0; }

/* ===== HEADER ===== */
.ent-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.ent-header--junk { border-top: 4px solid var(--orange); }
.ent-header--ihin { border-top: 4px solid var(--brown); }

.ent-header__inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px; gap: 16px;
}

.ent-header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ent-header__logo img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.ent-header__logo-icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1.2rem;
  font-family: 'Noto Serif JP', serif; flex-shrink: 0;
}
.ent-header__logo-name { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: .85rem; line-height: 1.3; }
.ent-header__logo-sub { font-size: .62rem; color: var(--text-light); letter-spacing: .05em; }

/* nav - wp_nav_menu の li/a をフラットに表示 */
.ent-header__nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.ent-header__nav ul { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.ent-header__nav li { display: block; }
.ent-header__nav li ul { display: none; } /* サブメニュー非表示 */
.ent-header__nav a {
  display: block; padding: 8px 11px;
  font-size: .79rem; font-weight: 700; white-space: nowrap;
  border-radius: 6px; transition: background .2s;
}
.ent-header__nav a:hover { background: #f5f5f5; }

.ent-header__tel {
  display: flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff;
  padding: 9px 18px; border-radius: 50px;
  font-weight: 900; font-size: .82rem; white-space: nowrap;
  flex-shrink: 0; transition: opacity .2s;
}
.ent-header__tel:hover { opacity: .85; }
.ent-header--ihin .ent-header__tel { background: var(--brown); }

/* ===== FIXED CTA ===== */
.ent-fixed-cta { position: fixed; bottom: 20px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.ent-fixed-cta a {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 50px;
  font-weight: 900; font-size: .85rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  white-space: nowrap; transition: transform .2s; color: #fff;
}
.ent-fixed-cta a:hover { transform: scale(1.05); }
.ent-fixed-cta__tel { background: var(--orange); }
.ent-fixed-cta__tel--ihin { background: var(--brown) !important; }
.ent-fixed-cta__line { background: var(--green-line); }

/* ===== BREADCRUMB ===== */
.ent-breadcrumb { background: #f8f8f8; padding: 10px 0; font-size: .78rem; color: var(--text-light); }
.ent-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.ent-breadcrumb li + li::before { content: '›'; margin-right: 4px; }
.ent-breadcrumb a:hover { text-decoration: underline; }

/* ===== PAGE HERO ===== */
.ent-page-hero { color: #fff; text-align: center; padding: 56px 20px; }
.ent-page-hero--navy  { background: linear-gradient(135deg, var(--navy), var(--navy2)); }
.ent-page-hero--junk  { background: linear-gradient(135deg, var(--orange), var(--orange2)); }
.ent-page-hero--ihin  { background: linear-gradient(135deg, var(--brown-dark), var(--brown)); }
.ent-page-hero--green { background: linear-gradient(135deg, #2E7D32, #43A047); }
.ent-page-hero__label { font-size: .7rem; letter-spacing: .25em; opacity: .75; text-transform: uppercase; margin-bottom: 10px; }
.ent-page-hero__title { font-family: 'Noto Serif JP', serif; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 12px; }
.ent-page-hero__desc  { font-size: .9rem; opacity: .9; }

/* ===== FRONT PAGE (TOP) ===== */
/* → front-page.php に全部書いてある */

/* ===== SECTION TITLE ===== */
.ent-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 900;
  text-align: center; margin-bottom: 32px;
  position: relative; padding-bottom: 14px;
}
.ent-section-title::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 44px; height: 3px;
  background: var(--orange); border-radius: 2px;
}
.ent-section-title--ihin::after { background: var(--brown); }
.ent-section-title--left { text-align: left; }
.ent-section-title--left::after { left: 0; transform: none; }

/* ===== BUTTONS ===== */
.ent-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-weight: 900; font-size: .88rem;
  transition: transform .2s, opacity .2s;
  cursor: pointer; border: none; text-decoration: none;
}
.ent-btn:hover { transform: translateY(-2px); opacity: .9; }
.ent-btn--orange  { background: var(--orange); color: #fff; }
.ent-btn--brown   { background: var(--brown); color: #fff; }
.ent-btn--line    { background: var(--green-line); color: #fff; }
.ent-btn--white   { background: #fff; color: var(--orange); }
.ent-btn--white-b { background: #fff; color: var(--brown); }
.ent-btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }

/* ===== CTA SECTION ===== */
.ent-cta-section { padding: 52px 0; text-align: center; color: #fff; }
.ent-cta-section--junk { background: linear-gradient(135deg, var(--orange), var(--orange2)); }
.ent-cta-section--ihin { background: linear-gradient(135deg, var(--brown-dark), var(--brown)); }
.ent-cta-section__title { font-family: 'Noto Serif JP', serif; font-size: clamp(1.1rem,3vw,1.6rem); font-weight: 900; margin-bottom: 8px; }
.ent-cta-section__sub   { opacity: .9; font-size: .88rem; margin-bottom: 24px; }
.ent-cta-section__btns  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ent-cta-section__hours { font-size: .78rem; opacity: .72; margin-top: 14px; }

/* ===== CONTENT BOX ===== */
.ent-content-box {
  background: var(--warm); border-radius: var(--radius);
  padding: 32px; margin: 32px 0;
}
.ent-content-box--ihin { background: #f5ede4; }
.ent-content-box__head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1rem; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--orange);
}
.ent-content-box--ihin .ent-content-box__head { border-bottom-color: var(--brown); }

/* ===== PRICE TABLE ===== */
.ent-price-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ent-price-table th, .ent-price-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgba(0,0,0,.07); }
.ent-price-table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.ent-price-table thead th:first-child { border-radius: 8px 0 0 0; }
.ent-price-table thead th:last-child  { border-radius: 0 8px 0 0; }
.ent-price-table--ihin thead th { background: var(--brown); }
.ent-price-table tbody tr:nth-child(even) td { background: #fafafa; }
.ent-price-val      { color: var(--orange); font-weight: 900; font-size: 1rem; }
.ent-price-val--ihin { color: var(--brown); }
.ent-price-note { font-size: .76rem; color: var(--text-light); margin-top: 8px; }

/* ===== FEATURE GRID ===== */
.ent-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ent-feature-card { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); text-align: center; transition: transform .2s; }
.ent-feature-card:hover { transform: translateY(-4px); }
.ent-feature-card__icon { font-size: 2.2rem; margin-bottom: 12px; }
.ent-feature-card__title { font-weight: 900; font-size: .95rem; margin-bottom: 8px; }
.ent-feature-card__desc { font-size: .8rem; color: var(--text-light); line-height: 1.7; }
.ent-feature-card--junk { border-top: 3px solid var(--orange); }
.ent-feature-card--ihin { border-top: 3px solid var(--brown); }

/* ===== STEPS ===== */
.ent-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ent-step { background: #fff; border-radius: var(--radius); padding: 22px 16px; box-shadow: var(--shadow); text-align: center; position: relative; }
.ent-step__num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-weight: 900; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.ent-step__num--ihin { background: var(--brown); }
.ent-step__title { font-weight: 900; font-size: .85rem; margin-bottom: 6px; }
.ent-step__desc  { font-size: .76rem; color: var(--text-light); }

/* ===== CASE CARDS ===== */
.ent-cases { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ent-case-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.ent-case-card:hover { transform: translateY(-4px); }
.ent-case-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ent-case-card__placeholder { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg,#f0f0f0,#e0e0e0); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #ccc; }
.ent-case-card__body { padding: 16px; }
.ent-case-card__tag { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; color: #fff; }
.ent-case-card__tag--junk { background: var(--orange); }
.ent-case-card__tag--ihin { background: var(--brown); }
.ent-case-card__tag--buy  { background: #2E7D32; }
.ent-case-card__title { font-weight: 700; font-size: .88rem; line-height: 1.5; margin-bottom: 6px; }
.ent-case-card__meta  { font-size: .74rem; color: var(--text-light); }

/* ===== ITEM CHIPS ===== */
.ent-item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 10px; }
.ent-item-chip { background: #fff; border-radius: 10px; padding: 13px 10px; text-align: center; font-size: .78rem; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .15s; }
.ent-item-chip:hover { transform: scale(1.04); }
.ent-item-chip__icon { font-size: 1.3rem; margin-bottom: 4px; }

/* ===== FAQ ===== */
.ent-faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
.ent-faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ent-faq-item__q {
  padding: 18px 20px; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; transition: background .2s; font-size: .9rem;
}
.ent-faq-item__q:hover { background: #fafafa; }
.ent-faq-item__arrow { font-size: .75rem; opacity: .45; transition: transform .3s; flex-shrink: 0; }
.ent-faq-item.is-open .ent-faq-item__arrow { transform: rotate(180deg); }
.ent-faq-item__a {
  padding: 0 20px; font-size: .85rem; line-height: 1.85;
  color: var(--text-light); max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.ent-faq-item.is-open .ent-faq-item__a { max-height: 400px; padding: 0 20px 18px; }

/* ===== AREA CARDS ===== */
.ent-area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.ent-area-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.ent-area-card--junk { border-top: 3px solid var(--orange); }
.ent-area-card--ihin { border-top: 3px solid var(--brown); }
.ent-area-card__icon { font-size: 1.6rem; margin-bottom: 8px; }
.ent-area-card__pref { font-weight: 900; font-size: .95rem; margin-bottom: 8px; }
.ent-area-card__cities { font-size: .76rem; color: var(--text-light); line-height: 1.8; }

/* ===== COMPANY TABLE ===== */
.ent-company-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ent-company-table th, .ent-company-table td { padding: 13px 16px; border-bottom: 1px solid rgba(0,0,0,.07); vertical-align: top; text-align: left; }
.ent-company-table th { width: 150px; font-weight: 700; background: var(--warm); }

/* ===== BLOG POSTS ===== */
.ent-post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ent-post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.ent-post-card:hover { transform: translateY(-4px); }
.ent-post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ent-post-card__body { padding: 16px; }
.ent-post-card__cat  { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--warm); color: var(--orange); margin-bottom: 8px; }
.ent-post-card__title { font-weight: 700; font-size: .88rem; line-height: 1.55; margin-bottom: 6px; }
.ent-post-card__date  { font-size: .74rem; color: var(--text-light); }

/* ===== NOTICE ===== */
.ent-notice { border-radius: 10px; padding: 16px 20px; font-size: .85rem; line-height: 1.8; margin: 20px 0; }
.ent-notice--warn { background: #fff8e1; border: 1px solid #FFD700; }
.ent-notice--ok   { background: #e8f5e9; border: 1px solid #a5d6a7; }
.ent-notice__head { font-weight: 700; margin-bottom: 6px; }

/* ===== SINGLE CONTENT ===== */
.ent-single-content { max-width: 820px; margin: 0 auto; padding: 44px 20px 64px; }
.ent-single-content .entry-content h2 { font-family:'Noto Serif JP',serif; font-size:1.25rem; font-weight:900; margin:28px 0 12px; padding-left:14px; border-left:4px solid var(--orange); }
.ent-single-content .entry-content h3 { font-size:1.05rem; font-weight:700; margin:22px 0 10px; }
.ent-single-content .entry-content p  { margin-bottom:14px; line-height:1.9; }
.ent-single-content .entry-content img { border-radius:10px; margin:20px 0; }
.ent-single-content .entry-content ul,
.ent-single-content .entry-content ol  { margin:10px 0 14px 1.5em; }
.ent-single-content .entry-content li  { margin-bottom:5px; }

/* ===== FOOTER ===== */
.ent-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 48px 0 24px; }
.ent-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.ent-footer__brand h3 { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; color: #fff; margin-bottom: 10px; font-weight: 900; }
.ent-footer__brand p { font-size: .8rem; line-height: 1.9; }
.ent-footer__license { font-size: .7rem; opacity: .55; margin-top: 8px; }
.ent-footer__nav h4  { color: #fff; font-size: .85rem; margin-bottom: 14px; font-weight: 700; }
.ent-footer__nav ul  { display: flex; flex-direction: column; gap: 8px; }
.ent-footer__nav a   { font-size: .78rem; opacity: .75; transition: opacity .2s; }
.ent-footer__nav a:hover { opacity: 1; }
.ent-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: .74rem; opacity: .55; flex-wrap: wrap; gap: 8px; }

/* ===== PAGINATION ===== */
.ent-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.ent-pagination .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 8px; font-weight: 700; font-size: .85rem; background: #fff; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.ent-pagination .page-numbers:hover,
.ent-pagination .page-numbers.current { background: var(--orange); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .ent-header__nav a { padding: 7px 8px; font-size: .76rem; }
}
@media (max-width: 860px) {
  .ent-features { grid-template-columns: 1fr 1fr; }
  .ent-cases    { grid-template-columns: 1fr 1fr; }
  .ent-steps    { grid-template-columns: 1fr 1fr; }
  .ent-post-grid { grid-template-columns: 1fr 1fr; }
  .ent-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ent-features, .ent-cases, .ent-post-grid { grid-template-columns: 1fr; }
  .ent-steps    { grid-template-columns: 1fr; }
  .ent-footer__inner { grid-template-columns: 1fr; }
  .ent-header__nav { display: none; }
  .ent-header__inner { height: 58px; }
  .ent-fixed-cta { bottom: 14px; right: 14px; }
  .ent-fixed-cta a { padding: 11px 16px; font-size: .8rem; }
}
