@charset "UTF-8";
/* angkor-pepper.jp 再実装 共通スタイル */
:root {
  --main: #478217;
  --main-dark: #407515;
  --main-light: #eef4e7;
  --text: #333;
  --muted: #777;
  --line: #ddd;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --eng: "Anton", "Impact", "Arial Black", sans-serif;
  --header-h: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; line-height: 1.8; font-size: 15px; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--main); text-decoration: none; }
a:hover { color: var(--main-dark); text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.fonteng { font-family: var(--eng); font-weight: 400; letter-spacing: .04em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.header-logo { margin: 0; flex: 0 0 auto; }
.header-logo img { width: 240px; display: block; }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-tel { font-family: var(--eng); color: var(--main); font-size: 22px; letter-spacing: .04em; white-space: nowrap; }
.header-tel small { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-right: 6px; letter-spacing: 0; }
.header-tel:hover { text-decoration: none; color: var(--main-dark); }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.gnav a { display: block; text-align: center; padding: 6px 12px; color: var(--main); font-family: var(--eng); font-size: 17px; line-height: 1.3; letter-spacing: .05em; border-bottom: 2px solid transparent; }
.gnav a small { display: block; font-family: var(--sans); font-size: 11px; color: var(--text); letter-spacing: 0; }
.gnav a:hover, .gnav a.current { text-decoration: none; border-bottom-color: var(--main); }
.sp-buttons { display: none; }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 4px; background: var(--main); color: #fff; cursor: pointer; padding: 0; }
.sp-btn svg { width: 22px; height: 22px; fill: currentColor; }
.menu-toggle .bar, .menu-toggle .bar::before, .menu-toggle .bar::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: .25s; content: ""; }
.menu-toggle .bar::before { position: absolute; top: -7px; }
.menu-toggle .bar::after { position: absolute; top: 7px; }
.nav-open .menu-toggle .bar { background: transparent; }
.nav-open .menu-toggle .bar::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle .bar::after { top: 0; transform: rotate(-45deg); }
.nav-overlay { display: none; }

/* ---------- Page head / breadcrumb ---------- */
.breadcrumb { background: var(--main-light); font-size: 13px; }
.breadcrumb ol { list-style: none; margin: 0 auto; padding: 10px 15px; max-width: 1170px; display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: ">"; margin: 0 .6em; color: var(--muted); }
.breadcrumb li[aria-current] { color: var(--muted); }
.page-title { text-align: center; padding: 48px 0 32px; }
.sec-title { text-align: center; margin: 0 0 32px; line-height: 1.2; }
.sec-title .fonteng, .page-title .fonteng { display: block; color: var(--main); font-size: 52px; line-height: 1.1; }
.sec-title small, .page-title small { display: block; font-family: var(--serif); font-size: 18px; color: var(--text); margin-top: 8px; font-weight: 600; }
.sec-title.about small { font-size: 22px; line-height: 1.7; margin-top: 14px; }
.h3 { font-family: var(--serif); font-size: 22px; color: var(--main-dark); border-left: 5px solid var(--main); padding: 4px 0 4px 14px; margin: 0 0 24px; }

main { display: block; padding-bottom: 64px; }
.section { padding: 64px 0 0; }
.richtext p { text-align: justify; }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; background: #111; aspect-ratio: 16 / 9; max-height: calc(100vh - var(--header-h)); width: 100%; }
.hero-track { display: flex; height: 100%; transition: transform .8s ease; }
.hero-slide { flex: 0 0 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(0,0,0,.4); color: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
.hero-arrow:hover { background: var(--main); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; margin: 0; padding: 0; list-style: none; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; }

/* ---------- Grid / cards ---------- */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.video { position: relative; aspect-ratio: 16 / 9; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; list-style: none; margin: 0 0 24px; padding: 0; }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border: 1px solid #eee; }
.product h4 { font-size: 15px; margin: 8px 0 0; line-height: 1.5; }
.product .price { margin: 0; color: var(--main-dark); font-weight: 600; }
.product .price { margin-bottom: 8px; }
.product .price small { font-weight: 400; color: var(--muted); font-size: 12px; }
.product { display: flex; flex-direction: column; }
.product .btn-card { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding: 8px 10px; border: 1px solid var(--main); border-radius: 2px; background: #fff; color: var(--main); font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .2s, color .2s; }
.product .btn-card svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.product .btn-card:hover, .product .btn-card:focus-visible { background: var(--main); color: #fff; text-decoration: none; }
.sq-modal .sq-product { font-size: 13px; color: var(--main-dark); margin: 0 0 4px; }
.sq-modal .sq-product:empty { display: none; }
.cat-title { font-family: var(--serif); font-size: 18px; color: var(--main-dark); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin: 40px 0 20px; }
.cat-title:first-of-type { margin-top: 0; }

.news-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0 0 24px; padding: 0; }
.news-card { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); height: 100%; }
.news-card .thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #f3f3f3; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.label { position: absolute; left: 0; top: 0; background: var(--main); color: #fff; font-size: 12px; padding: 2px 10px; line-height: 1.8; }
.label.blog { background: #8a6d3b; }
.news-card .body { padding: 10px 12px 14px; }
.news-card time { display: block; font-size: 13px; color: var(--muted); font-family: var(--eng); letter-spacing: .05em; }
.news-card .title { font-size: 14px; font-weight: 600; margin: 2px 0 0; line-height: 1.5; }
.news-filter { display: flex; justify-content: center; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.news-filter button { border: 1px solid var(--main); background: #fff; color: var(--main); padding: 6px 20px; border-radius: 20px; cursor: pointer; font: inherit; font-size: 14px; }
.news-filter button[aria-pressed="true"], .news-filter button:hover { background: var(--main); color: #fff; }

/* ---------- Buttons ---------- */
.btn-wrap { text-align: center; margin: 24px 0 0; }
.btn { display: inline-block; min-width: 260px; padding: 14px 40px; background: var(--main); color: #fff; border: 0; border-radius: 2px; font: inherit; font-size: 15px; text-align: center; cursor: pointer; position: relative; transition: background .2s; }
.btn::after { content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-52%); font-size: 20px; }
.btn:hover { background: var(--main-dark); color: #fff; text-decoration: none; }
.btn.gray { background: #888; }
.btn.gray::after { content: ""; }
.btn.gray:hover { background: #666; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.table th, .table td { border: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; }
.table th { background: var(--main-light); width: 30%; white-space: nowrap; font-weight: 600; }
.map { aspect-ratio: 4 / 3; margin-top: 8px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Concept / Pepper intro ---------- */
.concept-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 32px; }
.concept-figs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.intro { display: grid; grid-template-columns: 40% 1fr; gap: 32px; align-items: start; margin-bottom: 48px; }

/* ---------- Privacy / Trade ---------- */
.policy h3 { font-family: var(--serif); font-size: 18px; color: var(--main-dark); margin: 32px 0 10px; padding-bottom: 6px; border-bottom: 1px dotted var(--main); }
.policy ul, .policy ol { margin: 0 0 1em; padding-left: 1.4em; }
.policy .plain { list-style: none; padding-left: 0; }

/* ---------- Forms ---------- */
.steps { display: flex; justify-content: center; gap: 0; list-style: none; padding: 0; margin: 0 auto 40px; max-width: 600px; }
.steps li { flex: 1; text-align: center; background: #eee; color: var(--muted); padding: 10px 4px; line-height: 1.3; position: relative; font-size: 14px; }
.steps li span { display: block; font-family: var(--eng); font-size: 14px; letter-spacing: .06em; }
.steps li + li { border-left: 2px solid #fff; }
.steps li.active { background: var(--main); color: #fff; }
.form-table th { width: 28%; }
.form-table td { white-space: normal; }
.req { display: inline-block; background: #c9302c; color: #fff; font-size: 11px; padding: 0 6px; border-radius: 2px; margin-left: 8px; font-weight: 400; line-height: 1.7; vertical-align: middle; }
.form-table input[type=text], .form-table input[type=email], .form-table input[type=tel], .form-table input[type=date], .form-table select, .form-table textarea { font: inherit; font-size: 16px; border: 1px solid #ccc; border-radius: 3px; padding: 8px 10px; width: 100%; max-width: 480px; background: #fff; }
.form-table textarea { min-height: 160px; max-width: 100%; }
.form-table .tel input { width: 6em; }
.form-table .zip input { width: 5em; }
.form-table .addr-row { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.form-table .addr-row select { width: auto; }
.form-table .addr-row input { flex: 1 1 240px; }
.sample { font-size: 12px; color: var(--muted); margin-top: 4px; }
.error { color: #c9302c; font-size: 13px; margin-top: 4px; }
.form-table tr.has-error input, .form-table tr.has-error textarea, .form-table tr.has-error select { border-color: #c9302c; background: #fff6f6; }
.policy-box { border: 1px solid var(--line); background: #fafafa; height: 220px; overflow-y: auto; padding: 16px 20px; font-size: 13px; margin: 0 0 16px; }
.policy-box h4 { font-size: 14px; margin: 14px 0 4px; color: var(--main-dark); }
.policy-box h4:first-child { margin-top: 0; }
.agree { text-align: center; margin: 0 0 8px; }
.agree label { cursor: pointer; }
.form-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.confirm-value { white-space: pre-wrap; word-break: break-all; }
.complete { text-align: center; padding: 24px 0; }
.complete h3 { font-family: var(--serif); font-size: 22px; color: var(--main-dark); margin-bottom: 16px; }
.demo-note { font-size: 12px; color: var(--muted); margin-top: 24px; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--main-dark); color: #fff; padding: 48px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-info { font-size: 14px; }
.footer-info .name { font-family: var(--serif); font-size: 18px; margin: 0 0 8px; }
.footer-info a { color: #fff; }
.fnav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 6px 32px; font-size: 14px; }
.fnav a { color: #fff; }
.fnav a::before { content: "›"; margin-right: 6px; }
.copyright { text-align: center; font-size: 12px; padding: 16px 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.25); }
.pagetop { position: fixed; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; background: var(--main); color: #fff; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: 10px; line-height: 1.1; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.pagetop::before { content: "▲"; font-size: 12px; }
.pagetop.show { opacity: 1; pointer-events: auto; }
.pagetop:hover { color: #fff; text-decoration: none; background: var(--main-dark); }

/* ---------- Tel modal ---------- */
.tel-modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.tel-modal .box { background: #fff; max-width: 400px; width: 100%; padding: 28px 24px 20px; text-align: center; position: relative; border-radius: 4px; }
.tel-modal .close-x { position: absolute; right: 8px; top: 4px; border: 0; background: none; font-size: 24px; cursor: pointer; color: var(--muted); }
.tel-modal .q { font-weight: 600; margin-bottom: 6px; }
.tel-modal .note { font-size: 13px; color: var(--muted); }
.tel-modal .acts { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.tel-modal .acts a, .tel-modal .acts button { flex: 1; padding: 10px; border: 0; border-radius: 3px; font: inherit; cursor: pointer; }
.tel-modal .acts button { background: #ddd; }
.tel-modal .acts a { background: var(--main); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gnav a { padding: 6px 8px; font-size: 15px; }
  .header-logo img { width: 200px; }
  .header-tel { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-logo img { width: 190px; }
  .sp-buttons { display: flex; gap: 8px; }
  .gnav { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 85vw; background: #fff; transform: translateX(100%); transition: transform .3s; z-index: 150; padding: 72px 0 24px; overflow-y: auto; box-shadow: -2px 0 8px rgba(0,0,0,.2); }
  .nav-open .gnav { transform: none; }
  .gnav ul { flex-direction: column; }
  .gnav a { text-align: left; padding: 12px 24px; border-bottom: 1px solid #eee; font-size: 18px; }
  .gnav a small { display: inline; margin-left: 10px; font-size: 12px; }
  .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 140; }
  .nav-open .nav-overlay { opacity: 1; pointer-events: auto; }
  .menu-toggle { position: relative; z-index: 160; }
  .products, .news-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  body { font-size: 14px; }
  .header-logo img { width: 160px; }
  .sp-btn { width: 40px; height: 40px; }
  .row2, .intro { grid-template-columns: 1fr; gap: 20px; }
  .products, .news-list { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .sec-title .fonteng, .page-title .fonteng { font-size: 38px; }
  .sec-title.about small { font-size: 18px; }
  .section { padding-top: 48px; }
  .page-title { padding: 32px 0 24px; }
  /* スマホ：文字入り画像を切り取らず、幅いっぱい・画像比率どおりの高さで全体表示 */
  .hero { aspect-ratio: auto; height: auto; max-height: none; }
  .hero-track, .hero-slide { height: auto; }
  .hero-slide img { height: auto; object-fit: contain; }
  /* ドットは画像内の文字に重ならないよう画像の下に配置 */
  .hero { background: #fff; }
  .hero-dots { position: static; padding: 10px 0 0; }
  .hero-dots button { width: 10px; height: 10px; border-color: var(--main); }
  .hero-dots button[aria-current="true"] { background: var(--main); }
  .hero-arrow { width: 36px; height: 36px; font-size: 16px; }
  .table th, .table td { display: block; width: 100%; border-top: 0; }
  .table tr:first-child th { border-top: 1px solid var(--line); }
  .fnav ul { grid-template-columns: repeat(2, auto); }
  .footer-inner { flex-direction: column; }
  .btn { min-width: 0; width: 100%; max-width: 320px; }
}
